]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[PATCH 2/6] Split i386 out of main Linux kernel-features.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
29c4f53e
JM
12014-07-17 Joseph Myers <joseph@codesourcery.com>
2
083b1f7c
JM
3 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5 (__ASSUME_SOCKETCALL): Do not define.
6 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12
5be44ea6
JM
13 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21 (__ASSUME_GETCPU_SYSCALL): Likewise.
22
d95ffd4c
JM
23 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
25 cases for individual architectures.
26 * sysdeps/gnu/configure: Regenerated.
27 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28 LIBC_SLIBDIR_RTLDDIR.
29 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31 LIBC_SLIBDIR_RTLDDIR.
32 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34 LIBC_SLIBDIR_RTLDDIR.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36 Regenerated.
37 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39 file.
40 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42 file.
43 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47
29c4f53e
JM
48 * sysdeps/aarch64/shlib-versions: Move to ...
49 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
50 * sysdeps/alpha/shlib-versions: Move to ...
51 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
52 * sysdeps/arm/shlib-versions: Move to ...
53 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
54 * sysdeps/hppa/shlib-versions: Move all contents except for
55 libgcc_s entry to ...
56 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
57 entry from ...
58 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
59 * sysdeps/ia64/shlib-versions: Move to ...
60 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
61 entry from ...
62 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
63 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
64 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
65 * sysdeps/microblaze/shlib-versions: Move to ...
66 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
67 * sysdeps/mips/shlib-versions: Move to ...
68 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
69 entry from ...
70 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
71 * sysdeps/tile/shlib-versions: Move to ...
72 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
73 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
74 from ...
75 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
76 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
77 entry from ...
78 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
79
32bead5b
WN
802014-07-17 Will Newton <will.newton@linaro.org>
81
57977c4b
WN
82 * sysdeps/arm/bits/atomic.h
83 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
84 (__arch_compare_and_exchange_bool_16_int): Likewise.
85 (__arch_compare_and_exchange_bool_64_int): Likewise.
86
32bead5b
WN
87 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
88 into an #else block.
89
37fccd41
RM
902014-07-16 Roland McGrath <roland@hack.frob.com>
91
92 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
93 just Linux configurations. Test empirically that the compiler sets
94 __ARM_EABI__, rather than using the tuple to decide.
95 * sysdeps/arm/preconfigure: Regenerated.
96 * sysdeps/unix/sysv/linux/arm/configure: File removed.
97 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
98 contents appended ...
99 * sysdeps/arm/configure.ac: ... here.
100 * sysdeps/arm/configure: Regenerated.
101
b365f3ec
RM
1022014-07-15 Roland McGrath <roland@hack.frob.com>
103
8badf496
RM
104 * nptl/pthread_kill.c: New file.
105 * nptl/pthread_sigmask.c: New file.
106 * nptl/pthread_sigqueue.c: New file.
107
3df6f22e
RM
108 * sysdeps/nptl/lowlevellock.h: New file.
109 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
110 * sysdeps/nptl/lowlevellock-futex.h: New file.
111
b365f3ec
RM
112 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
113 Remove dead declarations.
114
f2fef657
L
1152014-07-14 H.J. Lu <hongjiu.lu@intel.com>
116
117 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
118 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
119 config-cflags-avx2.
120 * sysdeps/x86_64/configure.ac: Likewise.
121 * sysdeps/i386/configure: Regenerated.
122 * sysdeps/x86_64/configure: Likewise.
123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
124 memset-avx2 only if config-cflags-avx2 is yes.
125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
126 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
127 defined.
128 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
129 only if HAVE_AVX2_SUPPORT is defined.
130 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
131
f6c44d47
AM
1322014-07-14 Alan Modra <amodra@gmail.com>
133
134 [BZ #17153]
135 * elf/elf.h (DT_PPC64_NUM): Correct value.
136 * NEWS: Add to fixed bug list.
137
7ee03f00
JM
1382014-07-13 Jim Meyering <meyering@fb.com>
139
140 [BZ 17150]
141 regex: don't deref NULL upon heap allocation failure
142 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
143 failure in one more place.
144 To trigger the segfault, configure grep -with-included-regex,
145 build it, and run these commands:
146 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
147
9d39d517
AS
1482014-07-13 Andreas Schwab <schwab@linux-m68k.org>
149
150 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
151
a75b89b7
RH
1522014-07-11 Richard Henderson <rth@redhat.com>
153
154 * sysdeps/aarch64/libm-test-ulps: Update.
155
771eb141
FW
1562014-07-10 Florian Weimer <fweimer@redhat.com>
157
158 [BZ #17135]
159 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
160 * nptl/allocatestack.c (__nptl_setxid_error): New function.
161 (__nptl_setxid): Initialize error member. Call
162 __nptl_setxid_error.
163 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
164 * nptl/descr.h (struct xid_command): Add error member.
165 * nptl/tst-setuid3.c: New file.
166 * nptl/Makefile (tests): Add it.
167
bc1da176
AZ
1682014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169
170 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
171 New define.
172 (__lll_trylock): Use __lll_base_trylock.
173 (__lll_cond_trylock): Likewise.
174
887865fc
RM
1752014-07-10 Roland McGrath <roland@hack.frob.com>
176
c0c6bac9
RM
177 * nptl/pthread_create.c (start_thread): Use atomic_or and
178 lll_futex_wake directly rather than lll_robust_dead.
179 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
180 (lll_robust_dead): Macro removed.
6a42be57 181 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
182 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
183 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
185 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
186 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
187 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
188 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
189 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
192 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
194 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
195 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
196
887865fc
RM
197 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
198 Use atomic_compare_and_exchange_val_acq directly rather than
199 lll_robust_trylock.
200 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
201 (__lll_robust_trylock, lll_robust_trylock): Removed.
202 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
203 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
204 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
205 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
206 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
207 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
208 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
209 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
211 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
212 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
213 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
214 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
216
58536726
FW
2172014-07-02 Florian Weimer <fweimer@redhat.com>
218
219 * manual/locale.texi (Locale Names): New section documenting
220 locale name syntax. Adjust menu and node chaining accordingly.
221 (Choosing Locale): Reference Locale Names, Locale Categories.
222 Mention setting LC_ALL=C. Reflect that name syntax is now
223 documented.
224 (Locale Categories): New section title. Reference Locale Names.
225 LC_ALL is an environment variable, but not a category.
226 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
227 description, now in Locale Name. Reference that section. Locale
228 name syntax is now documented.
229
4e8f95a0
FW
2302014-07-02 Florian Weimer <fweimer@redhat.com>
231
232 [BZ #17137]
233 * locale/findlocale.c (name_present, valid_locale_name): New
234 functions.
235 (_nl_find_locale): Use the loc_name variable to store name
236 candidates. Call name_present and valid_locale_name to check and
237 validate locale names. Return an error if the locale is invalid.
238
d1836456
FW
2392014-07-02 Florian Weimer <fweimer@redhat.com>
240
241 * locale/setlocale.c (setlocale): Use strdup for allocating
242 composite name copy.
243
d69b7f5a
SP
2442014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
245
888c679b
SP
246 Sync up with gnulib.
247 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
248 [!_LIBC && ENABLE_NLS]: Include gettext.h.
249 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
250 and _GL_ARG_NONNULL.
251 [USE_UNLOCKED_IO]: Include unlocked-io.h.
252 [!_LIBC]: Include code for Windows and Cygwin.
253 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
254 Include prototype for int strerror_r.
255 [!_LIBC] (is_open): New function.
256 (flush_stdout): New function.
257 (print_errno_message): Use it.
258 (error): Likewise.
259 (error_at_line): Likewise.
260 (error_tail) Add function attribute macros. Use
261 __builtin_expect.
262
180e0e4b
SP
263 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
264
d22f1fe2
SP
265 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
266
12f2254b
SP
267 * io/ftw.c: Include sys/param.h unconditionally.
268
c3c7c360
SP
269 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
270
d62aa75a
SP
271 [BZ #17125]
272 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
273 libc_freeres_ptr.
274 (freecache): New function to free CACHE on exit.
275
d69b7f5a
SP
276 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
277 initialization.
278
5efe06a1
DM
2792014-07-09 David S. Miller <davem@davemloft.net>
280
281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
282
7000d82e
DM
283 * sysdeps/sparc/nptl/internaltypes.h: Delete.
284 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
285 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
286 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
287 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
288 * sysdeps/sparc/nptl/sem_init.c: Likewise.
289 * sysdeps/sparc/nptl/sem_post.c: Likewise.
290 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
291 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
292 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
293 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
294 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
295 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
296
c213442d
AS
2972014-07-09 Andreas Schwab <schwab@suse.de>
298
4a2552c3
AS
299 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
300 output.
301 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
302 (do_test): Likewise.
303
c213442d
AS
304 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
305
82374e65
WN
3062014-07-09 Will Newton <will.newton@linaro.org>
307
308 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
309 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
310 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
311 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
312 * sysdeps/hppa/start.S (_start): Likewise.
313
6680738a
SP
3142014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
315
6ee3eab4
SP
316 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
317
6680738a
SP
318 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
319 defined.
320
80b5c505
SP
3212014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
322
e35c53e3
SP
323 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
324 after checking that it is non-NULL.
325
80b5c505
SP
326 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
327
91f4b564
AZ
3282014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329
27b75f56
AZ
330 * sysdeps/powerpc/memmove.c: Remove file.
331 * sysdeps/powerpc/powerpc32/power4/memcopy.h
332 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
333 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
334 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
335 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
336 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
337 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
338 string memmove instead of removed powerpc one.
339
e7f95bb5
AZ
340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
341 [weak_alias]: Fix compiler warning due trailing data.
342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
343 [weak_alias]: Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
345 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
346
91f4b564
AZ
347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
348 (__libc_ifunc_impl_list): Add memmove functions.
349
7c33f1e5
SP
3502014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
351
352 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
353 Remove code.
354 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
355 Likewise
356 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
357 Likewise
358 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
359 Likewise
360 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
361 Likewise
362 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
363 Likewise
364 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
365 Likewise
366 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
367 Likewise
368 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
369 Likewise
370 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
371 Likewise
372 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
373 Likewise
374 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
375 Likewise
376 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
377 Likewise
378 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
379 Likewise
380 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
381 Likewise
382 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
383 Likewise
384 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
385 Likewise
386
3f17b03b
AZ
3872014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388
87868c24
AZ
389 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
390 to avoid alignment traps in non-cacheable memory.
391 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
392
07aedd78
AZ
393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
394 multiarch objects.
395 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
396 file: multiarch power7 memmove.
397 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
398 multiarch default memmove.
399 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
400 multiarch memove for powerpc32/power4.
401
17762f66
AZ
402 * string/bcopy.c: Use full path to include memmove.c.
403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
404 multiarch objects.
405 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
406 bcopy for powerpc64.
407 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
408 bcopy for powerpc64.
409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
410 and memmove implementations.
411 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
412 optimized multiarch memmove for POWER7/powerpc64.
413 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
414 default multiarch memmove for powerpc64.
415 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
416 multiarch for powerpc64.
417 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
418 for POWER7/powerpc64.
419 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
420 memmove for POWER7/powerpc64.
421
d6f68bbe
AZ
422 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
423 glibc default one.
424
3f17b03b
AZ
425 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
426 __ELF_NATIVE_CLASS equal to 64.
427
08192659
RM
4282014-07-07 Roland McGrath <roland@hack.frob.com>
429
f4c4021b
RM
430 * sysdeps/nptl/lowlevellock.h: File removed.
431
f083450f
RM
432 * NEWS: NPTL is no longer an add-on!
433 * nptl/internaltypes.h: Moved ...
434 * sysdeps/nptl/internaltypes.h: ... here.
435 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
436 * sysdeps/nptl/fork.c: Likewise.
437 * sysdeps/nptl/gai_misc.h: Likewise.
438 * sysdeps/nptl/librt-cancellation.c: Likewise.
439 * sysdeps/nptl/jmp-unwind.c: Likewise.
440 * sysdeps/nptl/setxid.h: Likewise.
441 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
442 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
443 * sysdeps/unix/sysv/linux/arm/Implies: New file.
444 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
445 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
446 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
447 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
448 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
449 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
450 * sysdeps/unix/sysv/linux/mips/Implies: New file.
451 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
452 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
453 * sysdeps/unix/sysv/linux/sh/Implies: New file.
454 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
455 * sysdeps/unix/sysv/linux/tile/Implies: New file.
456 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
457 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
458 * nptl/Makeconfig: Moved ...
459 * sysdeps/nptl/Makeconfig: ... here.
460 * nptl/configure: File removed.
461 * nptl/ANNOUNCE: File removed.
462 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
463 * sysdeps/unix/sysv/linux/configure: Regenerated.
464
08192659
RM
465 * nptl/Makefile (routines): Add libc_pthread_init,
466 libc_multiple_threads, register-atfork and unregister-atfork.
467 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
468 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
469 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
470 pthread-pi-defines.sym, structsem.sym.
471 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
472 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
473 [$(subdir) = nptl] (tests): Add tst-setgetname.
474 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
475 * sysdeps/unix/sysv/linux/sigaction.c: Just include
476 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
477 [!LIBC_SIGACTION]: Remove aliases.
478 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
479 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
480 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
481 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
482 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
483 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
487 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
488 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
489 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
490 __libc_allocate_rtsig_private.
491 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
492 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
493 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
494 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
495 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
496 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
497 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
498 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
499 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
500 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
501 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
502 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
503 * nptl/internaltypes.h: ... here.
504 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
505 * sysdeps/nptl/jmp-unwind.c: ... here.
506 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
507 * nptl/libc-lowlevellock.c: ... here.
508 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
509 * nptl/libc_multiple_threads.c: ... here.
510 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
511 * nptl/libc_pthread_init.c: ... here.
512 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
513 * nptl/lowlevelbarrier.sym: ... here.
514 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
515 * nptl/lowlevelcond.sym: ... here.
516 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
517 * nptl/lowlevellock.c: ... here.
518 * nptl/lowlevellock.h: Moved ...
519 * sysdeps/nptl/lowlevellock.h: ... here.
520 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
521 * nptl/lowlevelrobustlock.c: ... here.
522 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
523 * nptl/lowlevelrobustlock.sym: ... here.
524 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
525 * nptl/lowlevelrwlock.sym: ... here.
526 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
527 * nptl/pt-fork.c: ... here.
528 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
529 * nptl/pthread-pi-defines.sym: ... here.
530 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
531 * nptl/pthread_attr_getaffinity.c: ... here.
532 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
533 * nptl/pthread_attr_setaffinity.c: ... here.
534 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
535 * nptl/pthread_mutex_cond_lock.c: ... here.
536 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
537 Update #include.
538 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
539 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
540 * nptl/pthread_once.c: ... here, replacing old file.
541 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
542 * nptl/pthread_yield.c: ... here.
543 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
544 * nptl/register-atfork.c: ... here.
545 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
546 * nptl/sem_post.c: ... here.
547 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
548 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
549 * nptl/sem_timedwait.c: ... here.
550 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
551 * nptl/sem_trywait.c: ... here.
552 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
553 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
554 * nptl/sem_wait.c: ... here.
555 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
556 * nptl/structsem.sym: ... here.
557 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
558 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
559 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
560 * nptl/unregister-atfork.c: ... here.
561 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
562 * nptl/unwindbuf.sym: ... here.
563 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
564 * sysdeps/nptl/fork.c: ... here.
565 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
566 * sysdeps/nptl/fork.h: ... here.
567 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
568 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
569 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
570 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
571 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
572 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
573 * sysdeps/unix/sysv/linux/getpid.c: ... here.
574 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
575 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
576 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
577 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
579 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
581 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
583 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
585 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
586 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
587 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
588 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
589 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
590 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
591 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
592 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
593 * sysdeps/unix/sysv/linux/raise.c: ... here.
594 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
595 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
596 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
597 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
598 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
599 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
600 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
601 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
603 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
605 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
607 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
608 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
609
96baf6ff
SP
6102014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 * sysdeps/generic/memcopy.h: Add comment for
613 MEMCPY_OK_FOR_FWD_MEMMOVE.
614
6b7b14b2
WN
6152014-07-04 Will Newton <will.newton@linaro.org>
616
1570a72b
WN
617 * string/memchr.c: Merge from gnulib.
618 [_LIBC]: Remove conditionals.
619 (__ptr_t): Remove define.
620 (LONG_MAX_32_BITS): Likewise.
621 (LONG_MAX): Likewise.
622 (MEMCHR): Use ANSI prototype and optimize algorithm.
623
6b7b14b2
WN
624 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
625
38851324
SP
6262014-07-03 Roland McGrath <roland@hack.frob.com>
627
3d9eb57c
RM
628 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
629 (lll_futex_timed_wait_bitset): Fix syscall argument count.
630
78b984ae
RM
631 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
632 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
633 in a bare environment with no <stdlib.h> installed.
634 * sysdeps/nptl/configure: Regenerated.
635
2d5976a5
RM
636 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
637
c1f5acd4
RM
638 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
639 AC_EGREP_CPP for kernel header checks, so they only succeed if
640 including <linux/version.h> actually works right.
641 * sysdeps/unix/sysv/linux/configure: Regenerated.
642
4d614fe5
RM
643 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
644 value so it's not diagnosed as unused.
645
38851324
SP
646 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
647 thing) with "ifeq ($(subdir),rt)".
648
b3ec00e5
RH
6492014-07-03 Richard Henderson <rth@redhat.com>
650
69862e25
RH
651 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
652 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
653 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
654
d5e16ade
RH
655 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
656 (math_force_eval): New.
657
ca7b945c
RH
658 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
659 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
660
cd1175a3
RH
661 * sysdeps/alpha/fpu/s_round.c: Remove file.
662 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
663
b3ec00e5
RH
664 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
665 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
666 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
667 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
668 (_dl_start, print_statistics): Likewise.
669 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
670 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
671
672 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
673 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
674 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
675 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
677 (HP_SMALL_TIMING_AVAIL): Define.
678 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
679 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
680 (HP_SMALL_TIMING_AVAIL): Define.
681 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
682 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
683
684 * sysdeps/aarch64/hp-timing.h: New file.
685
686 * sysdeps/generic/hp-timing.h: Remove dead comment.
687 * sysdeps/generic/hp-timing-common.h: New file.
688 * sysdeps/alpha/hp-timing.h: Include it.
689 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
690 * sysdeps/i386/i686/hp-timing.h: Likewise.
691 * sysdeps/ia64/hp-timing.h: Likewise.
692 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
693 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
695 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
696 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
697 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
698 (hp_timing_t): New.
699
700 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
701 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
702 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
703 * elf/rtld.c (_dl_start_final): Likewise.
704 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
705 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
706 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
707 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
708 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
710 (HP_TIMING_DIFF_INIT): Remove.
711 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
713 (HP_TIMING_DIFF_INIT): Remove.
714 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
715 * sysdeps/i386/i686/hp-timing.c: Remove file.
716 * sysdeps/x86_64/hp-timing.c: Remove file.
717 * sysdeps/ia64/hp-timing.c: Remove file.
718 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
719 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
720 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
721 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
722
723 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
724 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
725 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
726 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
728 (HP_TIMING_ACCUM): Remove.
729 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
731 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
732
733 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
734 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
735 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
736 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
737 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
738 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
739 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
740 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
741
742 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
743
225f410f
MR
7442014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
745
746 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
747
3247f285
SP
7482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
749
750 Sync up with gettext.
751 * intl/loadmsgcat.c: Define O_BINARY if not defined.
752 [_MSC_VER]: Include malloc.h
753 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
754 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
755 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
756 TEMP_FAILURE_RETRY. Cast return of alloca.
757 [!_LIBC] Call gl_rwlock_init.
758 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
759
d12704c7
SP
7602014-07-02 Roland McGrath <roland@hack.frob.com>
761
762 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
763 before checking its value.
764
99f8dc92
SP
7652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
766
05fdac77
SP
767 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
768
99f8dc92
SP
769 * debug/memcpy_chk.c: Don't include pagecopy.h.
770 * debug/mempcpy_chk.c: Likewise.
771 * string/memcpy.c: Likewise.
772 * string/memmove.c: Likewise.
773 * sysdeps/powerpc/memmove.c: Likewise.
774 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
775 definition of PAGE_COPY_FWD_MAYBE here...
776 * sysdeps/generic/pagecopy.h: ... from here.
777 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
778
bc8ea385
VR
7792014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
780 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781
782 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
784 optimizations.
785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
786 (__libc_ifunc_impl_list): Likewise.
787 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
788 multiarch strcat for PPC64.
789 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
790 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
791
fe5f34e4
RM
7922014-07-02 Roland McGrath <roland@hack.frob.com>
793
794 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
795
256aa665
SP
7962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
797
d4eb8195
SP
798 * intl/loadmsgcat.c: Remove declaration of
799 get_sysdep_segment_value.
800 (get_sysdep_segment_value): Use ISO C style.
801 (_nl_load_domain): Use ISO C style. Get rid of redundant
802 semicolon. Fix typo and formatting in comment.
803 (_nl_unload_domain): Use ISO C style.
804
256aa665
SP
805 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
806
b100f9aa
WN
8072014-07-02 Will Newton <will.newton@linaro.org>
808
809 * malloc/obstack.c: Merge from gnulib master.
810 [HAVE_CONFIG_H]: Remove conditional code.
811 [!_LIBC]: Include config.h.
812 [!ELIDE_CODE]: Don't include inttypes.h, include
813 stdint.h unconditionally.
814 (print_and_abort): Mark as _Noreturn.
815 (_obstack_allocated_p): Mark as __attribute_pure__.
816 (obstack_free): Rename to __obstack_free.
817 [!__attribute__]: Remove conditional code.
818 * malloc/obstack.h: Merge from gnulib master.
819 [__cplusplus]: Move conditional down.
820 [!__attribute_pure__]: Define __attribute_pure__ here
821 if it is not already defined.
822 (_obstack_memory_used): Mark as __attribute_pure__.
823 [!__obstack_free]: Define as obstack_free.
824 [__GNUC__]: Remove check for ancient NeXT gcc.
825
c4c41244
PE
8262014-07-02 Will Newton <will.newton@linaro.org>
827 Paul Eggert <eggert@cs.ucla.edu>
828
829 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
830
e1e041c4
SP
8312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
832
833 * resolv/gethnamaddr.c: Add comment warning that the file is
834 not maintained.
835
ccf431ff
CD
8362014-07-01 Carlos O'Donell <carlos@redhat.com>
837
d34570a6
CD
838 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
839 entries.
840
ccf431ff
CD
841 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
842 entry for aio_cancel and aio_cancel64.
843 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
844 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
845 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
846 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
847 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
848 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
849 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
850 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
851 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
852 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
853 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
854 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
855 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
856
ca06321d
RM
8572014-07-01 Roland McGrath <roland@hack.frob.com>
858
859 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
860 * nptl/pthread_mutex_lock.c: Likewise.
861 * nptl/pthread_mutex_timedlock.c: Likewise.
862 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
863
a1ac3184
RH
8642014-07-01 Richard henderson <rth@redhat.com>
865
631021e0
RH
866 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
867 (__isnan, __isnanl): Remove.
868 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
869
a1ac3184
RH
870 * sysdeps/alpha/fpu/libm-test-ulps: Update.
871
0c1d731f
SL
8722014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
873
874 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
875
76985d3e
SP
8762014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 * resolv/nss_dns/dns-host.c (getanswer_r)
879 [MULTI_PTRS_ARE_ALIASES]: Remove code.
880
b0cb3096
JM
8812014-07-01 Joseph Myers <joseph@codesourcery.com>
882
883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
884 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
885 undefine.
886 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
887 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
888
4d76cb39
RM
8892014-07-01 Roland McGrath <roland@hack.frob.com>
890
891 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
892 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
893
894 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
895 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
896
897 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
898 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
899 ... here.
900 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
901 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
902
903 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
904 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
905 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
906 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
907
908 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
909 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
910 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
912 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
913 Moved ...
914 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
915 ... here.
916 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
918 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
920 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
922 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
924 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
926 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
928 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
930 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
931 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
932 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
933 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
934 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
936 ... here.
937 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
939 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
940 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
941 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
942 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
943 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
944 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
945
0cdcad17
DH
9462014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
947
948 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
949 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
950 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
951 Add sysdep.
952
9b71d0e3
AZ
9532014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
954
955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
956
665390c2
JM
9572014-06-30 Joseph Myers <joseph@codesourcery.com>
958
ae05a9d7
JM
959 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
960 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
961
a7672a2f
JM
962 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
963
665390c2
JM
964 * sysdeps/arm/libm-test-ulps: Regenerated.
965
d7a05d07
MR
9662014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
967 Roland McGrath <roland@hack.frob.com>
968
969 * test-skeleton.c (signal_handler): Kill the whole process group
970 before killing the child individually.
971 (main): Report any failure on `setpgid'.
972
46f1d8a6
RM
9732014-06-30 Roland McGrath <roland@hack.frob.com>
974
975 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
976 from _TLS_H to _ARM_NPTL_TLS_H.
977 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
978 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
979
9c37ec0b
JM
9802014-06-30 Joseph Myers <joseph@codesourcery.com>
981
ce9c5b3e
JM
982 [BZ #16539]
983 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
984 (__expm1l): Return argument unchanged when small but not
985 subnormal.
986
3a6e9887
JM
987 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
988 include macro name.
989 (_FP_UNPACK_RAW_1_P): Likewise.
990 (_FP_PACK_RAW_1): Likewise.
991 (_FP_PACK_RAW_1_P): Likewise.
992 (_FP_MUL_MEAT_1_wide): Likewise.
993 (_FP_MUL_MEAT_DW_1_hard): Likewise.
994 (_FP_MUL_MEAT_1_hard): Likewise.
995 (_FP_DIV_MEAT_1_imm): Likewise.
996 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
997 (_FP_DIV_MEAT_1_udiv): Likewise.
998 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
999 (_FP_UNPACK_RAW_2): Likewise.
1000 (_FP_UNPACK_RAW_2_P): Likewise.
1001 (_FP_PACK_RAW_2): Likewise.
1002 (_FP_PACK_RAW_2_P): Likewise.
1003 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1004 (_FP_MUL_MEAT_2_wide): Likewise.
1005 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1006 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1007 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1008 (_FP_MUL_MEAT_2_gmp): Likewise.
1009 (_FP_DIV_MEAT_2_udiv): Likewise.
1010 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1011 (_FP_FRAC_SRL_4): Likewise.
1012 (_FP_FRAC_SRST_4): Likewise.
1013 (_FP_FRAC_SRS_4): Likewise.
1014 (_FP_UNPACK_RAW_4): Likewise.
1015 (_FP_UNPACK_RAW_4_P): Likewise.
1016 (_FP_PACK_RAW_4): Likewise.
1017 (_FP_PACK_RAW_4_P): Likewise.
1018 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1019 (_FP_MUL_MEAT_4_wide): Likewise.
1020 (_FP_MUL_MEAT_4_gmp): Likewise.
1021 (umul_ppppmnnn): Likewise.
1022 (_FP_DIV_MEAT_4_udiv): Likewise.
1023 (__FP_FRAC_ADD_4): Likewise.
1024 (__FP_FRAC_SUB_3): Likewise.
1025 (__FP_FRAC_SUB_4): Likewise.
1026 (__FP_FRAC_DEC_3): Likewise.
1027 (__FP_FRAC_DEC_4): Likewise.
1028 (__FP_FRAC_ADDI_4): Likewise.
1029 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1030 (_FP_FRAC_SRL_8): Likewise.
1031 (_FP_FRAC_SRS_8): Likewise.
1032
9c37ec0b
JM
1033 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1034 include macro name.
1035 (FP_UNPACK_RAW_EP): Likewise.
1036 (FP_PACK_RAW_E): Likewise.
1037 (FP_PACK_RAW_EP): Likewise.
1038 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1039 (_FP_ISSIGNAN): Likewise.
1040 (_FP_ADD_INTERNAL): Likewise.
1041 (_FP_FMA): Likewise.
1042 (_FP_CMP): Likewise.
1043 (_FP_SQRT): Likewise.
1044 (_FP_TO_INT): Likewise.
1045 (_FP_FROM_INT): Likewise.
1046 (FP_EXTEND): Likewise.
1047 (_FP_DIV_MEAT_N_loop): Likewise.
1048
2125f674
MR
10492014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1050
1051 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1052 throughout.
1053
edea4028
JM
10542014-06-29 Joseph Myers <joseph@codesourcery.com>
1055
1056 [BZ #17097]
1057 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1058 result with correct sign in case of exponents that produce
1059 overflow except for X very close to 1.
1060
dd0ba018
PE
10612014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1062
1063 mktime: merge #if/#ifdef usage from glibc
1064 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1065 as that works with both Glibc's and Gnulib's style.
1066 See thread starting at Siddhesh Poyarekar's bug report at:
1067 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1068
64df73c2
SP
10692014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
1071 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1072 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1073 * sysdeps/tile/tilegx/memmove.c: Remove file.
1074
f1eafb41
JM
10752014-06-27 Joseph Myers <joseph@codesourcery.com>
1076
1077 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1078 abi-name definition.
1079 * scripts/soversions.awk: Do not handle or generate ABI lines.
1080 * shlib-versions: Remove ABI entries.
1081 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1082 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1083
58eb0862
RM
10842014-06-27 Roland McGrath <roland@hack.frob.com>
1085
37caf178
RM
1086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1087 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1088 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1093 Moved ...
1094 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1095 ... here.
1096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1109 Moved ...
1110 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1114 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1116 Moved ...
1117 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1119 Moved ...
1120 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1122 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1124 Moved ...
1125 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1133 Moved ...
1134 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1138 Moved ...
1139 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1141 Moved ...
1142 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1146 Moved ...
1147 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1148 ... here.
1149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1150 Identical file removed.
1151 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1152 Moved ...
1153 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1155 Identical file removed.
1156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1159 Moved ...
1160 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1162 Identical file removed.
1163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1166 Identical file removed.
1167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1170 Identical file removed.
1171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1174 Identical file removed.
1175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1176 Moved ...
1177 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1179 Identical file removed.
1180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1181 Moved ...
1182 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1184 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1186 Identical file removed.
1187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1188 Moved ...
1189 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1190 ... here.
1191 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1192 Identical file removed.
1193 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1194 Moved ...
1195 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1197 Identical file removed.
1198 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1199 Moved ...
1200 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1206 Moved ...
1207 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1209 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1210
58eb0862
RM
1211 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1212 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1213 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1214 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1215 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1216
6f12d062
AS
12172014-06-27 Arjun Shankar <arjun.is@lostca.se>
1218
1219 [BZ #17092]
1220 * nscd/nscd.c (monitor_child): Return exit status of child
1221 instead of return value from wait syscall.
1222
be254932
JM
12232014-06-27 Joseph Myers <joseph@codesourcery.com>
1224
cb403c34
JM
1225 * configure.ac (libc_commonpagesize): Remove variable.
1226 (libc_relro_required): Likewise.
1227 (libc_cv_z_relro): Remove configure test.
1228 * configure: Regenerated.
1229 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1230 variable.
1231 (libc_relro_required): Likewise.
1232 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1233 (libc_relro_required): Likewise.
1234 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1235 (libc_relro_required): Likewise.
1236 * sysdeps/arm/preconfigure: Regenerated.
1237 * sysdeps/ia64/preconfigure: Remove file.
1238 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1239 variable.
1240 (libc_relro_required): Likewise.
1241
be254932
JM
1242 [BZ #16561]
1243 [BZ #16562]
1244 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1245 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1246 recompute overflowing results in original rounding mode.
1247 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1248 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1249 recompute overflowing results in original rounding mode.
1250 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1251 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1252 recompute overflowing results in original rounding mode.
1253 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1254 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1255 recompute overflowing results in original rounding mode.
1256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1257 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1258 recompute overflowing results in original rounding mode.
1259 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1260 (libc_feholdsetround_ctx): New macro.
1261 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1262 * sysdeps/i386/fpu/libm-test-ulps: Update.
1263 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1264
b351d85a
JM
12652014-06-26 Joseph Myers <joseph@codesourcery.com>
1266
1267 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1268 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1269 corresponding .cpsetup call.
1270
3cb4de47
RM
12712014-06-26 Roland McGrath <roland@hack.frob.com>
1272
1273 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1274 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1275 * sysdeps/arm/Makefile [$(subdir) = csu]
1276 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1277 (static-only-routines): Add aeabi_read_tp here.
1278 (shared-only-routines): Add libc-aeabi_read_tp here.
1279 (CFLAGS-libc-start.c): Add -fexceptions here.
1280 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1281 (sysdep_routines, static-only-routines, shared-only-routines):
1282 Don't add to these here.
1283 (CFLAGS-libc-start.c): Likewise.
1284
1285 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1286 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1287 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1288 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1289 * sysdeps/arm/Makefile [$(subdir) = rt]
1290 (librt-sysdep_routines, librt-shared-only-routines):
1291 Append rt-aeabi_unwind_cpp_pr1 here.
1292 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1293 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1294 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1295 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1296 Append nptl-aeabi_unwind_cpp_pr1 here.
1297 (tests): Filter out tst-cleanupx4 here.
1298 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1299 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1300 Don't do those here.
1301
354426bb
JM
13022014-06-26 Joseph Myers <joseph@codesourcery.com>
1303
1304 * scripts/list-sources.sh: Do not handle ports specially.
1305
28b0a8c9
RM
13062014-06-26 Roland McGrath <roland@hack.frob.com>
1307
a3dd035d
RM
1308 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1309 * sysdeps/arm/feupdateenv.c: Likewise.
1310
28b0a8c9
RM
1311 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1312
e66a8203
JM
13132014-06-26 Joseph Myers <joseph@codesourcery.com>
1314
1315 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1316 trailing whitespace removed.
1317 * scripts/config.guess: Update to version 2014-03-23.
1318 * scripts/config.sub: Update to version 2014-05-01
1319 * scripts/install-sh: Update to version 2013-12-25.23.
1320 * scripts/move-if-change: Update from gnulib.
1321
74171115
SP
13222014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1323
b97c9ce5
SP
1324 * debug/memmove_chk.c: Remove pagecopy.h include.
1325
4000f892
SP
13262014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1327
74171115
SP
1328 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1329 identical to gnulib mktime.
1330
a8779c28
JM
13312014-06-26 Joseph Myers <joseph@codesourcery.com>
1332
e64708de
JM
1333 * configure.ac: Do not test for machine being rs6000. Do not test
1334 for powerpc*-*soft.
1335 * configure: Regenerated.
1336
a8779c28
JM
1337 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1338 test.
1339 * configure: Regenerated.
1340 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1341 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1342 Remove configure test.
1343 * sysdeps/arm/configure: Regenerated.
1344 * sysdeps/nptl/configure.ac: Do not check
1345 libc_cv_asm_cfi_directives.
1346 * sysdeps/nptl/configure: Regenerated.
1347 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1348 * sysdeps/x86_64/nptl/configure: Remove generated file.
1349 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1350 unconditional.
1351 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1352
2aac0a86
SP
13532014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1354
059bf913
SP
1355 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1356 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1357 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1358 it is defined.
1359
4cf5b6d0
SP
1360 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1361 instead of whether it is defined.
1362 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1363 * sysdeps/hppa/dl-machine.h: Likewise.
1364 * sysdeps/ia64/dl-machine.h: Likewise.
1365 * sysdeps/m68k/dl-machine.h: Likewise.
1366 * sysdeps/microblaze/dl-machine.h: Likewise.
1367 * sysdeps/mips/dl-machine.: Likewise.
1368 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1369 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1370 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1371 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1372 * sysdeps/sh/dl-machine.h: Likewise.
1373 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1374 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1375 * sysdeps/tile/dl-machine.h: Likewise.
1376 * sysdeps/x86_64/dl-machine.h: Likewise.
1377
2aac0a86
SP
1378 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1379 code.
1380 (verify_persistent_db): Likewise.
1381
6ad2df0b
RM
13822014-06-26 Roland McGrath <roland@hack.frob.com>
1383
d8a483f3
RM
1384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1385 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1389 Moved ...
1390 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1391 ... here.
1392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1393 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1395 Identical file removed.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1405 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1412 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1414 Moved ...
1415 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1419 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1421 Identical file removed.
1422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1423 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1425 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1427 Moved ...
1428 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1429 ... here.
1430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1441 Moved ...
1442 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1444 Moved ...
1445 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1453
52ae23b4
RM
1454 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1455 folded into ...
1456 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1457 * sysdeps/unix/sysv/linux/s390/Versions
1458 (libpthread: GLIBC_2.19): New version set.
1459 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1460 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1461 (librt: GLIBC_2.3.3): New version set.
1462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1463 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1464 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1466 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1468 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1470 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1472 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1474 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1475 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1476 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1477 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1478 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1479 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1480 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1481 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1482 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1484 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1485 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1486 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1487 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1488 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1490 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1492 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1498 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1499 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1500 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1502 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1504 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1506 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1507
39507e4a
RM
1508 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1509 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1510 (__libc_vfork): Define the function under this name.
1511 [!NOT_IN_libc] (__vfork): Make this an alias.
1512 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1514 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1515 (__libc_vfork): Define the function under this name.
1516 [!NOT_IN_libc] (__vfork): Make this an alias.
1517 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1518 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1519 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1521 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1522 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1523
e549ee56
RM
1524 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1525 code that was previously under [RESET_PID].
1526 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1527 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1529
6ad2df0b
RM
1530 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1531 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1532 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1533 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1534 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1535 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1536 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1537 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1538 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1541 Moved ...
1542 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1546 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1548 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1550 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1552 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1556 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1557 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1558 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1560 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1564 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1566 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1567 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1568 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1570 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1571
7c1c1d8e
RM
15722014-06-25 Roland McGrath <roland@hack.frob.com>
1573
1574 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1575 that was previously under [RESET_PID].
1576 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1577
3e239be6
JM
15782014-06-25 Joseph Myers <joseph@codesourcery.com>
1579
74385da5
JM
1580 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1581 not undefine and redefine.
1582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1583 [O_CLOEXEC]: Make code unconditional.
1584 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1585 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1586 <kernel-features.h>.
1587 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1588 conditional variable definition.
1589 (shm_open) [O_CLOEXEC]: Make code unconditional.
1590 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1591 code.
1592
c2570a0b
JM
1593 * configure.ac (USE_REGPARMS): Don't define here.
1594 * configure: Regenerated.
1595 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1596 * sysdeps/i386/configure: Regenerated.
1597
11b076bb
JM
1598 * nptl/createthread.c: Don't include kernel-features.h.
1599 * nptl/pthread_cancel.c: Likewise.
1600 * nptl/pthread_condattr_setclock.c: Likewise.
1601 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1602 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1603 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1604 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1605 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1606 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1607 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1609 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1610 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1611 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1612 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1613 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1614 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1615 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1616 * nscd/gai.c: Likewise.
1617 * nss/nss_db/db-open.c: Likewise.
1618 * sysdeps/generic/ldsodefs.h: Likewise.
1619 * sysdeps/sh/nptl/tls.h: Likewise.
1620 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1621 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1622 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1623 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1624 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1625 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1626 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1627 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1628 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1629 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1630 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1631 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1632 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1633 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1634 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1635 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1636 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1637 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1638 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1639 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1640 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1641 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1642 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1643 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1644 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1645 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1646 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1647 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1648 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1649 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1650 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1651 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1652 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1653 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1654 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1655 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1656 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1657 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1658 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1659 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1660 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1661 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1662 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1663 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1664 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1665 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1666 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1667 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1668 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1669 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1670 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1671 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1672 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1673 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1674 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1675 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1700 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1701 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1702 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1703 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1704 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1706 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1707 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1708 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1709 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1710 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1711 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1712 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1713 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1714 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1715 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1716 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1717 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1718 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1719 * sysdeps/unix/sysv/linux/system.c: Likewise.
1720 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1721 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1722 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1723 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1724 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1726 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1727
92072d57
JM
1728 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1729 * configure: Regenerated.
1730 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1731
3e239be6
JM
1732 * configure.ac (base_machine): Do not set specially for particular
1733 machines here.
1734 * configure: Regenerated.
1735 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1736 settings from configure.ac.
1737 * sysdeps/i386/preconfigure: New file.
1738 * sysdeps/s390/preconfigure: Likewise.
1739 * sysdeps/sh/preconfigure: Likewise.
1740 * sysdeps/sparc/preconfigure: Likewise.
1741
06d50baa
RM
17422014-06-25 Roland McGrath <roland@hack.frob.com>
1743
74836003
RM
1744 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1745 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1746 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1747 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1748 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1749 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1750 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1751 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1752 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1753 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1754 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1755 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1756 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1757 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1758 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1759 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1760 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1761 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1762 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1763
1764 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1765 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1766 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1767 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1768 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1769 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1770 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1771 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1772 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1773 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1774 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1775 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1776 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1777 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1778 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1779 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1780 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1781 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1782 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1783 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1784 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1785 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1786 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1787 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1788 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1789 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1790 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1791 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1793 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1795 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1796 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1797 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1799 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1800 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1801 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1802
06d50baa
RM
1803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1808 Moved ...
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1810 ... here.
1811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1816 Moved ...
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1825 Moved ...
1826 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1828 Moved ...
1829 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1833 Moved ...
1834 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1836 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1844 Moved ...
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1846 ... here.
1847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1852 Moved ...
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1861 Moved ...
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1864 Moved ...
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1869 Moved ...
1870 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1872 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1875
a4ccbc9b
JM
18762014-06-25 Joseph Myers <joseph@codesourcery.com>
1877
0828edbf
JM
1878 * timezone/checktab.awk: Update from tzcode 2014e.
1879 * timezone/private.h: Likewise.
1880 * timezone/tzfile.h: Likewise.
1881 * timezone/zdump.c: Likewise.
1882 * timezone/zic.c: Likewise.
1883
a4ccbc9b
JM
1884 * sysdeps/unix/sysv/linux/kernel-features.h
1885 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1886 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1887 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1888 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1889 Remove conditional code.
1890
9aea0cb8
WN
18912014-06-25 Will Newton <will.newton@linaro.org>
1892
1893 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1894 (_dl_arm_cap_flags): Add HWCAP2 values.
1895 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1896 (_DL_HWCAP_COUNT): Increase to 37.
1897 (_DL_HWCAP_LAST): New define.
1898 (_DL_HWCAP2_LAST): New define.
1899 (_dl_procinfo): Add support for printing
1900 AT_HWCAP2 entries.
1901 (_dl_string_hwcap): Use _dl_hwcap_string.
1902
6eaa65ce
AZ
19032014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1906
0f5b7185
JM
19072014-06-25 Joseph Myers <joseph@codesourcery.com>
1908
cfd2ea50
JM
1909 * README: Do not mention ports directory.
1910
cecf2ed4
JM
1911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1912 Remove macro.
1913 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1914 <kernel-features.h>.
1915 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1916 conditional variable definition.
1917 (__futimes): Update comment.
1918 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1919 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1920
a638de82
JM
1921 [BZ #16560]
1922 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1923 arguments close to 0.
1924 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1925 Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1927 Likewise.
1928 * math/auto-libm-test-in: Add more tests of exp10.
1929 * math/auto-libm-test-out: Regenerated.
1930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1931
0f5b7185
JM
1932 * sysdeps/unix/sysv/linux/kernel-features.h
1933 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1934 * sysdeps/unix/sysv/linux/readv.c: Do not include
1935 <kernel-features.h>.
1936 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1937 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1938 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1939 unconditional.
1940 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1941 conditional code.
1942 * sysdeps/unix/sysv/linux/writev.c: Do not include
1943 <kernel-features.h>.
1944 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1945 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1946 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1947 unconditional.
1948 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1949 conditional code.
1950
c7aec4be
WN
19512014-06-25 Will Newton <will.newton@linaro.org>
1952
1953 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1954 comment changes throughout the file. Remove checks
1955 for HAVE_*_H definitions that are not required.
1956 (__gen_tempname): Call abort if an unknown kind value is
1957 passed.
1958
c5241f95
AS
19592014-06-25 Andreas Schwab <schwab@suse.de>
1960
1961 [BZ #17086]
1962 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1963 scalbln, scalblnf, scalblnl in libc.
1964
911422da
SP
19652014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1966
1967 [BZ #17086]
1968 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1969 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1970 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1971
0d749bbe
RM
19722014-06-24 Roland McGrath <roland@hack.frob.com>
1973
1974 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1975 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1976 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1977 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1978 Update #include.
1979 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1980 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1981 Update #include.
1982 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1983 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1984 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1985 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1986 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1987 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1988 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1989 * sysdeps/x86/bits/semaphore.h: ... here.
1990 * sysdeps/x86/nptl/elide.h: Moved ...
1991 * sysdeps/x86/elide.h: ... here.
1992 * sysdeps/x86_64/nptl/Implies: File removed.
1993 * sysdeps/i386/nptl/Implies: File removed.
1994
0ea5d373
JM
19952014-06-24 Joseph Myers <joseph@codesourcery.com>
1996
4060283d
JM
1997 [BZ #16539]
1998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1999 return the argument for normal arguments with exponent below -64.
2000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2001 Likewise.
2002 * math/auto-libm-test-in: Add another test of expm1.
2003 * math/auto-libm-test-out: Regenerated.
2004
e7dd3c8c
JM
2005 [BZ #16287]
2006 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2007 calling __erfcl for arguments at least 16.
2008 * math/auto-libm-test-in: Add more tests of erf.
2009 * math/auto-libm-test-out: Regenerated.
2010
0ea5d373
JM
2011 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2012 individual architectures.
2013 * sysdeps/unix/sysv/linux/configure: Regenerated.
2014 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2015 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2016 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2017 (ldd_rewrite_script): Define variable.
2018 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2020 file.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2022 generated file.
2023 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2024 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2025 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2026 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2027 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2028 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2029 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2030 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2031
2307e126
SP
20322014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2033
2034 [BZ #17084]
2035 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2036 Rename member __data.d to __data.__elision_data.
2037
c0a4ed77
W
20382014-06-24 Wilco <wdijkstr@arm.com>
2039
2040 * NEWS: Add 16918 to fixed bug list.
2041
b8c00573
W
20422014-06-24 Wilco <wdijkstr@arm.com>
2043
2044 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2045
b5570d92
W
20462014-06-24 Wilco <wdijkstr@arm.com>
2047
2048 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2049 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2050 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2051 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2052 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2053 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2054 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2055 Use _FPU_MASK_RM.
2056
947bdca2
W
20572014-06-24 Wilco <wdijkstr@arm.com>
2058
2059 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2060
00f669ed
W
20612014-06-24 Wilco <wdijkstr@arm.com>
2062
2063 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2064 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2065 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2066 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2067
db59bad3
W
20682014-06-24 Wilco <wdijkstr@arm.com>
2069
2070 [BZ #16918]
2071 * sysdeps/arm/feupdateenv.c (feupdateenv):
2072 Rewrite to reduce FPSCR accesses and fix return value.
2073
001f7b77
W
20742014-06-24 Wilco <wdijkstr@arm.com>
2075
2076 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2077 Optimize to avoid unnecessary FPSCR writes.
2078 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2079 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2080 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2081 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2082
4841e6a6
W
20832014-06-24 Wilco <wdijkstr@arm.com>
2084
2085 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2086 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2087 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2088 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2089 Call libc_fetestexcept_vfp.
2090 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2091 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2092 __SOFTFP__ ifdef so that they can be built for softfp.
2093
0813022c
SP
20942014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2095
08e5862f
SP
2096 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2097 argument type signed char.
2098
0813022c
SP
2099 * Makerules (check-abi): Dump diff of symlist if the test
2100 fails.
2101
3fc7236a
RM
21022014-06-23 Roland McGrath <roland@hack.frob.com>
2103
aba8ef95
RM
2104 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2105 using abort.
2106
3fc7236a
RM
2107 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2108 Remove unused variable ST.
2109
4da6db51
JM
21102014-06-23 Joseph Myers <joseph@codesourcery.com>
2111
4648909d
JM
2112 [BZ #16354]
2113 [BZ #17061]
2114 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2115 small arguments before calling __expm1.
2116 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2117 small arguments before calling __expm1f.
2118 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2119 small arguments before calling __expm1l.
2120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2121 Likewise.
2122 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2123 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2124 spurious underflow for some cosh tests.
2125 * math/auto-libm-test-out: Regenerated.
2126 * sysdeps/i386/fpu/libm-test-ulps: Update.
2127
46a3d3c7
JM
2128 [BZ #17050]
2129 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2130 (__ieee754_y1): Set errno if return value overflows.
2131 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2132 (__ieee754_y1f): Set errno if return value overflows.
2133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2134 (__ieee754_y1l): Set errno if return value overflows.
2135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2136 (__ieee754_y1l): Set errno if return value overflows.
2137 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2138 * math/auto-libm-test-out: Regenerated.
2139
863893ec
JM
2140 * math/gen-auto-libm-tests.c: Document use of
2141 ignore-zero-inf-sign.
2142 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2143 (input_flags): Add ignore-zero-inf-sign.
2144 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2145 * math/gen-libm-test.pl (generate_testfile): Handle
2146 ignore-zero-inf-sign.
2147 * math/auto-libm-test-in: Mark some cpow tests with
2148 ignore-zero-inf-sign and some with xfail-rounding.
2149 * math/auto-libm-test-out: Regenerated.
2150 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153
4da6db51
JM
2154 [BZ #16315]
2155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2156 overflowing or underflowing operations take place with sign of
2157 result.
2158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2159 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2160 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2161 (__ieee754_pow): Recompute overflowing and underflowing results in
2162 original rounding mode.
2163 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2164 (__powl_helper): Allow negative argument X and scale negated value
2165 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2166 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2167 overflowing or underflowing operations take place with sign of
2168 result.
2169 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2170 Include <math.h>.
2171 * math/auto-libm-test-in: Add more tests of pow.
2172 * math/auto-libm-test-out: Regenerated.
2173 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2174 (pow_tonearest_test_data): Remove.
2175 (pow_test_tonearest): Likewise.
2176 (pow_towardzero_test_data): Likewise.
2177 (pow_test_towardzero): Likewise.
2178 (pow_downward_test_data): Likewise.
2179 (pow_test_downward): Likewise.
2180 (pow_upward_test_data): Likewise.
2181 (pow_test_upward): Likewise.
2182 (main): Don't call removed functions.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185
5686b236
RM
21862014-06-23 Roland McGrath <roland@hack.frob.com>
2187
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2189 Moved ...
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2192 Moved ...
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2195 Moved ...
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2198 Moved ...
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2201 File removed.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2203 File removed.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2205 File removed.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2207 File removed.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2209 File removed.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2211 File removed.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2213 File removed.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2215 File removed.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2217 File removed.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2219 File removed.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2221 File removed.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2223 File removed.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2225 Moved ...
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2228 Moved ...
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2230 ... here.
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2232 Moved ...
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2235 Moved ...
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2238 Moved ...
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2241 Moved ...
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2244 Moved ...
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2247 Moved ...
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2250 Moved ...
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2254 ... here.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2256 Moved ...
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2259 Moved ...
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2261 ... here.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2263 Moved ...
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2265 ... here.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2267 Moved ...
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2269 ... here.
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2271 Moved ...
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2274 Moved ...
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2279 Moved ...
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2281 ... here.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2283 Moved ...
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2285 ... here.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2287 Moved ...
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2290 Moved ...
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2293 Moved ...
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2296 Moved ...
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2299 Moved ...
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2301 ... here.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2303 Moved ...
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2306 Moved ...
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2309 Moved ...
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2312 Moved ...
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2317 Moved ...
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2320 Moved ...
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2323 Moved ...
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2325 ... here.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2327 Moved ...
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2329 ... here.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2331 Moved ...
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2333 ... here.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2335 Moved ...
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2338 Moved ...
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2341 Moved ...
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2344 Moved ...
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2346 ... here.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2348 Moved ...
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2350 ... here.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2352 Moved ...
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2354 ... here.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2356 Moved ...
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2359 Moved ...
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2361
e6d90d67
WD
23622014-06-23 Will Newton <will.newton@linaro.org>
2363 Wilco <wdijkstr@arm.com>
2364
2365 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2366 implementation. Include get-rounding-mode.h.
2367 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2368 [!libc_feholdsetround_noex_ctx]: Define
2369 libc_feholdsetround_noex_ctx.
2370 [!libc_feholdsetround_noexf_ctx]: Define
2371 libc_feholdsetround_noexf_ctx.
2372 [!libc_feholdsetround_noexl_ctx]: Define
2373 libc_feholdsetround_noexl_ctx.
2374 (libc_feholdsetround_ctx): New function.
2375 (libc_feresetround_ctx): New function.
2376 (libc_feholdsetround_noex_ctx): New function.
2377 (libc_feresetround_noex_ctx): New function.
2378
d42df555
RM
23792014-06-23 Roland McGrath <roland@hack.frob.com>
2380
88a46474
RM
2381 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2382 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2383 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2384 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2385 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2386 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2387
15bed472
RM
2388 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2389 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2390 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2391 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2392 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2393 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2395 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2399 Moved ...
2400 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2401 ... here.
2402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2407 Moved ...
2408 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2416 Moved ...
2417 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2419 Moved ...
2420 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2424 Moved ...
2425 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2427 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2428 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2429 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2430 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2431 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2433 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2435 Moved ...
2436 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2437 ... here.
2438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2439 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2441 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2443 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2445 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2447 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2449 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2451 Moved ...
2452 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2454 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2456 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2457 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2458 Moved ...
2459 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2463 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2464
d42df555
RM
2465 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2466 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2467 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2468 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2470 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2474 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2476 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2480 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2481 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2482 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2490 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2493
76e5216e
JM
24942014-06-23 Joseph Myers <joseph@codesourcery.com>
2495
2496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2497 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2498 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2499 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2500 (IPV6_PMTUDISC_INTERFACE): Likewise.
2501 (IPV6_PMTUDISC_OMIT): Likewise.
2502
7a81cbcc
AS
25032014-06-23 Andreas Schwab <schwab@suse.de>
2504
2505 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2506 Remove unused errout label.
2507
db224009
AZ
25082014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
2510 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2511 macro: hardware supports Vector Crypto instructions.
2512
f393b4aa
WN
25132014-06-23 Will Newton <will.newton@linaro.org>
2514
cc7d0447
WN
2515 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2516 rather than __builtin_expect.
2517
d6d06225
WN
2518 * elf/dl-lookup.c (undefined_msg): Remove variable.
2519 (_dl_lookup_symbol_x): Replace undefined_msg with string
2520 literal.
2521
f393b4aa
WN
2522 * elf/dl-lookup.c (do_lookup_unique): New function.
2523 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2524 to a separate function.
2525
ac60763e
AS
25262014-06-23 Andreas Schwab <schwab@suse.de>
2527
2528 [BZ #17079]
2529 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2530 before reading the next line.
2531
c5c13355
WN
25322014-06-23 Will Newton <will.newton@linaro.org>
2533
2534 * test-skeleton.c (signal_handler): Use printf and %m
2535 rather than perror. Use printf rather than fprintf to
2536 stderr. Use puts rather than fputs to stderr.
2537 (main): Likewise.
2538
bd3675f9
LC
25392014-06-22 Ludovic Courtès <ludo@gnu.org>
2540
2541 * nscd/nscd.c (thread_info_t): Remove typedef.
2542 (thread_info): Remove variable.
2543
d03efb2f
AM
25442014-06-21 Allan McRae <allan@archlinux.org>
2545
2546 * NEWS: Mention CVE-2014-4043.
2547
bc4a86fa
RM
25482014-06-20 Roland McGrath <roland@hack.frob.com>
2549
dc9a54f8
RM
2550 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2551 * nptl/smp.h: ... here.
2552
bd7022c4
RM
2553 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2554
26ffd5e6
RM
2555 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2556 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2557 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2558 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2559
93a6d082
RM
2560 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2561 * nptl/stack-aliasing.h: New file.
2562 * sysdeps/i386/i686/stack-aliasing.h: New file.
2563 * sysdeps/i386/i686/nptl/Makefile: File removed.
2564 * sysdeps/x86_64/stack-aliasing.h: New file.
2565 * sysdeps/x86_64/nptl/Makefile
2566 (CFLAGS-pthread_create.c): Variable removed.
2567
bc4a86fa
RM
2568 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2569 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2570 old file.
2571 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2572 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2573 old file.
2574
2272ffc1
JM
25752014-06-21 Joseph Myers <joseph@codesourcery.com>
2576
2577 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2578 (__ASSUME_SIGFRAME_V2): Remove macro.
2579 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2580 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2581 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2582 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2583 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2584 Declare as function. Remove conditional macro definitions.
2585 (__default_rt_sa_restorer): Likewise.
2586 (__default_sa_restorer_v1): Remove declaration.
2587 (__default_sa_restorer_v2): Likewise.
2588 (__default_rt_sa_restorer_v1): Likewise.
2589 (__default_rt_sa_restorer_v2): Likewise.
2590 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2591 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2592 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2593
4b88139b
RM
25942014-06-20 Roland McGrath <roland@hack.frob.com>
2595
2596 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2597 (libpthread-routines): Add sysdep.
2598 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2599 * sysdeps/unix/sysv/linux/sparc/Versions
2600 (libpthread: GLIBC_2.3.3): New version set.
2601 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2602 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2603 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2604 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2605 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2606 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2607 Moved ...
2608 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2610 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2612 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2614 * sysdeps/sparc/nptl/sem_init.c: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2616 * sysdeps/sparc/nptl/sem_post.c: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2618 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2620 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2622 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2623 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2624 (libpthread-routines): Add cpu_relax.
2625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2626 File removed.
2627 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2628 (librt: GLIBC_2.3.3): New version set.
2629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2630 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2631 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2632 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2635 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2637 Moved ...
2638 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2640 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2642 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2644 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2646 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2648 Moved ...
2649 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2650 Update #include.
2651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2652 Moved ...
2653 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2654 Update #include.
2655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2656 Moved ...
2657 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2658 Update #include.
2659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2660 Moved ...
2661 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2662 Update #include.
2663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2664 Moved ...
2665 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2666 Update #include.
2667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2668 Moved ...
2669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2670 Update #include.
2671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2672 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2682 Moved ...
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2688
d7109027
JM
26892014-06-20 Joseph Myers <joseph@codesourcery.com>
2690
9bc6103d
JM
2691 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2692 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2693 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2694 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2695 * nscd/nscd.c: Likewise.
2696 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2697 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2698 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2699 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2700
d7109027
JM
2701 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2702 <kernel-features.h>.
2703 (init_mq_netlink): Remove conditional have_sock_cloexec
2704 definitions. Remove code conditional on have_sock_cloexec < 0.
2705 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2706 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2707 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2708 <kernel-features.h>.
2709 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2710 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2711
d92d8f8a
L
27122014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2715 Add tests for memset_chk and memset.
2716
2717 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2718 with AVX2_Usable.
2719
4e6d2347
MR
27202014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2721
257ce712
MR
2722 [BZ #16046]
2723 * elf/tst-dl-iter-static.c: New file.
2724 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2725
4e6d2347
MR
2726 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2727 error.
2728
a2a76afe
JM
27292014-06-20 Joseph Myers <joseph@codesourcery.com>
2730
7fd00f99
JM
2731 * sysdeps/unix/sysv/linux/kernel-features.h
2732 (__ASSUME_F_GETOWN_EX): Remove macro.
2733 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2734 <kernel-features.h>.
2735 (miss_F_GETOWN_EX): Remove variable or macro.
2736 (do_fcntl): Do not check miss_F_GETOWN_EX.
2737 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2738
4a103975
JM
2739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2740 Remove macro.
2741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2742 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2743 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2744
a2a76afe
JM
2745 * sysdeps/unix/sysv/linux/kernel-features.h
2746 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2747 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2748 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2749 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2750
90e5dd48
MR
27512014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2752
2753 [BZ #17075]
2754 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2755 Fix calculation of the symbol's value.
2756 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2757 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2758 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2759 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2760 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2761 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2762 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2763 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2764 (modules-names): Add `tst-armtlsdescmod',
2765 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2766 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2767 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2768 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2769 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2770 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2771 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2772 ($(objpfx)tst-armtlsdescloc): New dependency.
2773 ($(objpfx)tst-armtlsdescextnow): Likewise.
2774 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2775 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2776 TLS scheme support.
2777 * sysdeps/arm/configure: Regenerate.
2778
809fdf0d
JM
27792014-06-20 Joseph Myers <joseph@codesourcery.com>
2780
2781 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2782 (__atfct_seterrno_2): Likewise.
2783 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2784 <kernel-features.h>.
2785 (__ASSUME_ATFCTS): Do not undefine and redefine.
2786 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2787 (__have_atfcts): Remove conditional definition.
2788 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2789 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2790 unreachable if [__ASSUME_ATFCTS].
2791 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2792 not undefine and redefine.
2793 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2794 <kernel-features.h>.
2795 (faccessat) [__NR_faccessat]: Make code unconditional.
2796 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2797 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2798 <kernel-features.h>.
2799 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2800 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2801 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2802 <kernel-features.h>.
2803 (fchownat) [__NR_fchownat]: Make code unconditional.
2804 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2805 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2806 <kernel-features.h>.
2807 (futimesat) [__NR_futimesat]: Make code unconditional.
2808 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2809 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2810 <kernel-features.h>.
2811 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2812 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2813 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2814 <kernel-features.h>.
2815 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2816 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2817 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2818 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2819 <kernel-features.h>.
2820 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2821 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2822 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2823 <kernel-features.h>.
2824 (linkat) [__NR_linkat]: Make code unconditional.
2825 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2826 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2827 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2828 <kernel-features.h>.
2829 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2830 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2831 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2832 <kernel-features.h>.
2833 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2834 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2835 * sysdeps/unix/sysv/linux/openat.c: Do not include
2836 <kernel-features.h>.
2837 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2838 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2839 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2840 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2842 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2843 <kernel-features.h>.
2844 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2845 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2846 result of INLINE_SYSCALL directly, not via int variable.
2847 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2848 <kernel-features.h>.
2849 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2850 (renameat) [__NR_renameat]: Make code unconditional.
2851 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2853 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2854 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2855 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2856 (__ASSUME_ATFCTS): Do not undefine and redefine.
2857 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2858 <kernel-features.h>.
2859 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2860 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2861 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2862 <kernel-features.h>.
2863 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2864 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2866 (__ASSUME_ATFCTS): Do not undefine and redefine.
2867 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2868 <kernel-features.h>.
2869 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2870 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2871 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2872 <kernel-features.h>.
2873 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2874 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2875
224c6c51
L
28762014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2879
aa6ec754
AS
28802014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2881
2882 [BZ #17069]
2883 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2884 constructed tree before returning error.
2885 * posix/bug-regexp36.c: Expand test case.
2886
d8c2869d
SL
28872014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2888
3ef6b850
SL
2889 [BZ #6803]
2890 * math/libm-test.inc (scalbln_test_date):
2891 Add errno expectations.
2892 * math/w_scalblnf.c: New File.
2893 Add wrapper which checks for setting errno to ERANGE.
2894 Add weak_alias for corresponding scalbln function.
2895 * math/w_scalbln.c: Likewise.
2896 * math/w_scalblnl.c: Likewise.
2897 * math/Makefile (libm-calls): Add w_scalbln.
2898 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2899 Remove weak_alias for corresponding scalbln function.
2900 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2902 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2904 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2905 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2906 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2907 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2908 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2909 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2910 Remove long_double_symbol for scalblnl function in libm, libc.
2911 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2912 Add wrapper which checks for setting errno to ERANGE.
2913 Add long_double_symbol for scalblnl function in libm, libc.
2914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2915 Remove long_double_symbol for scalblnl in libm.
2916 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2917 Add wrapper which checks for setting errno to ERANGE.
2918 Add long_double_symbol for scalblnl function in libm.
2919 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2920 Do not use wrapper because of own implementation.
2921
c8daec5c
L
29222014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2925 3 bytes for __pad1 for x32.
2926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2927
5c74e47c
LM
29282014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2929 H.J. Lu <hongjiu.lu@intel.com>
2930
2931 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2932 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2933 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2934 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2935 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2936
4d43ef1e
AS
29372014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2938
2939 [BZ #17069]
2940 * posix/regcomp.c (parse_expression): Deallocate partially
2941 constructed tree before returning error.
2942 * posix/Makefile.c (tests): Add bug-regex36.
2943 (generated): Add bug-regex36.mtrace.
2944 (tests-special): Add $(objpfx)bug-regex36-mem.out
2945 (bug-regex36-ENV): New variable.
2946 ($(objpfx)bug-regex36-mem.out): New rule.
2947 * posix/bug-regex36.c: New file.
2948
51a7380b
WN
29492014-06-19 Will Newton <will.newton@linaro.org>
2950
2951 * malloc/malloc.c (systrim): If extra is zero then return
2952 early.
2953
91b84fe5
SP
29542014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2957
f940b965
RE
29582014-06-19 Richard Earnshaw <rearnsha@arm.com>
2959
2960 * sysdeps/aarch64/strchr.S: New file.
2961
4ba7a00f
JM
29622014-06-18 Joseph Myers <joseph@codesourcery.com>
2963
2964 [BZ #17022]
2965 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2966 from arguments -2 or below.
2967 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2968 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2969
b3a9f56b
AS
29702014-06-18 Andreas Schwab <schwab@suse.de>
2971
2972 [BZ #17062]
2973 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2974 of a bracket expr not to run off the end of the string.
2975 * posix/Makefile (tests): Add tst-fnmatch3.
2976 * posix/tst-fnmatch3.c: New file.
2977
85d89278
JM
29782014-06-18 Joseph Myers <joseph@codesourcery.com>
2979
2980 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2981 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2982 [$(cross-compiling) = no]: Likewise.
2983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2984 [$(cross-compiling) = no]: Likewise.
2985
754c5a08
RS
29862014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2987
2988 [BZ #17031]
2989 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2990 double, adjusted for any remainder from the high double.
2991 * math/libm-test.inc (nearbyint): Add tests.
2992 (rint): Likewise.
2993
556f529d
AZ
29942014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2995
2996 * nptl/sysdeps/powerpc/Makefile: Moved ...
2997 * sysdeps/powerpc/nptl/Makefile: ... here.
2998 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2999 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3000 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3001 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3002 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3003 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3004 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3005 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3006 * nptl/sysdeps/powerpc/tls.h: Moved ...
3007 * sysdeps/powerpc/nptl/tls.h: ... here.
3008
91c03c53
JM
30092014-06-16 Joseph Myers <joseph@codesourcery.com>
3010
3011 [BZ #16681]
3012 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3013 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3014 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3015 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3016 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3017 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3018 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3019 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3020 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3021
a76e63c5
AS
30222014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3023
3024 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3025
f2f6d82f
AS
30262014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3027
ea8a15f6
AS
3028 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3029 defined operator.
3030
f2f6d82f
AS
3031 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3032 $TIMEOUTFACTOR.
3033
a7291117
FW
30342014-06-16 Florian Weimer <fweimer@redhat.com>
3035
3036 [BZ #17058]
3037 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3038 non-executed part of the test.
3039
3d7c00e3
AS
30402014-06-16 Andreas Schwab <schwab@suse.de>
3041
3042 * string/bits/string2.h (strdup, strndup): Update feature guard.
3043
6957fb31
DM
30442014-06-14 David S. Miller <davem@davemloft.net>
3045
3046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3047
11b9e55b
AS
30482014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3049
1d2a0492
AS
3050 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3051 that was previously under [RESET_PID].
3052 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3053
11b9e55b
AS
3054 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3055 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3056 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3057 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3058 (__libc_vfork): New strong alias.
3059 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3060
0f6901d0
AK
30612014-06-14 Andi Kleen <ak@linux.intel.com>
3062
3063 * sysdeps/generic/elide.h: New file.
3064
38bbbb9f
SL
30652014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3066
3067 * Makefile (installed-headers): Adjust path of pthread.h header.
3068
45193bb8
RM
30692014-06-13 Roland McGrath <roland@hack.frob.com>
3070
9a25fd1e
RM
3071 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3072 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3074 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3075
4004f7e4
RM
3076 * nptl/sysdeps/s390/Makefile: Moved ...
3077 * sysdeps/s390/nptl/Makefile: ... here.
3078 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3079 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3080 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3081 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3082 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3083 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3084 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3085 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3086 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3087 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3088 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3089 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3090 * nptl/sysdeps/s390/tls.h: Moved ...
3091 * sysdeps/s390/nptl/tls.h: ... here.
3092
45193bb8
RM
3093 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3094 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3095
f6fdf533
DM
30962014-06-13 David S. Miller <davem@davemloft.net>
3097
3098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3106 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3107 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3108 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3109 Remove RESET_PID cpp guards.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3111 Remove RESET_PID cpp guards.
3112 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3113
f5d71e14
AS
31142014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3115
3116 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3117 __sp to uintptr_t.
3118
b7aa8caa
AK
31192014-06-13 Andi Kleen <ak@linux.intel.com>
3120
4b266200
AZ
3121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3124 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3125 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3129 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3130 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3134 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3135 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3139 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3140 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3141
3142 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3143 (pthread_rwlock_rdlock): Add elision.
3144 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3145 (pthread_rwlock_wrlock): Add elision.
3146 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3147 (pthread_rwlock_trywrlock): Add elision.
3148 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3149 (pthread_rwlock_tryrdlock): Add elision.
3150 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3151 (pthread_rwlock_tryrdlock): Add elision unlock.
3152 * nptl/sysdeps/pthread/pthread.h:
3153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3154 (PTHREAD_RWLOCK_INITIALIZER,
3155 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3156 Handle new elision field.
3157 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3158 * sysdeps/arm/nptl/bits/pthreadtypes.h
3159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3160 * sysdeps/sh/nptl/bits/pthreadtypes.h
3161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3162 * sysdeps/tile/nptl/bits/pthreadtypes.h
3163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3164 * sysdeps/a/nptl/bits/pthreadtypes.h
3165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3166 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3168 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3170 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3172 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3174 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3176 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3178 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3180 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3182 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3183 (elision_init): Set try_xbegin to zero when no RTM.
3184 * sysdeps/x86/nptl/bits/pthreadtypes.h
3185 (pthread_rwlock_t): Change __pad1 to __rwelision.
3186 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3187
a832bdd3
AK
31882014-06-13 Andi Kleen <ak@linux.intel.com>
3189
3190 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3191 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3192 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3193 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3194
995a46bb
MI
31952014-06-13 Meador Inge <meadori@codesourcery.com>
3196
3197 [BZ #16996]
03ed7738 3198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3199 that the cached result has been set before returning it.
3200
45262aee
RM
32012014-06-12 Roland McGrath <roland@hack.frob.com>
3202
febf6cc5
RM
3203 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3204 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3206 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3208 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3209
e2682246
RM
3210 * nptl/sysdeps/sparc/Makefile: Moved ...
3211 * sysdeps/sparc/nptl/Makefile: ... here.
3212 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3213 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3214 * nptl/sysdeps/sparc/tls.h: Moved ...
3215 * sysdeps/sparc/nptl/tls.h: ... here.
3216 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3217 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3218 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3219 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3220 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3221 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3222 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3223 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3224 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3225 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3226 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3227 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3228 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3229 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3230 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3231 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3232 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3233 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3234 Update #include.
3235 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3236 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3237 Update #include.
3238 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3239 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3240 Update #include.
3241 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3242 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3243 Update #include.
3244
b0725f43
RM
3245 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3246
b14368b8
RM
3247 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3248 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3249
c5620eb3
RM
3250 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3251 (struct list_links): Type removed.
3252 (struct thread_node, struct timer_node): Replace struct list_links
3253 with struct list_head.
3254 (list_unlink_ip): Likewise.
3255 * sysdeps/pthread/timer_routines.c
3256 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3257 (list_append, list_insbefore): Likewise.
3258 (list_init): Function removed.
3259 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3260 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3261 * sysdeps/pthread/Makefile: ... here, new file.
3262
3263 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3264 * sysdeps/nptl/Implies: ... here.
3265 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3266 * nptl/sysdeps/pthread/list.h: Moved ...
3267 * include/list.h: ... here.
3268 * nptl/sysdeps/pthread/createthread.c: Moved ...
3269 * nptl/createthread.c: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3271 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3272 * nptl/pt-longjmp.c: ... here.
3273 * nptl/sysdeps/pthread/Makefile: Moved ...
3274 * sysdeps/nptl/Makefile: ... here.
3275 * nptl/sysdeps/pthread/Subdirs: Moved ...
3276 * sysdeps/nptl/Subdirs: ... here.
3277 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3278 * sysdeps/nptl/aio_misc.h: ... here.
3279 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3280 * sysdeps/nptl/bits/libc-lock.h: ... here.
3281 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3282 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3283 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3284 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3285 * nptl/sysdeps/pthread/configure: Moved ...
3286 * sysdeps/nptl/configure: ... here.
3287 * nptl/sysdeps/pthread/configure.ac: Moved ...
3288 * sysdeps/nptl/configure.ac: ... here.
3289 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3290 * sysdeps/nptl/gai_misc.h: ... here.
3291 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3292 * sysdeps/nptl/librt-cancellation.c: ... here.
3293 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3294 * sysdeps/nptl/malloc-machine.h: ... here.
3295 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3296 * sysdeps/nptl/pthread-functions.h: ... here.
3297 * nptl/sysdeps/pthread/pthread.h: Moved ...
3298 * sysdeps/nptl/pthread.h: ... here.
3299 * nptl/sysdeps/pthread/setxid.h: Moved ...
3300 * sysdeps/nptl/setxid.h: ... here.
3301 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3302 * sysdeps/nptl/sigfillset.c: ... here.
3303 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3304 * sysdeps/nptl/tcb-offsets.h: ... here.
3305 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3306 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3307 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3308 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3309 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3310 * sysdeps/pthread/allocalim.h: ... here.
3311 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3312 * sysdeps/pthread/bits/sigthread.h: ... here.
3313 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3314 * sysdeps/pthread/flockfile.c: ... here.
3315 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3316 * sysdeps/pthread/ftrylockfile.c: ... here.
3317 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3318 * sysdeps/pthread/funlockfile.c: ... here.
3319 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3320 * sysdeps/pthread/posix-timer.h: ... here.
3321 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3322 * sysdeps/pthread/timer_create.c: ... here.
3323 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3324 * sysdeps/pthread/timer_delete.c: ... here.
3325 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3326 * sysdeps/pthread/timer_getoverr.c: ... here.
3327 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3328 * sysdeps/pthread/timer_gettime.c: ... here.
3329 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3330 * sysdeps/pthread/timer_routines.c: ... here.
3331 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3332 * sysdeps/pthread/timer_settime.c: ... here.
3333 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3334 * sysdeps/pthread/tst-timer.c: ... here.
3335 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3336 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3337
e876b090
RM
3338 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3339 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3340
f6b07b3d
RM
3341 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3342 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3343 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3344 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3345 Update #include target.
3346 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3347 * sysdeps/i386/i686/nptl/Makefile: ... here.
3348 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3349 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3350 Update #include target.
3351 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3352 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3353 * nptl/sysdeps/i386/Makefile: Moved ...
3354 * sysdeps/i386/nptl/Makefile: ... here.
3355 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3356 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3357 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3358 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3359 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3360 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3361 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3362 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3363 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3364 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3365 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3366 * nptl/sysdeps/i386/tls.h: Moved ...
3367 * sysdeps/i386/nptl/tls.h: ... here.
3368
45262aee
RM
3369 * sysdeps/sh/Makefile [$(subdir) = csu]
3370 (gen-as-const-headers): Add tcb-offsets.sym.
3371 * nptl/sysdeps/sh/Makefile: File removed.
3372 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3373 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3374 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3375 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3376 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3377 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3378 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3379 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3380 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3381 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3382 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3383 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3384 * nptl/sysdeps/sh/tls.h: Moved ...
3385 * sysdeps/sh/nptl/tls.h: ... here.
3386 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3387 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3388 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3389 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3390 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3391 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3392 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3393 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3394 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3395 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3397 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3399 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3401 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3403 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3405 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3407 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3411 Moved ...
3412 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3413 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3414 Moved ...
3415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3419 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3420 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3421 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3422 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3423 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3424 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3425 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3427 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3429 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3430 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3431 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3432 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3433 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3434
35a5e3e3
SL
34352014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3436
3437 * posix/spawn_faction_addopen.c: Include string.h.
3438
14642b85
RM
34392014-06-11 Roland McGrath <roland@hack.frob.com>
3440
3441 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3442 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3443 * nptl/sysdeps/x86_64/Makefile: Moved ...
3444 * sysdeps/x86_64/nptl/Makefile: ... here.
3445 * nptl/sysdeps/x86_64/configure: Moved ...
3446 * sysdeps/x86_64/nptl/configure: ... here.
3447 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3448 * sysdeps/x86_64/nptl/configure.ac: ... here.
3449 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3450 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3451 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3452 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3453 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3454 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3455 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3456 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3457 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3458 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3459 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3460 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3461 * nptl/sysdeps/x86_64/tls.h: Moved ...
3462 * sysdeps/x86_64/nptl/tls.h: ... here.
3463 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3464 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3465 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3466 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3467
3468 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3469
31c44fea
AZ
34702014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3471
3472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3473
e81a4f9a
JM
34742014-06-11 Joseph Myers <joseph@codesourcery.com>
3475
3476 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3477 type.
3478 [POSIX] (off_t): Likewise.
3479 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3480 [POSIX] (S_ISBLK): Require macro.
3481 [POSIX] (S_ISCHR): Likewise.
3482 [POSIX] (S_ISDIR): Likewise.
3483 [POSIX] (S_ISFIFO): Likewise.
3484 [POSIX] (S_ISREG): Likewise.
3485 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3486 optional-macro.
3487 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3488 type.
3489 [POSIX] (time_t): Likewise.
3490 [POSIX] (timer_t): Likewise.
3491
89e435f3
FW
34922014-06-11 Florian Weimer <fweimer@redhat.com>
3493
3494 [BZ #17048]
3495 * posix/spawn_int.h (struct __spawn_action): Make the path string
3496 non-const to support deallocation.
3497 * posix/spawn_faction_addopen.c
3498 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3499 * posix/spawn_faction_destroy.c
3500 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3501 path in all spawn_do_open actions.
3502 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3503 posix_spawn_file_actions_addopen.
3504
c3a2ebe1
CM
35052014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3506
3507 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3508 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3509 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3510 conditional code always true.
3511 (__libc_vfork): New alias.
3512
9503784a
RM
35132014-06-11 Roland McGrath <roland@hack.frob.com>
3514
c9cab3d2
RM
3515 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3516 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3517
d3996c79
RM
3518 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3519
ba5ec611
RM
3520 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3521 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3522
f12b4814
RM
3523 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3524 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3525
9503784a
RM
3526 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3527 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3528
e23d3d26
VR
35292014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3530
3531 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3532 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3533 multiarch strcmp for PPC64.
3534 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3535 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3537 multiarch optimizations.
3538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3539 (__libc_ifunc_impl_list): Likewise.
3540
42b1161e
SP
35412014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3542
3543 * benchtests/scripts/validate_benchout.py: New script.
3544 * benchtests/Makefile (bench-func): Call it.
3545 * benchtests/scripts/benchout.schema.json: New file.
3546
2d0fc4dc
CM
35472014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3548
4a594c34
AZ
3549 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3550 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3551 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3552 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3553 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3554 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3555 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3556 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3557 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3558 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3559 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3560 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3561 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3562 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3563 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3564 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3566 Moved ...
4a594c34 3567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3568 ... here.
4a594c34 3569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3570 Moved ...
4a594c34
AZ
3571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3573 Moved ...
4a594c34 3574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3575 ... here.
4a594c34 3576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3577 Moved ...
4a594c34 3578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3579 ... here.
4a594c34 3580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3581 Moved ...
4a594c34
AZ
3582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3584 Moved ...
4a594c34 3585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3586 ... here.
4a594c34 3587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3588 Moved ...
4a594c34 3589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3590 ... here.
4a594c34 3591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3592 Moved ...
4a594c34
AZ
3593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3595 Moved ...
4a594c34 3596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3597 ... here.
4a594c34 3598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3599 Moved ...
4a594c34 3600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3601 ... here.
4a594c34 3602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3603 Moved ...
4a594c34 3604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3605 ... here.
4a594c34 3606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3607 Moved ...
4a594c34
AZ
3608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3610 Moved ...
4a594c34 3611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3612 ... here.
4a594c34 3613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3614 Moved ...
4a594c34 3615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3616 ... here.
4a594c34 3617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3618 Moved ...
4a594c34 3619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3620 ... here.
4a594c34 3621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3622 Moved ...
4a594c34
AZ
3623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3625 Moved ...
4a594c34 3626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3627 ... here.
4a594c34 3628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3629 Moved ...
4a594c34 3630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3631 ... here.
4a594c34 3632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3633 Moved ...
4a594c34
AZ
3634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3636 Moved ...
4a594c34 3637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3638 ... here.
4a594c34 3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3640 Moved ...
4a594c34
AZ
3641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3643 Moved ...
4a594c34
AZ
3644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3646 Moved ...
4a594c34 3647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3648 ... here.
4a594c34 3649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3650 Moved ...
4a594c34 3651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3652 ... here.
4a594c34 3653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3654 Moved ...
4a594c34 3655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3656 ... here.
4a594c34 3657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3658 Moved ...
4a594c34
AZ
3659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3661 Moved ...
4a594c34 3662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3663 ... here.
4a594c34 3664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3665 Moved ...
4a594c34 3666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3667 ... here.
4a594c34
AZ
3668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3669 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3673 Moved ...
4a594c34 3674 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3675 ... here.
4a594c34
AZ
3676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3687 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3689 Moved ...
4a594c34
AZ
3690 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3692 Moved ...
4a594c34
AZ
3693 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3695 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3697 Moved ...
4a594c34
AZ
3698 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3702 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3703 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3704 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3705
0570cfed
W
37062014-06-10 Wilco <wdijkstr@arm.com>
3707
3708 * math/test-fenv-return.c: New file.
3709 * math/Makefile: Add new test test-fenv-return.
3710
f8ba1b56
JM
37112014-06-10 Joseph Myers <joseph@codesourcery.com>
3712
3713 [BZ #17042]
3714 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3715 when x - 1 is zero.
3716 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3717 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3718 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3719 0.0L for an argument of 1.0L.
3720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3721 Likewise.
3722 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3723 value when x - 1 is zero.
3724 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3725 * sysdeps/i386/fpu/libm-test-ulps: Update.
3726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727
2c3520d9
BO
37282014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3729
3730 [BZ #15119]
3731 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3732
acaa4d24
RM
37332014-06-09 Roland McGrath <roland@hack.frob.com>
3734
3735 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3736 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3737
962b744d
RM
37382014-06-09 Roland McGrath <roland@hack.frob.com>
3739
d752f0cc
RM
3740 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3741 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3742
34eda6d1
RM
3743 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3744 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3745
50f0a637
RM
3746 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3747 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3748
08f41f04
RM
3749 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3750 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3751
962b744d
RM
3752 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3753 if not already defined.
3754 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3755 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3756 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3757 (TLS_INIT_TP): Use it.
3758 (TLS_DEFINE_INIT_TP): New macro.
3759 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3760
09f19b05
JM
37612014-06-09 Joseph Myers <joseph@codesourcery.com>
3762
3763 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3764 constant.
3765 [POSIX] (IXANY): Likewise.
3766 [POSIX] (OLCUC): Likewise.
3767 [POSIX || POSIX2008] (CBAUD): Do not allow.
3768 [POSIX || POSIX2008] (DEFECHO): Likewise.
3769 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3770 [POSIX || POSIX2008] (ECHOKE): Likewise.
3771 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3772 [POSIX || POSIX2008] (EXTA): Likewise.
3773 [POSIX || POSIX2008] (EXTB): Likewise.
3774 [POSIX || POSIX2008] (FLUSHO): Likewise.
3775 [POSIX || POSIX2008] (LOBLK): Likewise.
3776 [POSIX || POSIX2008] (PENDIN): Likewise.
3777 [POSIX || POSIX2008] (SWTCH): Likewise.
3778 [POSIX || POSIX2008] (VDISCARD): Likewise.
3779 [POSIX || POSIX2008] (VDSUSP): Likewise.
3780 [POSIX || POSIX2008] (VLNEXT): Likewise.
3781 [POSIX || POSIX2008] (VREPRINT): Likewise.
3782 [POSIX || POSIX2008] (VSTATUS): Likewise.
3783 [POSIX || POSIX2008] (VWERASE): Likewise.
3784 (B*): Change to B[0123456789]*.
3785 * conform/data/time.h-data [POSIX || UNIX98]
3786 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3787 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3788 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3789 [POSIX] (tm_*): Do not allow.
3790
686554bf
JM
37912014-06-07 Joseph Myers <joseph@codesourcery.com>
3792
3793 * Makefile (install): Don't set LANGUAGE.
3794 * Makefile.in (install): Likewise.
3795 * assert/Makefile (test-assert-ENV): Remove variable.
3796 (test-assert-perr-ENV): Likewise.
3797 * elf/Makefile (neededtest4-ENV): Likewise.
3798 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3799 [$(cross-compiling) = no]: Don't set LANGUAGE.
3800 * io/ftwtest-sh (LANG): Remove variable.
3801 * libio/Makefile (tst-widetext-ENV): Likewise.
3802 * manual/install.texi (Running make install): Don't refer to
3803 environment settings for make install.
3804 * INSTALL: Regenerated.
3805 * nptl/tst-tls6.sh: Don't set LANG.
3806 * posix/globtest.sh (LANG): Remove variable.
3807 * string/Makefile (tester-ENV): Likewise.
3808 (inl-tester-ENV): Likewise.
3809 (noinl-tester-ENV): Likewise.
3810 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3811 [$(cross-compiling) = no]: Don't set LANGUAGE.
3812 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3813 without explicit environment settings.
3814
68e6b6b1
RM
38152014-06-06 Roland McGrath <roland@hack.frob.com>
3816
3817 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3818 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3820 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3821
4d3ae034
CM
38222014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3823
3824 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3825 other files in the crypt directory.
3826 * crypt/crypt.c: Remove duplicate includes.
3827 * crypt/crypt-entry.c: Likewise.
3828 * crypt/crypt_util.c: Likewise.
3829
8540f6d2
JM
38302014-06-06 Joseph Myers <joseph@codesourcery.com>
3831
3832 * Makeconfig (run-program-env): New variable.
3833 (run-program-prefix-before-env): Likewise.
3834 (run-program-prefix-after-env): Likewise.
3835 (run-program-prefix): Define in terms of new variables.
3836 (built-program-cmd-before-env): New variable.
3837 (built-program-cmd-after-env): Likewise.
3838 (built-program-cmd): Define in terms of new variables.
3839 (test-program-prefix-before-env): New variable.
3840 (test-program-prefix-after-env): Likewise.
3841 (test-program-prefix): Define in terms of new variables.
3842 (test-program-cmd-before-env): New variable.
3843 (test-program-cmd-after-env): Likewise.
3844 (test-program-cmd): Define in terms of new variables.
3845 * Rules (make-test-out): Use $(run-program-env).
3846 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3847 (help): Do not mention environment variables. Mention
3848 --timeoutfactor option.
3849 (timeoutfactor): New variable.
3850 (blacklist_exports): Remove function.
3851 (exports): Remove variable.
3852 (command): Do not include ${exports}.
3853 * manual/install.texi (Configuring and compiling): Do not mention
3854 test wrappers preserving environment variables. Mention that last
3855 assignment to a variable must take precedence.
3856 * INSTALL: Regenerated.
3857 * benchtests/Makefile (run-bench): Use $(run-program-env).
3858 * catgets/Makefile ($(objpfx)test1.cat): Use
3859 $(built-program-cmd-before-env), $(run-program-env) and
3860 $(built-program-cmd-after-env).
3861 ($(objpfx)test2.cat): Do not specify environment variables
3862 explicitly.
3863 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3864 $(run-program-env) and $(built-program-cmd-after-env).
3865 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3866 $(run-program-env) and $(test-program-cmd-after-env).
3867 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3868 explicitly.
3869 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3870 run_program_env and test_program_cmd_after_env arguments.
3871 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3872 * elf/tst-pathopt.sh: Use run_program_env argument.
3873 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3874 $(test-wrapper-env) and $(run-program-env).
3875 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3876 run_program_env arguments.
3877 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3878 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3879 $(test-program-prefix-before-env), $(run-program-env) and
3880 $(test-program-prefix-after-env).
3881 ($(objpfx)tst-gettext2.out): Likewise.
3882 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3883 run_program_env and test_program_prefix_after_env arguments.
3884 * intl/tst-gettext2.sh: Likewise.
3885 * intl/tst-gettext4.sh: Do not set environment variables
3886 explicitly.
3887 * intl/tst-gettext6.sh: Likewise.
3888 * intl/tst-translit.sh: Likewise.
3889 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3890 $(test-program-prefix-before-env), $(run-program-env) and
3891 $(test-program-prefix-after-env).
3892 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3893 run_program_env and test_program_prefix_after_env arguments.
3894 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3895 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3896 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3897 explicitly with each use of ${test_wrapper_env}.
3898 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3899 $(test-program-prefix-before-env), $(run-program-env) and
3900 $(test-program-prefix-after-env).
3901 * posix/tst-getconf.sh: Do not set environment variables
3902 explicitly.
3903 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3904 run_program_env and test_program_prefix_after_env arguments.
3905 * stdio-common/tst-printf.sh: Do not set environment variables
3906 explicitly.
3907 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3908 $(test-program-prefix-before-env), $(run-program-env) and
3909 $(test-program-prefix-after-env).
3910 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3911 run_program_env and test_program_prefix_after_env arguments.
3912 Split $test calls into $test_pre and $test.
3913 * timezone/Makefile (build-testdata): Use
3914 $(built-program-cmd-before-env), $(run-program-env) and
3915 $(built-program-cmd-after-env).
3916
ed36bfa1
AZ
39172014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
3919 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3920 strlen for non SHARED builds.
3921
fc75bf46
SP
39222014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
3924 * nptl/allocatestack.c (check_list): Inlined function...
3925 (__reclaim_stacks): ... here.
3926
d89b3d80
OB
39272014-06-05 Ondřej Bílka <neleai@seznam.cz>
3928
3929 [BZ #15698]
3930 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3931 memory overrun.
3932
2bf18041
JM
39332014-06-05 Joseph Myers <joseph@codesourcery.com>
3934
3935 * Rules (make-test-out): Include
3936 LOCPATH=$(common-objpfx)localedata in default environment.
3937 * debug/Makefile (tst-chk1-ENV): Remove variable.
3938 (tst-chk2-ENV): Likewise.
3939 (tst-chk3-ENV): Likewise.
3940 (tst-chk4-ENV): Likewise.
3941 (tst-chk5-ENV): Likewise.
3942 (tst-chk6-ENV): Likewise.
3943 (tst-lfschk1-ENV): Likewise.
3944 (tst-lfschk2-ENV): Likewise.
3945 (tst-lfschk3-ENV): Likewise.
3946 (tst-lfschk4-ENV): Likewise.
3947 (tst-lfschk5-ENV): Likewise.
3948 (tst-lfschk6-ENV): Likewise.
3949 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3950 (tst-iconv7-ENV): Likewise.
3951 * intl/Makefile (LOCPATH-ENV): Likewise.
3952 (tst-codeset-ENV): Likewise.
3953 (tst-gettext3-ENV): Likewise.
3954 (tst-gettext5-ENV): Likewise.
3955 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3956 (tst-fopenloc-ENV): Likewise.
3957 (tst-fgetws-ENV): Remove variable.
3958 (tst-ungetwc1-ENV): Likewise.
3959 (tst-ungetwc2-ENV): Likewise.
3960 (bug-ungetwc2-ENV): Likewise.
3961 (tst-swscanf-ENV): Likewise.
3962 (bug-ftell-ENV): Likewise.
3963 (tst-fgetwc-ENV): Likewise.
3964 (tst-fseek-ENV): Likewise.
3965 (tst-ftell-partial-wide-ENV): Likewise.
3966 (tst-ftell-active-handler-ENV): Likewise.
3967 (tst-ftell-append-ENV): Likewise.
3968 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3969 (tst-regexloc-ENV): Likewise.
3970 (bug-regex1-ENV): Likewise.
3971 (tst-regex-ENV): Likewise.
3972 (tst-regex2-ENV): Likewise.
3973 (bug-regex5-ENV): Likewise.
3974 (bug-regex6-ENV): Likewise.
3975 (bug-regex17-ENV): Likewise.
3976 (bug-regex18-ENV): Likewise.
3977 (bug-regex19-ENV): Likewise.
3978 (bug-regex20-ENV): Likewise.
3979 (bug-regex22-ENV): Likewise.
3980 (bug-regex23-ENV): Likewise.
3981 (bug-regex25-ENV): Likewise.
3982 (bug-regex26-ENV): Likewise.
3983 (bug-regex30-ENV): Likewise.
3984 (bug-regex32-ENV): Likewise.
3985 (bug-regex33-ENV): Likewise.
3986 (bug-regex34-ENV): Likewise.
3987 (bug-regex35-ENV): Likewise.
3988 (tst-rxspencer-ENV): Likewise.
3989 (tst-rxspencer-no-utf8-ENV): Likewise.
3990 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3991 (tst-sscanf-ENV): Likewise.
3992 (tst-swprintf-ENV): Likewise.
3993 (tst-swscanf-ENV): Likewise.
3994 (test-vfprintf-ENV): Likewise.
3995 (scanf13-ENV): Likewise.
3996 (bug14-ENV): Likewise.
3997 (tst-grouping-ENV): Likewise.
3998 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3999 (tst-strtod3-ENV): Likewise.
4000 (tst-strtod4-ENV): Likewise.
4001 (tst-strtod5-ENV): Likewise.
4002 (testmb2-ENV): Likewise./
4003 * string/Makefile (tst-strxfrm-ENV): Likewise.
4004 (tst-strxfrm2-ENV): Likewise.
4005 (bug-strcoll1-ENV): Likewise.
4006 (test-strcasecmp-ENV): Likewise.
4007 (test-strncasecmp-ENV): Likewise.
4008 * time/Makefile (tst-strptime-ENV): Likewise.
4009 (tst-ftime_l-ENV): Likewise.
4010 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4011 (tst-mbrtowc-ENV): Likewise.
4012 (tst-wcrtomb-ENV): Likewise.
4013 (tst-mbrtowc2-ENV): Likewise.
4014 (tst-c16c32-1-ENV): Likewise.
4015 (tst-mbsnrtowcs-ENV): Likewise.
4016
cd1fb604
OB
40172014-06-05 Ondřej Bílka <neleai@seznam.cz>
4018
4019 * manual/resource.texi (How to get information about the memory
4020 subsystem?): Fix typo.
4021 Reported by Peon de la Parra Ivan <peon@keba.com>
4022
b42eca7d
GY
40232014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4024
4025 [BZ #16882]
4026 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4027 (pthread_spin_lock): Branch out of spin loop to proper location.
4028 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4029 (pthread_spin_lock): Likewise.
4030
902b71f9
DM
4031 * nptl/tst-spin4.c: New test.
4032 * nptl/Makefile (tests): Add tst-spin4.
4033
f9d2d032
AS
40342014-06-03 Andreas Schwab <schwab@suse.de>
4035
4036 [BZ #15946]
4037 * resolv/res_send.c (send_dg): Reload file descriptor after
4038 calling reopen.
4039
cf7bfd28
SL
40402014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4041
4042 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4043
111cc714
RH
40442014-06-03 Richard Henderson <rth@redhat.com>
4045
89b4bd6b
RH
4046 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4047 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4048 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4049 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4050 in the SAVE_PID block.
4051 (__libc_vfork): New alias.
71840409 4052 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4053
111cc714
RH
4054 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4055 child in registers, not on the stack. Remove RESET_PID conditionals.
4056 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4057
ccc39911
MS
40582014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4059
4060 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4061
693096cc
W
40622014-06-03 Wilco <wdijkstr@arm.com>
4063
4064 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4065 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4066 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4067 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4068 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4069 Likewise.
4070
0b4366bc
W
40712014-06-03 Wilco <wdijkstr@arm.com>
4072
4073 * sysdeps/aarch64/fpu/math_private.h
4074 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4075 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4076 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4077 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4078 Fix declarations.
4079
8747cd03
KS
40802014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4081
4082 * crypt/crypt-private.h: Include ufc-crypt.h.
4083 (__b64_from_24bit): Declare extern.
4084 * crypt/crypt_util.c(__b64_from_24bit): New function.
4085 (b64t): New static const variable.
4086 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4087 (b64t): Remove variable.
4088 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4089 * crypt/sha256-crypt.c: Include crypt-private.h.
4090 (b64t): Remove variable.
4091 (__sha256_crypt_r): Remove b64_from_24bit and replace
4092 with __b64_from_24bit.
4093 * crypt/sha512-crypt.c: Likewise.
4094
d936d379
RM
40952014-06-02 Roland McGrath <roland@hack.frob.com>
4096
4097 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4098 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4099 Label the code __libc_vfork rather than __vfork.
4100 [!NOT_IN_libc] (vfork): Define as weak alias.
4101 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4102 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4103 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4104
9fa76613
SP
41052014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4106
4107 * malloc/malloc.c (malloc_info): Fix format specifier for
4108 n_mmaps.
4109
a88dadbe
W
41102014-06-02 Wilco <wdijkstr@arm.com>
4111
4112 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4113 FPCR write.
4114
c95b3011
W
41152014-06-02 Wilco <wdijkstr@arm.com>
4116
4117 [BZ #17009]
4118 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4119 Rewrite to reduce FPCR/FPSR accesses.
4120
6b4d7a90
DM
41212014-06-01 David S. Miller <davem@davemloft.net>
4122
4123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4124
30f3d07c
DM
41252014-05-31 David S. Miller <davem@davemloft.net>
4126
4127 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4128 to occur in round to nearest mode when |x| >= 2.0
4129
74f31c18
RH
41302014-05-30 Richard Henderson <rth@twiddle.net>
4131
f0712b54
RH
4132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4133 (PSEUDO_RET_NOERRNO): Remove.
4134 (ret): Don't redefine.
4135 (ret_NOERRNO): Define in terms of ret.
4136 (ret_ERRVAL): Likewise.
4137
74f31c18
RH
4138 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4139 use of PSEUDO_RET; perform the error check directly.
4140
30477995
MM
41412014-05-30 Marko Myllynen <myllynen@redhat.com>
4142
4143 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4144 with __int128_t.
4145
62a58816
SP
41462014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4147
4148 * malloc/malloc (malloc_info): Fix formatting.
4149
4d653a59
SP
41502014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4151 Roland McGrath <roland@hack.frob.com>
4152
4153 * malloc/malloc (malloc_info): Also print mmapped statistics.
4154
5190c17f
RM
41552014-05-30 Roland McGrath <roland@hack.frob.com>
4156
4157 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4158 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4159
987c0269
OB
41602014-05-30 Ondřej Bílka <neleai@seznam.cz>
4161
4162 * malloc/malloc.c (malloc_info): Inline mi_arena.
4163
af4e8ef9
RH
41642014-05-29 Richard Henderson <rth@twiddle.net>
4165
1670e207
RH
4166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4167 Remove comma before expanding ASM_ARGS_##nr.
4168 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4169 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4170 of ASM_ARGS_##nr.
4171 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4172 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4173 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4174 (ASM_ARGS_1): Add leading comma.
4175
11a28aee
RH
4176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4177 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4178 to __errno_location.
4179 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4180 Remove the expected plt for __errno_location.
4181
a17e5ffb 4182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4183 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4184 call to __read_tp.
4185
b5be4597
RH
4186 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4187 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4188 it and break it down.
4189 (DOCARGS_0, DOCARGS_1): Do nothing.
4190 (DOCARGS_2): Update to store into the new stack frame.
4191 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4192 (UNDOCARGS_1): Update to restore from the new stack frame.
4193 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4194 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4195
645d44ab
RH
4196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4197 (SINGLE_THREAD_P): New parameter for result regno.
4198 (PSEUDO): Update to match; use cbz instead of beq.
4199
a8b4f04a
RH
4200 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4201 Use ENTRY to define the _nocancel entry point. Share the syscall
4202 and syscall error check paths with the cancel path.
4203 (PSEUDO_END): New.
4204
af4e8ef9
RH
4205 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4206 whitespace; tabs before and after asm mnemonics.
4207
26b0d2e1
EW
42082014-05-29 Eric Wong <normalperson@yhbt.net>
4209
4210 [BZ #15132]
4211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4212 Call fstat64 or stat64 internally, depending on arguments passed.
4213 Replace stat buffer argument with file descriptor argument.
4214 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4215 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4216 Pass fd to __internal_statvfs instead of calling fstat64.
4217 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4218 Pass fd to __internal_statvfs64 instead of calling fstat64.
4219 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4220 Pass -1 to __internal_statvfs instead of calling stat64.
4221 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4222 Pass -1 to __internal_statvfs64 instead of calling stat64.
4223
1efe2bd9
RM
42242014-05-28 Roland McGrath <roland@hack.frob.com>
4225
0d3b7a19
RM
4226 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4227 that was previously under [RESET_PID].
4228 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4229
1efe2bd9
RM
4230 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4231 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4232
a6bea3ca
RM
42332014-05-27 Roland McGrath <roland@hack.frob.com>
4234
30b6629e
RM
4235 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4236
a6bea3ca
RM
4237 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4238 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4239
3dfb9a5c
OB
42402014-05-27 Ondřej Bílka <neleai@seznam.cz>
4241
4242 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4243
774f9285
AS
42442014-05-27 Andreas Schwab <schwab@suse.de>
4245
4246 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4247 TLS_INIT_TP macro.
4248 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4249 * elf/rtld.c (init_tls, dl_main): Likewise.
4250 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4251 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4252 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4253 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4254 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4255 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4256 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4257 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4258 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4259 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4260 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4261 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4262 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4263 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4264 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4265 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4266 * sysdeps/generic/tls.h: Update description.
4267
36ffe739
WN
42682014-05-27 Will Newton <will.newton@linaro.org>
4269
4270 [BZ #16990]
4271 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4272 and restore r2 rather than just restoring.
4273
2482ae43
SP
42742014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4275
4276 [BZ #16724]
4277 * libio/tst-ftell-append.c: New test case.
4278 * libio/Makefile (tests): Add test case.
4279 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4280 append mode.
4281 * libio/wfileops.c (do_ftell_wide): Likewise.
4282
3d1024e8
AZ
42832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284
bab90016
AZ
4285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4286
c7a8d667
AZ
4287 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4288 ...
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4291 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4292 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4294 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4296 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4298 Moved ...
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4301 Moved ...
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4304 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4306 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4308 ...
4309 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4310 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4311 Moved ...
4312 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4313 here.
4314 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4315 ...
4316 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4318 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4319
daee7851
AZ
4320 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4321 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4323 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4324
50a40819
AZ
4325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4326 merge into ...
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4329 ...
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4332 ...
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4335 Moved ...
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4337 here.
4338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4339 Moved ...
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4342 Moved ...
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4344
8464c2a1
AZ
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4346 conditional [RESET_PID].
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4349 removed.
4350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4351 removed.
4352
3d1024e8
AZ
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4354 <tcb-offsets.h>.
4355 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4356 (__libc_vfork): New strong alias.
4357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4358 removed.
4359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4360 Removed.
4361
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4363 <tcb-offsets.h>.
4364 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4365 (__libc_vfork): New strong alias.
4366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4367 removed.
4368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4369 removed.
4370
fdfd175d
CD
43712014-05-26 Carlos O'Donell <carlos@redhat.com>
4372
4373 * malloc/malloc.c (mi_arena): New function.
4374 (malloc_info): Remove nested function mi_arena. Call non-nosted
4375 function mi_arena.
4376
d298c416
AZ
43772014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4378
4379 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4380 by insrwi.
4381 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4382 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4383 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4384 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4385 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4386 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4387 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4388
b60ea6ff
AS
43892014-05-26 Andreas Schwab <schwab@suse.de>
4390
4391 [BZ #16984]
4392 * locale/programs/repertoire.c (repertoire_read): Add slash
4393 between I18NPATH element and file name.
4394 * locale/programs/locfile.c (locfile_read): Likewise.
4395
67365926
SL
43962014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4397
4398 * nptl/pthread_mutexattr_settype.c
4399 (__pthread_mutexattr_settype):
4400 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4401
f8bdf1f0
SL
44022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4403
4404 * nptl/tst-mutex5 (do_test):
4405 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4406
15eaf6ff
SP
44072014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * benchtests/README: Document 'init' directive.
4410 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4411 BENCH_INIT.
4412 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4413 (parse_file): Recognize 'init' directive.
4414
75f11331
KM
44152014-05-26 Kyle McMartin <kyle@redhat.com>
4416
4417 [BZ #16796]
4418 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4419 alignment of struct pthread.
4420
c3ec475c
SP
44212014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 [BZ #16878]
4424 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4425 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4426 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4427 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4428
82aab97c
RH
44292014-05-25 Richard Henderson <rth@twiddle.net>
4430
aa2f176d
RH
4431 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4432 (SINGLE_THREAD_P_PIC): Remove.
4433 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4434 (SINGLE_THREAD_P_PIC): Remove.
4435
ca3cfa40
RH
4436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4437 branch to syscall error ...
4438 (PSEUDO): ... here.
4439 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4440 from __local_syscall_error to .Lsyscall_error.
4441 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4442 (SYSCALL_ERROR): Update label name.
4443
6e6c2d01
RH
4444 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4445 Do not use DOARGS/UNDOARGS.
4446 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4447 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4448 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4449 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4450 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4451
c69abcee
RH
4452 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4453 block comment.
4454
82aab97c
RH
4455 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4456 define if !NOT_IN_libc.
4457 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4458 define with non-default symbol versions.
4459
8820e3ac
RH
44602014-05-23 Richard Henderson <rth@twiddle.net>
4461
900e445f
RH
4462 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4463 (vfork, __vfork): Define via compat_symbol.
4464
8820e3ac
RH
4465 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4466 [!HAVE_IFUNC] (vfork_compat): Remove.
4467 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4468
e59252a5
JM
44692014-05-23 Joseph Myers <joseph@codesourcery.com>
4470
4471 [BZ #16978]
4472 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4473 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4474 variable.
4475
132c7f5f
RH
44762014-05-23 Richard Henderson <rth@twiddle.net>
4477
bc89e962
RH
4478 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4479 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4480 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4481 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4482
4483 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4484 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4485 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4486 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4487 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4488 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4489 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4490 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4491 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4492 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4493 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4494 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4495 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4522 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4523 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4524 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4525 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4526 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4527 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4528 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4530 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4532 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4533 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4534 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4535 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4536 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4538 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4539
e2fa4bc2
RH
4540 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4541 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4542 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4543 before exiting on error.
4544 (__libc_vfork): New strong alias.
4545 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4546 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4547
279b24e2
RH
4548 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4549 that was previously under [RESET_PID].
4550 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4551
132c7f5f
RH
4552 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4553
b72592e7
JM
45542014-05-23 Joseph Myers <joseph@codesourcery.com>
4555
4556 [BZ #16977]
4557 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4558 value when x - 1 is zero.
4559 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4560 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4561 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4562 0.0L for an argument of 1.0L.
4563 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4564 Likewise.
4565 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4566 value when x - 1 is zero.
4567 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4568 * sysdeps/i386/fpu/libm-test-ulps: Update.
4569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4570
2302d679
RV
45712014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4572
4573 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4574 alphasort and versionsort.
4575
32999d63
AZ
45762014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4579 macro.
4580 [copysignf]: Likewise.
4581
019324d0
SP
45822014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4583
4584 * crypt/md5-crypt.c: Fix formatting.
4585
34fff5c2
KS
45862014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4587
4588 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4589 (b64_from_24bit): New function.
4590
3d2badac
AZ
45912014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592
4593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4594 libc_hidden_builtin_def to ifunc.
4595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4596 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4597
f7bb179f 45982014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4599
4600 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4601 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4602
4134b50d
JM
46032014-05-21 Joseph Myers <joseph@codesourcery.com>
4604
bb7d0337
JM
4605 * nscd/Depend (linuxthreads): Remove.
4606 (nptl): Add.
4607 * resolv/Depend (linuxthreads): Remove.
4608 * rt/Depend (linuxthreads): Remove.
4609
4134b50d
JM
4610 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4611 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4612 $(common-objpfx)elf/.
4613 (link-libc-before-gnulib): Likewise.
4614 (elfobjdir): Remove variable.
4615 * Makefile (install): Use $(elf-objpfx) instead of
4616 $(common-objpfx)elf/.
4617 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4618 $(elfobjdir)/.
4619 (link-libc-deps): Likewise.
4620 ($(common-objpfx)libc.so): Likewise.
4621 ($(common-objpfx)linkobj/libc.so): Likewise.
4622 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4623 instead of $(common-objpfx)elf/.
4624 (symbolic-link-list): Likewise.
4625 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4626 [$(cross-compiling) = no]: Likewise.
4627 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4628 $(elfobjdir)/.
4629 (static-gnulib-arch): Likewise.
4630 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4631 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4632 $(common-objpfx)elf/.
4633
3612eb8f
RH
46342014-05-21 Richard Henderson <rth@redhat.com>
4635
a6b3657b
RH
4636 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4637 (SINGLE_THREAD_P): Use the correct width load. Fold
4638 into the ldr offset.
4639
3612eb8f
RH
4640 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4641 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4642
175cef41
JM
46432014-05-20 Joseph Myers <joseph@codesourcery.com>
4644
4645 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4646 (libgcc_s_resume): Use __attribute_used__.
4647 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4648 Likewise.
4649
e13bccd3
AZ
46502014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4651
4652 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4653 optimization when used with float constants.
4654
7c112a38
AZ
4655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4656
ae75a883
AJ
46572014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4658
4659 [BZ #16915]
4660 * locale/nl_langinfo_l.c: Make direct reference to every
4661 _nl_current_CATEGORY symbol.
4662 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4663 (tests-static): Add tst-langinfo-static.
4664 (tests-special): Add tst-langinfo-static.out.
4665 ($(objpfx)tst-langinfo.out): Redirect output.
4666 ($(objpfx)tst-langinfo-static.out): New.
4667 * localedata/tst-langinfo.sh: Send output to stdout.
4668 * localedata/tst-langinfo-static.c: New file.
4669
4406c41c
AJ
4670 [BZ #16965]
4671 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4672 when the shift amount is modulo the limb size.
4673
4c0a1e63
RH
46742014-05-20 Richard Henderson <rth@redhat.com>
4675
de9d8f20
RH
4676 [BZ #16967]
4677 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4678 Change type of sa_flags from unsigned int to int.
4679
4c0a1e63
RH
4680 [BZ #16966]
4681 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4682
4683 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4684
a60339aa
WN
46852014-05-20 Will Newton <will.newton@linaro.org>
4686
4687 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4688 Test the return value of the system call in the nocancel case.
4689
7d05a816
YR
46902014-05-20 Will Newton <will.newton@linaro.org>
4691 Yvan Roux <yvan.roux@linaro.org>
4692
4693 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4694 #include of asm/ptrace.h.
4695 (PTRACE_GET_THREAD_AREA): Remove #undef.
4696 (PTRACE_GETHBPREGS): Likewise.
4697 (PTRACE_SETHBPREGS): Likewise.
4698 (struct user_regs_struct): New structure.
4699 (struct user_fpsimd_struct): New structure.
4700 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4701 #include of asm/ptrace.h and second #include of sys/user.h.
4702 (PTRACE_GET_THREAD_AREA): Remove #undef.
4703 (PTRACE_GETHBPREGS): Likewise.
4704 (PTRACE_SETHBPREGS): Likewise.
4705 (ELF_NGREG): Use new struct user_regs_struct.
4706 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4707
af121e37
AZ
47082014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4709
4710 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4711 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4712
834caf06
JM
47132014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4714
4715 [BZ #16958]
4716 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4717 membar to avoid block loads/stores to overlap previous stores.
4718
e184a918
RH
47192014-05-17 Richard Henderson <rth@redhat.com>
4720
4721 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4722 Create the __##syscall_name##_nocancel entry point.
4723 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4724 Remove; let the sysdep-cancel.h code create it.
4725
f56c7a6a
DM
47262014-05-17 David S. Miller <davem@davemloft.net>
4727
4728 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4729 Protect with __USE_GNU.
4730 (TIOCSET_TEMPT): Likewise.
4731 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4732 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4733 these are already provided in bits/ioctl-types.h
4734
f75616b2
RM
47352014-05-16 Roland McGrath <roland@hack.frob.com>
4736
3edeca86
RM
4737 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4738 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4739
f75616b2
RM
4740 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4741 Use wait4 regardless of [__NR_waitpid].
4742
deb0f7f6
MR
47432014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4744
4745 PR libgcc/60166
4746 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4747 (_FP_NANSIGN_Q): Set the quiet bit.
4748
79520f4b
JM
47492014-05-16 Joseph Myers <joseph@codesourcery.com>
4750
4751 * benchtests/Makefile
4752 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4753 not $(common-objpfx)math/libm.so.
4754 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4755 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4756 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4757 $(common-objpfx)dlfcn/libdl.so.
4758 ($(objpfx)tst-audit8): Depend on $(libm), not
4759 $(common-objpfx)math/libm.so.
4760 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4761 not $(common-objpfx)dlfcn/libdl.so.
4762 * math/Makefile
4763 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4764 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4765 [$(build-shared) = yes].
4766 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4767 $(common-objpfx)nptl/libpthread.so.
4768 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4769 $(common-objpfx)math/libm.so$(libm.so-version) or
4770 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4771 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4772 $(common-objpfx)dlfcn/libdl.so.
4773 * setjmp/Makefile (link-libm): Remove variable.
4774 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4775 * stdio-common/Makefile (link-libm): Remove variable.
4776 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4777 * stdlib/Makefile (link-libm): Remove variable.
4778 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4779 ($(objpfx)tst-strtod-round): Likewise.
4780 ($(objpfx)tst-tininess): Likewise.
4781 ($(objpfx)tst-strtod-underflow): Likewise.
4782 ($(objpfx)tst-strtod6): Likewise.
4783 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4784 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4785 $(common-objpfx)dlfcn/libdl.so.
4786
026b0fe4
AZ
47872014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4790 BSD terminal modes definitions.
4791
def4bcb2
RM
47922014-05-16 Roland McGrath <roland@hack.frob.com>
4793
fe39b021
RM
4794 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4795 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4796
1d1fc46e 4797 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4798 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4799 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4800 Don't do #include_next.
4801 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4802 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4803 Don't do #include_next.
4804 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4805 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4806 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4807 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4808
c72399fb
AM
48092014-05-16 Allan McRae <allan@archlinux.org>
4810
d51d659d
AM
4811 * po/sv.po: Update Swedish translation from translation project.
4812
c72399fb
AM
4813 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4814 in sed expression.
4815
d0583c40
AJ
48162014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4817
4818 [BZ #16917]
4819 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4820 errno if the TIOCGPTN ioctl fails with an error different than
4821 EINVAL.
4822 * login/tst-ptsname.c: New file.
4823 * login/Makefile (tests): Add tst-ptsname.
4824
d16e6ec7
AJ
4825 [BZ #16943]
4826 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4827 and prlimit64.
4828
cf26a0cb
SP
48292014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4830
4831 [BZ #16849]
4832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4833 herrno to return EAI_AGAIN.
4834
5675da1e
RM
48352014-05-14 Roland McGrath <roland@hack.frob.com>
4836
a5d87b3d
RM
4837 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4838 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4839 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4842 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4844 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4852 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4853 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4854 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4858 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4866 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4868 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4870 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4872 Moved ...
4873 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4877 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4879 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4881 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4883 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4885 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4887 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4889 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4891 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4893 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4895 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4897 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4899 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4901 Moved ...
4902 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4904 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4906 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4908 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4910 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4912 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4922 Moved ...
4923 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4926
039890a6
RM
4927 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4928 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4929 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4930 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4931 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4933 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4935 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4937 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4939 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4941 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4943 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4945 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4947 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4948 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4949 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4951 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4953 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4955 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4957 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4958
65c89320
RM
4959 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4960 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4961
348f8e8c
RM
4962 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4963 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4964 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4965 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4966 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4968 Moved ...
4969 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4971 Moved ...
4972 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4974 Moved ...
4975 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4977 Moved ...
4978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4979 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4980 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4982 Moved ...
4983 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4985 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4986 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4987 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4989 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4991 Moved ...
4992 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4993 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4994 Moved ...
4995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4996 ... here.
4997 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4998 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4999 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5000 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5002 Moved ...
5003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5004 ... here.
5005 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5006 Moved ...
5007 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5009 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5010 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5011 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5013 Moved ...
5014 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5016 Moved ...
5017 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5019 Moved ...
5020 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5021 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5022 Moved ...
5023 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5025 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5027 Moved ...
5028 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5029 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5030 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5031 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5032 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5033 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5034 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5036 Moved ...
5037 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5038 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5039 Moved ...
5040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5041 ... here.
5042 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5043 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5045 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5047 Moved ...
5048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5049 ... here.
5050 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5051 Moved ...
5052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5053 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5055 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5056 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5057 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5059 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5060 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5062 Moved ...
5063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5065 Moved ...
5066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5068 Moved ...
5069 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5071 Moved ...
5072 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5077 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5078 Moved ...
5079 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5081 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5083 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5087 Moved ...
5088 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5090 Moved ...
5091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5092 ... here.
5093 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5094 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5095 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5096 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5097 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5098 Moved ...
5099 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5100 ... here.
5101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5102 Moved ...
5103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5104 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5105 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5106 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5107 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5108 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5109 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5111 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5112 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5113 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5114
5085af05
RM
5115 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5116 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5117
708f0813
RM
5118 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5119 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5120
c96067bc
RM
5121 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5122 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5123 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5124 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5125 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5127 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5128 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5129 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5133 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5134 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5135 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5137 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5139 Moved ...
5140 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5141 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5142 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5144 Moved ...
5145 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5147 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5149 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5153 Moved ...
5154 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5156 Moved ...
5157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5161 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5163 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5165 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5166 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5167 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5168 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5169 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5170 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5171 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5172 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5173 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5174
ec136444
RM
5175 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5176 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5177 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5178 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5179 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5180
2fbdf533
RM
5181 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5182 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5184 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5185 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5186 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5187 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5188 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5189 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5190 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5191
4c68138b
RM
5192 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5194
4eaae765
RM
5195 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5196 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5197 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5198 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5200 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5201 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5202 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5203 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5204 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5205 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5206 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5207 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5208 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5210 Update #include.
5211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5212 Likewise.
5213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5214 Likewise.
5215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5216 Likewise.
5217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5218 Likewise.
5219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5220 Likewise.
5221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5222 Likewise.
5223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5224 Likewise.
5225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5226 Likewise.
5227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5228 Likewise.
4ef6befa
RM
5229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5232 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5233 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5236 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5238 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5239 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5240 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5241 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5242 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5243 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5244
941d7dfd
RM
5245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5246 that was previously under [RESET_PID].
5247 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5248 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5249 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5250
1b731c35
RM
5251 * sysdeps/i386/nptl/Implies: New file.
5252 * sysdeps/x86_64/nptl/Implies: New file.
5253 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5254 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5256 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5257
e2787137
RM
5258 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5259 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5260 (__libc_vfork): New strong alias.
5261 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5262 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5263
5264 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5265 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5266 (__libc_vfork): New strong alias.
5267 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5268 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5269
5675da1e
RM
5270 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5271 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5272 (__libc_vfork): New strong alias.
5273 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5274 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5275 * nptl/pt-vfork.c: New file.
5276 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5277 (libpthread: GLIBC_2.20): New version set (empty).
5278
4f02e2b8
WN
52792014-05-14 Will Newton <will.newton@linaro.org>
5280
5281 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5282 rather than #if.
5283
0bf061d3
JM
52842014-05-14 Joseph Myers <joseph@codesourcery.com>
5285
1a84c3d6
JM
5286 [BZ #16564]
5287 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5288 arguments with exponent 65 or above.
5289 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5290 arguments 0x1p113L or above.
5291 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5292 to arguments 0x1p107L or above.
5293 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5294 positive arguments with exponent 65 or above.
5295 * math/auto-libm-test-in: Add more tests of log1p.
5296 * math/auto-libm-test-out: Regenerated.
5297
01dbacd2
JM
5298 [BZ #16928]
5299 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5300 non-finite arguments is +0.
5301 * math/s_cacosf.c (__cacosf): Likewise.
5302 * math/s_cacosl.c (__cacosl): Likewise.
5303 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306
913d03c8
JM
5307 [BZ #16927]
5308 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5309 value.
5310 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5311 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5312 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5313 for explicit high bit of mantissa when testing for argument equal
5314 to 1.
5315 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
0bf061d3
JM
5319 [BZ #16516]
5320 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5321 (__erf): Scale by 16 instead of 8 in potentially underflowing
5322 case. Ensure exception if result actually underflows.
5323 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5324 (__erff): Scale by 16 instead of 8 in potentially underflowing
5325 case. Ensure exception if result actually underflows.
5326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5327 (efx8): Remove variable.
5328 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5329 case. Ensure exception if result actually underflows.
5330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5331 (efx8): Remove variable.
5332 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5333 case. Ensure exception if result actually underflows.
5334 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5335 (efx8): Remove variable.
5336 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5337 case. Ensure exception if result actually underflows.
5338 * math/auto-libm-test-in: Add more tests of erf.
5339 * math/auto-libm-test-out: Regenerated.
5340
73ba67cb
AS
53412014-05-14 Andreas Schwab <schwab@suse.de>
5342
3d8c8bff
AS
5343 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5344 Remove code conditionalized on USE___THREAD.
5345
73ba67cb
AS
5346 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5347 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5348 not definedness.
5349
5c521ecd
JM
53502014-05-14 Joseph Myers <joseph@codesourcery.com>
5351
5e7698c6
JM
5352 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5353 Define unconditionally.
5354 (__ASSUME_O_CLOEXEC): Likewise.
5355 (__ASSUME_SOCK_CLOEXEC): Likewise.
5356 (__ASSUME_IN_NONBLOCK): Likewise.
5357 (__ASSUME_PIPE2): Likewise.
5358 (__ASSUME_EVENTFD2): Likewise.
5359 (__ASSUME_SIGNALFD4): Likewise.
5360 (__ASSUME_DUP3): Likewise.
5361 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5362 (__ASSUME_DUP3): Do not define.
5363 (__ASSUME_EVENTFD2): Likewise.
5364 (__ASSUME_IN_NONBLOCK): Likewise.
5365 (__ASSUME_O_CLOEXEC): Likewise.
5366 (__ASSUME_PIPE2): Likewise.
5367 (__ASSUME_SIGNALFD4): Likewise.
5368 (__ASSUME_SOCK_CLOEXEC): Likewise.
5369 (__ASSUME_UTIMES): Undefine.
5370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5371 (__ASSUME_UTIMES): Do not define.
5372 (__ASSUME_O_CLOEXEC): Likewise.
5373 (__ASSUME_SOCK_CLOEXEC): Likewise.
5374 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5375 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5376 0x020621].
5377 (__ASSUME_PIPE2): Likewise.
5378 (__ASSUME_EVENTFD2): Likewise.
5379 (__ASSUME_SIGNALFD4): Likewise.
5380 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5381 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5382 Do not define.
5383 (__ASSUME_EVENTFD2): Likewise.
5384 (__ASSUME_SIGNALFD4): Likewise.
5385 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5386 (__ASSUME_32BITUIDS): Likewise.
5387 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5388 (__ASSUME_IPC64): Likewise.
5389 (__ASSUME_ST_INO_64_BIT): Likewise.
5390 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5391 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5392 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5393 (__ASSUME_UTIMES): Do not define.
5394 (__ASSUME_PSELECT): Likewise.
5395 (__ASSUME_PPOLL): Likewise.
5396 (__ASSUME_O_CLOEXEC): Likewise.
5397 (__ASSUME_SOCK_CLOEXEC): Likewise.
5398 (__ASSUME_IN_NONBLOCK): Likewise.
5399 (__ASSUME_PIPE2): Likewise.
5400 (__ASSUME_EVENTFD2): Likewise.
5401 (__ASSUME_SIGNALFD4): Likewise.
5402 (__ASSUME_DUP3): Likewise.
5403 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5404 (__ASSUME_UTIMES): Likewise.
5405 (__ASSUME_O_CLOEXEC): Likewise.
5406 (__ASSUME_SOCK_CLOEXEC): Likewise.
5407 (__ASSUME_IN_NONBLOCK): Likewise.
5408 (__ASSUME_PIPE2): Likewise.
5409 (__ASSUME_EVENTFD2): Likewise.
5410 (__ASSUME_SIGNALFD4): Likewise.
5411 (__ASSUME_DUP3): Likewise.
5412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5413 (__ASSUME_UTIMES): Likewise.
5414 (__ASSUME_O_CLOEXEC): Likewise.
5415 (__ASSUME_SOCK_CLOEXEC): Likewise.
5416 (__ASSUME_IN_NONBLOCK): Likewise.
5417 (__ASSUME_PIPE2): Likewise.
5418 (__ASSUME_EVENTFD2): Likewise.
5419 (__ASSUME_SIGNALFD4): Likewise.
5420 (__ASSUME_DUP3): Likewise.
5421 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5422 Likewise.
5423 (__ASSUME_UTIMES): Likewise.
5424 (__ASSUME_EVENTFD2): Likewise.
5425 (__ASSUME_SIGNALFD4): Likewise.
5426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5427 (__ASSUME_O_CLOEXEC): Likewise.
5428 (__ASSUME_SOCK_CLOEXEC): Likewise.
5429 (__ASSUME_IN_NONBLOCK): Likewise.
5430 (__ASSUME_PIPE2): Likewise.
5431 (__ASSUME_EVENTFD2): Likewise.
5432 (__ASSUME_SIGNALFD4): Likewise.
5433 (__ASSUME_DUP3): Likewise.
5434 (__ASSUME_UTIMES): Undefine.
5435
5c521ecd
JM
5436 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5437 feclearexcept. Remove symbol versioning code.
5438 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5439 symbol versioning code.
5440 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5441 symbol versioning code.
5442 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5443 feupdateenv. Remove symbol versioning code.
5444 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5445 fegetexceptflag. Remove symbol versioning code.
5446 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5447 fesetexceptflag. Remove symbol versioning code.
5448 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5449 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5450 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5451 (__posix_fadvise64_l32): Remove prototype.
5452 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5453 code.
5454
5da9dfad
RM
54552014-05-13 Roland McGrath <roland@hack.frob.com>
5456
5457 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5458 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5459 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5460 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5461
893b4f37
SK
54622014-05-13 Sami Kerola <kerolasa@iki.fi>
5463
5464 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5465 current working directory
5466
e0db6517
RM
54672014-05-13 Roland McGrath <roland@hack.frob.com>
5468
58aa195d
RM
5469 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5470 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5471 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5472 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5473 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5474 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5475 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5482 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5484 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5486 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5487 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5488 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5490 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5492 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5493 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5494 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5496 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5497 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5498 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5499 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5500 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5502 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5503 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5504 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5505 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5506 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5507 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5508 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5509 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5510 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5511
8c6d01f0
RM
5512 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5513 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5514
5515 * sysdeps/unix/sysv/linux/arm/Makefile
5516 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5517 Add rt-aeabi_unwind_cpp_pr1.
5518 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5519 Add nptl-aeabi_unwind_cpp_pr1.
5520 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5521 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5522 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5523 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5524 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5525 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5526
5527 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5528 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5529 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5530 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5531
bba6da4e
RM
5532 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5533 Deconditionalize the code that was previously under [RESET_PID].
5534 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5535
e0db6517
RM
5536 * sysdeps/generic/exit-thread.h: New file.
5537 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5538 * include/unistd.h (__exit_thread): Remove declaration.
5539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5540 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5541 * csu/libc-start.c: Include <exit-thread.h>.
5542 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5543 * nptl/pthread_create.c: Include <exit-thread.h>.
5544 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5545 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5546 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5547 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5548 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5549 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5550 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5551 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5552 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5553 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5554 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5555 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5556 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5557 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5558 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5559 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5560 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5561
01eb16fd
AS
55622014-05-13 Andreas Schwab <schwab@suse.de>
5563
5564 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5565
637461d9
JM
55662014-05-12 Joseph Myers <joseph@codesourcery.com>
5567
5568 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5569 (__ASSUME_UTIMES): Do not condition on kernel version.
5570 (__ASSUME_PSELECT): Define unconditionally.
5571 (__ASSUME_PPOLL): Likewise.
5572 (__ASSUME_ATFCTS): Likewise.
5573 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5574 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5575 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5576 (__ASSUME_UTIMENSAT): Define unconditionally.
5577 (__ASSUME_PRIVATE_FUTEX): Likewise.
5578 (__ASSUME_FALLOCATE): Likewise.
5579 (__ASSUME_O_CLOEXEC): Likewise.
5580 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5581 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5582 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5583 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5584 (__ASSUME_IN_NONBLOCK): Likewise.
5585 (__ASSUME_PIPE2): Likewise.
5586 (__ASSUME_EVENTFD2): Likewise.
5587 (__ASSUME_SIGNALFD4): Likewise.
5588 (__ASSUME_DUP3): Likewise.
5589 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5590 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5591 (__ASSUME_AT_RANDOM): Likewise.
5592 (__ASSUME_PREADV): Likewise.
5593 (__ASSUME_PWRITEV): Likewise.
5594 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5595 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5596 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5597 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5598 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5599 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5600 (__ASSUME_O_CLOEXEC): Define unconditionally.
5601 (__ASSUME_PSELECT): Do not undefine conditionally.
5602 (__ASSUME_PPOLL): Likewise.
5603 (__ASSUME_ATFCTS): Likewise.
5604 (__ASSUME_SET_ROBUST_LIST): Likewise.
5605 (__ASSUME_UTIMENSAT): Likewise.
5606 (__ASSUME_FDATASYNC): Define unconditionally.
5607 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5608 (__ASSUME_SIGFRAME_V2): Likewise.
5609 )__ASSUME_EVENTFD2): Likewise.
5610 (__ASSUME_SIGNALFD4): Likewise.
5611 (__ASSUME_PSELECT): Do not undefine conditionally.
5612 (__ASSUME_PPOLL): Likewise.
5613 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5614 (__ASSUME_PSELECT): Define unconditionally.
5615 (__ASSUME_PPOLL): Likewise.
5616 (__ASSUME_O_CLOEXEC): Likewise.
5617 (__ASSUME_SOCK_CLOEXEC): Likewise.
5618 (__ASSUME_IN_NONBLOCK): Likewise.
5619 (__ASSUME_PIPE2): Likewise.
5620 (__ASSUME_EVENTFD2): Likewise.
5621 (__ASSUME_SIGNALFD4): Likewise.
5622 (__ASSUME_DUP3): Likewise.
5623 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5624 (__ASSUME_O_CLOEXEC): Likewise.
5625 (__ASSUME_SOCK_CLOEXEC): Likewise.
5626 (__ASSUME_IN_NONBLOCK): Likewise.
5627 (__ASSUME_PIPE2): Likewise.
5628 (__ASSUME_EVENTFD2): Likewise.
5629 (__ASSUME_SIGNALFD4): Likewise.
5630 (__ASSUME_DUP3): Likewise.
5631 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5632 (__ASSUME_EVENTFD2): Likewise.
5633 (__ASSUME_SIGNALFD4): Likewise.
5634 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5635
315eb1d8
AS
56362014-05-12 Andreas Schwab <schwab@suse.de>
5637
5638 [BZ #16932]
5639 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5640 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5641 than maximum RPC packet size.
5642 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5643 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5644 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5645 (_nss_nis_getservbyport_r): Likewise.
5646
91df99f7
WN
56472014-05-12 Will Newton <will.newton@linaro.org>
5648
5649 * malloc/Makefile (tests): Add tst-mallopt.
5650 * malloc/tst-mallopt.c: New file.
5651
0a982a29
RM
56522014-05-09 Roland McGrath <roland@hack.frob.com>
5653
5654 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5655 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5656
0ded08a5
AZ
56572014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5660 (tst-tlsmod6.so): Likewise.
5661
55d4d550
RM
56622014-05-09 Roland McGrath <roland@hack.frob.com>
5663
5664 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5665
77d08aca
JM
56662014-05-09 Joseph Myers <joseph@codesourcery.com>
5667
5668 [BZ #16064]
5669 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5670 and <dl-procinfo.h>.
5671 (__fegetenv): Save SSE state in envp->__eip if supported.
5672 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5673 envp->__eip if supported.
5674 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5675 and <dl-procinfo.h>.
5676 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5677 __data_offset and __data_selector in environment to 0. Set SSE
5678 state if supported.
5679 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5680 test-fenv-sse.
5681 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5682 -mfpmath=sse.
5683 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5684
28162f4d
WN
56852014-05-09 Will Newton <will.newton@linaro.org>
5686
5687 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5688 and libc_relro_required for ARM.
5689 * sysdeps/arm/preconfigure: Regenerate.
5690
5a414ff7
DV
56912014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5692 Stefan Liebler <stli@linux.vnet.ibm.com>
5693
5694 * config.make.in (enable-lock-elision): New Makefile variable.
5695 * configure.ac: Likewise.
5696 * configure: Regenerate.
5697 * sysdeps/s390/configure.ac:
5698 Add check for gcc transactions support.
5699 * sysdeps/s390/configure: Regenerate.
5700 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5701 Build elision files if enabled.
5702 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5703 Add lock elision support for s390.
5704 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5705 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5706 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5707 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5708 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5709 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5710 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5711 Likewise.
5712 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5713 Likewise.
5714 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5715 Likewise.
5716 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5717 Likewise.
5718 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5719 (__lll_timedlock_elision, __lll_lock_elision)
5720 (__lll_unlock_elision, __lll_trylock_elision)
5721 (lll_timedlock_elision, lll_lock_elision)
5722 (lll_unlock_elision, lll_trylock_elision): Add.
5723 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5724 (pthread_mutex_t): Add lock elision support for s390.
5725
1a2f40e5
W
57262014-05-14 Wilco <wdijkstr@arm.com>
5727
5728 * sysdeps/arm/fclrexcpt.c: Cleanup.
5729 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5730 * sysdeps/arm/feenablxcpt.c: Cleanup.
5731 * sysdeps/arm/fegetenv.c: Cleanup.
5732 * sysdeps/arm/fegetexcept.c: Cleanup.
5733 * sysdeps/arm/fegetround.c: Cleanup.
5734 * sysdeps/arm/feholdexcpt.c: Cleanup.
5735 * sysdeps/arm/fesetenv.c: Cleanup.
5736 * sysdeps/arm/fesetround.c: Cleanup.
5737 * sysdeps/arm/feupdateenv.c: Cleanup.
5738 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5739 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5740 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5741 * sysdeps/arm/ftestexcept.c: Cleanup.
5742 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5743 * sysdeps/arm/setfpucw.c: Cleanup.
5744
f63c86fe
WN
57452014-05-09 Will Newton <will.newton@linaro.org>
5746
5747 * sysdeps/arm/armv7/strcmp.S: New file.
5748 * NEWS: Mention addition of ARMv7 optimized strcmp.
5749
7a1a51b5
RM
57502014-05-08 Roland McGrath <roland@hack.frob.com>
5751
95afbbe5
RM
5752 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5753 look for %.ac rather than %.in.
5754
5755 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5756 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5757 * sysdeps/mach/hurd/configure: Regenerated.
5758 * sysdeps/unix/sysv/linux/configure: Regenerated.
5759
7a1a51b5
RM
5760 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5761
5057ad3b
SE
57622014-05-07 Steve Ellcey <sellcey@mips.com>
5763
5764 [BZ# 16922]
5765 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5766 (LONG_SUB): Ditto.
5767 (PTR_SUB): Ditto.
5768
8dc97517
AS
57692014-05-07 Andreas Schwab <schwab@suse.de>
5770
5771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5772 when skipping over non-matching result from nscd.
5773
ce0c5b8f
OB
57742014-05-07 Ondřej Bílka <neleai@seznam.cz>
5775
5776 [BZ #16876]
5777 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5778
a1189263
OB
5779 [BZ #16877]
5780 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5781 nscd security class.
ce0c5b8f 5782
0f58d252
RM
57832014-05-06 Roland McGrath <roland@hack.frob.com>
5784
5785 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5786 * sysdeps/arm/unwind.h: ... here.
5787
83df9ad0
AJ
57882014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5789
ce0c5b8f
OB
5790 [BZ# 16916]
5791 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5792 Define.
83df9ad0 5793
f360f94a
VR
57942014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5795
5796 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5797 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5798 multiarch strncpy for PPC64.
5799 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5800 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5802 multiarch optimizations.
5803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5804 (__libc_ifunc_impl_list): Likewise.
5805 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5806 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5807 multiarch stpncpy for PPC64.
5808 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5809 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5810
978a41c3
AS
58112014-05-06 Andreas Schwab <schwab@suse.de>
5812
5813 [BZ #16912]
5814 * gmon/mcount.c (_MCOUNT_DECL): Use
5815 atomic_compare_and_exchange_bool_acq instead of
5816 catomic_compare_and_exchange_bool_acq.
5817
eb1ed03d
RM
58182014-05-05 Roland McGrath <roland@hack.frob.com>
5819
fe658845
RM
5820 * elf/Makefile (others, install-bin): Remove pldd.
5821 (pldd-modules): Variable removed.
5822 ($(objpfx)pldd): Target removed.
5823 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5824 (others, install-bin): Append pldd here.
5825 ($(objpfx)pldd): New target.
5826
eb1ed03d
RM
5827 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5828 to 0, so the first #if test emitted later doesn't see it undefined.
5829 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5830 * sysdeps/gnu/errlist.c: Regenerated.
5831
19c4bec0
AZ
58322014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833
5834 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5835 [libc_hidden_builtin_def]: Define to empty value.
5836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5837 [libc_hidden_builtin_def]: Likewise.
5838 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5839 [libc_hidden_builtin_def]: Likewise.
5840 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5841 [libc_hidden_builtin_def]: Likewise.
5842 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5843 __redirect_memcpy and define ifunc as default hidden symbol.
5844 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5845 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5846
7776e669
AC
58472014-05-04 Adam Conrad <adconrad@0c3.net>
5848
5849 * locale/iso-4217.def: Reintroduce XDR currency.
5850
d69aeb12
AM
58512014-05-04 Allan McRae <allan@archlinux.org>
5852
5853 * po/eo.po: Update Esperanto translation from translation project.
5854
8f1df5cf
CD
58552014-05-02 Carlos O'Donell <carlos@redhat.com>
5856
5857 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5858 and FEATURE_INDEX_MAX to 1.
5859 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5860
13e402e7
SE
58612014-05-01 Steve Ellcey <sellcey@mips.com>
5862
5863 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5864 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5865 * iconvdata/big5.c (ONE_DIRECTION): Define.
5866 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5867 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5868 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5869 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5870 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5871 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5872 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5873 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5874 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5875 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5876 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5877 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5878 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5879 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5880 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5881 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5882 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5883 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5884 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5885 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5886 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5887 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5888 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5889 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5890 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5891 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5892 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5893 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5894 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5895 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5896 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5897 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5898 * iconvdata/johab.c (ONE_DIRECTION): Define.
5899 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5900 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5901 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5902 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5903 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5904 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5905 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5906 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5907 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5908 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5909
c727f032
RM
59102014-05-01 Roland McGrath <roland@hack.frob.com>
5911
8f2f08d0
RM
5912 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5913 (_IO_JUMPS_OFFSET): Define to 0.
5914
c727f032
RM
5915 * nptl/sysdeps/pthread/bits/libc-lock.h
5916 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5917 (__libc_lock_define_initialized_recursive): Always define using
5918 initializer. Modern compilers treat uninitialized (implicit zero) and
5919 explicit zero initializers the same (i.e. put the datum in bss).
5920
a849e800
AS
59212014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5922
5923 * nscd/nscd-client.h: Include <string.h>.
5924
5331255b
DM
59252014-05-01 David S. Miller <davem@davemloft.net>
5926
5927 [BZ #16885]
5928 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5929 multiple zero bytes exist at the end of a string.
5930 Reported by Aurelien Jarno <aurelien@aurel32.net>
5931
5932 * string/test-strcmp.c (check): Add explicit test for situations where
5933 there are multiple zero bytes after the first.
5934
4fdfe821
AS
59352014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5936
5937 [BZ #16890]
5938 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5939 when compiling wprintf.
5940 * stdio-common/tstdiomisc.c (t3): New function.
5941 (main): Call it.
5942
0cdddc25
SE
59432014-05-01 Steve Ellcey <sellcey@mips.com>
5944
5945 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5946 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5947 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5948 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5949
6426d77e
SE
59502014-05-01 Steve Ellcey <sellcey@mips.com>
5951
5952 * stdlib/longlong.h: Updated from GCC.
5953
6d96f5e4
WN
59542014-05-01 Will Newton <will.newton@linaro.org>
5955 Bernard Ogden <bernie.ogden@linaro.org>
5956
7470db0c
WN
5957 * NEWS: Update fixed bug list.
5958
6d96f5e4
WN
5959 [BZ #15119]
5960 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5961
211d653c
DM
59622014-04-30 David S. Miller <davem@davemloft.net>
5963
4fa262fa
DM
5964 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5965 (libc_feholdexcept_setround_sparc_ctx): New function.
5966 (libc_fesetenv_sparc_ctx): Likewise.
5967 (libc_feupdateenv_sparc_ctx): Likewise.
5968 (libc_feholdsetround_sparc_ctx): Likewise.
5969 (libc_feholdexcept_setround_ctx): Define.
5970 (libc_feholdexcept_setroundf_ctx): Likewise.
5971 (libc_feholdexcept_setroundl_ctx): Likewise.
5972 (libc_fesetenv_ctx): Likewise.
5973 (libc_fesetenvf_ctx): Likewise.
5974 (libc_fesetenvl_ctx): Likewise.
5975 (libc_feupdateenv_ctx): Likewise.
5976 (libc_feupdateenvf_ctx): Likewise.
5977 (libc_feupdateenvl_ctx): Likewise.
5978 (libc_feresetround_ctx): Likewise.
5979 (libc_feresetroundf_ctx): Likewise.
5980 (libc_feresetroundl_ctx): Likewise.
5981 (libc_feholdsetround_ctx): Likewise.
5982 (libc_feholdsetroundf_ctx): Likewise.
5983 (libc_feholdsetroundl_ctx): Likewise.
5984
1d3d93ef
DM
5985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5986 with __USE_GNU instead of XOPEN cpp guards.
5987
8aa583c3
DM
5988 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5989 0.
5990
211d653c
DM
5991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5992 with XOPEN cpp guards.
5993
60c8f1f6
JB
59942014-04-30 Julian Brown <julian@codesourcery.com>
5995
5996 [BZ #16888]
5997 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5998 handling.
5999
9a461d46
JM
60002014-04-30 Joseph Myers <joseph@codesourcery.com>
6001
d0f5b3f8
JM
6002 [BZ #9894]
6003 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6004 Change to 2.6.32.
6005 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6006 * sysdeps/unix/sysv/linux/configure: Regenerated.
6007 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6008 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6009 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6010 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6011 * README: Update reference to required Linux kernel version.
6012 * manual/install.texi (Linux): Update reference to required Linux
6013 kernel headers version.
6014 * INSTALL: Regenerated.
6015
9a461d46
JM
6016 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6017 header inclusion.
6018 [POSIX] (limits.h): Likewise.
6019 [POSIX] (math.h): Likewise.
6020 [POSIX] (sys/wait.h): Likewise.
6021 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6022 function.
6023 [POSIX] (stddef.h): Do not allow header inclusion.
6024
1775babf
AZ
60252014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
57f41c40 6027 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6028
8f630cca
YY
60292014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6030
6031 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6032 Return immediately after lll_futex_wake.
6033
1cdeb237
SP
60342014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6035
bc8f194c
SP
6036 [BZ #16791]
6037 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6038 structure.
6039 (datahead_init_pos): Call datahead_init_common early.
6040 (datahead_init_neg): Likewise.
6041
1cdeb237
SP
6042 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6043 datahead_init_neg): New functions.
6044 * nscd/aicache.c (addhstaiX): Use them.
6045 * nscd/grpcache.c (cache_addgr): Likewise.
6046 * nscd/hstcache.c (cache_addhst): Likewise.
6047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6048 * nscd/netgroupcache.c (do_notfound): Likewise.
6049 (addgetnetgrentX): Likewise.
6050 (addinnetgrX): Likewise.
6051 * nscd/pwdcache.c (cache_addpw): Likewise.
6052 * nscd/servicescache.c (cache_addserv): Likewise.
6053
16b293a7
SP
60542014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6055 Atsushi Onoe <atsushi@onoe.org>
6056
6057 [BZ #14308]
6058 [BZ #12994]
6059 [BZ #13651]
6060 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6061 one response is valid.
6062 * resolv/res_send.c (send_dg): Check for validity of other
6063 response if the current response is a referral.
6064
a28a9b94
SE
60652014-04-29 Steve Ellcey <sellcey@mips.com>
6066
6067 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6068
2ca180e9
SL
60692014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6070
6071 [BZ #16823]
6072 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6073 Always divide by positive zero when computing -Inf result.
6074 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6075 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6076
18f2945a
AZ
60772014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6080 FPSCR if value do not change.
6081 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6082 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6083 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6084 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6085 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6086 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6087 function.
6088
5abebba4
CD
60892014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6090
6091 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6092 * sysdeps/unix/sysv/linux/hppa: Move directory from
6093 ports/systeps/unix/sysv/linux/hppa.
6094 * README: Update listing for hppa-*-linux-gnu.
6095
f7ed60c2
OB
60962014-04-28 Ondřej Bílka <neleai@seznam.cz>
6097
fff763a5
OB
6098 [BZ #16754]
6099 * manual/stdio.texi (Hook functions): Fix types of stream hook
6100 functions.
f7ed60c2
OB
6101 [BZ #16854]
6102 * socket/sys/socket.h: Fix typo in comment.
6103
df639d73
WD
61042014-04-28 Wilco <wdijkstr@arm.com>
6105
f7ed60c2 6106 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6107 * sysdeps/arm/math_private.h: New file.
6108 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6109
48332d82
L
61102014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6111
6112 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6113 with __int128_t.
6114 (La_x86_64_retval): Likewise.
6115
e5e0d9a4
IB
61162014-04-24 Ian Bolton <ian.bolton@arm.com>
6117
6118 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6119 fpsr if value didn't change.
6120 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6121 to fpcr if value didn't change.
6122 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6123 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6124 fpsr or fpcr if value didn't change.
6125 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6126 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6127 fpcr if value didn't change.
6128 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6129 to fpsr if value didn't change.
6130
bacc75f7
SP
61312014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6132
6133 * nptl/tst-sem3.c: Use test-skeleton.c
6134 (main): Rename to do_test. Use return instead of
6135 exit.
6136 * nptl/tst-sem4.c: Use test-skeleton.c
6137 (main): Rename to do_test.
6138
a059d359
DM
61392014-04-22 David S. Miller <davem@davemloft.net>
6140
6141 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6142 (struct sigaction): New struct member __glibc_reserved0, change
6143 type of sa_flags to int.
6144
ea6c92f3
YZ
61452014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6146
6147 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6148 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6149
766c4a36
SP
61502014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6151
6152 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6153 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6154
140cc7ab
VK
61552014-04-22 Will Newton <will.newton@linaro.org>
6156 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6157
6158 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6159 (__longjmp): Add longjmp and longjmp_target SystemTap
6160 probes.
6161 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6162 (__sigsetjmp): Add setjmp SystemTap probe.
6163
c54e5cf7
CD
61642014-04-17 Carlos O'Donell <carlos@redhat.com>
6165
6166 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6167 match manual order.
6168
75ffb047
AZ
61692014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170
6171 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6172
2cd925f7
AZ
6173 * sysdeps/powerpc/fpu/fenv_private.h
6174 (libc_feholdexcept_setroundl_ctx): Define to
6175 libc_feholdexcept_setround_ppc_ctx.
6176 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6177 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6178 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6179 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6180
39e6cd8d
IB
61812014-04-17 Ian Bolton <ian.bolton@arm.com>
6182
6183 * sysdeps/aarch64/math-tests.h: New file.
6184
f9281df9
SY
61852014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6186
6187 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6188 New.
6189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6190 Check and set bit_AVX2_Usable.
6191 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6192 macro.
6193 (bit_AVX2): Likewise.
6194 (index_AVX2_Usable): Likewise.
6195 (CPUID_AVX2): Likewise.
6196 (HAS_AVX2): Likewise.
6197
37d35007
WN
61982014-04-17 Will Newton <will.newton@linaro.org>
6199
7c677662
WN
6200 * manual/setjmp.texi (System V contexts): Add note that
6201 calling setcontext on a context created by a call to a
6202 signal handler is undefined. Update text to note that
6203 setcontext from a signal handler is possible but not
6204 recommended.
6205
37d35007 6206 [BZ #16629]
e04a4e9d
WN
6207 * stdlib/tst-setcontext.c: Include signal.h.
6208 (main): Check that the signal stack before and
6209 after swapcontext is the same.
6210
37d35007
WN
6211 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6212 Re-implement to restore registers in user code and avoid
6213 rt_sigreturn system call.
6214
423a7160
W
62152014-04-17 Wilco <wdijkstr@arm.com>
6216
6217 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6218 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6219 * math/test-fenv.c: Skip exception trap tests on targets which only
6220 support non-stop mode.
6221
bc93ab29
IB
62222014-04-17 Ian Bolton <ian.bolton@arm.com>
6223 Wilco Dijkstra <wilco.dijkstra@arm.com>
6224
6225 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6226 (libc_feholdsetround_aarch64_ctx)
6227 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6228 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6229 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6230 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6231 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6232 (libc_feresetround_noexl_ctx): Define.
6233
95fc5fa3
RH
62342014-04-16 Richard Henderson <rth@redhat.com>
6235
ddb04724
RH
6236 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6237
d77c0899
RH
6238 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6239 unwind tables.
6240
a3df56fc
RH
6241 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6242 const from the non-libc, non-ldso copy.
6243
95fc5fa3
RH
6244 * sysdeps/alpha/libm-test-ulps: Regenerate.
6245
7e0b6763
IB
62462014-04-16 Ian Bolton <ian.bolton@arm.com>
6247 Wilco Dijkstra <wilco.dijkstra@arm.com>
6248
6249 * sysdeps/aarch64/fpu/math_private.h: New file.
6250
a9ea2e0c
MS
62512014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6252
6253 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6254
ea8ba7cd
IZ
62552014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6256
6257 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6258 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6260 Intel MPX bound registers before _dl_profile_fixup.
6261 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6262 registers after _dl_profile_fixup. Save and restore bound
6263 registers bnd0/bnd1 when calling _dl_call_pltexit.
6264 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6265 (LR_BND_OFFSET): Likewise.
6266 (LRV_BND0_OFFSET): Likewise.
6267 (LRV_BND1_OFFSET): Likewise.
6268
9f2a4fbc
ST
62692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6270
6271 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6272 to...
6273 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6274 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6275 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6276 fields.
9f2a4fbc 6277
fd15a59b
ST
62782014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6279
6280 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6281
f19dfa0a
SL
62822014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6283
6284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6285
4fa8bc3b
SL
62862014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6287
6288 [BZ #14770]
6289 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6290 * sysdeps/s390/configure: Regenerate.
6291
8ea587db
SL
6292 [BZ #16824]
6293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6294 Set round-to-nearest internally to reduce error accumulation.
6295
aa5f0ff1
AM
62962014-04-16 Alan Modra <amodra@gmail.com>
6297
6298 [BZ #16740]
6299 [BZ #16619]
6300 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6301 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6302 * NEWS: Update fixed bug list.
aa5f0ff1 6303
bb9c256f
SP
63042014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
6306 * benchtests/Makefile: Depend on libraries in build directory.
6307 (bench-math): Separate out math tests.
6308 (bench-pthread): Separate out pthread tests.
6309 (bench): Include math and pthread tests.
6310
f737dfd0
CD
63112014-04-14 Carlos O'Donell <carlos@redhat.com>
6312
6313 [BZ #16831]
6314 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6315 _dl_debug_initialize.
6316
0699f766
CD
6317 * configure.ac: Remove SELinux header check.
6318 * configure: Regenerate.
6319 * nscd/selinux.c (perms): Array of const char* to permission names.
6320 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6321 default policy. Call string_to_security_class and string_to_av_perm to
6322 translate strings. Enforce default policy and call avs_has_perm with
6323 results of translated strings.
6324
809bd45f
DM
63252014-04-13 David S. Miller <davem@davemloft.net>
6326
6327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6328
89e691f2
AM
63292014-04-12 Allan McRae <allan@archlinux.org>
6330
6331 [BZ #16838]
6332 * manual/string.texi (Collation Functions): Fix qsort argument
6333 order in example.
6334 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6335
9c9daaeb
CM
63362014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6337
6338 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6339 Make the test a no-op if there are no exceptions defined.
6340
95561fb9
PP
63412014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6342
fe8d072c 6343 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6344 enable-hardcoded-path-in-tests
6345
970c602a
WN
63462014-04-11 Will Newton <will.newton@linaro.org>
6347
6348 * benchtests/Makefile (extra-objs): Add json-lib.o.
6349 (bench-func): Tidy up JSON output.
6350 * benchtests/bench-skeleton.c: Include json-lib.h.
6351 (main): Use JSON library functions to do output of
6352 benchmark results.
6353 * benchtests/bench-timing-type.c (main): Output the
6354 timing type simply, leaving formatting to the user.
6355 * benchtests/json-lib.c: New file.
6356 * benchtests/json-lib.h: Likewise.
6357
36875b06
TR
63582014-04-11 Torvald Riegel <triegel@redhat.com>
6359
6360 [BZ #15215]
6361 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6362 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6363 memory barriers. Add comments.
6364 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6365 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6366 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6367 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6368 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6369 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6370
579db35a
SL
63712014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6372
6373 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6374 * sysdeps/s390/s390-64/configure.ac: ... this ...
6375 * sysdeps/s390/configure.ac: ... to here.
6376 * sysdeps/s390/s390-32/configure: Delete file.
6377 * sysdeps/s390/s390-64/configure: Delete file.
6378 * sysdeps/s390/configure: Regenerate.
6379
c12e9f37
JAPH
63802014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6381
6382 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6383
439bda32
WN
63842014-04-11 Will Newton <will.newton@linaro.org>
6385
6386 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6387 to zero if it is not defined elsewhere. (mtrim): Test
6388 the value of MALLOC_DEBUG with #if rather than #ifdef.
6389
6a5d6ea1
TR
63902014-04-10 Torvald Riegel <triegel@redhat.com>
6391
6392 * benchtests/pthread_once-inputs: New file.
6393 * benchtests/pthread_once-source.c: New file.
6394 * benchtests/README: Update documentation.
6395
a4c75cfd
IZ
63962014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6397 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6400 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6401 * sysdeps/x86_64/configure: Regenerated.
6402 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6403 macro.
6404 (REGISTER_SAVE_RAX): Likewise.
6405 (REGISTER_SAVE_RCX): Likewise.
6406 (REGISTER_SAVE_RDX): Likewise.
6407 (REGISTER_SAVE_RSI): Likewise.
6408 (REGISTER_SAVE_RDI): Likewise.
6409 (REGISTER_SAVE_R8): Likewise.
6410 (REGISTER_SAVE_R9): Likewise.
6411 (REGISTER_SAVE_BND0): Likewise.
6412 (REGISTER_SAVE_BND1): Likewise.
6413 (REGISTER_SAVE_BND2): Likewise.
6414 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6415 bound registers when calling _dl_fixup.
6416
27822ce6
AZ
64172014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6418
6419 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6420 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6421 of its definition.
27822ce6
AZ
6422 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6423 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6424 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6425 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6426 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6427 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6428 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6429
a88ddc90
PTB
64302014-04-09 Peter Brett <peter@peter-b.co.uk>
6431
6432 [BZ #15514]
6433 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6434 pathconf(_PC_NAME_MAX).
6435
01f8eac2
AZ
64362014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437
6438 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6439 Remove macro usage.
6440 (__PTHREAD_SPINS): Move definition to ...
6441 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6442 (__PTHREAD_SPINS): ... here.
6443 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6444 (__PTHREAD_SPIN): Likewise.
6445 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6446 (__PTHREAD_SPIN): Likewise.
6447 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6448 (__PTHREAD_SPIN): Likewise.
6449 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6450 (__PTHREAD_SPIN): Likewise.
6451 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6452 (__PTHREAD_SPIN): Likewise.
6453 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6454 (__PTHREAD_SPIN): Likewise.
6455 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6456 (__PTHREAD_SPIN): Likewise.
6457 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6458 (__PTHREAD_SPIN): Likewise.
6459 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6460 (__PTHREAD_SPIN): Likewise.
6461 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6462 (__PTHREAD_SPIN): Likewise.
6463 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6464 (__PTHREAD_SPIN): Likewise.
6465 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6466 (__PTHREAD_SPIN): Likewise.
6467
de21c33c
AZ
6468 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6469 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6470 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6471 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6472 imply folder.
6473 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6474 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6475 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6476 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6477 correct imply path.
6478 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6479 strlen symbol for non multi-arch builds.
6480 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6481 missing hidden_def and weak_alias.
6482
862c472e
CD
64832014-04-08 Carlos O'Donell <carlos@redhat.com>
6484
6485 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6486
8667f90e
WN
64872014-04-07 Will Newton <will.newton@linaro.org>
6488
6489 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6490 and contents. [!_LIBC] Remove #ifndef and contents.
6491 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6492 * string/memccpy.c (__memccpy): Use ANSI prototype.
6493 * string/memfrob.c (memfrob): Likewise.
6494 * string/strcoll.c (STRCOLL): Likewise.
6495 * string/strlen.c (strlen): Likewise.
6496 * string/strtok.c (STRTOK): Likewise.
6497 * string/strcat.c: Remove unused #include of memcopy.h.
6498 (strcat): Use ANSI prototype.
6499 * string/strchr.c: Remove unused #include of memcopy.h.
6500 (strchr): Use ANSI prototype.
6501 * string/strcmp.c: Remove unused #include of memcopy.h.
6502 (strcmp): Use ANSI prototype.
6503 * string/strcpy.c: Remove unused #include of memcopy.h.
6504 (strcpy): Use ANSI prototype.
6505
7ffa9423
AZ
65062014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507
6508 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6509 * config.make.in (config-extra-cppflags): Set it from
6510 libc_extra_cppflags.
6511 * configure.ac (libc_extra_cflags): Make it accumulate over
6512 configure fragments.
6513 (libc_extra_cppflags): New flag.
6514 * configure. Regenerate.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6516 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6517 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6519
8bd70862
AZ
6520 [BZ #16815]
6521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6522 result for FE_DOWNWARD rounding mode.
6523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6524 Likewise.
6525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6526
d42f3448
CM
65272014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6528
6529 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6530 in function argument name.
6531
1c21d115
DS
65322014-04-03 David Svoboda <svoboda@cert.org>
6533
6534 [BZ #5666]
6535 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6536 explicitly.
6537
fcccd512
RM
65382014-04-03 Roland McGrath <roland@hack.frob.com>
6539
6540 * elf/dl-unmap-segments.h: New file.
6541 * sysdeps/generic/ldsodefs.h
6542 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6543 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6544 * elf/dl-fptr.c: Likewise.
6545 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6546 * sysdeps/aarch64/tlsdesc.c: Likewise.
6547 * sysdeps/arm/tlsdesc.c: Likewise.
6548 * sysdeps/i386/tlsdesc.c: Likewise.
6549 * sysdeps/tile/dl-runtime.c: Likewise.
6550 * sysdeps/x86_64/tlsdesc.c: Likewise.
6551 * elf/dl-load.h: New file.
6552 * elf/dl-load.c: Include it.
6553 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6554 Macros moved to dl-load.h.
6555 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6556 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6557 Use _dl_unmap_segments in place of __munmap.
6558 Break out segment-mapping loop into ...
6559 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6560
f6488e2b
WN
65612014-04-03 Will Newton <will.newton@linaro.org>
6562
6563 * elf/dl-lookup.c (do_lookup_x): Remove comment
6564 referring to nested function and move variable
6565 declarations down to before first use.
6566
6f05bafe
JM
65672014-04-02 Joseph Myers <joseph@codesourcery.com>
6568
a84e78c8
JM
6569 [BZ #16799]
6570 [BZ #16800]
6571 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6572 with 0 numerator.
6573 * math/s_catanf.c (__catanf): Likewise.
6574 * math/s_catanh.c (__catanh): Likewise.
6575 * math/s_catanhf.c (__catanhf): Likewise.
6576 * math/s_catanhl.c (__catanhl): Likewise.
6577 * math/s_catanl.c (__catanl): Likewise.
6578 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6579 by positive zero when computing -Inf result.
6580 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6581 (catanh_test): Likewise.
6582 * sysdeps/i386/fpu/libm-test-ulps: Update.
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6584
6f05bafe
JM
6585 [BZ #16789]
6586 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6587 instead of using underflowing value in computing result.
6588 * math/s_clog10.c (__clog10): Likewise.
6589 * math/s_clog10f.c (__clog10f): Likewise.
6590 * math/s_clog10l.c (__clog10l): Likewise.
6591 * math/s_clogf.c (__clogf): Likewise.
6592 * math/s_clogl.c (__clogl): Likewise.
6593 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6594 (clog10_test): Likewise.
6595 * sysdeps/i386/fpu/libm-test-ulps: Update.
6596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6597
b0abbc21
AM
65982014-04-02 Alan Modra <amodra@gmail.com>
6599
6600 [BZ #16739]
6601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6602 output when value is near a power of two. Use int64_t for lx and
6603 remove casts. Use decimal rather than hex exponent constants.
6604 Don't use long double multiplication when double will suffice.
6605 * math/libm-test.inc (nextafter_test_data): Add tests.
6606 * NEWS: Add 16739 and 16786 to bug list.
6607
af6b1797
AM
6608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6609
483818d7
AM
6610 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6611
f6c55796
WN
66122014-04-01 Will Newton <will.newton@linaro.org>
6613
6614 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6615 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6616
13f7fe35
FW
66172014-04-01 Florian Weimer <fweimer@redhat.com>
6618
6619 [BZ #13347]
6620 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6621 * nptl/tst-setuid2.c: New file.
6622 * nptl/Makefile (xtests): Add tst-setuid2.
6623
c859b32e
AM
66242014-04-01 Alan Modra <amodra@gmail.com>
6625
6626 [BZ #16786]
6627 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6628
54fa2475
JM
66292014-03-31 Joseph Myers <joseph@codesourcery.com>
6630
8795b4a4
JM
6631 [BZ #6803]
6632 [BZ #6804]
6633 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6634 set errno as appropriate.
6635 * math/w_scalbf.c (__scalbf): Likewise.
6636 * math/w_scalbl.c (__scalbl): Likewise.
6637 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6638 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6639 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6640 Add more NaN tests.
6641
54fa2475
JM
6642 [BZ #16349]
6643 * math/w_atan2.c: Include <errno.h>.
6644 (__atan2): Set errno for result underflowing to zero.
6645 * math/w_atan2f.c: Include <errno.h>.
6646 (__atan2f): Set errno for result underflowing to zero.
6647 * math/w_atan2l.c: Include <errno.h>.
6648 (__atan2l): Set errno for result underflowing to zero.
6649 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6650 tests.
6651 * math/auto-libm-test-out: Regenerated.
6652
757d9dd5
AZ
66532014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654
6655 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6656 Encode instruction correctly in little endian.
6657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6658 Likewise.
6659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6660 Likewise.
6661 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6662 Likewise.
6663 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6664 Likewise.
6665
d7a68734
JM
66662014-03-31 Joseph Myers <joseph@codesourcery.com>
6667
47c5adeb
JM
6668 [BZ #9894]
6669 * sysdeps/unix/sysv/linux/kernel-features.h
6670 [__sparc__ && !__arch64__ && !__sparc_v9__]
6671 (__ASSUME_SET_ROBUST_LIST): Do not define.
6672 [__sparc__ && !__arch64__ && !__sparc_v9__]
6673 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6674 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6675 Likewise.
6676 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6677 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6678 (__ASSUME_REQUEUE_PI): Likewise.
6679 (__ASSUME_SET_ROBUST_LIST): Likewise.
6680 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6681 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6682 Undefine.
6683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6684 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6685 Likewise.
6686 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6687 Likewise.
6688 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6691 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6692 Undefine.
6693 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6694 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6695 Likewise.
6696
d7a68734
JM
6697 [BZ #16648]
6698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6699 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6700 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6701
c760f5c2
WN
67022014-03-31 Will Newton <will.newton@linaro.org>
6703
6704 * benchtests/Makefile (bench): Add ffs and ffsll to list
6705 of tests.
6706 * benchtests/ffs-inputs: New file.
6707 * benchtests/ffsll-inputs: Likewise.
6708
ea6029b1
JM
67092014-03-29 Joseph Myers <joseph@codesourcery.com>
6710
6711 [BZ #16770]
6712 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6713 too large before casting to int.
6714 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6715 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6716 * math/libm-test.inc (scalb_test_data): Add more tests.
6717
cf806aff
SP
67182014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
56737508
SP
6720 * benchtests/Makefile (DETAILED_OPT): New make option.
6721 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6722 set.
6723 * benchtests/bench-skeleton.c: Include stdbool.h.
6724 (main): Store and print timings per input.
6725 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6726 member to each argument value.
6727 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6728 (_print_arg_data): Initialize per-input timing to 0.
6729
cb5e4aad
SP
6730 * benchtests/Makefile (timing-type): New binary.
6731 (bench-clean): Also remove bench-timing-type.
6732 (bench): New target for timing-type.
6733 (bench-func): Print output in JSON format.
6734 * benchtests/bench-skeleton.c (main): Print output in JSON
6735 format.
6736 * benchtests/bench-timing-type.c: New file.
6737 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6738 (TIMING_PRINT_STATS): Remove.
6739 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6740 name separately.
6741
cf806aff
SP
6742 * benchtests/bench-modf.c: Remove.
6743 * benchtests/modf-inputs: New inputs file.
6744
289e0779
JM
67452014-03-28 Joseph Myers <joseph@codesourcery.com>
6746
6747 [BZ #16362]
6748 * math/s_clog10.c (M_PI_LOG10E): New macro.
6749 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6750 imaginary parts are 0.
6751 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6752 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6753 imaginary parts are 0.
6754 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6755 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6756 imaginary parts are 0.
6757 * math/libm-test.inc (clog10_test_data): Update expected results
6758 for when real and imaginary parts are 0.
6759
277ae3f1
PP
67602014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6761
6762 * elf/dl-load.c: Finish conversion of __builtin_expect into
6763 __glibc_{un}likely.
6764
03a7091f
JM
67652014-03-27 Joseph Myers <joseph@codesourcery.com>
6766
6767 [BZ #16348]
6768 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6769 1+x for argument with exponent below -67.
6770 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6771 Likewise.
6772 * math/auto-libm-test-in: Add more tests of exp.
6773 * math/auto-libm-test-out: Regenerated.
6774
ea7d8b95
SP
67752014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
dd3022d7
SP
6777 [BZ #16759]
6778 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6779 (nscd_getnetgrent): Use it.
6780
ea7d8b95
SP
6781 [BZ #16760]
6782 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6783 of stpcpy.
6784
df5b85da
AK
67852014-03-27 Andi Kleen <ak@linux.intel.com>
6786
57f41c40
AS
6787 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6788 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6789 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6790 (lll_robust_unlock): Remove out of line section. Use cfi
6791 intrinsics.
df5b85da 6792 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6793 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6794 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6795 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6796 (lll_robust_unlock): Remove out of line section. Use cfi
6797 intrinsics.
df5b85da
AK
6798 (LLL_STUB_UNWIND_INFO*): Remove.
6799
fbd6b5a4
SP
68002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6801
6802 [BZ #16758]
6803 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6804 blank values.
6805
1b26b855
PP
68062014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6807
6808 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6809
9be36fb8
JM
68102014-03-26 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #16198]
6813 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6814 fnstenv.
6815 * math/test-fenv-preserve.c: New file.
6816 * math/Makefile (tests): Add test-fenv-preserve.
6817
60a2f3c1
WN
68182014-03-26 Will Newton <will.newton@linaro.org>
6819
6820 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6821
a5e5f1e2
RM
68222014-03-25 Roland McGrath <roland@hack.frob.com>
6823
6824 * scripts/versionlist.awk: Partition the version sets and emit all
6825 GLIBC_* (sorted) before all others (sorted).
6826
00f4012a
JM
68272014-03-25 Joseph Myers <joseph@codesourcery.com>
6828
6829 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6830 GLIBC_2.2.5 version.
6831
7bc5a741
AZ
68322014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833
6834 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6835 calls.
6836
7578473b
AZ
6837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6838 previous change.
6839
f3f1dab3
AZ
6840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6841
6da36183
AS
68422014-03-25 Andreas Schwab <schwab@suse.de>
6843
6844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6845 label to be used after in6ailist is initialized.
6846
f3f1dab3 68472014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6848
7578473b 6849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6850 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6851
046651c1
JM
68522014-03-25 Joseph Myers <joseph@codesourcery.com>
6853
6854 [BZ #16357]
6855 [BZ #16599]
6856 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6857 min_plus_half.
6858 (fp_formats): Update initializers.
6859 (init_fp_formats): Initialize new field.
6860 (output_for_one_input_case): Allow underflow for results up to
6861 min_plus_half.
6862 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6863 * math/auto-libm-test-in: Don't mark some underflows from asin and
6864 atanh as spurious.
6865 * math/auto-libm-test-out: Regenerated.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868
003e49ed
AS
68692014-03-25 Andreas Schwab <schwab@suse.de>
6870
6871 * libio/Makefile (tst-ftell-partial-wide-ENV)
6872 (tst-ftell-active-handler-ENV): Define.
6873
de031874
SL
68742014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6875
6876 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6877
55a81e3b
PP
68782014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6879
6880 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6881
f3426898
JM
68822014-03-24 Joseph Myers <joseph@codesourcery.com>
6883
6884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6885 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6886 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6887
a42faf59
PP
68882014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6889
6890 [BZ #16634]
a42faf59 6891 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6892 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6893 (open_path): Change from boolean 'secure' to complete flag 'mode'
6894 (_dl_map_object): Adjust.
a42faf59
PP
6895 * elf/Makefile (tests): Add tst-dlopen-aout.
6896 * elf/tst-dlopen-aout.c: New test.
6897
50936127
SL
68982014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6899
6900 [BZ #16714]
6901 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6902 (struct stat): Rename member pad0 to __glibc_reserved0.
6903
26011b5c
SL
6904 [BZ #16712]
6905 * sysdeps/s390/s390-32/bits/wordsize.h
6906 (__WORDSIZE32_SIZE_ULONG): New define.
6907 * sysdeps/s390/s390-64/bits/wordsize.h
6908 (__WORDSIZE32_SIZE_ULONG): Likewise.
6909 * sysdeps/generic/stdint.h (SIZE_MAX):
6910 Define as UL if __WORDSIZE32_SIZE_ULONG.
6911
a2d86bf1
SL
6912 [BZ #16713]
6913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6914 (__glibc_reserved0): New variable.
6915 (sa_flags): Change type to int.
6916
78b6eebc
SL
6917 * posix/Makefile (before-compile): Use += before-compile instead
6918 of a :=.
6919
f1399b5a
SL
6920 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6921 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6922
a071766e
AS
69232014-03-20 Andreas Schwab <schwab@suse.de>
6924
6925 [BZ #16743]
6926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6927 non-matching result from nscd.
6928
27c673b8
SP
69292014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6930
6931 * scripts/bench.py: Moved to ...
6932 * benchtests/scripts/bench.py: ... here.
6933 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6934
44152e4b
AS
69352014-03-24 Andreas Schwab <schwab@suse.de>
6936
6937 [BZ #16002]
6938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6939 alloca_account and account alloca use for struct in6ailist.
6940
b376a11a
JM
69412014-03-24 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #16284]
6944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6945 rounding mode to recompute results that overflow to infinity or
6946 underflow to zero.
6947 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6948 bug 16284.
6949 * math/auto-libm-test-out: Regenerated.
6950 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6951 (ccosh_test): Likewise.
6952 (csin_test_data): Use plus_oflow.
6953 (csin_test): Use ALL_RM_TEST.
6954 (csinh_test_data): Use plus_oflow.
6955 (csinh_test): Use ALL_RM_TEST.
6956 * sysdeps/i386/fpu/libm-test-ulps: Update.
6957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6958
f7be7376
JM
69592014-03-21 Joseph Myers <joseph@codesourcery.com>
6960
1ca2d03e
JM
6961 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6962 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6963 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6964
f7be7376
JM
6965 [BZ #16731]
6966 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6967 when x - 1 is zero.
6968 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6969 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6970 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6972 argument is 1.
6973 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6974 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6975 zero.
6976 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
fdf4534d
SP
69802014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6981
df26ea53
SP
6982 * scripts/bench.pl: Remove file.
6983 * scripts/bench.py: New benchmark script.
6984 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6985 * benchtests/README: Mention python dependency.
6986 * scripts/pylintrc: New file.
6987 * scripts/pylint: New file.
6988
fdf4534d
SP
6989 * bits/mathdef.h: Use #ifdef instead of #if.
6990 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6991 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6992 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6993 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6994 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6995 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6996
6f23d093
AZ
69972014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6998 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6999
7000 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7002 and strpbrk-ppc64 objects.
7003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7004 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7006 multiarch strpbrk for POWER7.
7007 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7008 multiarch strpbrk for PPC64.
7009 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7010 ifunc selector.
7011 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7012 strpbrk for POWER7.
7013
8c92dfff
JM
70142014-03-20 Joseph Myers <joseph@codesourcery.com>
7015
7016 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7017 (atan_test): Likewise.
7018 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7019 (atanh_test): Use ALL_RM_TEST.
7020 (atan2_test_data): Likewise.
7021 (cabs_test): Likewise.
7022 (cacosh_test): Likewise.
7023 (carg_test): Likewise.
7024 (casin_test): Likewise.
7025 (casinh_test): Likewise.
7026 (cbrt_test): Likewise.
7027 (csqrt_test): Likewise.
7028 (erf_test): Likewise.
7029 (erfc_test): Likewise.
7030 (pow10_test): Likewise.
7031 (exp2_test): Likewise.
7032 (hypot_test): Likewise.
7033 (j0_test): Likewise.
7034 (j1_test): Likewise.
7035 (lgamma_test): Likewise.
7036 (gamma_test): Likewise.
7037 (sincos_test): Likewise.
7038 (tanh_test): Likewise.
7039 (y0_test): Likewise.
7040 (y1_test): Likewise.
7041 * sysdeps/i386/fpu/libm-test-ulps: Update.
7042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7043
6eaf95cb
AZ
70442014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7045
a387428c
SP
7046 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7048 and strcspn-ppc64 objects.
7049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7050 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7051 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7052 multiarch strcspn for POWER7.
7053 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7054 multiarch strcspn for PPC64.
7055 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7056 ifunc selector.
7057 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7058 strcspn for POWER7.
7059
ae3a5dff
JM
70602014-03-20 Joseph Myers <joseph@codesourcery.com>
7061
7062 * math/gen-libm-test.pl (generate_testfile): Expect only function
7063 name as argument to AUTO_TESTS_* and pass results for all rounding
7064 modes to parse_args.
7065 (parse_auto_input): Separate inputs of automatic tests from
7066 outputs before storing in %auto_tests.
7067 * math/libm-test.inc (acos_test_data): Update call to
7068 AUTO_TESTS_f_f.
7069 (acos_test): Use ALL_RM_TEST.
7070 (acos_tonearest_test_data): Remove.
7071 (acos_test_tonearest): Likewise.
7072 (acos_towardzero_test_data): Likewise.
7073 (acos_test_towardzero): Likewise.
7074 (acos_downward_test_data): Likewise.
7075 (acos_test_downward): Likewise.
7076 (acos_upward_test_data): Likewise.
7077 (acos_test_upward): Likewise.
7078 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7079 (asin_test_data): Likewise.
7080 (asin_test): Use ALL_RM_TEST.
7081 (asin_tonearest_test_data): Remove.
7082 (asin_test_tonearest): Likewise.
7083 (asin_towardzero_test_data): Likewise.
7084 (asin_test_towardzero): Likewise.
7085 (asin_downward_test_data): Likewise.
7086 (asin_test_downward): Likewise.
7087 (asin_upward_test_data): Likewise.
7088 (asin_test_upward): Likewise.
7089 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7090 (atan_test_data): Likewise.
7091 (atanh_test_data): Likewise.
7092 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7093 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7094 (carg_test_data): Likewise.
7095 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7096 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7097 (ccosh_test_data): Likewise.
7098 (cexp_test_data): Likewise.
7099 (clog_test_data): Likewise.
7100 (clog10_test_data): Likewise.
7101 (cos_test_data): Update call to AUTO_TESTS_f_f.
7102 (cos_test): Use ALL_RM_TEST.
7103 (cos_tonearest_test_data): Remove.
7104 (cos_test_tonearest): Likewise.
7105 (cos_towardzero_test_data): Likewise.
7106 (cos_test_towardzero): Likewise.
7107 (cos_downward_test_data): Likewise.
7108 (cos_test_downward): Likewise.
7109 (cos_upward_test_data): Likewise.
7110 (cos_test_upward): Likewise.
7111 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7112 (cosh_test): Use ALL_RM_TEST.
7113 (cosh_tonearest_test_data): Remove.
7114 (cosh_test_tonearest): Likewise.
7115 (cosh_towardzero_test_data): Likewise.
7116 (cosh_test_towardzero): Likewise.
7117 (cosh_downward_test_data): Likewise.
7118 (cosh_test_downward): Likewise.
7119 (cosh_upward_test_data): Likewise.
7120 (cosh_test_upward): Likewise.
7121 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7122 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7123 (ctan_test_data): Likewise.
7124 (ctan_test): Use ALL_RM_TEST.
7125 (ctan_tonearest_test_data): Remove.
7126 (ctan_test_tonearest): Likewise.
7127 (ctan_towardzero_test_data): Likewise.
7128 (ctan_test_towardzero): Likewise.
7129 (ctan_downward_test_data): Likewise.
7130 (ctan_test_downward): Likewise.
7131 (ctan_upward_test_data): Likewise.
7132 (ctan_test_upward): Likewise.
7133 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7134 (ctanh_test): Use ALL_RM_TEST.
7135 (ctanh_tonearest_test_data): Remove.
7136 (ctanh_test_tonearest): Likewise.
7137 (ctanh_towardzero_test_data): Likewise.
7138 (ctanh_test_towardzero): Likewise.
7139 (ctanh_downward_test_data): Likewise.
7140 (ctanh_test_downward): Likewise.
7141 (ctanh_upward_test_data): Likewise.
7142 (ctanh_test_upward): Likewise.
7143 (erf_test_data): Update call to AUTO_TESTS_f_f.
7144 (erfc_test_data): Likewise.
7145 (exp_test_data): Likewise.
7146 (exp_test): Use ALL_RM_TEST.
7147 (exp_tonearest_test_data): Remove.
7148 (exp_test_tonearest): Likewise.
7149 (exp_towardzero_test_data): Likewise.
7150 (exp_test_towardzero): Likewise.
7151 (exp_downward_test_data): Likewise.
7152 (exp_test_downward): Likewise.
7153 (exp_upward_test_data): Likewise.
7154 (exp_test_upward): Likewise.
7155 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7156 (exp10_test): Use ALL_RM_TEST.
7157 (exp10_tonearest_test_data): Remove.
7158 (exp10_test_tonearest): Likewise.
7159 (exp10_towardzero_test_data): Likewise.
7160 (exp10_test_towardzero): Likewise.
7161 (exp10_downward_test_data): Likewise.
7162 (exp10_test_downward): Likewise.
7163 (exp10_upward_test_data): Likewise.
7164 (exp10_test_upward): Likewise.
7165 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7166 (expm1_test_data): Likewise.
7167 (expm1_test): Use ALL_RM_TEST.
7168 (expm1_tonearest_test_data): Remove.
7169 (expm1_test_tonearest): Likewise.
7170 (expm1_towardzero_test_data): Likewise.
7171 (expm1_test_towardzero): Likewise.
7172 (expm1_downward_test_data): Likewise.
7173 (expm1_test_downward): Likewise.
7174 (expm1_upward_test_data): Likewise.
7175 (expm1_test_upward): Likewise.
7176 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7177 (fma_test): Use ALL_RM_TEST.
7178 (fma_towardzero_test_data): Remove.
7179 (fma_test_towardzero): Likewise.
7180 (fma_downward_test_data): Likewise.
7181 (fma_test_downward): Likewise.
7182 (fma_upward_test_data): Likewise.
7183 (fma_test_upward): Likewise.
7184 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7185 (j0_test_data): Update call to AUTO_TESTS_f_f.
7186 (j1_test_data): Likewise.
7187 (jn_test_data): Update call to AUTO_TESTS_if_f.
7188 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7189 (log_test_data): Update call to AUTO_TESTS_f_f.
7190 (log10_test_data): Likewise.
7191 (log1p_test_data): Likewise.
7192 (log2_test_data): Likewise.
7193 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7194 (pow_tonearest_test_data): Likewise.
7195 (sin_test_data): Update call to AUTO_TESTS_f_f.
7196 (sin_test): Use ALL_RM_TEST.
7197 (sin_tonearest_test_data): Remove.
7198 (sin_test_tonearest): Likewise.
7199 (sin_towardzero_test_data): Likewise.
7200 (sin_test_towardzero): Likewise.
7201 (sin_downward_test_data): Likewise.
7202 (sin_test_downward): Likewise.
7203 (sin_upward_test_data): Likewise.
7204 (sin_test_upward): Likewise.
7205 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7206 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7207 (sinh_test): Use ALL_RM_TEST.
7208 (sinh_tonearest_test_data): Remove.
7209 (sinh_test_tonearest): Likewise.
7210 (sinh_towardzero_test_data): Likewise.
7211 (sinh_test_towardzero): Likewise.
7212 (sinh_downward_test_data): Likewise.
7213 (sinh_test_downward): Likewise.
7214 (sinh_upward_test_data): Likewise.
7215 (sinh_test_upward): Likewise.
7216 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7217 (sqrt_test): Use ALL_RM_TEST.
7218 (sqrt_tonearest_test_data): Remove.
7219 (sqrt_test_tonearest): Likewise.
7220 (sqrt_towardzero_test_data): Likewise.
7221 (sqrt_test_towardzero): Likewise.
7222 (sqrt_downward_test_data): Likewise.
7223 (sqrt_test_downward): Likewise.
7224 (sqrt_upward_test_data): Likewise.
7225 (sqrt_test_upward): Likewise.
7226 (tan_test_data): Update call to AUTO_TESTS_f_f.
7227 (tan_test): Use ALL_RM_TEST.
7228 (tan_tonearest_test_data): Remove.
7229 (tan_test_tonearest): Likewise.
7230 (tan_towardzero_test_data): Likewise.
7231 (tan_test_towardzero): Likewise.
7232 (tan_downward_test_data): Likewise.
7233 (tan_test_downward): Likewise.
7234 (tan_upward_test_data): Likewise.
7235 (tan_test_upward): Likewise.
7236 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7237 (tgamma_test_data): Likewise.
7238 (y0_test_data): Likewise.
7239 (y1_test_data): Likewise.
7240 (yn_test_data): Update call to AUTO_TESTS_if_f.
7241 (main): Do not call removed functions.
7242
d71aeee8
JM
72432014-03-19 Joseph Myers <joseph@codesourcery.com>
7244
7245 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7246 (ldexp_test_data): Remove.
7247 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7248 scalbn_test_data.
7249 (scalb_test): Use ALL_RM_TEST.
7250
baaf1ded
AS
72512014-03-19 Andreas Schwab <schwab@suse.de>
7252
7253 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7254
b1115e91
JM
72552014-03-19 Joseph Myers <joseph@codesourcery.com>
7256
7257 [BZ #16649]
7258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7260 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7262 (__ASSUME_PREADV): Undefine.
7263 (__ASSUME_PWRITEV): Likewise.
7264
0283ecca
RM
72652014-03-18 Roland McGrath <roland@hack.frob.com>
7266
7d375303
RM
7267 * bits/mman-linux.h: Add comment about non-Linux use.
7268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7269 bits/mman-linux.h resting place.
7270
0283ecca
RM
7271 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7272 * bits/mman-linux.h: ... here.
7273
aebe1003
AZ
72742014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7275
7276 * conform/conformtest.pl: Add standard definition when calling C
7277 preprocessor on data files.
7278 (checknamespace): Remove unused variable.
7279
b29b6bb8
JM
72802014-03-18 Joseph Myers <joseph@codesourcery.com>
7281
7282 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7283 minus_oflow, plus_uflow and minus_uflow in expected results.
7284 * math/libm-test.inc (scalbn_test_data): Add more tests of
7285 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7286 minus_uflow.
7287 (scalbn_test): Use ALL_RM_TEST.
7288 (scalbln_test_data): Add more tests of negative arguments. Use
7289 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7290 (scalbln_test): Use ALL_RM_TEST.
7291
c8f8fa15
RM
72922014-03-18 Roland McGrath <roland@hack.frob.com>
7293
7294 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7295
fede7a5f
WN
72962014-03-18 Will Newton <will.newton@linaro.org>
7297
7298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7299 inaccurate comment.
7300
80cf0a58
JM
73012014-03-18 Joseph Myers <joseph@codesourcery.com>
7302
7303 * Makerules [!subdir] (check-abi): Exit with error status if a
7304 test failed.
7305
b3620862
JM
73062014-03-17 Joseph Myers <joseph@codesourcery.com>
7307
7308 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7309 for rint. Include results for all rounding modes.
7310 (nearbyint_test): Use ALL_RM_TEST.
7311 (rint_test_data): Include all tests used for nearbyint.
7312
788bba36
WN
73132014-03-17 Will Newton <will.newton@linaro.org>
7314
04ec140a
WN
7315 * nptl/sysdeps/pthread/pthread.h: Revert previous
7316 change.
7317
7579d8d5
WN
7318 * sysdeps/generic/ldsodefs.h: Revert previous
7319 change.
7320
c15cf13a
WN
7321 * libio/genops.c: Revert previous change.
7322 * libio/libioP.h: Likewise.
7323 * stdio-common/vfprintf.c: Likewise.
7324
d0ac1324
WN
7325 * sysdeps/generic/math_private.h: Revert previous
7326 change.
7327
9290130a
WN
7328 * sysdeps/generic/math_private.h: Check whether
7329 HAVE_RM_CTX is defined with #ifdef rather
7330 than #if.
7331
afb466fc
WN
7332 * argp/argp-fmtstream.h: Check whether
7333 __STRICT_ANSI__ is defined with #ifdef rather
7334 than #if.
7335 * argp/argp.h: Likewise.
7336
f7efd7c3
WN
7337 * libio/genops.c: Check whether
7338 _IO_JUMPS_OFFSET is defined with #ifdef rather
7339 than #if.
7340 * libio/libioP.h: Likewise.
7341 * stdio-common/vfprintf.c: Likewise.
7342
53f1bed3
WN
7343 * sysdeps/generic/ldsodefs.h: Check whether
7344 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7345 than #if.
7346
788bba36
WN
7347 * nptl/sysdeps/pthread/pthread.h: Check
7348 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7349 its value.
7350
fcd89ebe
SP
73512014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7352
ae42bbc5
SP
7353 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7354 setting O_APPEND.
7355 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7356 test case.
7357
ea33158c
SP
7358 [BZ #16680]
7359 * libio/fileops.c (_IO_file_open): Seek to end of file but
7360 don't cache the offset.
7361 (get_file_offset): Remove function.
7362 (do_ftell): Use cached offset when available.
7363 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7364 don't cache the offset.
7365 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7366 case.
7367 (do_one_test): Call it.
7368 (do_ftell_test): Fix up expected old offset for a+ mode.
7369 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7370 available.
7371
b1dbb426
SP
7372 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7373 up test status with function return status.
7374 (do_write_test): Likewise.
7375 (do_append_test): Likewise.
7376
fcd89ebe
SP
7377 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7378 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7379 Remove.
7380
9962a2d3
JM
73812014-03-17 Joseph Myers <joseph@codesourcery.com>
7382
7383 * math/gen-libm-test.pl (parse_args): Handle results specified for
7384 each rounding mode separately.
7385 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7386 tests and results from lrint_tonearest_test_data,
7387 lrint_towardzero_test_data, lrint_downward_test_data and
7388 lrint_upward_test_data.
7389 (lrint_test): Use ALL_RM_TEST.
7390 (lrint_tonearest_test_data): Remove.
7391 (lrint_test_tonearest): Likewise.
7392 (lrint_towardzero_test_data): Likewise.
7393 (lrint_test_towardzero): Likewise.
7394 (lrint_downward_test_data): Likewise.
7395 (lrint_test_downward): Likewise.
7396 (lrint_upward_test_data): Likewise.
7397 (lrint_test_upward): Likewise.
7398 (llrint_test_data): Merge in per-rounding-mode tests and results
7399 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7400 llrint_downward_test_data and llrint_upward_test_data.
7401 (llrint_test): Use ALL_RM_TEST.
7402 (llrint_tonearest_test_data): Remove.
7403 (llrint_test_tonearest): Likewise.
7404 (llrint_towardzero_test_data): Likewise.
7405 (llrint_test_towardzero): Likewise.
7406 (llrint_downward_test_data): Likewise.
7407 (llrint_test_downward): Likewise.
7408 (llrint_upward_test_data): Likewise.
7409 (llrint_test_upward): Likewise.
7410 (rint_test_data): Merge in per-rounding-mode tests and results
7411 from rint_tonearest_test_data, rint_towardzero_test_data,
7412 rint_downward_test_data and rint_upward_test_data. Add
7413 per-rounding-mode results for tests not in those arrays.
7414 (rint_test): Use ALL_RM_TEST.
7415 (rint_tonearest_test_data): Remove.
7416 (rint_test_tonearest): Likewise.
7417 (rint_towardzero_test_data): Likewise.
7418 (rint_test_towardzero): Likewise.
7419 (rint_downward_test_data): Likewise.
7420 (rint_test_downward): Likewise.
7421 (rint_upward_test_data): Likewise.
7422 (rint_test_upward): Likewise.
7423 (main): Don't call removed functions.
7424
5006148e
RM
74252014-03-14 Roland McGrath <roland@hack.frob.com>
7426
7427 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7428 "Compiled on ..." crapola. It is anti-useful.
7429
d6fe5e58
JM
74302014-03-14 Joseph Myers <joseph@codesourcery.com>
7431
7432 * scripts/evaluate-test.sh: Handle fourth argument to determine
7433 whether test run should stop on failure.
7434 * Makeconfig (stop-on-test-failure): New variable.
7435 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7436 $(stop-on-test-failure).
7437 * Makefile (tests): Give a summary of results from testing and
7438 exit with failure status if they include an ERROR or FAIL.
7439 (xtests): Likewise.
7440 * manual/install.texi (Configuring and compiling): Mention
7441 stop-on-test-failure=y.
7442 * INSTALL: Regenerated.
7443
498a2233
RM
74442014-03-14 Roland McGrath <roland@hack.frob.com>
7445
22dbc19d
RM
7446 * scripts/versionlist.awk: New file.
7447 * Makerules [$(build-shared) = yes]
7448 (postclean-generated): Add Versions.def, not Versions.def.v and
7449 Versions.def.v.i.
7450 ($(common-objpfx)Versions.def.v.i): Target removed.
7451 ($(common-objpfx)Versions.def): New target.
7452 ($(common-objpfx)Versions.all): Depend on that rather that
7453 $(common-objpfx)Versions.def.v.
7454 * Versions.def: File removed.
7455
498a2233
RM
7456 * Makeconfig (+gccwarn): Add -Wundef.
7457 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7458 a dl-sysdep.h breaking its contract.
7459 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7460 * include/stackinfo.h: New file.
7461 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7462 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7463 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7464 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7465 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7466 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7467 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7468 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7469 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7470 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7471 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7472 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7473 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7474 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7475 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7476
c7de5025
AZ
74772014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7478
7479 [BZ #16707]
7480 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7481 implementation.
7482 * math/libm-test.inc (round_test_data): Add more tests.
7483
98fb27a3
AZ
7484 [BZ #16706]
7485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7486 implementation.
7487 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7488
374f7f61
AZ
7489 [BZ #16701]
7490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7491 implementation.
7492 * math/libm-test.inc (ceil_test_data): Add more tests.
7493
4655c291
AZ
7494 * math/libm-test.inc (trunc_test_data): Add more tests related to
7495 BZ#16414.
7496
d7329d4b
RM
74972014-03-14 Roland McGrath <roland@hack.frob.com>
7498
7499 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7500 with #if rather than #ifdef.
7501 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7502
aa4de9ce
L
75032014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7506 first. Disable AVX-512 GCC support if assembler doesn't support
7507 it.
7508 * sysdeps/x86_64/configure: Regenerated.
7509
2e03fae7
CD
75102014-03-13 Carlos O'Donell <carlos@redhat.com>
7511
7512 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7513 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7514 (__old_pthread_attr_setstack): Likewise.
7515 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7516 [!_STACK_GROWS_DOWN]: Likewise.
7517
43ca83ec
MF
75182014-03-13 Mike Frysinger <vapier@gentoo.org>
7519
7520 * config.make.in (have-bash2): Delete.
7521 * configure.ac (libc_cv_have_bash2): Delete.
7522 * configure: Regenerate.
7523 * elf/Makefile (common-ldd-rewrite): Rename to ...
7524 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7525 (sh-ldd-rewrite): Delete.
7526 (bash-ldd-rewrite): Delete.
7527 (have-bash2): Delete checks.
57f41c40
AS
7528 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7529 ldd-rewrite.
c66e48b4
MF
7530
7531 * config.make.in (have-ksh): Delete.
7532 (KSH): Delete.
7533 * configure.ac (libc_cv_have_ksh): Delete.
7534 * configure: Regenerate.
7535
b93834ef
MF
7536 * elf/Makefile: Delete $(have-ksh) check.
7537 ($(objpfx)sotruss): Change KSH to BASH.
7538 * elf/sotruss.ksh: Rename to ...
7539 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7540 function style to match POSIX. Drop ksh vim mode setting.
7541
f3a4632a
MF
7542 * manual/time.texi (Specifying the Time Zone with TZ): Change
7543 Tuesday to Thursday.
7544
5896c8bd
MF
7545 * debug/tst-longjmp_chk2.c: Update header comment.
7546 (stackoverflow_handler): Add comment. Call assert on pass value.
7547
2d63a517
IZ
75482014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7549
7550 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7551 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7552 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7553 (La_x86_64_vector): Add zmm.
7554 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7555 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7556 ($(objpfx)tst-audit10): New target.
7557 ($(objpfx)tst-audit10.out): Likewise.
7558 (tst-audit10-ENV): New.
7559 (AVX512-CFLAGS): Likewise.
7560 (CFLAGS-tst-audit10.c): Likewise.
7561 (CFLAGS-tst-auditmod10a.c): Likewise.
7562 (CFLAGS-tst-auditmod10b.c): Likewise.
7563 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7564 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7565 * sysdeps/x86_64/configure: Regenerated.
7566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7567 AVX-512 zmm register support.
7568 (_dl_x86_64_save_sse): Likewise.
7569 (_dl_x86_64_restore_sse): Likewise.
7570 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7571 size vector registers.
7572 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7573 (ZMM_SIZE): Likewise.
7574 * sysdeps/x86_64/tst-audit10.c: New file.
7575 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7576 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7577
44c4e5d5
RM
75782014-03-13 Roland McGrath <roland@hack.frob.com>
7579
7580 * configure.ac (HAVE_EHDR_START): New check.
7581 * configure: Regenerated.
7582 * config.h.in (HAVE_EHDR_START): New #undef.
7583 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7584 assuming the lowest-addressed segment maps the start of the file.
7585
acd6e389
JM
75862014-03-13 Joseph Myers <joseph@codesourcery.com>
7587
7588 * INSTALL: Regenerated.
7589
6f918f36
WN
75902014-03-13 Will Newton <will.newton@linaro.org>
7591
7592 * manual/setjmp.texi (System V contexts): Improve
7593 clarity and grammar of documentation.
7594
798212a0
PP
75952014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7596
7597 [BZ #16381]
798212a0 7598 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7599 (tests-pie): Add tst-pie2.
798212a0
PP
7600 * elf/tst-pie2.c: New file.
7601 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7602 for ET_EXEC.
7603 * elf/rtld.c (map_doit): Load executable as lt_executable.
7604 (dl_main): Likewise.
7605
abe6d90c
JM
76062014-03-12 Joseph Myers <joseph@codesourcery.com>
7607
7608 [BZ #16642]
7609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7610 (__ASSUME_PSELECT): Undefine.
7611
dd3946c6
AZ
76122014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7613
7614 [BZ #16689]
7615 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7616 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7617 static build.
7618 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7619 selector for static builds.
7620
c44496df
SP
76212014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7622
7623 [BZ #16695]
7624 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7625 key in the buffer.
7626
27c7220a
AZ
76272014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
57f41c40
AS
7629 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7630 IFUNC selector for static builds.
27c7220a 7631
600fa361
JM
76322014-03-11 Joseph Myers <joseph@codesourcery.com>
7633
76c96cf7
JM
7634 * sysdeps/mips/math_private.h [__mips_hard_float]
7635 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7636 libc_feresetround_mips_ctx.
7637 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7638 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7639 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7640
600fa361
JM
7641 [BZ #16677]
7642 * math/s_nextafter.c (__nextafter): Do not return value from
7643 overflowing computation.
7644 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7645 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7647 Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7649 Likewise.
7650 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7651 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7652
d7706c32
RM
76532014-03-11 Roland McGrath <roland@hack.frob.com>
7654
7655 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7656 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7657 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7658 the new mov targetting sp.
7659
4facea47
AZ
76602014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661
7662 [BZ #16683]
7663 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7664 Define it for static builds as well.
7665 (NO_BZERO_IMPL): Likewise.
7666
e65caf1f
VR
76672014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7668
7669 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7670 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7671 multiarch strspn for PPC64.
7672 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7673 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7675 (__libc_ifunc_impl_list): Likewise.
7676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7677 multiarch optimizations
7678 * string/strspn.c (strspn): Using macro to redefine symbol name.
7679
ba9cc071
AZ
76802014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7681 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
7683 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7684 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7685 multiarch strncat for PPC64.
7686 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7687 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7689 (__libc_ifunc_impl_list): Likewise.
7690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7691 multiarch optimizations
7692
8b4ff974
SP
76932014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7694
7695 [BZ #16639]
7696 * nscd/nscd.service: Make service type forking.
7697
54b46a4b
AZ
76982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7699
7700 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7701 sign in non default rounding modes.
7702 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7703
e9996ef7
JM
77042014-03-08 Joseph Myers <joseph@codesourcery.com>
7705
7706 * math/libm-test.inc (ALL_RM_TEST): New macro.
7707 (ceil_test): Use ALL_RM_TEST.
7708 (cimag_test): Likewise.
7709 (conj_test): Likewise.
7710 (copysign_test): Likewise.
7711 (cproj_test): Likewise.
7712 (creal_test): Likewise.
7713 (fabs_test): Likewise.
7714 (floor_test): Likewise.
7715 (fmax_test): Likewise.
7716 (fmin_test): Likewise.
7717 (fmod_test): Likewise.
7718 (fpclassify_test): Likewise.
7719 (frexp_test): Likewise.
7720 (ilogb_test): Likewise.
7721 (isfinite_test): Likewise.
7722 (finite_test): Likewise.
7723 (isgreater_test): Likewise.
7724 (isgreaterequal_test): Likewise.
7725 (isinf_test): Likewise.
7726 (isless_test): Likewise.
7727 (islessequal_test): Likewise.
7728 (islessgreater_test): Likewise.
7729 (isnan_test): Likewise.
7730 (isnormal_test): Likewise.
7731 (issignaling_test): Likewise.
7732 (isunordered_test): Likewise.
7733 (logb_test): Likewise.
7734 (logb_downward_test_data): Remove.
7735 (logb_test_downward): Likewise.
7736 (lround_test): Use ALL_RM_TEST.
7737 (llround_test): Likewise.
7738 (modf_test): Likewise.
7739 (nexttoward_test): Likewise.
7740 (remainder_test): Likewise.
7741 (drem_test): Likewise.
7742 (remainder_tonearest_test_data): Likewise.
7743 (remainder_test_tonearest): Likewise.
7744 (drem_test_tonearest): Likewise.
7745 (remainder_towardzero_test_data): Likewise.
7746 (remainder_test_towardzero): Likewise.
7747 (drem_test_towardzero): Likewise.
7748 (remainder_downward_test_data): Likewise.
7749 (remainder_test_downward): Likewise.
7750 (drem_test_downward): Likewise.
7751 (remainder_upward_test_data): Likewise.
7752 (remainder_test_upward): Likewise.
7753 (drem_test_upward): Likewise.
7754 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7755 (round_test): Use ALL_RM_TEST.
7756 (signbit_test): Likewise.
7757 (trunc_test): Likewise.
7758 (significand_test): Likewise.
7759 (main): Don't call removed functions.
7760
bc61d27c
JM
77612014-03-07 Joseph Myers <joseph@codesourcery.com>
7762
5c780849
JM
7763 [BZ #16674]
7764 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7765 || __USE_XOPEN2K8].
7766 (ILL_ILLOPN): Likewise.
7767 (ILL_ILLADR): Likewise.
7768 (ILL_ILLTRP): Likewise.
7769 (ILL_PRVOPC): Likewise.
7770 (ILL_PRVREG): Likewise.
7771 (ILL_COPROC): Likewise.
7772 (ILL_BADSTK): Likewise.
7773 (FPE_INTDIV): Likewise.
7774 (FPE_INTOVF): Likewise.
7775 (FPE_FLTDIV): Likewise.
7776 (FPE_FLTOVF): Likewise.
7777 (FPE_FLTUND): Likewise.
7778 (FPE_FLTRES): Likewise.
7779 (FPE_FLTINV): Likewise.
7780 (FPE_FLTSUB): Likewise.
7781 (SEGV_MAPERR): Likewise.
7782 (SEGV_ACCERR): Likewise.
7783 (BUS_ADRALN): Likewise.
7784 (BUS_ADRERR): Likewise.
7785 (BUS_OBJERR): Likewise.
7786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7787 (TRAP_TRACE): Likewise.
7788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7789 __USE_XOPEN2K8].
7790 (CLD_KILLED): Likewise.
7791 (CLD_DUMPED): Likewise.
7792 (CLD_TRAPPED): Likewise.
7793 (CLD_STOPPED): Likewise.
7794 (CLD_CONTINUED): Likewise.
7795 (POLL_IN): Likewise.
7796 (POLL_OUT): Likewise.
7797 (POLL_MSG): Likewise.
7798 (POLL_ERR): Likewise.
7799 (POLL_PRI): Likewise.
7800 (POLL_HUP): Likewise.
7801 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7802 Likewise.
7803 (ILL_ILLOPN): Likewise.
7804 (ILL_ILLADR): Likewise.
7805 (ILL_ILLTRP): Likewise.
7806 (ILL_PRVOPC): Likewise.
7807 (ILL_PRVREG): Likewise.
7808 (ILL_COPROC): Likewise.
7809 (ILL_BADSTK): Likewise.
7810 (FPE_INTDIV): Likewise.
7811 (FPE_INTOVF): Likewise.
7812 (FPE_FLTDIV): Likewise.
7813 (FPE_FLTOVF): Likewise.
7814 (FPE_FLTUND): Likewise.
7815 (FPE_FLTRES): Likewise.
7816 (FPE_FLTINV): Likewise.
7817 (FPE_FLTSUB): Likewise.
7818 (SEGV_MAPERR): Likewise.
7819 (SEGV_ACCERR): Likewise.
7820 (BUS_ADRALN): Likewise.
7821 (BUS_ADRERR): Likewise.
7822 (BUS_OBJERR): Likewise.
7823 (BUS_MCEERR_AR): Likewise.
7824 (BUS_MCEERR_AO): Likewise.
7825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7826 (TRAP_TRACE): Likewise.
7827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7828 __USE_XOPEN2K8].
7829 (CLD_KILLED): Likewise.
7830 (CLD_DUMPED): Likewise.
7831 (CLD_TRAPPED): Likewise.
7832 (CLD_STOPPED): Likewise.
7833 (CLD_CONTINUED): Likewise.
7834 (POLL_IN): Likewise.
7835 (POLL_OUT): Likewise.
7836 (POLL_MSG): Likewise.
7837 (POLL_ERR): Likewise.
7838 (POLL_PRI): Likewise.
7839 (POLL_HUP): Likewise.
7840 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7841 (ILL_ILLOPN): Likewise.
7842 (ILL_ILLADR): Likewise.
7843 (ILL_ILLTRP): Likewise.
7844 (ILL_PRVOPC): Likewise.
7845 (ILL_PRVREG): Likewise.
7846 (ILL_COPROC): Likewise.
7847 (ILL_BADSTK): Likewise.
7848 (FPE_INTDIV): Likewise.
7849 (FPE_INTOVF): Likewise.
7850 (FPE_FLTDIV): Likewise.
7851 (FPE_FLTOVF): Likewise.
7852 (FPE_FLTUND): Likewise.
7853 (FPE_FLTRES): Likewise.
7854 (FPE_FLTINV): Likewise.
7855 (FPE_FLTSUB): Likewise.
7856 (SEGV_MAPERR): Likewise.
7857 (SEGV_ACCERR): Likewise.
7858 (BUS_ADRALN): Likewise.
7859 (BUS_ADRERR): Likewise.
7860 (BUS_OBJERR): Likewise.
7861 (BUS_MCEERR_AR): Likewise.
7862 (BUS_MCEERR_AO): Likewise.
7863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7864 (TRAP_TRACE): Likewise.
7865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7866 __USE_XOPEN2K8].
7867 (CLD_KILLED): Likewise.
7868 (CLD_DUMPED): Likewise.
7869 (CLD_TRAPPED): Likewise.
7870 (CLD_STOPPED): Likewise.
7871 (CLD_CONTINUED): Likewise.
7872 (POLL_IN): Likewise.
7873 (POLL_OUT): Likewise.
7874 (POLL_MSG): Likewise.
7875 (POLL_ERR): Likewise.
7876 (POLL_PRI): Likewise.
7877 (POLL_HUP): Likewise.
7878 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7879 Likewise.
7880 (ILL_ILLOPN): Likewise.
7881 (ILL_ILLADR): Likewise.
7882 (ILL_ILLTRP): Likewise.
7883 (ILL_PRVOPC): Likewise.
7884 (ILL_PRVREG): Likewise.
7885 (ILL_COPROC): Likewise.
7886 (ILL_BADSTK): Likewise.
7887 (ILL_BADIADDR): Likewise.
7888 (ILL_BREAK): Likewise.
7889 (FPE_INTDIV): Likewise.
7890 (FPE_INTOVF): Likewise.
7891 (FPE_FLTDIV): Likewise.
7892 (FPE_FLTOVF): Likewise.
7893 (FPE_FLTUND): Likewise.
7894 (FPE_FLTRES): Likewise.
7895 (FPE_FLTINV): Likewise.
7896 (FPE_FLTSUB): Likewise.
7897 (FPE_DECOVF): Likewise.
7898 (FPE_DECDIV): Likewise.
7899 (FPE_DECERR): Likewise.
7900 (FPE_INVASC): Likewise.
7901 (FPE_INVDEC): Likewise.
7902 (SEGV_MAPERR): Likewise.
7903 (SEGV_ACCERR): Likewise.
7904 (SEGV_PSTKOVF): Likewise.
7905 (BUS_ADRALN): Likewise.
7906 (BUS_ADRERR): Likewise.
7907 (BUS_OBJERR): Likewise.
7908 (BUS_MCEERR_AR): Likewise.
7909 (BUS_MCEERR_AO): Likewise.
7910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7911 (TRAP_TRACE): Likewise.
7912 (TRAP_BRANCH): Likewise.
7913 (TRAP_HWBKPT): Likewise.
7914 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7915 __USE_XOPEN2K8].
7916 (CLD_KILLED): Likewise.
7917 (CLD_DUMPED): Likewise.
7918 (CLD_TRAPPED): Likewise.
7919 (CLD_STOPPED): Likewise.
7920 (CLD_CONTINUED): Likewise.
7921 (POLL_IN): Likewise.
7922 (POLL_OUT): Likewise.
7923 (POLL_MSG): Likewise.
7924 (POLL_ERR): Likewise.
7925 (POLL_PRI): Likewise.
7926 (POLL_HUP): Likewise.
7927 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7928 (ILL_ILLOPN): Likewise.
7929 (ILL_ILLADR): Likewise.
7930 (ILL_ILLTRP): Likewise.
7931 (ILL_PRVOPC): Likewise.
7932 (ILL_PRVREG): Likewise.
7933 (ILL_COPROC): Likewise.
7934 (ILL_BADSTK): Likewise.
7935 (FPE_INTDIV): Likewise.
7936 (FPE_INTOVF): Likewise.
7937 (FPE_FLTDIV): Likewise.
7938 (FPE_FLTOVF): Likewise.
7939 (FPE_FLTUND): Likewise.
7940 (FPE_FLTRES): Likewise.
7941 (FPE_FLTINV): Likewise.
7942 (FPE_FLTSUB): Likewise.
7943 (SEGV_MAPERR): Likewise.
7944 (SEGV_ACCERR): Likewise.
7945 (BUS_ADRALN): Likewise.
7946 (BUS_ADRERR): Likewise.
7947 (BUS_OBJERR): Likewise.
7948 (BUS_MCEERR_AR): Likewise.
7949 (BUS_MCEERR_AO): Likewise.
7950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7951 (TRAP_TRACE): Likewise.
7952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7953 __USE_XOPEN2K8].
7954 (CLD_KILLED): Likewise.
7955 (CLD_DUMPED): Likewise.
7956 (CLD_TRAPPED): Likewise.
7957 (CLD_STOPPED): Likewise.
7958 (CLD_CONTINUED): Likewise.
7959 (POLL_IN): Likewise.
7960 (POLL_OUT): Likewise.
7961 (POLL_MSG): Likewise.
7962 (POLL_ERR): Likewise.
7963 (POLL_PRI): Likewise.
7964 (POLL_HUP): Likewise.
7965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7966 (ILL_ILLOPN): Likewise.
7967 (ILL_ILLADR): Likewise.
7968 (ILL_ILLTRP): Likewise.
7969 (ILL_PRVOPC): Likewise.
7970 (ILL_PRVREG): Likewise.
7971 (ILL_COPROC): Likewise.
7972 (ILL_BADSTK): Likewise.
7973 (FPE_INTDIV): Likewise.
7974 (FPE_INTOVF): Likewise.
7975 (FPE_FLTDIV): Likewise.
7976 (FPE_FLTOVF): Likewise.
7977 (FPE_FLTUND): Likewise.
7978 (FPE_FLTRES): Likewise.
7979 (FPE_FLTINV): Likewise.
7980 (FPE_FLTSUB): Likewise.
7981 (SEGV_MAPERR): Likewise.
7982 (SEGV_ACCERR): Likewise.
7983 (BUS_ADRALN): Likewise.
7984 (BUS_ADRERR): Likewise.
7985 (BUS_OBJERR): Likewise.
7986 (BUS_MCEERR_AR): Likewise.
7987 (BUS_MCEERR_AO): Likewise.
7988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7989 (TRAP_TRACE): Likewise.
7990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7991 __USE_XOPEN2K8].
7992 (CLD_KILLED): Likewise.
7993 (CLD_DUMPED): Likewise.
7994 (CLD_TRAPPED): Likewise.
7995 (CLD_STOPPED): Likewise.
7996 (CLD_CONTINUED): Likewise.
7997 (POLL_IN): Likewise.
7998 (POLL_OUT): Likewise.
7999 (POLL_MSG): Likewise.
8000 (POLL_ERR): Likewise.
8001 (POLL_PRI): Likewise.
8002 (POLL_HUP): Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8004 (ILL_ILLOPN): Likewise.
8005 (ILL_ILLADR): Likewise.
8006 (ILL_ILLTRP): Likewise.
8007 (ILL_PRVOPC): Likewise.
8008 (ILL_PRVREG): Likewise.
8009 (ILL_COPROC): Likewise.
8010 (ILL_BADSTK): Likewise.
8011 (FPE_INTDIV): Likewise.
8012 (FPE_INTOVF): Likewise.
8013 (FPE_FLTDIV): Likewise.
8014 (FPE_FLTOVF): Likewise.
8015 (FPE_FLTUND): Likewise.
8016 (FPE_FLTRES): Likewise.
8017 (FPE_FLTINV): Likewise.
8018 (FPE_FLTSUB): Likewise.
8019 (SEGV_MAPERR): Likewise.
8020 (SEGV_ACCERR): Likewise.
8021 (BUS_ADRALN): Likewise.
8022 (BUS_ADRERR): Likewise.
8023 (BUS_OBJERR): Likewise.
8024 (BUS_MCEERR_AR): Likewise.
8025 (BUS_MCEERR_AO): Likewise.
8026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8027 (TRAP_TRACE): Likewise.
8028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8029 __USE_XOPEN2K8].
8030 (CLD_KILLED): Likewise.
8031 (CLD_DUMPED): Likewise.
8032 (CLD_TRAPPED): Likewise.
8033 (CLD_STOPPED): Likewise.
8034 (CLD_CONTINUED): Likewise.
8035 (POLL_IN): Likewise.
8036 (POLL_OUT): Likewise.
8037 (POLL_MSG): Likewise.
8038 (POLL_ERR): Likewise.
8039 (POLL_PRI): Likewise.
8040 (POLL_HUP): Likewise.
8041 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8042 (ILL_ILLOPN): Likewise.
8043 (ILL_ILLADR): Likewise.
8044 (ILL_ILLTRP): Likewise.
8045 (ILL_PRVOPC): Likewise.
8046 (ILL_PRVREG): Likewise.
8047 (ILL_COPROC): Likewise.
8048 (ILL_BADSTK): Likewise.
8049 (ILL_DBLFLT): Likewise.
8050 (ILL_HARDWALL): Likewise.
8051 (FPE_INTDIV): Likewise.
8052 (FPE_INTOVF): Likewise.
8053 (FPE_FLTDIV): Likewise.
8054 (FPE_FLTOVF): Likewise.
8055 (FPE_FLTUND): Likewise.
8056 (FPE_FLTRES): Likewise.
8057 (FPE_FLTINV): Likewise.
8058 (FPE_FLTSUB): Likewise.
8059 (SEGV_MAPERR): Likewise.
8060 (SEGV_ACCERR): Likewise.
8061 (BUS_ADRALN): Likewise.
8062 (BUS_ADRERR): Likewise.
8063 (BUS_OBJERR): Likewise.
8064 (BUS_MCEERR_AR): Likewise.
8065 (BUS_MCEERR_AO): Likewise.
8066 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8067 (TRAP_TRACE): Likewise.
8068 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8069 __USE_XOPEN2K8].
8070 (CLD_KILLED): Likewise.
8071 (CLD_DUMPED): Likewise.
8072 (CLD_TRAPPED): Likewise.
8073 (CLD_STOPPED): Likewise.
8074 (CLD_CONTINUED): Likewise.
8075 (POLL_IN): Likewise.
8076 (POLL_OUT): Likewise.
8077 (POLL_MSG): Likewise.
8078 (POLL_ERR): Likewise.
8079 (POLL_PRI): Likewise.
8080 (POLL_HUP): Likewise.
8081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8082 (ILL_ILLOPN): Likewise.
8083 (ILL_ILLADR): Likewise.
8084 (ILL_ILLTRP): Likewise.
8085 (ILL_PRVOPC): Likewise.
8086 (ILL_PRVREG): Likewise.
8087 (ILL_COPROC): Likewise.
8088 (ILL_BADSTK): Likewise.
8089 (FPE_INTDIV): Likewise.
8090 (FPE_INTOVF): Likewise.
8091 (FPE_FLTDIV): Likewise.
8092 (FPE_FLTOVF): Likewise.
8093 (FPE_FLTUND): Likewise.
8094 (FPE_FLTRES): Likewise.
8095 (FPE_FLTINV): Likewise.
8096 (FPE_FLTSUB): Likewise.
8097 (SEGV_MAPERR): Likewise.
8098 (SEGV_ACCERR): Likewise.
8099 (BUS_ADRALN): Likewise.
8100 (BUS_ADRERR): Likewise.
8101 (BUS_OBJERR): Likewise.
8102 (BUS_MCEERR_AR): Likewise.
8103 (BUS_MCEERR_AO): Likewise.
8104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8105 (TRAP_TRACE): Likewise.
8106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8107 __USE_XOPEN2K8].
8108 (CLD_KILLED): Likewise.
8109 (CLD_DUMPED): Likewise.
8110 (CLD_TRAPPED): Likewise.
8111 (CLD_STOPPED): Likewise.
8112 (CLD_CONTINUED): Likewise.
8113 (POLL_IN): Likewise.
8114 (POLL_OUT): Likewise.
8115 (POLL_MSG): Likewise.
8116 (POLL_ERR): Likewise.
8117 (POLL_PRI): Likewise.
8118 (POLL_HUP): Likewise.
8119 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8120 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8121
bc61d27c
JM
8122 [BZ #16670]
8123 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8124 before #include of <time.h>.
8125 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8126 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8127 (test-xfail-UNIX98/sched.h/conform): Likewise.
8128
302949e2
MS
81292014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8130
8131 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8132 error absence of trapping exception support.
8133 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8134
a00f522a
JM
81352014-03-07 Joseph Myers <joseph@codesourcery.com>
8136
6f99f280
JM
8137 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8138 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8139 * timezone/Makefile (testdata): Move definition above include of
8140 Rules.
8141 (test-zones): New variable.
8142 (tests-special): Add zone files.
8143 (build-testdata): Use $(evaluate-test).
8144
0b20a9e8
JM
8145 * elf/Makefile (tests-special): Rename tests to end with .out.
8146 ($(objpfx)noload-mem): Likewise.
8147 ($(objpfx)tst-leaks1-mem): Likewise.
8148 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8149 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8150 $(objpfx)test-iconvconfig.out.
8151 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8152 set -e inside subshell and redirect output to file.
8153 * iconvdata/Makefile (generated): Rename tests to end with .out.
8154 Correct type.
8155 (tests-special): Rename tests to end with .out.
8156 ($(objpfx)mtrace-tst-loading): Likewise.
8157 * intl/Makefile (generated): Likewise.
8158 (tests-special): Likewise.
8159 ($(objpfx)mtrace-tst-gettext): Likewise.
8160 * misc/Makefile (generated): Likewise.
8161 (tests-special): Likewise.
8162 ($(objpfx)tst-error1-mem): Likewise.
8163 * nptl/Makefile (tests-special): Likewise.
8164 ($(objpfx)tst-stack3-mem): Likewise.
8165 (generated): Likewise.
8166 * posix/Makefile (generated): Likewise.
8167 (tests-special): Likewise.
8168 (xtests-special): Likewise.
8169 ($(objpfx)tst-fnmatch-mem): Likewise.
8170 ($(objpfx)bug-regex2-mem): Likewise.
8171 ($(objpfx)bug-regex14-mem): Likewise.
8172 ($(objpfx)bug-regex21-mem): Likewise.
8173 ($(objpfx)bug-regex31-mem): Likewise.
8174 ($(objpfx)tst-vfork3-mem): Likewise.
8175 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8176 ($(objpfx)tst-pcre-mem): Likewise.
8177 ($(objpfx)tst-boost-mem): Likewise.
8178 ($(objpfx)bug-ga2-mem): Likewise.
8179 ($(objpfx)bug-glob2-mem): Likewise.
8180 * resolv/Makefile (generate): Likewise.
8181 (tests-special): Likewise.
8182 (xtests-special): Likewise.
8183 (generated): Likewise.
8184 ($(objpfx)mtrace-tst-leaks): Likewise.
8185 ($(objpfx)mtrace-tst-leaks2): Likewise.
8186
265d52ab
JM
8187 * scripts/merge-test-results.sh: New file.
8188 * Makefile (tests-special-notdir): New variable.
8189 (tests): Run merge-test-results.sh.
8190 (xtests): Likewise.
8191 * Rules (tests-special-notdir): New variable.
8192 (xtests-special-notdir): Likewise.
8193 (tests): Run merge-test-results.sh
8194 (xtests): Likewise.
8195
54ee292d
JM
8196 * Makeconfig (test-xfail-name): New variable.
8197 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8198 compute variable name for expected failures.
8199 * conform/Makefile (conformtest-headers-data): New variable.
8200 (conformtest-standards): Likewise.
8201 (conformtest-headers-ISO): Likewise.
8202 (conformtest-headers-ISO99): Likewise.
8203 (conformtest-headers-ISO11): Likewise.
8204 (conformtest-headers-POSIX): Likewise.
8205 (conformtest-headers-XPG3): Likewise.
8206 (conformtest-headers-XPG4): Likewise.
8207 (conformtest-headers-UNIX98): Likewise.
8208 (conformtest-headers-XOPEN2K): Likewise.
8209 (conformtest-headers-POSIX2008): Likewise.
8210 (conformtest-headers-XOPEN2K8): Likewise.
8211 (conformtest-header-list-base): Likewise.
8212 (conformtest-header-list-tests): Likewise.
8213 (conformtest-header-base): Likewise.
8214 (conformtest-header-tests): Likewise.
8215 (tests-special): Add $(conformtest-header-list-tests). If
8216 [$(fast-check) && !$(cross-compiling)], add
8217 $(conformtest-header-tests) instead of
8218 $(objpfx)run-conformtest.out.
8219 (generated): Add $(conformtest-header-list-base). If
8220 [$(fast-check) && !$(cross-compiling)], add
8221 $(conformtest-header-base). Remove previous setting.
8222 ($(conformtest-header-list-tests)): New target.
8223 (test-xfail-run-conformtest): Remove variable.
8224 ($(objpfx)run-conformtest.out): Remove target.
8225 (test-xfail-ISO11/complex.h/conform): New variable.
8226 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8227 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8228 (test-xfail-XPG3/varargs.h/conform): Likewise.
8229 (test-xfail-XPG4/varargs.h/conform): Likewise.
8230 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8231 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8232 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8233 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8234 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8235 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8236 (test-xfail-XPG3/ftw.h/conform): Likewise.
8237 (test-xfail-XPG3/grp.h/conform): Likewise.
8238 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8239 (test-xfail-XPG3/limits.h/conform): Likewise.
8240 (test-xfail-XPG3/pwd.h/conform): Likewise.
8241 (test-xfail-XPG3/search.h/conform): Likewise.
8242 (test-xfail-XPG3/signal.h/conform): Likewise.
8243 (test-xfail-XPG3/stdio.h/conform): Likewise.
8244 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8245 (test-xfail-XPG3/string.h/conform): Likewise.
8246 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8247 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8248 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8249 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8250 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8251 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8252 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8253 (test-xfail-XPG3/termios.h/conform): Likewise.
8254 (test-xfail-XPG3/time.h/conform): Likewise.
8255 (test-xfail-XPG3/unistd.h/conform): Likewise.
8256 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8257 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8258 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8259 (test-xfail-XPG4/netdb.h/conform): Likewise.
8260 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8261 (test-xfail-XPG4/signal.h/conform): Likewise.
8262 (test-xfail-XPG4/stdio.h/conform): Likewise.
8263 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8264 (test-xfail-XPG4/stropts.h/conform): Likewise.
8265 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8266 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8267 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8268 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8269 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8270 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8271 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8272 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8273 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8274 (test-xfail-XPG4/termios.h/conform): Likewise.
8275 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8276 (test-xfail-XPG4/unistd.h/conform): Likewise.
8277 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8278 (test-xfail-POSIX/sched.h/conform): Likewise.
8279 (test-xfail-POSIX/signal.h/conform): Likewise.
8280 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8281 (test-xfail-POSIX/tar.h/conform): Likewise.
8282 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8283 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8284 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8285 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8286 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8287 (test-xfail-UNIX98/sched.h/conform): Likewise.
8288 (test-xfail-UNIX98/signal.h/conform): Likewise.
8289 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8290 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8291 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8292 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8293 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8294 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8295 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8296 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8297 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8298 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8299 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8300 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8301 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8302 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8303 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8304 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8305 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8306 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8307 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8308 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8309 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8310 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8311 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8312 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8313 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8314 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8315 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8316 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8317 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8318 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8319 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8320 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8321 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8322 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8323 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8324 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8325 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8326 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8327 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8328 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8329 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8330 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8331 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8332 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8333 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8334 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8335 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8336 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8337 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8338 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8339 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8340 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8341 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8342 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8343 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8344 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8345 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8346 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8347 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8348 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8349 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8350 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8351 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8352 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8353 (conformtest-cc-flags): Likewise.
8354 ($(conformtest-header-tests): New target.
8355 * conform/check-header-lists.sh: New file.
8356 * conform/run-conformtest.sh: Remove.
8357
a00f522a
JM
8358 * conform/conformtest.pl: Allow ' and \ in values given for
8359 constants.
8360 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8361 inclusion.
8362 [POSIX] (sys/types.h): Likewise.
8363 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8364 inclusion.
8365 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8366 inclusion.
8367 * conform/data/signal.h-data (SIGIO): Remove expectation.
8368 [XPG3] (SIGBUS): Do not expect.
8369 [POSIX || XPG3] (SIGPOLL): Likewise.
8370 [POSIX || XPG3] (SIGPROF): Likewise.
8371 [POSIX || XPG3] (SIGSYS): Likewise.
8372 [XPG3] (SIGTRAP): Likewise.
8373 [POSIX || XPG3] (SIGURG): Likewise.
8374 [POSIX || XPG3] (SIGVTALRM): Likewise.
8375 [POSIX || XPG3] (SIGXCPU): Likewise.
8376 [POSIX || XPG3] (SIGXFSZ): Likewise.
8377 [POSIX] (SA_SIGINFO): Expect.
8378 [XPG3] (siginfo_t): Do not expect type or contents.
8379 [POSIX] (si_pid): Do not expect element.
8380 [POSIX] (si_uid): Likewise.
8381 [POSIX] (si_addr): Likewise.
8382 [POSIX] (si_status): Likewise.
8383 [POSIX] (si_band): Likewise.
8384 [XPG4] (si_value): Likewise.
8385 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8386 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8387 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8388 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8389 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8390 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8391 [POSIX || XPG3] (ILL_COPROC): Likewise.
8392 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8393 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8394 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8395 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8396 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8397 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8398 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8399 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8400 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8401 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8402 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8403 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8404 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8405 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8406 [POSIX || XPG3] (CLD_EXITED): Likewise.
8407 [POSIX || XPG3] (CLD_KILLED): Likewise.
8408 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8409 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8410 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8411 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8412 [POSIX || XPG3] (POLL_IN): Likewise.
8413 [POSIX || XPG3] (POLL_OUT): Likewise.
8414 [POSIX || XPG3] (POLL_MSG): Likewise.
8415 [POSIX || XPG3] (POLL_ERR): Likewise.
8416 [POSIX || XPG3] (POLL_PRI): Likewise.
8417 [POSIX || XPG3] (POLL_HUP): Likewise.
8418 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8419 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8420 (SIG*): Do not allow.
8421 [XPG3] (si_*): Likewise.
8422 [XPG3] (SI_*): Likewise.
8423 [XPG3 || XPG4] (sigev_*): Likewise.
8424 [XPG3 || XPG4] (SIGEV_*): Likewise.
8425 [XPG3 || XPG4] (sival_*): Likewise.
8426 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8427 [POSIX || XPG3] (BUS_*): Likewise.
8428 [POSIX || XPG3] (CLD_*): Likewise.
8429 [POSIX || XPG3] (FPE_*): Likewise.
8430 [POSIX || XPG3] (ILL_*): Likewise.
8431 [POSIX || XPG3] (POLL_*): Likewise.
8432 [POSIX || XPG3] (SEGV_*): Likewise.
8433 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8434 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8435 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8436 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8437 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8438 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8439 Specify type and value.
8440 (TVERSLEN): Likewise.
8441 (REGTYPE): Likewise.
8442 (AREGTYPE): Likewise.
8443 (LNKTYPE): Likewise.
8444 (SYMTYPE): Likewise.
8445 (CHRTYPE): Likewise.
8446 (BLKTYPE): Likewise.
8447 (DIRTYPE): Likewise.
8448 (FIFOTYPE): Likewise.
8449 (CONTTYPE): Likewise.
8450 (TSUID): Likewise.
8451 (TSGID): Likewise.
8452 (TSVTX): Likewise.
8453 (TUREAD): Likewise.
8454 (TUWRITE): Likewise.
8455 (TUEXEC): Likewise.
8456 (TGREAD): Likewise.
8457 (TGWRITE): Likewise.
8458 (TGEXEC): Likewise.
8459 (TOREAD): Likewise.
8460 (TOWRITE): Likewise.
8461 (TOEXEC): Likewise.
8462 [POSIX] (TSVTX): Expect constant.
8463
aa97dee1
JM
84642014-03-06 Joseph Myers <joseph@codesourcery.com>
8465
f214606a
JM
8466 * Makefile (tests): Change dependencies to ....
8467 (tests-special): ... additions to this variable.
8468 (tests): Depend on $(tests-special).
8469 * Makerules (check-abi-list): New variable.
8470 (check-abi): Depend on $(check-abi-list).
8471 [$(subdir) = elf] (tests-special): Add
8472 $(objpfx)check-abi-libc.out.
8473 [$(build-shared) = yes && subdir] (tests-special): Add
8474 $(check-abi-list).
8475 [$(build-shared) = yes && subdir] (tests): Do not depend on
8476 check-abi.
8477 * Rules (tests): Depend on $(tests-special).
8478 (xtests): Depend on $(xtests-special).
8479 * catgets/Makefile (tests): Change dependencies to ....
8480 (tests-special): ... additions to this variable.
8481 * conform/Makefile (tests): Change dependencies to ....
8482 (tests-special): ... additions to this variable.
8483 * elf/Makefile (tests): Change dependencies to ....
8484 (tests-special): ... additions to this variable.
8485 * grp/Makefile (tests): Change dependencies to ....
8486 (tests-special): ... additions to this variable.
8487 * iconv/Makefile (xtests): Change dependencies to ....
8488 (xtests-special): ... additions to this variable.
8489 * iconvdata/Makefile (tests): Change dependencies to ....
8490 (tests-special): ... additions to this variable.
8491 * intl/Makefile (tests): Change dependencies to ....
8492 (tests-special): ... additions to this variable. Also add
8493 $(objpfx)tst-gettext.out.
8494 * io/Makefile (tests): Change dependencies to ....
8495 (tests-special): ... additions to this variable.
8496 * libio/Makefile (tests): Change dependencies to ....
8497 (tests-special): ... additions to this variable.
8498 * malloc/Makefile (tests): Change dependencies to ....
8499 (tests-special): ... additions to this variable.
8500 * misc/Makefile (tests): Change dependencies to ....
8501 (tests-special): ... additions to this variable.
8502 * nptl/Makefile (tests): Change dependencies to ....
8503 (tests-special): ... additions to this variable.
8504 * nptl_db/Makefile (tests): Change dependencies to ....
8505 (tests-special): ... additions to this variable.
8506 * posix/Makefile (tests): Change dependencies to ....
8507 (tests-special): ... additions to this variable.
8508 (xtests): Change dependencies to ....
8509 (xtests-special): ... additions to this variable.
8510 * resolv/Makefile (tests): Change dependencies to ....
8511 (tests-special): ... additions to this variable.
8512 (xtests): Change dependencies to ....
8513 (xtests-special): ... additions to this variable.
8514 * stdio-common/Makefile (tests): Change dependencies to ....
8515 (tests-special): ... additions to this variable.
8516 (do-tst-unbputc): Remove target.
8517 (do-tst-printf): Likewise.
8518 * stdlib/Makefile (tests): Change dependencies to ....
8519 (tests-special): ... additions to this variable.
8520 * string/Makefile (tests): Change dependencies to ....
8521 (tests-special): ... additions to this variable.
8522 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8523 (tests-special): ... additions to this variable.
8524
81700b53
JM
8525 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8526 whole file.
8527 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8528 whole file.
8529 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8530 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8531
2ea18461
JM
8532 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8533 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8534 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8535 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8536 * conform/data/libgen.h-data [XPG3]: Likewise.
8537 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8538 * conform/data/ndbm.h-data [XPG3]: Likewise.
8539 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8540 * conform/data/netdb.h-data [XPG3]: Likewise.
8541 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8542 * conform/data/poll.h-data [XPG3]: Likewise.
8543 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8544 * conform/data/strings.h-data [XPG3]: Likewise.
8545 * conform/data/stropts.h-data [XPG3]: Likewise.
8546 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8547 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8548 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8549 Likewise.
8550 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8551 * conform/data/sys/time.h-data [XPG3]: Likewise.
8552 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8553 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8554 * conform/data/sys/un.h-data [XPG3]: Likewise.
8555 * conform/data/syslog.h-data [XPG3]: Likewise.
8556 * conform/data/ucontext.h-data [XPG3]: Likewise.
8557 * conform/data/utmpx.h-data [XPG3]: Likewise.
8558 * conform/data/varargs.h-data [UNIX98]: Enable file.
8559
355bc986
JM
8560 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8561
215db402
JM
8562 * math/libm-test.inc (struct test_f_f_data): Move expected results
8563 into structure for each rounding mode.
8564 (struct test_ff_f_data): Likewise.
8565 (struct test_ff_f_data_nexttoward): Likewise.
8566 (struct test_fi_f_data): Likewise.
8567 (struct test_fl_f_data): Likewise.
8568 (struct test_if_f_data): Likewise.
8569 (struct test_fff_f_data): Likewise.
8570 (struct test_c_f_data): Likewise.
8571 (struct test_f_f1_data): Likewise.
8572 (struct test_fF_f1_data): Likewise.
8573 (struct test_ffI_f1_data): Likewise.
8574 (struct test_c_c_data): Likewise.
8575 (struct test_cc_c_data): Likewise.
8576 (struct test_f_i_data): Likewise.
8577 (struct test_ff_i_data): Likewise.
8578 (struct test_f_l_data): Likewise.
8579 (struct test_f_L_data): Likewise.
8580 (struct test_fFF_11_data): Likewise.
8581 (RM_): New macro.
8582 (RM_FE_DOWNWARD): Likewise.
8583 (RM_FE_TONEAREST): Likewise.
8584 (RM_FE_TOWARDZERO): Likewise.
8585 (RM_FE_UPWARD): Likewise.
8586 (RUN_TEST_LOOP_f_f): Update references to expected results.
8587 (RUN_TEST_LOOP_2_f): Likewise.
8588 (RUN_TEST_LOOP_fff_f): Likewise.
8589 (RUN_TEST_LOOP_c_f): Likewise.
8590 (RUN_TEST_LOOP_f_f1): Likewise.
8591 (RUN_TEST_LOOP_fF_f1): Likewise.
8592 (RUN_TEST_LOOP_fI_f1): Likewise.
8593 (RUN_TEST_LOOP_ffI_f1): Likewise.
8594 (RUN_TEST_LOOP_c_c): Likewise.
8595 (RUN_TEST_LOOP_cc_c): Likewise.
8596 (RUN_TEST_LOOP_f_i): Likewise.
8597 (RUN_TEST_LOOP_f_i_tg): Likewise.
8598 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8599 (RUN_TEST_LOOP_f_b): Likewise.
8600 (RUN_TEST_LOOP_f_b_tg): Likewise.
8601 (RUN_TEST_LOOP_f_l): Likewise.
8602 (RUN_TEST_LOOP_f_L): Likewise.
8603 (RUN_TEST_LOOP_fFF_11): Likewise.
8604 * math/gen-libm-test.pl (parse_args): Output four copies of
8605 expected results for each test.
8606
67737b8f
JM
8607 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8608 (__ASSUME_UTIMES): Remove.
8609 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8610 (__ASSUME_UTIMES): Likewise.
8611
aa97dee1
JM
8612 * math/gen-auto-libm-tests.c: Update comment on output format.
8613 (output_for_one_input_case): Generate before-rounding and
8614 after-rounding information as conditions on output flags not
8615 floating-point format.
8616 * math/auto-libm-test-out: Regenerated.
8617 * math/gen-libm-test.pl (cond_value): New function.
8618 (or_cond_value): Use cond_value.
8619 (generate_testfile): Handle conditional exceptions.
8620
e6b6a857
JM
86212014-03-05 Joseph Myers <joseph@codesourcery.com>
8622
2f0a0f44
JM
8623 * math/libm-test.inc (max_valid_error): New variable.
8624 (init_max_error): Take new argument specifying whether function
8625 results are exactly determined. Set max_valid_error and bound
8626 other variables for errors based on this argument.
8627 (set_max_error): Do not record results above max_valid_error.
8628 (check_float_internal): Only accept errors of up to 0.5ulps if
8629 also at most max_valid_error.
8630 (START): Take new argument EXACT and pass it to init_max_error.
8631 (acos_test): Update call to START.
8632 (acos_test_tonearest): Likewise.
8633 (acos_test_towardzero): Likewise.
8634 (acos_test_downward): Likewise.
8635 (acos_test_upward): Likewise.
8636 (acosh_test): Likewise.
8637 (asin_test): Likewise.
8638 (asin_test_tonearest): Likewise.
8639 (asin_test_towardzero): Likewise.
8640 (asin_test_downward): Likewise.
8641 (asin_test_upward): Likewise.
8642 (asinh_test): Likewise.
8643 (atan_test): Likewise.
8644 (atanh_test): Likewise.
8645 (atan2_test): Likewise.
8646 (cabs_test): Likewise.
8647 (cacos_test): Likewise.
8648 (cacosh_test): Likewise.
8649 (carg_test): Likewise.
8650 (casin_test): Likewise.
8651 (casinh_test): Likewise.
8652 (catan_test): Likewise.
8653 (catanh_test): Likewise.
8654 (cbrt_test): Likewise.
8655 (ccos_test): Likewise.
8656 (ccosh_test): Likewise.
8657 (ceil_test): Likewise.
8658 (cexp_test): Likewise.
8659 (cimag_test): Likewise.
8660 (clog_test): Likewise.
8661 (clog10_test): Likewise.
8662 (conj_test): Likewise.
8663 (copysign_test): Likewise.
8664 (cos_test): Likewise.
8665 (cos_test_tonearest): Likewise.
8666 (cos_test_towardzero): Likewise.
8667 (cos_test_downward): Likewise.
8668 (cos_test_upward): Likewise.
8669 (cosh_test): Likewise.
8670 (cosh_test_tonearest): Likewise.
8671 (cosh_test_towardzero): Likewise.
8672 (cosh_test_downward): Likewise.
8673 (cosh_test_upward): Likewise.
8674 (cpow_test): Likewise.
8675 (cproj_test): Likewise.
8676 (creal_test): Likewise.
8677 (csin_test): Likewise.
8678 (csinh_test): Likewise.
8679 (csqrt_test): Likewise.
8680 (ctan_test): Likewise.
8681 (ctan_test_tonearest): Likewise.
8682 (ctan_test_towardzero): Likewise.
8683 (ctan_test_downward): Likewise.
8684 (ctan_test_upward): Likewise.
8685 (ctanh_test): Likewise.
8686 (ctanh_test_tonearest): Likewise.
8687 (ctanh_test_towardzero): Likewise.
8688 (ctanh_test_downward): Likewise.
8689 (ctanh_test_upward): Likewise.
8690 (erf_test): Likewise.
8691 (erfc_test): Likewise.
8692 (exp_test): Likewise.
8693 (exp_test_tonearest): Likewise.
8694 (exp_test_towardzero): Likewise.
8695 (exp_test_downward): Likewise.
8696 (exp_test_upward): Likewise.
8697 (exp10_test): Likewise.
8698 (exp10_test_tonearest): Likewise.
8699 (exp10_test_towardzero): Likewise.
8700 (exp10_test_downward): Likewise.
8701 (exp10_test_upward): Likewise.
8702 (pow10_test): Likewise.
8703 (exp2_test): Likewise.
8704 (expm1_test): Likewise.
8705 (expm1_test_tonearest): Likewise.
8706 (expm1_test_towardzero): Likewise.
8707 (expm1_test_downward): Likewise.
8708 (expm1_test_upward): Likewise.
8709 (fabs_test): Likewise.
8710 (fdim_test): Likewise.
8711 (floor_test): Likewise.
8712 (fma_test): Likewise.
8713 (fma_test_towardzero): Likewise.
8714 (fma_test_downward): Likewise.
8715 (fma_test_upward): Likewise.
8716 (fmax_test): Likewise.
8717 (fmin_test): Likewise.
8718 (fmod_test): Likewise.
8719 (fpclassify_test): Likewise.
8720 (frexp_test): Likewise.
8721 (hypot_test): Likewise.
8722 (ilogb_test): Likewise.
8723 (isfinite_test): Likewise.
8724 (finite_test): Likewise.
8725 (isgreater_test): Likewise.
8726 (isgreaterequal_test): Likewise.
8727 (isinf_test): Likewise.
8728 (isless_test): Likewise.
8729 (islessequal_test): Likewise.
8730 (islessgreater_test): Likewise.
8731 (isnan_test): Likewise.
8732 (isnormal_test): Likewise.
8733 (issignaling_test): Likewise.
8734 (isunordered_test): Likewise.
8735 (j0_test): Likewise.
8736 (j1_test): Likewise.
8737 (jn_test): Likewise.
8738 (ldexp_test): Likewise.
8739 (lgamma_test): Likewise.
8740 (gamma_test): Likewise.
8741 (lrint_test): Likewise.
8742 (lrint_test_tonearest): Likewise.
8743 (lrint_test_towardzero): Likewise.
8744 (lrint_test_downward): Likewise.
8745 (lrint_test_upward): Likewise.
8746 (llrint_test): Likewise.
8747 (llrint_test_tonearest): Likewise.
8748 (llrint_test_towardzero): Likewise.
8749 (llrint_test_downward): Likewise.
8750 (llrint_test_upward): Likewise.
8751 (log_test): Likewise.
8752 (log10_test): Likewise.
8753 (log1p_test): Likewise.
8754 (log2_test): Likewise.
8755 (logb_test): Likewise.
8756 (logb_test_downward): Likewise.
8757 (lround_test): Likewise.
8758 (llround_test): Likewise.
8759 (modf_test): Likewise.
8760 (nearbyint_test): Likewise.
8761 (nextafter_test): Likewise.
8762 (nexttoward_test): Likewise.
8763 (pow_test): Likewise.
8764 (pow_test_tonearest): Likewise.
8765 (pow_test_towardzero): Likewise.
8766 (pow_test_downward): Likewise.
8767 (pow_test_upward): Likewise.
8768 (remainder_test): Likewise.
8769 (drem_test): Likewise.
8770 (remainder_test_tonearest): Likewise.
8771 (drem_test_tonearest): Likewise.
8772 (remainder_test_towardzero): Likewise.
8773 (drem_test_towardzero): Likewise.
8774 (remainder_test_downward): Likewise.
8775 (drem_test_downward): Likewise.
8776 (remainder_test_upward): Likewise.
8777 (drem_test_upward): Likewise.
8778 (remquo_test): Likewise.
8779 (rint_test): Likewise.
8780 (rint_test_tonearest): Likewise.
8781 (rint_test_towardzero): Likewise.
8782 (rint_test_downward): Likewise.
8783 (rint_test_upward): Likewise.
8784 (round_test): Likewise.
8785 (scalb_test): Likewise.
8786 (scalbn_test): Likewise.
8787 (scalbln_test): Likewise.
8788 (signbit_test): Likewise.
8789 (sin_test): Likewise.
8790 (sin_test_tonearest): Likewise.
8791 (sin_test_towardzero): Likewise.
8792 (sin_test_downward): Likewise.
8793 (sin_test_upward): Likewise.
8794 (sincos_test): Likewise.
8795 (sinh_test): Likewise.
8796 (sinh_test_tonearest): Likewise.
8797 (sinh_test_towardzero): Likewise.
8798 (sinh_test_downward): Likewise.
8799 (sinh_test_upward): Likewise.
8800 (sqrt_test): Likewise.
8801 (sqrt_test_tonearest): Likewise.
8802 (sqrt_test_towardzero): Likewise.
8803 (sqrt_test_downward): Likewise.
8804 (sqrt_test_upward): Likewise.
8805 (tan_test): Likewise.
8806 (tan_test_tonearest): Likewise.
8807 (tan_test_towardzero): Likewise.
8808 (tan_test_downward): Likewise.
8809 (tan_test_upward): Likewise.
8810 (tanh_test): Likewise.
8811 (tgamma_test): Likewise.
8812 (trunc_test): Likewise.
8813 (y0_test): Likewise.
8814 (y1_test): Likewise.
8815 (yn_test): Likewise.
8816 (significand_test): Likewise.
8817
e6b6a857
JM
8818 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8819 individual tests in comment.
8820 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8821 (prev_max_error): New variable.
8822 (prev_real_max_error): Likewise.
8823 (prev_imag_max_error): Likewise.
8824 (compare_ulp_data): Don't refer to test names in comment.
8825 (find_test_ulps): Remove function.
8826 (find_function_ulps): Likewise.
8827 (find_complex_function_ulps): Likewise.
8828 (init_max_error): Take function name as argument. Look up ulps
8829 for that function.
8830 (print_ulps): Remove function.
8831 (print_max_error): Use prev_max_error instead of calling
8832 find_function_ulps.
8833 (print_complex_max_error): Use prev_real_max_error and
8834 prev_imag_max_error instead of calling find_complex_function_ulps.
8835 (check_float_internal): Take max_ulp parameter instead of calling
8836 find_test_ulps. Don't call print_ulps.
8837 (check_float): Update call to check_float_internal.
8838 (check_complex): Update calls to check_float_internal.
8839 (START): Pass argument to init_max_error.
8840 * math/gen-libm-test.pl (%results): Don't include "kind"
8841 information.
8842 (parse_ulps): Don't handle ulps of individual tests.
8843 (print_ulps_file): Likewise.
8844 (output_ulps): Likewise.
8845 * math/README.libm-test: Update.
8846 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8847 individual tests.
8848 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8849 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8850 * sysdeps/arm/libm-test-ulps: Likewise.
8851 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8852 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8853 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8854 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8855 * sysdeps/microblaze/libm-test-ulps: Likewise.
8856 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8857 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8859 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8861 * sysdeps/sh/libm-test-ulps: Likewise.
8862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8863 * sysdeps/tile/libm-test-ulps: Likewise.
8864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8865
45adef3c
JM
88662014-03-04 Joseph Myers <joseph@codesourcery.com>
8867
8868 * math/libm-test.inc (print_complex_max_error): Check separately
8869 whether real and imaginary errors are within allowed range and
8870 pass 0 to print_complex_function_ulps instead of value within
8871 allowed range.
8872
000232b9
SP
88732014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8874
d4b17258
SP
8875 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8876 formatting.
8877 (get_handles_fopen): Likewise.
8878 (do_write_test): Likewise.
8879
091eff71
SP
8880 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8881
fa3cd248
SP
8882 * libio/fileops.c (do_ftell): Use cached offset when
8883 available.
8884 * libio/iofwide.c (do_ftell_wide): Likewise.
8885 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8886 _IO_file_attach.
8887 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8888
000232b9
SP
8889 [BZ #16532]
8890 * libio/libioP.h (get_file_offset): New function.
8891 * libio/fileops.c (get_file_offset): Likewise.
8892 (do_ftell): Likewise.
8893 (_IO_new_file_seekoff): Split out ftell logic.
8894 * libio/wfileops.c (do_ftell_wide): Likewise.
8895 (_IO_wfile_seekoff): Split out ftell logic.
8896 * libio/tst-ftell-active-handler.c: New test case.
8897 * libio/Makefile (tests): Add it.
8898
116f4d1a
RM
88992014-03-03 Roland McGrath <roland@hack.frob.com>
8900
8901 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8902 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8903
532a6035
SP
89042014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8905
8906 [BZ #16639]
8907 * nscd/connections.c (nscd_init): Call do_exit.
8908 (start_threads): Call do_exit and notify_parent.
8909 (begin_drop_privileges): Call do_exit.
8910 (finish_drop_privileges): Likewise.
8911 * nscd/selinux.c (preserve_capabilities): Likewise.
8912 (install_real_capabilities): Likewise.
8913 (nscd_selinux_enabled): Likewise.
8914 (avc_create_thread): Likewise.
8915 (avc_alloc_lock): Likewise.
8916 (nscd_avc_init): Likewise.
8917 * nscd/nscd.c (parent_fd): New static variable.
8918 (main): Create a pipe between parent and child processes.
8919 Skip closing parent_fd.
8920 (monitor_child): New function.
8921 (do_exit): Likewise.
8922 (notify_parent): Likewise.
8923 * nscd/nscd.h (notify_parent): Likewise.
8924 (do_exit): Likewise.
8925
d6285c9f
CD
89262014-03-03 Carlos O'Donell <carlos@redhat.com>
8927
8928 * malloc/malloc.c (__libc_calloc): Revert last change.
8929
2b85d2a0
AZ
89302014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931
8932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8933
c7debbdf
RS
89342014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8935
8936 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8938 implementation.
8939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8940 (__libc_ifunc_impl_list): Likewise.
8941 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8942 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8943 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8944 * string/strrchr.c: Define STRRCHR.
8945
235eed86
OB
89462014-02-28 Ondřej Bílka <neleai@seznam.cz>
8947
8948 * benchtest/bench-strtok.c (simple_strtok): Delete.
8949 (strtok_string): Use as benchmark.
8950 * string/strtok (STRTOK): New macro.
8951
8e25d1e7
CD
89522014-02-28 Carlos O'Donell <carlos@redhat.com>
8953
ef563f92
CD
8954 * manual/threads.texi: Add header and standard comments to all
8955 functions.
8956
8e25d1e7
CD
8957 * elf/dl-lookup.c (check_match): New function.
8958 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8959 (do_lookup_x): Remove nested function check_match. Use non-nested
8960 function check_match.
8961
ff71cc37
RM
89622014-02-28 Roland McGrath <roland@hack.frob.com>
8963
f08e9a26
RM
8964 * csu/Makefile (generated, before-compile): Use += rather than =.
8965 * catgets/Makefile (generated, generated-dirs): Likewise.
8966 * debug/Makefile (generated): Likewise.
8967 * dlfcn/Makefile (generated): Likewise.
8968 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8969 * iconvdata/Makefile (before-compile, generated): Likewise.
8970 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8971 * libio/Makefile (generated): Likewise.
8972 * malloc/Makefile (generated): Likewise.
8973 * manual/Makefile (generated, generated-dirs): Likewise.
8974 * misc/Makefile (generated): Likewise.
8975 * posix/Makefile (generated): Likewise.
8976 * resolv/Makefile (generated): Likewise.
8977 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8978 * timezone/Makefile (generated, generated-dirs): Likewise.
8979
ff71cc37
RM
8980 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8981
fe13a20c
AZ
89822014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983
57f41c40
AS
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8985 power8 implementation.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8987 file: POWER8 llround ifunc implementation.
8988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8989 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8990 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8991 POWER8 llround implementation.
8992
57f41c40
AS
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8994 power8 implementation.
8995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8996 file: POWER8 llrint ifunc implementation.
8997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8998 Add POWER8 implementation.
1ad8950a
AZ
8999 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9000 POWER8 llrint implementation.
9001
57f41c40
AS
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9003 power8 implementation.
9004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9005 file: POWER8 finite ifunc implementation.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9007 Add POWER8 implementation.
cac626d6
AZ
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9009 Likewise.
9010 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9011 POWER8 finite implementation.
9012 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9013
57f41c40
AS
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9015 power8 implementation.
9016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9017 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9019 POWER8 implementation.
9020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9021 Likewise.
57f41c40
AS
9022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9023 isinf implementation.
4393fc11
AZ
9024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9025
57f41c40
AS
9026 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9027 (INIT_ARCH): Add hwcap2 initialization.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9029 power8 implementation.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9031 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9033 POWER8 implementation.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9035 Likewise.
57f41c40
AS
9036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9037 isnan implementation.
487972ae
AZ
9038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9039
7d92b787
JY
90402014-02-27 Joey Ye <joey.ye@arm.com>
9041
9042 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9043 (_FP_NANFRAC_Q): Set to zero.
9044
1cadc858
SP
90452014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 [BZ #16623]
9048 * math/auto-libm-test-in: New test inputs.
9049 * math/auto-libm-test-out: Regenerate.
9050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9051 and DA.
9052 (__cos): Likewise.
9053 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9054
f8c17e79
JM
90552014-02-27 Joseph Myers <joseph@codesourcery.com>
9056
9057 * scripts/evaluate-test.sh: Take new argument indicating whether
9058 failure is expected.
9059 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9060 indicating whether failure is expected.
9061 * conform/Makefile (test-xfail-run-conformtest): New variable.
9062 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9063 level.
9064 * posix/Makefile (test-xfail-annexc): New variable.
9065 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9066
a5f891ac
JM
90672014-02-26 Joseph Myers <joseph@codesourcery.com>
9068
9069 * argp/Makefile: Include Makeconfig immediately after defining
9070 subdir.
9071 * assert/Makefile: Likewise.
9072 * benchtests/Makefile: Likewise.
9073 * catgets/Makefile: Likewise.
9074 * conform/Makefile: Likewise.
9075 * crypt/Makefile: Likewise.
9076 * csu/Makefile: Likewise.
9077 (all): Remove target.
9078 * ctype/Makefile: Include Makeconfig immediately after defining
9079 subdir.
9080 * debug/Makefile: Likewise.
9081 * dirent/Makefile: Likewise.
9082 * dlfcn/Makefile: Likewise.
9083 * gmon/Makefile: Likewise.
9084 * gnulib/Makefile: Likewise.
9085 * grp/Makefile: Likewise.
9086 * gshadow/Makefile: Likewise.
9087 * hesiod/Makefile: Likewise.
9088 * hurd/Makefile: Likewise.
9089 (all): Remove target.
9090 * iconvdata/Makefile: Include Makeconfig immediately after
9091 defining subdir.
9092 * inet/Makefile: Likewise.
9093 * intl/Makefile: Likewise.
9094 * io/Makefile: Likewise.
9095 * libio/Makefile: Likewise.
9096 (all): Remove target.
9097 * locale/Makefile: Include Makeconfig immediately after defining
9098 subdir.
9099 * login/Makefile: Likewise.
9100 * mach/Makefile: Likewise.
9101 (all): Remove target.
9102 * malloc/Makefile: Include Makeconfig immediately after defining
9103 subdir.
9104 (all): Remove target.
9105 * manual/Makefile: Include Makeconfig immediately after defining
9106 subdir.
9107 * math/Makefile: Likewise.
9108 * misc/Makefile: Likewise.
9109 * nis/Makefile: Likewise.
9110 * nss/Makefile: Likewise.
9111 * po/Makefile: Likewise.
9112 (all): Remove target.
9113 * posix/Makefile: Include Makeconfig immediately after defining
9114 subdir.
9115 * pwd/Makefile: Likewise.
9116 * resolv/Makefile: Likewise.
9117 * resource/Makefile: Likewise.
9118 * rt/Makefile: Likewise.
9119 * setjmp/Makefile: Likewise.
9120 * shadow/Makefile: Likewise.
9121 * signal/Makefile: Likewise.
9122 * socket/Makefile: Likewise.
9123 * soft-fp/Makefile: Likewise.
9124 * stdio-common/Makefile: Likewise.
9125 * stdlib/Makefile: Likewise.
9126 * streams/Makefile: Likewise.
9127 * string/Makefile: Likewise.
9128 * sunrpc/Makefile: Likewise.
9129 (all): Remove target.
9130 * sysvipc/Makefile: Include Makeconfig immediately after defining
9131 subdir.
9132 * termios/Makefile: Likewise.
9133 * time/Makefile: Likewise.
9134 * timezone/Makefile: Likewise.
9135 (all): Remove target.
9136 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9137 subdir.
9138 * wctype/Makefile: Likewise.
9139
5b456e9d
SE
91402014-02-26 Steve Ellcey <sellcey@mips.com>
9141
9142 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9143 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9144 (libc_feholdexcept_setround_mips): Ditto.
9145 (libc_feholdsetround): New.
9146 (libc_feholdsetroundf): New.
9147 (libc_feholdsetroundl): New.
9148 (libc_feupdateenv_test_mips): New.
9149 (libc_feupdateenv_test): New.
9150 (libc_feupdateenv_testf): New.
9151 (libc_feupdateenv_testl): New.
9152 (libc_feresetround): New.
9153 (libc_feresetroundf): New.
9154 (libc_feresetroundl): New.
9155 (libc_fetestexcept_mips): New.
9156 (libc_fetestexcept): New.
9157 (libc_fetestexceptf): New.
9158 (libc_fetestexceptl): New.
9159 (HAVE_RM_CTX): New.
9160 (libc_feholdexcept_setround_mips_ctx): New.
9161 (libc_feholdexcept_setround_ctx): New.
9162 (libc_feholdexcept_setroundf_ctx): New.
9163 (libc_feholdexcept_setroundl_ctx): New.
9164 (libc_fesetenv_mips_ctx): New.
9165 (libc_fesetenv_ctx): New.
9166 (libc_fesetenv_ctxf): New.
9167 (libc_fesetenv_ctxl): New.
9168 (libc_feupdateenv_mips_ctx): New.
9169 (libc_feupdateenv_ctx): New.
9170 (libc_feupdateenvf_ctx): New.
9171 (libc_feupdateenvl_ctx): New.
9172 (libc_feholdsetround_mips_ctx): New.
9173 (libc_feholdsetround_ctx): New.
9174 (libc_feholdsetroundf_ctx): New.
9175 (libc_feholdsetroundl_ctx): New.
9176 (libc_feresetround_mips_ctx): New.
9177 (libc_feresetround_ctx): New.
9178 (libc_feresetroundf_ctx): New.
9179 (libc_feresetroundl_ctx): New.
9180
085d0e35
CD
91812014-02-26 Carlos O'Donell <carlos@redhat.com>
9182
f067bf1f
CD
9183 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9184
085d0e35
CD
9185 * manual/ipc.texi: New file.
9186 * manual/Makefile (chapters): Add ipc.
9187 * manual/job.texi: Add "Inter-Process Communication" to next.
9188 * manual/process.texi: Add "Inter-Process Communication" to prev.
9189
86e58c08
AZ
91902014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9191
9192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9193
4248f0da
OB
91942014-02-26 Ondřej Bílka <neleai@seznam.cz>
9195
9196 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9197
cf822e3c
OB
9198 * manual/arith.texi: Fix spaces after sentences.
9199 * manual/charset.texi: Likewise.
9200 * manual/errno.texi: Likewise.
9201 * manual/install.texi: Likewise.
9202 * manual/llio.texi: Likewise.
9203 * manual/locale.texi: Likewise.
9204 * manual/maint.texi: Likewise.
9205 * manual/math.texi: Likewise.
9206 * manual/memory.texi: Likewise.
9207 * manual/message.texi: Likewise.
9208 * manual/probes.texi: Likewise.
9209 * manual/resource.texi: Likewise.
9210 * manual/signal.texi: Likewise.
9211 * manual/socket.texi: Likewise.
9212 * manual/stdio.texi: Likewise.
9213 * manual/string.texi: Likewise.
9214 * manual/time.texi: Likewise.
9215 * manual/users.texi: Likewise.
9216
ade40b10
CD
92172014-02-25 Carlos O'Donell <carlos@redhat.com>
9218
9219 [BZ #16632]
9220 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9221 _DEFAULT_SOURCE is defined.
9222
d0503676
CD
92232014-02-25 Ulrich Drepper <drepper@gmail.com>
9224 Carlos O'Donell <carlos@redhat.com>
9225
9226 [BZ #16613]
9227 * elf/dl-tls.c (_dl_count_modids): New function.
9228 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9229 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9230 audit library and increment generation counter.
9231 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9232 * elf/tst-audit9.c: New file.
9233 * elf/tst-auditmod9a.c: New file.
9234 * elf/tst-auditmod9b.c: New file.
9235 * elf/Makefile: Add rules to build and run tst-audit9.
9236
4cbf380c
FW
92372014-02-25 Florian Weimer <fweimer@redhat.com>
9238
9239 [BZ #15347]
9240 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9241
80a56cc3
WN
92422014-02-25 Will Newton <will.newton@linaro.org>
9243
9244 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9245 (__longjmp): Restore sp and lr before restoring callee
9246 saved registers. Add longjmp and longjmp_target
9247 SystemTap probe point.
9248 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9249 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9250 Define to zero to match jmpbuf layout.
9251 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9252 (__sigsetjmp): Save sp and lr before saving callee
9253 saved registers. Add setjmp SystemTap probe point.
9254
3ea0f74e
SL
92552014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9256
9257 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9258
b04acb26
AS
92592014-02-24 Andreas Schwab <schwab@suse.de>
9260
9261 [BZ #15804]
9262 * elf/pldd.c (wait_for_ptrace_stop): New function.
9263 (main): Call it after attaching.
9264
098ad55c
RM
92652014-02-22 Roland McGrath <roland@hack.frob.com>
9266
d4ec6ae1
RM
9267 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9268 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9269 Versions files is now verboten.
9270 * hurd/Versions (libc: GLIBC_2.0):
9271 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9272 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9273 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9274 * mach/Versions: Likewise.
9275
098ad55c
RM
9276 * csu/Versions: Remove unused %include.
9277 * resolv/Versions: Likewise.
9278
acd7f096
JM
92792014-02-21 Joseph Myers <joseph@codesourcery.com>
9280
f0881698
JM
9281 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9282 ($(objpfx)check-local-headers.out): Likewise.
9283 ($(objpfx)begin-end-check.out): Likewise.
9284 * Makerules (check-abi-%.out): Likewise.
9285 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9286 ($(objpfx)test2.cat): Likewise.
9287 ($(objpfx)de/libc.cat): Likewise.
9288 ($(objpfx)test-gencat.out): Likewise.
9289 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9290 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9291 ($(objpfx)noload-mem): Likewise.
9292 ($(objpfx)tst-pathopt.out): Likewise.
9293 ($(objpfx)tst-rtld-load-self.out): Likewise.
9294 ($(objpfx)tst-array1-cmp.out): Likewise.
9295 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9296 ($(objpfx)tst-array2-cmp.out): Likewise.
9297 ($(objpfx)tst-array3-cmp.out): Likewise.
9298 ($(objpfx)tst-array4-cmp.out): Likewise.
9299 ($(objpfx)tst-array5-cmp.out): Likewise.
9300 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9301 ($(objpfx)check-textrel.out): Likewise.
9302 ($(objpfx)check-execstack.out): Likewise.
9303 ($(objpfx)check-localplt.out): Likewise.
9304 ($(objpfx)order2-cmp.out): Likewise.
9305 ($(objpfx)tst-leaks1-mem): Likewise.
9306 ($(objpfx)tst-leaks1-static-mem): Likewise.
9307 ($(objpfx)tst-initorder-cmp.out): Likewise.
9308 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9309 ($(objpfx)tst-unused-dep.out): Likewise.
9310 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9311 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9312 * iconv/Makefile (test-iconvconfig): Likewise.
9313 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9314 ($(objpfx)iconv-test.out): Likewise.
9315 ($(objpfx)tst-tables.out): Likewise.
9316 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9317 ($(objpfx)tst-gettext.out): Likewise.
9318 ($(objpfx)tst-translit.out): Likewise.
9319 ($(objpfx)tst-gettext2.out): Likewise.
9320 ($(objpfx)tst-gettext4.out): Likewise.
9321 ($(objpfx)tst-gettext6.out): Likewise.
9322 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9323 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9324 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9325 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9326 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9327 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9328 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9329 ($(objpfx)wordexp-tst.out): Likewise.
9330 ($(objpfx)annexc.out): Likewise.
9331 ($(objpfx)tst-fnmatch-mem): Likewise.
9332 ($(objpfx)bug-regex2-mem): Likewise.
9333 ($(objpfx)bug-regex14-mem): Likewise.
9334 ($(objpfx)bug-regex21-mem): Likewise.
9335 ($(objpfx)bug-regex31-mem): Likewise.
9336 ($(objpfx)tst-vfork3-mem): Likewise.
9337 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9338 ($(objpfx)tst-pcre-mem): Likewise.
9339 ($(objpfx)tst-boost-mem): Likewise.
9340 ($(objpfx)tst-getconf.out): Likewise.
9341 ($(objpfx)bug-ga2-mem): Likewise.
9342 ($(objpfx)bug-glob2-mem): Likewise.
9343 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9344 ($(objpfx)mtrace-tst-leaks2): Likewise.
9345 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9346 ($(objpfx)tst-printf.out): Likewise.
9347 ($(objpfx)tst-setvbuf1.out): Likewise.
9348 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9349 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9350 ($(objpfx)tst-fmtmsg.out): Likewise.
9351 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9352 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9353
acd7f096
JM
9354 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9355 * bits/sigaction.h [__USE_MISC]: Likewise.
9356 * bits/waitstatus.h: Update #endif comments.
9357 * ctype/ctype.h: Likewise.
9358 * dirent/dirent.h: Likewise.
9359 [__USE_MISC]: Remove redundant conditionals.
9360 * grp/grp.h: Update #endif comments.
9361 [__USE_GNU]: Remove redundant conditionals.
9362 [__USE_MISC]: Likewise.
9363 * inet/netinet/in.h [__USE_GNU]: Likewise.
9364 * io/sys/stat.h [__USE_MISC]: Likewise.
9365 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9366 * libio/bits/stdio.h: Update #endif comments.
9367 [__USE_MISC]: Remove redundant conditionals.
9368 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9369 * libio/stdio.h: Update #endif comments.
9370 [__USE_MISC]: Remove redundant conditionals.
9371 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9372 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9373 * math/math.h: Update #else and #endif comments.
9374 [__USE_MISC]: Remove redundant conditionals.
9375 * misc/sys/uio.h: Update #endif comments.
9376 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9377 * posix/glob.h [__USE_MISC]: Likewise.
9378 * posix/sys/types.h: Update #endif comments.
9379 [__USE_MISC]: Remove redundant conditionals.
9380 * posix/sys/wait.h: Update #endif comments.
9381 [__USE_MISC]: Remove redundant conditionals.
9382 * posix/unistd.h: Update #endif comments.
9383 [__USE_MISC]: Remove redundant conditionals.
9384 * pwd/pwd.h [__USE_GNU]: Likewise.
9385 [__USE_MISC]: Likewise.
9386 * resolv/netdb.h [__USE_GNU]: Likewise.
9387 * signal/signal.h: Update #endif comments.
9388 [__USE_MISC]: Remove redundant conditionals.
9389 * stdlib/stdlib.h: Update #else and #endif comments.
9390 [__USE_MISC]: Remove redundant conditionals.
9391 [__USE_GNU]: Likewise.
9392 * string/bits/string2.h [__USE_MISC]: Likewise.
9393 * string/string.h: Update #endif comments.
9394 [__USE_MISC]: Remove redundant conditionals.
9395 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9396 Likewise.
9397 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9398 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9399 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9400 Likewise.
9401 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9402 Likewise.
9403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9404 comments.
9405 [__USE_MISC]: Remove redundant conditionals.
9406 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9407 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9408 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9409 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9410 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9411 Likewise.
9412 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9413 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9414 Likewise.
9415 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9416 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9417 Likewise.
9418 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9419 Likewise.
9420 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9422 Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9424 Likewise.
9425 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9426 * sysdeps/x86/bits/string.h: Update #endif comments.
9427 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9428 conditionals.
9429 * time/sys/time.h: Update #endif comments.
9430 * time/time.h: Likewise.
9431 [__USE_MISC]: Remove redundant conditionals.
9432
a5d82e4e
YG
94332014-02-21 Yury Gribov <y.gribov@samsung.com>
9434
9435 [BZ #16600]
9436 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9437
9a80491d
AS
94382014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9439
9440 * Versions.def (librt): Add GLIBC_2.17.
9441
105fa381
AC
94422014-02-21 Adam Conrad <adconrad@0c3.net>
9443
9444 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9445 synonym for _SYS_AUXV_H to allow direct inclusion.
9446 * sysdeps/sparc/bits/hwcap.h: Likewise.
9447 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9448 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9449 * sysdeps/sparc/sysdep.h: Likewise.
9450
b8cd1c4e
SP
94512014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9452
9453 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9454
bd939d23
RS
94552014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9456
9457 * benchtests/bench-strrchr.c: Print length instead of position.
9458
5d7b57ca
JM
94592014-02-20 Joseph Myers <joseph@codesourcery.com>
9460
bc688c10
JM
9461 [BZ #16611]
9462 * sysdeps/unix/sysv/linux/kernel-features.h
9463 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9464 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9465 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9466 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9467 Likewise.
9468 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9469 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9470 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9471 (__ASSUME_SENDMMSG): Define instead of using previous
9472 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9473 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9474 (__ASSUME_SENDMMSG_SYSCALL): Define.
9475 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9476 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9477 Likewise.
9478 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9479 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9480 Likewise.
9481 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9482 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9483 Likewise.
9484 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9485 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9486 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9487 [__ASSUME_SENDMMSG]: Change conditionals to
9488 [__ASSUME_SENDMMSG_SOCKETCALL].
9489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9490 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9491 Define.
9492 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9493 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9494 Likewise.
9495 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9496 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9497 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9498 [!__ASSUME_SENDMMSG]: Change conditional to
9499 [!__ASSUME_SENDMMSG_SOCKETCALL].
9500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9501 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9502 Define.
9503
0e31b18c
JM
9504 [BZ #16610]
9505 * sysdeps/unix/sysv/linux/kernel-features.h
9506 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9507 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9508 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9509 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9510 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9511 [__i386__ || __sparc__]
9512 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9513 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9514 (__ASSUME_RECVMMSG): Define instead of using previous
9515 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9517 (__ASSUME_RECVMMSG_SYSCALL): Define.
9518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9520 Likewise.
9521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9522 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9523 Likewise.
9524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9526 Likewise.
9527 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9528 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9529 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9530 [__ASSUME_RECVMMSG]: Change condition to
9531 [__ASSUME_RECVMMSG_SOCKETCALL].
9532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9533 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9534 Define.
9535 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9538 Likewise.
9539 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9540 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9541 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9542 [!__ASSUME_RECVMMSG]: Change condition to
9543 [!__ASSUME_RECVMMSG_SOCKETCALL].
9544 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9545 (__ASSUME_RECVMMSG_SYSCALL): Define.
9546
dd481ccf
JM
9547 [BZ #16609]
9548 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9549 __powerpc__ || __s390__ || __sh__ || __sparc__]
9550 (__ASSUME_SOCKETCALL): Define.
9551 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9552 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9553 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9554 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9555 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9556 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9557 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9558 (__ASSUME_ACCEPT4): Define instead of using previous
9559 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9560 __powerpc__ || __sparc__ || __s390__)] condition.
9561 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9562 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9563 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9564 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9565 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9566 [!__ASSUME_ACCEPT4]: Change condition to
9567 [!__ASSUME_ACCEPT4_SOCKETCALL].
9568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9569 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9570 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9571 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9572 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9573 __ASSUME_ACCEPT4_SYSCALL.
9574 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9575 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9576 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9577 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9578 __ASSUME_ACCEPT4_SYSCALL.
9579 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9580 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9581 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9582 [__ASSUME_ACCEPT4]: Change condition to
9583 [__ASSUME_ACCEPT4_SOCKETCALL].
9584 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9585 (__ASSUME_SOCKETCALL): Define.
9586 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9588 (__ASSUME_SOCKETCALL): Define.
9589 (__ASSUME_ACCEPT4): Remove.
9590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9591 Define.
9592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9593 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9594 Likewise.
9595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9597
5d7b57ca
JM
9598 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9599 macro.
9600 (HWCAP_ARM_LPAE): Likewise.
9601 (HWCAP_ARM_EVTSTRM): Likewise.
9602 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9603 Add vpfd32, lpae and evtstrm.
9604 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9605 Increase to 22.
9606
63689d61
JM
96072014-02-19 Joseph Myers <joseph@codesourcery.com>
9608
9609 * math/auto-libm-test-in: Add tests of clog10.
9610 * math/auto-libm-test-out: Regenerated.
9611 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9612 * sysdeps/i386/fpu/libm-test-ulps: Update.
9613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9614
ab09bf61
AS
96152014-02-18 Andreas Schwab <schwab@suse.de>
9616
9617 [BZ #16574]
9618 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9619 Store non-zero if the second buffer was newly allocated.
9620 (send_dg): Likewise.
9621 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9622 to send_vc and send_dg.
9623 (res_nsend): Pass NULL for ansp2_malloced.
9624 * resolv/res_query.c (__libc_res_nquery): Add parameter
9625 answerp2_malloced and pass it down to __libc_res_nsend.
9626 (res_nquery): Pass additional NULL to __libc_res_nquery.
9627 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9628 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9629 second answer buffer if answerp2_malloced was set.
9630 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9631 (__libc_res_nquerydomain): Add parameter
9632 answerp2_malloced and pass it down to __libc_res_nquery.
9633 (res_nquerydomain): Pass additional NULL to
9634 __libc_res_nquerydomain.
9635 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9636 additional NULL to __libc_res_nsend and __libc_res_nquery.
9637 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9638 additional NULL to __libc_res_nsearch.
9639 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9640 parameter of __libc_res_nsearch to check for separately allocated
9641 second buffer.
9642 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9643 __libc_res_nquery.
9644 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9645 additional NULL to __libc_res_nquery.
9646 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9647 __libc_res_nsearch.
9648 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9649 * include/resolv.h: Update prototypes of __libc_res_nquery,
9650 __libc_res_nsearch, __libc_res_nsend.
9651
a4fb7861
JM
96522014-02-18 Joseph Myers <joseph@codesourcery.com>
9653
c6af2d89
JM
9654 * math/auto-libm-test-in: Add tests of fma.
9655 * math/auto-libm-test-out: Regenerated.
9656 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9657 (fma_towardzero_test_data): Likewise.
9658 (fma_downward_test_data): Likewise.
9659 (fma_upward_test_data): Likewise.
9660 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9661 mpc_mode.
9662 (rounding_modes): Add values for new field.
9663 (func_calc_method): Add value mpfr_fff_f.
9664 (func_calc_desc): Add mpfr_fff_f union field.
9665 (test_function): Add field exact_args.
9666 (FUNC): Add macro argument EXACT_ARGS.
9667 (FUNC_mpfr_f_f): Update call to FUNC.
9668 (FUNC_mpfr_f_f): Likewise.
9669 (FUNC_mpfr_ff_f): Likewise.
9670 (FUNC_mpfr_if_f): Likewise.
9671 (FUNC_mpc_c_f): Likewise.
9672 (FUNC_mpc_c_c): Likewise.
9673 (test_functions): Add fma. Update calls to FUNC.
9674 (handle_input_arg): Add argument exact_args.
9675 (add_test): Update call to handle_input_arg.
9676 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9677 (output_for_one_input_case): Update call to calc_generic_results.
9678 Recalculate exact zero results in each rounding mode.
9679
a4fb7861
JM
9680 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9681 non-negative before setting low bit.
9682 * math/auto-libm-test-in: Mark one asin test possibly having
9683 spurious underflow.
9684 * math/auto-libm-test-out: Regenerated.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9687
ef114eaf
DH
96882014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9689
2b7f4f2c
SP
9690 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9691 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9692 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9693 * README: Add missing listing for microblaze*-*-linux-gnu.
9694
c70a4b1d
MF
96952014-02-16 Mike Frysinger <vapier@gentoo.org>
9696
9697 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9698 * sysdeps/unix/sysv/linux/ia64: Move directory from
9699 ports/sysdeps/unix/sysv/linux/ia64.
9700 * README: Update listing for ia64-*-linux-gnu.
9701
591aeaf7
TD
97022014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9703 Joseph Myers <joseph@codesourcery.com>
9704
9705 * Makeconfig (test-name): New variable.
9706 (evaluate-test): Likewise.
9707 * Makerules (do-test-clean): Remove .test-result files.
9708 (common-mostlyclean): Likewise.
9709 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9710 * scripts/evaluate-test.sh: New file.
9711
6e89caf1
JM
97122014-02-14 Joseph Myers <joseph@codesourcery.com>
9713
7f98f180
JM
9714 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9715 separate $(objpfx)tst-fopenloc-cmp.out and
9716 $(objpfx)tst-fopenloc-mem.out targets.
9717 (tests): Update dependencies.
9718 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9719 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9720 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9721 (tst-rxspencer-no-utf8-ARGS): New variable.
9722 (tst-rxspencer-no-utf8-ENV): Likewise.
9723 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9724 instead of $(objpfx)tst-rxspencer-mem.
9725 ($(objpfx)tst-rxspencer-mem): Change target to
9726 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9727 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9728 * posix/tst-rxspencer-no-utf8.c: New file.
9729
6e89caf1
JM
9730 * elf/Makefile ($(objpfx)order.out): Remove rule.
9731 [$(run-built-tests) = yes] (tests): Depend on
9732 $(objpfx)order-cmp.out.
9733 ($(objpfx)order-cmp.out): New rule.
9734 [$(run-built-tests) = yes] (tests): Depend on
9735 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9736 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9737 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9738 $(objpfx)tst-array5-static-cmp.out.
9739 ($(objpfx)tst-array1.out): Remove rule.
9740 ($(objpfx)tst-array1-cmp.out): New rule.
9741 ($(objpfx)tst-array1-static.out): Remove rule.
9742 ($(objpfx)tst-array1-static-cmp.out): New rule.
9743 ($(objpfx)tst-array2.out): Remove rule.
9744 ($(objpfx)tst-array2-cmp.out): New rule.
9745 ($(objpfx)tst-array3.out): Remove rule.
9746 ($(objpfx)tst-array3-cmp.out): New rule.
9747 ($(objpfx)tst-array4.out): Remove rule.
9748 ($(objpfx)tst-array4-cmp.out): New rule.
9749 ($(objpfx)tst-array5.out): Remove rule.
9750 ($(objpfx)tst-array5-cmp.out): New rule.
9751 ($(objpfx)tst-array5-static.out): Remove rule.
9752 ($(objpfx)tst-array5-static-cmp.out): New rule.
9753 [$(run-built-tests) = yes] (tests): Depend on
9754 $(objpfx)order2-cmp.out.
9755 ($(objpfx)order2.out): Remove rule.
9756 ($(objpfx)order2-cmp.out): New rule.
9757 ($(objpfx)tst-initorder.out): Remove rule.
9758 [$(run-built-tests) = yes] (tests): Depend on
9759 $(objpfx)tst-initorder-cmp.out.
9760 ($(objpfx)tst-initorder-cmp.out): New rule.
9761 ($(objpfx)tst-initorder2.out): Remove rule.
9762 [$(run-built-tests) = yes] (tests): Depend on
9763 $(objpfx)tst-initorder2-cmp.out.
9764 ($(objpfx)tst-initorder2-cmp.out): New rule.
9765 [$(run-built-tests) = yes] (tests): Depend on
9766 $(objpfx)tst-unused-dep-cmp.out.
9767 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9768 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9769 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9770 on $(objpfx)tst-setvbuf1-cmp.out.
9771 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9772 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9773 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9774 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9775 ($(objpfx)tst-svc.out): Remove rule.
9776 ($(objpfx)tst-svc-cmp.out): New rule.
9777
ed9a38e2
JM
97782014-02-13 Joseph Myers <joseph@codesourcery.com>
9779
9780 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9781 * ctype/ctype.h [__USE_MISC]: Likewise.
9782 * dirent/dirent.h [__USE_MISC]: Likewise.
9783 * grp/grp.h [__USE_MISC]: Likewise.
9784 * io/fcntl.h [__USE_MISC]: Likewise.
9785 * io/sys/stat.h [__USE_MISC]: Likewise.
9786 * libio/stdio.h [__USE_MISC]: Likewise.
9787 * posix/unistd.h [__USE_MISC]: Likewise.
9788 * pwd/pwd.h [__USE_MISC]: Likewise.
9789 * stdlib.h [__USE_MISC]: Likewise.
9790 * string/bits/string2.h [__USE_MISC]: Likewise.
9791 * string/string.h [__USE_MISC]: Likewise.
9792 * time/time.h [__USE_MISC]: Likewise.
9793
d6680619
AS
97942014-02-13 Andreas Schwab <schwab@suse.de>
9795
9796 [BZ #16574]
9797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9798 second answer buffer if it was separately allocated.
9799
ace614b8
JM
98002014-02-12 Joseph Myers <joseph@codesourcery.com>
9801
743151ae
JM
9802 * sysdeps/mips/math-tests.h: Include <features.h>.
9803 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9804 (ROUNDING_TESTS_long_double): Do not define.
9805 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9806 (EXCEPTION_TESTS_long_double): Likewise.
9807 * sysdeps/mips/mips64/libm-test-ulps: Update.
9808
498afc54
JM
9809 * include/features.h (__USE_BSD): Remove macro definitions.
9810 (__USE_SVID): Likewise.
9811 (_BSD_SOURCE): Likewise.
9812 (_SVID_SOURCE): Likewise.
9813 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9814 from definition of _DEFAULT_SOURCE.
9815 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9816 [_DEFAULT_SOURCE].
9817 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9818 * bits/mman.h [__USE_BSD]: Likewise.
9819 * bits/termios.h [__USE_BSD]: Likewise.
9820 * bits/waitstatus.h [__USE_BSD]: Likewise.
9821 * ctype/ctype.h [__USE_SVID]: Likewise.
9822 * dirent/dirent.h [__USE_BSD]: Likewise.
9823 * grp/grp.h [__USE_SVID]: Likewise.
9824 [__USE_BSD]: Likewise.
9825 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9826 * io/fcntl.h [__USE_BSD]: Likewise.
9827 * io/ftw.h [__USE_BSD]: Likewise.
9828 * io/sys/stat.h [__USE_BSD]: Likewise.
9829 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9830 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9831 * libio/stdio.h [__USE_SVID]: Likewise.
9832 [__USE_BSD]: Likewise.
9833 * math/math.h [__USE_SVID]: Likewise.
9834 [__USE_BSD]: Likewise.
9835 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9836 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9837 * misc/search.h [__USE_SVID]: Likewise.
9838 * misc/sys/mman.h [__USE_BSD]: Likewise.
9839 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9840 * misc/sys/uio.h [__USE_BSD]: Likewise.
9841 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9842 * posix/glob.h [__USE_BSD]: Likewise.
9843 * posix/regex.h [__USE_BSD]: Likewise.
9844 * posix/sys/types.h [__USE_BSD]: Likewise.
9845 [__USE_SVID]: Likewise.
9846 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9847 * posix/sys/wait.h [__USE_BSD]: Likewise.
9848 [__USE_SVID]: Likewise.
9849 * posix/unistd.h [__USE_BSD]: Likewise.
9850 [__USE_SVID]: Likewise.
9851 * pwd/pwd.h [__USE_SVID]: Likewise.
9852 * resolv/netdb.h [__USE_BSD]: Likewise.
9853 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9854 * signal/signal.h [__USE_BSD]: Likewise.
9855 [__USE_SVID]: Likewise.
9856 * socket/sys/socket.h [__USE_BSD]: Likewise.
9857 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9858 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9859 [__USE_SVID]: Likewise.
9860 * string/bits/string2.h [__USE_BSD]: Likewise.
9861 [__USE_SVID]: Likewise.
9862 * string/bits/string3.h [__USE_BSD]: Likewise.
9863 * string/endian.h [__USE_BSD]: Likewise.
9864 * string/string.h [__USE_SVID]: Likewise.
9865 [__USE_BSD]: Likewise.
9866 * string/strings.h [__USE_BSD]: Likewise.
9867 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9868 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9869 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9870 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9871 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9872 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9873 Likewise.
9874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9875 Likewise.
9876 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9877 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9878 Likewise.
9879 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9880 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9881 Likewise.
9882 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9883 Likewise.
9884 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9885 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9887 Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9889 Likewise.
9890 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9891 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9892 * termios/termios.h [__USE_BSD]: Likewise.
9893 * time/sys/time.h [__USE_BSD]: Likewise.
9894 * time/time.h [__USE_BSD]: Likewise.
9895 [__USE_SVID]: Likewise.
9896
dd7b064c
JM
9897 * Makefile (subdir_targets): Remove subdir_lint.out.
9898
a2c4c199
JM
9899 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9900 (do-tst-printf): Likewise.
9901 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9902 $(objpfx)tst-printf.out.
9903
8756f740
JM
9904 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9905
1b6dd3f1
JM
9906 * Makerules (check-abi-%): Change target to
9907 $(objpfx)check-abi-%.out.
9908 (check-abi target): Update dependencies.
9909 (check-abi-pattern variable): Redirect output of diff to $@.
9910 (check-abi variable): Likewise.
9911 * elf/Makefile (check-abi): Update dependencies.
9912
ace614b8
JM
9913 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9914 unused.
9915 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9916 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9917 subnormal range.
9918 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9919 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9920 value has largest subnormal exponent.
9921 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9922 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9923 * sysdeps/aarch64/soft-fp/sfp-machine.h
9924 (_FP_TININESS_AFTER_ROUNDING): New macro.
9925 * sysdeps/alpha/soft-fp/sfp-machine.h
9926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9927 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9928 Likewise.
9929 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9931 * sysdeps/mips/soft-fp/sfp-machine.h
9932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9933 * sysdeps/powerpc/soft-fp/sfp-machine.h
9934 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9935 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9936 Likewise.
9937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9940 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9941 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9942 Likewise.
9943
fbfdf9cb
DAS
99442014-02-12 Dylan Alex Simon <dylan@dylex.net>
9945
9946 [BZ #16545]
9947 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9948 model 1.
9949
68b7efaa
RH
99502014-02-12 Richard Henderson <rth@redhat.com>
9951
c70a4b1d 9952 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9953 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9954 * sysdeps/unix/sysv/linux/alpha: Move directory from
9955 ports/sysdeps/unix/sysv/linux/alpha.
9956 * README: Update listing for alpha-*-linux-gnu.
9957
cb4a2928
JM
99582014-02-11 Joseph Myers <joseph@codesourcery.com>
9959
c941736c
JM
9960 * include/features.h: Update comment documenting feature test
9961 macros.
9962 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9963 _DEFAULT_SOURCE.
9964 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9965 (_SVID_SOURCE): Likewise.
9966 (_DEFAULT_SOURCE): Update description of default features.
9967 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9968 with _GNU_SOURCE.
9969 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9970 (S_ISVTX): Likewise.
9971 * manual/math.texi (Mathematical Constants): Likewise.
9972 * manual/signal.texi (Interrupted Primitives): Likewise.
9973 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9974 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9975 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9976 Don't refer to _SVID_SOURCE in warning text.
9977
e8d8d7ec
JM
9978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9979
cb4a2928
JM
9980 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9981 already defined.
9982 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9983 * sysdeps/mips/dl-lookup.c: Remove.
9984 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9985
7e6424e3
AK
99862014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9987
9988 [BZ #16447]
9989 * math/auto-libm-test-in: Add testcase for expl.
9990 * math/auto-libm-test-out: Regenerate.
9991 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9992 calculation of unsafe.
9993 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9994
75eff3fe
MS
99952014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9996
9997 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9998 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9999 ports/sysdeps/unix/sysv/linux/aarch64.
10000 * README: Update listing for aarch64*-*-linux-gnu.
10001
d35f1e80
WN
100022014-02-11 Will Newton <will.newton@linaro.org>
10003
10004 * manual/probes.texi (Mathematical Function Probes): Use
10005 "triggered" instead of "hit".
10006
7b3436d4
WN
10007 * manual/probes.texi (Internal Probes): Add documentation
10008 of setjmp, longjmp and longjmp_target probes.
10009
b4f12ca3
WN
10010 * include/stap-probe.h: Add comment about probe argument
10011 format.
10012
c13a72b7
WN
10013 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10014 definition. (tr_where, tr_freehook, tr_mallochook,
10015 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10016
195b8165
DM
100172014-02-11 David S. Miller <davem@davemloft.net>
10018
10019 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10020 processing int_tests.
10021
2ad7600b
JM
100222014-02-10 Joseph Myers <joseph@codesourcery.com>
10023
10024 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10025 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10026 * sysdeps/unix/sysv/linux/mips: Move directory from
10027 ports/sysdeps/unix/sysv/linux/mips.
10028 * README: Update listing for mips-*-linux-gnu and
10029 mips64-*-linux-gnu.
10030
73588a72
AS
100312014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10034 * sysdeps/unix/sysv/linux/m68k: Move directory from
10035 ports/sysdeps/unix/sysv/linux/m68k.
10036 * README: Update listing for m68k-*-linux-gnu.
10037
4372980f
CM
100382014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10039
10040 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10041 * sysdeps/unix/sysv/linux/generic: Move directory from
10042 ports/sysdeps/unix/sysv/linux/generic.
10043 * sysdeps/unix/sysv/linux/tile: Move directory from
10044 ports/sysdeps/unix/sysv/linux/tile.
10045 * README: Update listing for tile*-*-linux-gnu.
10046
a1ffb40e
OB
100472014-02-10 Ondřej Bílka <neleai@seznam.cz>
10048
57f41c40
AS
10049 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10050 __builtin_expect.
a1ffb40e
OB
10051 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10052 * catgets/open_catalog.c (__open_catalog): Likewise.
10053 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10054 * debug/confstr_chk.c: Likewise.
10055 * debug/fread_chk.c (__fread_chk): Likewise.
10056 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10057 * debug/getgroups_chk.c: Likewise.
10058 * debug/mbsnrtowcs_chk.c: Likewise.
10059 * debug/mbsrtowcs_chk.c: Likewise.
10060 * debug/mbstowcs_chk.c: Likewise.
10061 * debug/memcpy_chk.c: Likewise.
10062 * debug/memmove_chk.c: Likewise.
10063 * debug/mempcpy_chk.c: Likewise.
10064 * debug/memset_chk.c: Likewise.
10065 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10066 * debug/strcat_chk.c (__strcat_chk): Likewise.
10067 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10068 * debug/strncat_chk.c (__strncat_chk): Likewise.
10069 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10070 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10071 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10072 * debug/wcpncpy_chk.c: Likewise.
10073 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10074 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10075 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10076 * debug/wcsncpy_chk.c: Likewise.
10077 * debug/wcsnrtombs_chk.c: Likewise.
10078 * debug/wcsrtombs_chk.c: Likewise.
10079 * debug/wcstombs_chk.c: Likewise.
10080 * debug/wmemcpy_chk.c: Likewise.
10081 * debug/wmemmove_chk.c: Likewise.
10082 * debug/wmempcpy_chk.c: Likewise.
10083 * debug/wmemset_chk.c: Likewise.
10084 * dirent/scandirat.c (SCANDIRAT): Likewise.
10085 * dlfcn/dladdr1.c (dladdr1): Likewise.
10086 * dlfcn/dladdr.c (dladdr): Likewise.
10087 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10088 * dlfcn/dlerror.c (__dlerror): Likewise.
10089 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10090 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10091 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10092 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10093 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10094 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10095 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10096 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10097 Likewise.
10098 * elf/dl-conflict.c: Likewise.
10099 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10100 * elf/dl-dst.h: Likewise.
10101 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10102 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10103 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10104 * elf/dl-init.c (call_init, _dl_init): Likewise.
10105 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10106 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10107 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10108 Likewise.
a1ffb40e
OB
10109 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10110 Likewise.
10111 * elf/dl-minimal.c (__libc_memalign): Likewise.
10112 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10113 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10114 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10115 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10116 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10117 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10118 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10119 * elf/dl-writev.h (_dl_writev): Likewise.
10120 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10121 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10122 (dl_main): Likewise.
a1ffb40e
OB
10123 * elf/setup-vdso.h (setup_vdso): Likewise.
10124 * grp/compat-initgroups.c (compat_call): Likewise.
10125 * grp/fgetgrent.c (fgetgrent): Likewise.
10126 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10127 * grp/putgrent.c (putgrent): Likewise.
10128 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10129 Likewise.
10130 * hurd/hurdinit.c: Likewise.
10131 * iconvdata/8bit-gap.c (struct): Likewise.
10132 * iconvdata/ansi_x3.110.c : Likewise.
10133 * iconvdata/big5.c : Likewise.
10134 * iconvdata/big5hkscs.c : Likewise.
10135 * iconvdata/cp1255.c: Likewise.
10136 * iconvdata/cp1258.c : Likewise.
10137 * iconvdata/cp932.c : Likewise.
10138 * iconvdata/euc-cn.c: Likewise.
10139 * iconvdata/euc-jisx0213.c : Likewise.
10140 * iconvdata/euc-jp.c: Likewise.
10141 * iconvdata/euc-jp-ms.c : Likewise.
10142 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10143 * iconvdata/gb18030.c : Likewise.
10144 * iconvdata/gbbig5.c (const): Likewise.
10145 * iconvdata/gbgbk.c: Likewise.
10146 * iconvdata/gbk.c : Likewise.
10147 * iconvdata/ibm1364.c : Likewise.
10148 * iconvdata/ibm930.c : Likewise.
10149 * iconvdata/ibm932.c: Likewise.
10150 * iconvdata/ibm933.c : Likewise.
10151 * iconvdata/ibm935.c : Likewise.
10152 * iconvdata/ibm937.c : Likewise.
10153 * iconvdata/ibm939.c : Likewise.
10154 * iconvdata/ibm943.c: Likewise.
10155 * iconvdata/iso_11548-1.c: Likewise.
10156 * iconvdata/iso-2022-cn.c : Likewise.
10157 * iconvdata/iso-2022-cn-ext.c : Likewise.
10158 * iconvdata/iso-2022-jp-3.c: Likewise.
10159 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10160 * iconvdata/iso-2022-kr.c : Likewise.
10161 * iconvdata/iso646.c (gconv_end): Likewise.
10162 * iconvdata/iso_6937-2.c : Likewise.
10163 * iconvdata/iso_6937.c : Likewise.
10164 * iconvdata/iso8859-1.c: Likewise.
10165 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10166 * iconvdata/shift_jisx0213.c : Likewise.
10167 * iconvdata/sjis.c : Likewise.
10168 * iconvdata/t.61.c : Likewise.
10169 * iconvdata/tcvn5712-1.c : Likewise.
10170 * iconvdata/tscii.c: Likewise.
10171 * iconvdata/uhc.c : Likewise.
10172 * iconvdata/unicode.c (gconv_end): Likewise.
10173 * iconvdata/utf-16.c (gconv_end): Likewise.
10174 * iconvdata/utf-32.c (gconv_end): Likewise.
10175 * iconvdata/utf-7.c (base64): Likewise.
10176 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10177 * iconv/gconv_close.c (__gconv_close): Likewise.
10178 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10179 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10180 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10181 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10182 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10183 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10184 * iconv/iconv.c (iconv): Likewise.
10185 * iconv/iconv_close.c: Likewise.
10186 * iconv/loop.c (SINGLE): Likewise.
10187 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10188 * include/atomic.h: Likewise.
10189 * inet/inet6_option.c (option_alloc): Likewise.
10190 * intl/bindtextdom.c (set_binding_values): Likewise.
10191 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10192 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10193 * intl/localealias.c (read_alias_file): Likewise.
10194 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10195 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10196 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10197 * libio/fmemopen.c (fmemopen): Likewise.
10198 * libio/iofgets.c (_IO_fgets): Likewise.
10199 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10200 * libio/iofgetws.c (fgetws): Likewise.
10201 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10202 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10203 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10204 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10205 * locale/findlocale.c (_nl_find_locale): Likewise.
10206 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10207 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10208 Likewise.
10209 * locale/setlocale.c (setlocale): Likewise.
10210 * login/programs/pt_chown.c (main): Likewise.
10211 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10212 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10213 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10214 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10215 * math/e_exp2l.c: Likewise.
10216 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10217 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10218 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10219 * math/s_catan.c (__catan): Likewise.
10220 * math/s_catanf.c (__catanf): Likewise.
10221 * math/s_catanh.c (__catanh): Likewise.
10222 * math/s_catanhf.c (__catanhf): Likewise.
10223 * math/s_catanhl.c (__catanhl): Likewise.
10224 * math/s_catanl.c (__catanl): Likewise.
10225 * math/s_ccosh.c (__ccosh): Likewise.
10226 * math/s_ccoshf.c (__ccoshf): Likewise.
10227 * math/s_ccoshl.c (__ccoshl): Likewise.
10228 * math/s_cexp.c (__cexp): Likewise.
10229 * math/s_cexpf.c (__cexpf): Likewise.
10230 * math/s_cexpl.c (__cexpl): Likewise.
10231 * math/s_clog10.c (__clog10): Likewise.
10232 * math/s_clog10f.c (__clog10f): Likewise.
10233 * math/s_clog10l.c (__clog10l): Likewise.
10234 * math/s_clog.c (__clog): Likewise.
10235 * math/s_clogf.c (__clogf): Likewise.
10236 * math/s_clogl.c (__clogl): Likewise.
10237 * math/s_csin.c (__csin): Likewise.
10238 * math/s_csinf.c (__csinf): Likewise.
10239 * math/s_csinh.c (__csinh): Likewise.
10240 * math/s_csinhf.c (__csinhf): Likewise.
10241 * math/s_csinhl.c (__csinhl): Likewise.
10242 * math/s_csinl.c (__csinl): Likewise.
10243 * math/s_csqrt.c (__csqrt): Likewise.
10244 * math/s_csqrtf.c (__csqrtf): Likewise.
10245 * math/s_csqrtl.c (__csqrtl): Likewise.
10246 * math/s_ctan.c (__ctan): Likewise.
10247 * math/s_ctanf.c (__ctanf): Likewise.
10248 * math/s_ctanh.c (__ctanh): Likewise.
10249 * math/s_ctanhf.c (__ctanhf): Likewise.
10250 * math/s_ctanhl.c (__ctanhl): Likewise.
10251 * math/s_ctanl.c (__ctanl): Likewise.
10252 * math/w_pow.c: Likewise.
10253 * math/w_powf.c: Likewise.
10254 * math/w_powl.c: Likewise.
10255 * math/w_scalb.c (sysv_scalb): Likewise.
10256 * math/w_scalbf.c (sysv_scalbf): Likewise.
10257 * math/w_scalbl.c (sysv_scalbl): Likewise.
10258 * misc/error.c (error_tail): Likewise.
10259 * misc/pselect.c (__pselect): Likewise.
10260 * nis/nis_callback.c (__nis_create_callback): Likewise.
10261 * nis/nis_call.c (__nisfind_server): Likewise.
10262 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10263 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10264 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10265 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10266 * nis/nis_lookup.c (nis_lookup): Likewise.
10267 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10268 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10269 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10270 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10271 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10272 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10273 * nis/nss_compat/compat-initgroups.c (add_group)
10274 (internal_getgrent_r): Likewise.
10275 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10276 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10277 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10278 (internal_getspnam_r): Likewise.
10279 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10280 (_nss_nis_getaliasbyname_r): Likewise.
10281 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10282 (_nss_nis_getntohost_r): Likewise.
10283 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10284 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10285 (_nss_nis_getgrgid_r): Likewise.
10286 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10287 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10288 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10289 (_nss_nis_gethostbyname4_r): Likewise.
10290 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10291 (initgroups_netid): Likewise.
a1ffb40e 10292 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10293 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10294 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10295 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10296 (_nss_nis_getprotobynumber_r): Likewise.
10297 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10298 (_nss_nis_getsecretkey): Likewise.
10299 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10300 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10301 (_nss_nis_getpwuid_r): Likewise.
10302 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10303 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10304 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10305 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10306 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10307 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10308 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10309 Likewise.
57f41c40
AS
10310 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10311 (_nss_nisplus_getntohost_r): Likewise.
10312 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10313 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10314 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10315 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10316 Likewise.
57f41c40
AS
10317 * nis/nss_nisplus/nisplus-initgroups.c
10318 (_nss_nisplus_initgroups_dyn): Likewise.
10319 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10320 (_nss_nisplus_getnetbyaddr_r): Likewise.
10321 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10322 (_nss_nisplus_getprotobynumber_r): Likewise.
10323 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10324 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10325 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10326 Likewise.
57f41c40
AS
10327 * nis/nss_nisplus/nisplus-service.c
10328 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10329 (_nss_nisplus_getservbyport_r): Likewise.
10330 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10331 (_nss_nisplus_getspnam_r): Likewise.
10332 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10333 Likewise.
a1ffb40e
OB
10334 * nscd/aicache.c (addhstaiX): Likewise.
10335 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10336 * nscd/connections.c (register_traced_file, send_ro_fd)
10337 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10338 (main_loop_epoll): Likewise.
a1ffb40e
OB
10339 * nscd/grpcache.c (addgrbyX): Likewise.
10340 * nscd/hstcache.c (addhstbyX): Likewise.
10341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10342 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10343 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10344 (addinnetgrX): Likewise.
10345 * nscd/nscd-client.h (__nscd_acquire_maplock)
10346 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10347 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10348 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10349 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10350 Likewise.
10351 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10353 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10354 (__nscd_get_map_ref): Likewise.
a1ffb40e 10355 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10356 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10357 Likewise.
a1ffb40e
OB
10358 * nscd/pwdcache.c (addpwbyX): Likewise.
10359 * nscd/selinux.c (preserve_capabilities): Likewise.
10360 * nscd/servicescache.c (addservbyX): Likewise.
10361 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10362 * posix/fnmatch.c (fnmatch): Likewise.
10363 * posix/getopt.c (_getopt_internal_r): Likewise.
10364 * posix/glob.c (glob, glob_in_dir): Likewise.
10365 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10367 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10368 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10369 * resolv/res_init.c: Likewise.
10370 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10371 * resolv/res_query.c (__libc_res_nquery): Likewise.
10372 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10373 Likewise.
10374 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10375 * stdio-common/perror.c (perror): Likewise.
10376 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10377 * stdio-common/tmpnam.c (tmpnam): Likewise.
10378 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10379 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10380 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10381 Likewise.
a1ffb40e
OB
10382 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10383 * stdlib/putenv.c (putenv): Likewise.
10384 * stdlib/setenv.c (__add_to_environ): Likewise.
10385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10386 * stdlib/strtol_l.c (INTERNAL): Likewise.
10387 * string/memmem.c (memmem): Likewise.
10388 * string/strerror.c (strerror): Likewise.
10389 * string/strnlen.c (__strnlen): Likewise.
10390 * string/test-memmem.c (simple_memmem): Likewise.
10391 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10392 * sunrpc/pm_getport.c (__get_socket): Likewise.
10393 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10394 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10395 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10396 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10397 Likewise.
10398 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10400 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10401 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10402 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10403 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10404 Likewise.
10405 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10406 Likewise.
a1ffb40e
OB
10407 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10408 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10410 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10411 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10415 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10416 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10419 Likewise.
10420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10421 Likewise.
10422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10423 Likewise.
10424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10429 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10439 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10440 Likewise.
a1ffb40e
OB
10441 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10442 Likewise.
10443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10444 Likewise.
10445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10446 Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10449 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10450 Likewise.
10451 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10452 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10453 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10454 * sysdeps/posix/sleep.c: Likewise.
10455 * sysdeps/posix/tempname.c: Likewise.
10456 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10457 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10458 Likewise.
57f41c40
AS
10459 * sysdeps/powerpc/powerpc32/dl-machine.h
10460 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10461 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10463 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10464 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10465 Likewise.
10466 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10468 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10470 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10471 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10472 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10473 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10474 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10475 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10477 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10478 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10480 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10481 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10482 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10483 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10484 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10485 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10486 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10487 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10489 Likewise.
10490 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10491 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10492 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10493 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10494 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10495 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10496 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10497 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10499 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10500 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10501 Likewise.
10502 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10503 (__posix_fallocate64_l64): Likewise.
10504 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10505 (posix_fallocate): Likewise.
57f41c40
AS
10506 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10507 Likewise.
a1ffb40e 10508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10509 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10510 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10511 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10513 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10514 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10515 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10516 (__posix_fallocate64_l64): Likewise.
10517 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10518 Likewise.
10519 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10520 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10521 (__get_clockfreq): Likewise.
a1ffb40e
OB
10522 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10523 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10524 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10527 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10528 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10529 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10532 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10533 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10536 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10538 Likewise.
10539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10540 (posix_fallocate): Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10542 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10543 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10544 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10545 (elf_machine_rela, elf_machine_rela_relative)
10546 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10547 * time/asctime.c (asctime_internal): Likewise.
10548 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10549 * time/tzset.c (__tzset_parse_tz): Likewise.
10550 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10551 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10552 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10553 * wcsmbs/wcsmbsload.h: Likewise.
10554
f3d338c9
OB
10555 [BZ #15894]
10556 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10557
57f41c40
AS
10558 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10559 (arena_get2): Remove THREAD_STATS conditionals.
10560 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10561 (__malloc_stats, int): Likewise.
bdfe308a 10562
d674667c
MF
105632014-02-08 Mike Frysinger <vapier@gentoo.org>
10564
10565 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10566 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10567
6349768c
MF
10568 * manual/setjmp.texi: Fix typos/grammar errors.
10569
0b7c7473
MF
10570 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10571 Only return early when n is <= 0. Delete unused return statement.
10572
ac8cc9e3
MF
10573 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10574 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10575 * debug/tst-longjmp_chk3.c: New file.
10576
c5bb8e23
MF
10577 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10578 (test_main): Replace code with set_fortify_handler call.
10579 * debug/test-strcpy_chk.c: Likewise.
10580 * debug/tst-chk1.c: Likewise.
10581 * debug/tst-longjmp_chk.c: Likewise.
10582 * test-skeleton.c: Include fcntl.h & paths.h
10583 (set_fortify_handler): Define.
10584
10444e42
MF
10585 * debug/tst-longjmp_chk.c: Add header comment and include
10586 ../test-skeleton.c.
10587 (do_test): Mark static.
10588 (TEST_FUNCTION): Define.
10589
1e805e8d
MF
10590 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10591 (IP_PMTUDISC_INTERFACE): Likewise.
10592 (IP_MULTICAST_IF): Likewise.
10593 (IP_MULTICAST_TTL): Likewise.
10594 (IP_MULTICAST_LOOP): Likewise.
10595 (IP_ADD_MEMBERSHIP): Likewise.
10596 (IP_DROP_MEMBERSHIP): Likewise.
10597 (IP_UNBLOCK_SOURCE): Likewise.
10598 (IP_BLOCK_SOURCE): Likewise.
10599 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10600 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10601 (IP_MSFILTER): Likewise.
10602 (MCAST_JOIN_GROUP): Likewise.
10603 (MCAST_BLOCK_SOURCE): Likewise.
10604 (MCAST_UNBLOCK_SOURCE): Likewise.
10605 (MCAST_LEAVE_GROUP): Likewise.
10606 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10607 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10608 (MCAST_MSFILTER): Likewise.
10609 (IP_MULTICAST_ALL): Likewise.
10610 (IP_UNICAST_IF): Likewise.
10611
73f79bb7
MF
10612 * timezone/Makefile: Delete $(have-ksh) check.
10613 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10614 * timezone/tzselect.ksh: Add +x mode bits.
10615
8da79b60
MF
10616 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10617 (ANON_INODE_FS_MAGIC): Likewise.
10618 (BDEVFS_MAGIC): Likewise.
10619 (BINFMTFS_MAGIC): Likewise.
10620 (BTRFS_TEST_MAGIC): Likewise.
10621 (CRAMFS_MAGIC_WEND): Likewise.
10622 (DEBUGFS_MAGIC): Likewise.
10623 (ECRYPTFS_SUPER_MAGIC): Likewise.
10624 (EXT3_SUPER_MAGIC): Likewise.
10625 (EXT4_SUPER_MAGIC): Likewise.
10626 (FUTEXFS_SUPER_MAGIC): Likewise.
10627 (HOSTFS_SUPER_MAGIC): Likewise.
10628 (HUGETLBFS_MAGIC): Likewise.
10629 (MINIX3_SUPER_MAGIC): Likewise.
10630 (MTD_INODE_FS_MAGIC): Likewise.
10631 (NILFS_SUPER_MAGIC): Likewise.
10632 (OPENPROM_SUPER_MAGIC): Likewise.
10633 (PIPEFS_MAGIC): Likewise.
10634 (PSTOREFS_MAGIC): Likewise.
10635 (QNX6_SUPER_MAGIC): Likewise.
10636 (RAMFS_MAGIC): Likewise.
10637 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10638 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10639 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10640 (SECURITYFS_MAGIC): Likewise.
10641 (SELINUX_MAGIC): Likewise.
10642 (SMACK_MAGIC): Likewise.
10643 (SOCKFS_MAGIC): Likewise.
10644 (SQUASHFS_MAGIC): Likewise.
10645 (STACK_END_MAGIC): Likewise.
10646 (TMPFS_MAGIC): Likewise.
10647 (USBDEVICE_SUPER_MAGIC): Likewise.
10648 (V9FS_MAGIC): Likewise.
10649 (XENFS_SUPER_MAGIC): Likewise.
10650 (CRAMFS_MAGIC): Fix typo in comment.
10651 (EXT2_SUPER_MAGIC): Update comment.
10652 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10653
464263cc
JM
106542014-02-08 Joseph Myers <joseph@codesourcery.com>
10655
c6bfe5c4
JM
10656 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10657 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10658 * sysdeps/unix/sysv/linux/arm: Move directory from
10659 ports/sysdeps/unix/sysv/linux/arm.
10660 * README: Update listing for arm-*-linux-gnueabi.
10661
464263cc
JM
10662 * README: Remove mention of am33.
10663
32749f6c
RM
106642014-02-07 Roland McGrath <roland@hack.frob.com>
10665
10666 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10667 than the comma operator, to avoid "rhs of comma has no effect"
10668 compiler warnings.
10669 (__sigfillset, __sigandset, __sigorset): Likewise.
10670 * include/signal.h (__sigemptyset): Likewise.
10671 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10672
d5b396c1
AM
106732014-02-07 Allan McRae <allan@archlinux.org>
10674
10675 * version.h (RELEASE): Set to "development".
10676 (VERSION): Set to "2.19.90"
10677 * NEWS: Add 2.20 section.
10678
3bfff2ed
CD
106792014-02-06 Carlos O'Donell <carlos@redhat.com>
10680
10681 [BZ #16529]
10682 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10683
ee7cc385
SP
106842014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10685
10686 * manual/contrib.texi: Update entry for Carlos O'Donell,
10687 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10688
f877c4f2
CD
106892014-02-05 Carlos O'Donell <carlos@rehdat.com>
10690
27e839f6
CD
10691 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10692
f877c4f2
CD
10693 * sysdeps/unix/sysv/linux/kernel-features.h
10694 [__LINUX_KERNEL_VERSION >= 0x020621]
10695 (__ASSUME_PROC_PID_TASK_COMM): Define.
10696
68159946
SP
106972014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
ba17cdbd
SP
10699 [BZ #16398]
10700 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10701 conversion when destination buffer does not have enough space.
10702 * libio/tst-ftell-partial-wide.c: New test case.
10703 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10704
68159946
SP
10705 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10706 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10707 Leonard and Allan McRae.
10708
2b528732
DM
107092014-02-04 David S. Miller <davem@davemloft.net>
10710
10711 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10712 32-bit.
10713
0ff82463
AZ
107142014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10715
57f41c40
AS
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10717 New file
c01603f7
AZ
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10719 New file
57f41c40
AS
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10721 New file.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10723 New file.
c01603f7
AZ
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10725 New file.
57f41c40
AS
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10727 New file.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10729 New file.
c01603f7
AZ
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10731 New file.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10733 New file.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10735 New file.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10737 New file.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10739 New file.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10741 New file.
10742
107432014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10744
0ff82463
AZ
10745 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10746 * shlib-versions: Likewise.
10747
1695c773
AZ
107482014-02-04 Roland McGrath <roland@hack.frob.com>
10749 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750
10751 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10752 (abilist-pattern): New variable, set to %-le.abilist.
10753
10754 * Makerules (abilist-pattern): New variable.
10755 (vpath): Use $(abilist-pattern) in place of %.abilist.
10756 (check-abi-% pattern rule): Likewise.
10757 (check-abi, update-abi): Likewise.
10758
6c0ce4b4
EW
107592014-02-04 Eric Wong <normalperson@yhbt.net>
10760
10761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10762
481e3524
CD
107632014-02-03 Carlos O'Donell <carlos@redhat.com>
10764
10765 * manual/startup.texi: Add next, previous, and top entries for
10766 the `Program Arguments' and `Environment Variables' nodes.
10767
375592d3
AO
107682014-02-03 Alexandre Oliva <aoliva@redhat.com>
10769
10770 * manual/macros.texi: Add comments before MTASC-safety macros.
10771
f54838ba
AO
10772 * manual/users.texi: Document MTASC-safety properties.
10773
57f41c40
AS
10774 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10775 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10776 @deftypefun, and add @safety note.
10777 * manual/signal.texi: Move comments that analyze the above
10778 functions to their home place.
10779
fd3daba4
AM
107802014-02-03 Allan McRae <allan@archlinux.org>
10781
10782 * po/sl.po: Update Slovenian translation from translation project.
10783
597636d7
AO
107842014-02-02 Alexandre Oliva <aoliva@redhat.com>
10785
10786 * manual/time.texi (timegm): Add missing blank after @c.
10787 Reported by Joseph Myers <joseph@codesourcery.com>.
10788
ee196e3c
AO
107892014-02-01 Alexandre Oliva <aoliva@redhat.com>
10790
10791 * manual/check-safety.sh: New.
10792 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10793
f8d529d5
AO
10794 * manual/terminal.texi: Document MTASC-safety properties.
10795
de55fdf4
AO
10796 * manual/filesys.texi: Document MTASC-safety properties.
10797
c3299c08
AO
10798 * manual/errno.texi: Document MTASC-safety properties.
10799
06e90b14
AO
10800 * manual/intro.texi: Document safety identifiers and
10801 conditionals.
10802
1acd4371
AO
10803 * manual/string.texi (wcstok): Fix prototype.
10804 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10805
23e5b8cb
AO
10806 * manual/time.texi: Document MTASC-safety properties.
10807
11087373
AO
10808 * manual/string.texi: Document MTASC-safety properties.
10809
5da2c93d
AO
10810 * manual/threads.texi: Document MTASC-safety properties.
10811
171e9210
AO
10812 * manual/stdio.texi: Document MTASC-safety properties.
10813
d9e02532
AO
10814 * manual/syslog.texi: Document MTASC-safety properties.
10815
6af8bab7
AO
10816 * manual/sysinfo.texi: Document MTASC-safety properties.
10817
663b02d7
AO
10818 * manual/startup.texi: Document MTASC-safety properties.
10819
973f180b
AO
10820 * manual/socket.texi: Document MTASC-safety properties.
10821
8f3c25c8
AO
10822 * manual/signal.texi: Document MTASC-safety properties.
10823
542210fb
AO
108242014-01-31 Alexandre Oliva <aoliva@redhat.com>
10825
10826 * manual/setjmp.texi: Document MTASC-safety properties.
10827
433c45a2
AO
10828 * manual/search.texi: Document MTASC-safety properties.
10829
c8ce789c
AO
10830 * manual/resource.texi: Document MTASC-safety properties.
10831
19f5d29c
AO
10832 * manual/process.texi: Document MTASC-safety properties.
10833
e2dfb7f4
AO
10834 * manual/platform.texi: Document MTASC-safety properties.
10835
8c1413f5
AO
10836 * manual/pipe.texi: Document MTASC-safety properties.
10837
03483ada
AO
10838 * manual/pattern.texi: Document MTASC-safety properties.
10839
29e7e2df
AO
10840 * manual/message.texi: Document MTASC-safety properties.
10841
9f529d7c
AO
10842 [BZ #12751]
10843 * manual/memory.texi: Document MTASC-safety properties.
10844
27aaa791
AO
10845 * manual/math.texi: Document MTASC-safety properties.
10846
f2d58726
AO
10847 * manual/locale.texi: Document MTASC-safety properties.
10848
2cc3615c
AO
10849 * manual/llio.texi: Document MTASC-safety properties.
10850
d9f0ec97
AO
10851 * manual/libdl.texi: New.
10852
e7c4409a
AO
10853 * manual/lang.texi: Document MTASC-safety properties.
10854
27bdc63c
AO
10855 * manual/job.texi: Document MTASC-safety properties.
10856
a7b90ea9
AO
10857 * manual/getopt.texi: Document MTASC-safety properties.
10858
c49130e3
AO
10859 * manual/ctype.texi: Document MTASC-safety properties.
10860
0d23a5c1
MR
108612014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10862
10863 [BZ #16046]
10864 * csu/libc-tls.c (static_map): Remove variable.
10865 (__libc_setup_tls): Use main executable's link map for TLS data.
10866 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10867 casing for LM_ID_BASE and GL(dl_nns).
10868 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10869 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10870 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10871 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10872 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10873 member.
10874 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10875 l_phnum members.
10876
0037bb60
AO
108772014-01-30 Alexandre Oliva <aoliva@redhat.com>
10878
10879 * manual/debug.texi: Document MTASC-safety properties.
10880
409e00bd
L
108812014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10882
10883 [BZ #16510]
10884 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10885 of __x86_64__ when disabling x87 inline functions.
10886
86e60666
AO
108872014-01-29 Alexandre Oliva <aoliva@redhat.com>
10888
10889 * manual/charset.texi: Document MTASC-safety properties.
10890
76167637
AO
10891 * manual/crypt.texi: Document MTASC-safety properties.
10892
e567f2a0
AO
10893 * manual/conf.texi: Document MTASC-safety properties.
10894
b719dafd
AO
10895 * manual/arith.texi: Document MTASC-safety properties.
10896
4a16c662
AO
10897 * manual/argp.texi: Document MTASC-safety properties.
10898
0a57b83e
AO
10899 * manual/macros.texi: Introduce macros to document multi
10900 thread, asynchronous signal and asynchronous cancellation
10901 safety properties.
10902 * manual/intro.texi: Introduce the properties themselves.
10903
feab2397
KK
109042014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10905
10906 * sysdeps/sh/sh4/Makefile: New file.
10907
1c0d11bc
AS
109082014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10909
10910 * math/gen-libm-test.pl ($srcdir): New variable.
10911 ($auto_input): Use it.
10912
af37a8a3
SP
109132014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10914
d7b00f98
SP
10915 [BZ #16506]
10916 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10917 access beyond array bounds when parsing netgroups file.
10918
af37a8a3
SP
10919 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10920 the old buffer before realloc.
10921
0c00f062
AM
109222014-01-27 Allan McRae <allan@archlinux.org>
10923
10924 * po/fr.po: Update French translation from translation project.
10925
7d69a1b0
KK
109262014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10927
10928 * sysdeps/sh/libm-test-ulps: Regenerate.
10929
6e697ff7
DM
109302014-01-24 David S. Miller <davem@davemloft.net>
10931
10932 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10933
9cadb35c
KK
109342014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10935
10936 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10937 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10938
5d41dadf
SP
109392013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10940
10941 [BZ #16474]
10942 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10943 string pointers after reallocation.
10944
0bad441c
KK
109452014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10946
10947 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10948 __SH4A__ instead of __SH_FPU_ANY__.
10949
7007c661
KK
109502014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10951
10952 * sysdeps/sh/fpu_control.h: New file.
10953 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10954 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10955 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10956 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10957 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10958 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10959 * sysdeps/sh/sys/ucontext.h: Remove.
10960 * sysdeps/sh/sys: Remove directory.
10961
0f0c35e4
AK
109622014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10963
10964 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10965 s390/sys/ucontext.h.
10966 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10968
4959e284
L
109692014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10970
10971 [BZ #15605]
10972 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10973
d98720e0
AZ
109742014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975
10976 [BZ#16431]
10977 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10978 Adjust the vDSO correctly for internal calls.
10979 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10980
91cbd0bc
AM
109812014-01-20 Allan McRae <allan@archlinux.org>
10982
10983 * po/ca.po: Update Catalan translation from translation project.
10984
7a02cfad
MF
109852014-01-16 Mike Frysinger <vapier@gentoo.org>
10986
10987 * sysdeps/s390/sotruss-lib.c: New file.
10988
736c304a
AZ
109892014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10990
10991 [BZ#16430]
6e077ee5 10992 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10993 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10994 local calls issues by not having a PLT stub required for IFUNC calls.
10995 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10996
94d0cea0
JM
109972014-01-16 Joseph Myers <joseph@codesourcery.com>
10998
10999 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11000 * math/test-fpucw-static.c: Likewise.
11001
980cb518
SP
110022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11003
11004 [BZ #16453]
11005 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11006
2393fc01
AZ
110072014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11008
11009 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11010 implementation for powerpc.
11011
d359bcc2
OB
110122014-01-15 Ondřej Bílka <neleai@seznam.cz>
11013
11014 [BZ #14782]
11015 * sysdeps/posix/system.c (__libc_system): Do not enable
11016 asynchronous cancellation.
11017
7beb48cb
AK
110182014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11019
11020 [BZ #16427]
11021 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11022 handling only for numbers special also in the IEEE case.
11023
c20d5bf5
AK
110242014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11025
11026 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11027
e83bd4ee
AM
110282014-01-11 Allan McRae <allan@archlinux.org>
11029
76d0ea69
AM
11030 * po/bg.po: Update Bulgarian translation from translation project.
11031
e83bd4ee
AM
11032 * po/de.po: Update German translation from translation project.
11033
bc2ba20a
RM
110342014-01-10 Roland McGrath <roland@hack.frob.com>
11035
11036 * sysdeps/generic/gcc-compat.h: New file.
11037
649ecea2
SP
110382014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11039
11040 * benchtests/asin-inputs: Correct slow inputs.
11041 * benchtests/acos-inputs: Likewise.
11042
1b19c006
AM
110432014-01-10 Allan McRae <allan@archlinux.org>
11044
a46dab08
AM
11045 * po:sv.po: Update Swedish translation from translation project.
11046
421df74a
AM
11047 * po/vi.po: Update Vietnamese translation from translation project.
11048
d61c51a7
AM
11049 * po/eo.po: Update Esperanto translation from translation project.
11050
0339a319
AM
11051 * po/cs.po: Update Czech translation from translation project.
11052
94ad3e99
AM
11053 * po/nl.po: Update Dutch translation from translation project.
11054
e349ca71
AM
11055 * po/pl.po: Update Polish translation from translation project.
11056
ddf930c1
AM
11057 * po/ru.po: Update Russian translation from translation project.
11058
1b19c006
AM
11059 * po/uk.po: Update Ukrainian translation from translation project.
11060
9f236c49
BM
110612014-01-08 Brooks Moses <bmoses@google.com>
11062
11063 * elf/dl-load.c: Fix comment typo.
11064
cd6701cf
CD
110652014-01-08 Carlos O'Donell <carlos@redhat.com>
11066
11067 * po/header.pot: Rename to...
11068 * po/pot.header: ... this.
11069 * po/Makefile: Use pot.header.
11070
66671c84
YK
110712014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11072 Maxim Kuvyrkov <maxim@kugelworks.com>
11073
11074 [BZ #16394]
cd6701cf
CD
11075 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11076 SRC and DEST against LEN.
66671c84 11077
38f34581
AZ
110782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079
11080 [BZ #16414]
11081 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11082 implementation.
11083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11084
110852014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11086
11087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11088
4c327f2a
JM
110892014-01-08 Joseph Myers <joseph@codesourcery.com>
11090
11091 [BZ #16408]
11092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11093 for large positive arguments.
11094
b821f414
JM
110952014-01-07 Joseph Myers <joseph@codesourcery.com>
11096
1f0f2067
JM
11097 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11098
a5a326f6
JM
11099 * math/auto-libm-test-in: Mark various tests with
11100 xfail-rounding:ldbl-128ibm.
11101 * math/auto-libm-test-out: Regenerated.
11102
b821f414
JM
11103 [BZ #16407]
11104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11105 Increase overflow threshold.
11106
94c8a4bc
OB
111072014-01-07 Ondřej Bílka <neleai@seznam.cz>
11108
11109 [BZ #14286]
11110 * stdio-common/vfprintf.c: Check for integer overflow.
11111
87ded0c3
AK
111122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11113
11114 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11115 the first argument and return value of __tls_get_addr_internal.
11116
c5eebdd0
AK
111172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11118
11119 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11120 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11121
05d138ef
AK
111222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11123
11124 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11125 * sysdeps/s390/rtld-global-offsets.sym: New file.
11126 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11127 GLIBC_2.19 symbol.
11128 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11130 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11131 ... this.
11132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11133 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11134 ... this.
11135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11136 Regenerate.
11137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11138 Regenerate.
11139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11140 halfs of GPRs for high_gprs contexts.
11141 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11142 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11143 field.
11144 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11145 uc_flags field.
11146 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11147 64 bit versions:
11148 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11149 for high GPRs (uc_high_gprs) and for future extensions
11150 (__reserved).
11151 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11152 for future extensions (__reserved).
11153 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11154 64 bit versions:
11155 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11156 SC_HIGHGPRS offset definition.
11157 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11158 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11159
93a45ff1
AK
11160 * Versions.def: Add GLIBC_2.19 for libpthread.
11161 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11162 siglongjmp for libpthread with GLIBC_2.19 symver.
11163 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11164 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11165 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11166 * sysdeps/s390/__longjmp.c: New file.
11167 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11168 * sysdeps/s390/longjmp.c: New file.
11169 * sysdeps/s390/setjmp.S: New file.
11170 * sysdeps/s390/sigjmp.S: New file.
11171 * sysdeps/s390/v1-longjmp.c: New file.
11172 * sysdeps/s390/v1-setjmp.h: New file.
11173 * sysdeps/s390/v1-sigjmp.c: New file.
11174 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11175 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11176 GLIBC_2.19 version.
11177 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11178 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11179 versioned symbols for ____longjmp_chk.
11180 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11181 Likewise.
11182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11183 Regenerate.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11185 Regenerate.
11186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11187 Regenerate.
11188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11189 Regenerate.
11190 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11191 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11192 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11193 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11194 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11195 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11196 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11197 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11198 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11199 * sysdeps/s390/rtld-__longjmp.c: New file.
11200 * sysdeps/s390/rtld-setjmp.S: New file.
11201
eb3fc44b
JM
112022014-01-06 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #16400]
11205 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11206 Return -__logl (x) for small positive arguments without evaluating
11207 a polynomial.
11208
9341dde4
MF
112092014-01-06 Mike Frysinger <vapier@gentoo.org>
11210
11211 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11212 Rename to ...
11213 (__ptrace_peeksiginfo_args): ... this.
11214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11215 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11217
4cff0293
AM
112182014-01-06 Allan McRae <allan@archlinux.org>
11219
11220 * inet/netinet/in.h: Fix typo in comment.
11221
75595dcf
AJ
112222014-01-05 Andreas Jaeger <aj@suse.de>
11223
11224 * sysdeps/i386/fpu/libm-test-ulps: Update.
11225
79c1e109
AM
112262014-01-05 Allan McRae <allan@archlinux.org>
11227
dd804818
AM
11228 * po/libc.pot: Regenerated.
11229
79c1e109
AM
11230 * malloc/memusagestat.c: Fix gettext call formatting.
11231
0c813d1f
SK
112322014-01-04 Sami Kerola <kerolasa@iki.fi>
11233
11234 * nscd/nscd.c: Improve usage() output.
11235
20f4a8d9
MF
112362014-01-04 Mike Frysinger <vapier@gentoo.org>
11237
11238 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11239 * sysdeps/unix/sysv/linux/configure: Regenerated.
11240 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11241 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11242
22562bb2
JM
112432014-01-03 Joseph Myers <joseph@codesourcery.com>
11244
11245 [BZ #16390]
11246 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11247 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11248
d7ad2d9b
AZ
112492014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11250
11251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11252 extra tokens at end of #undef directive.
11253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11254 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11255 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11256
7dd009d8
JM
112572014-01-03 Joseph Myers <joseph@codesourcery.com>
11258
24db925a
JM
11259 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11260
7dd009d8
JM
11261 * math/auto-libm-test-in: Mark various tests with
11262 xfail-rounding:ldbl-128ibm.
11263 * math/auto-libm-test-out: Regenerated.
11264
396e3ecf
JM
112652014-01-02 Joseph Myers <joseph@codesourcery.com>
11266
819e5d50
JM
11267 [BZ #16386]
11268 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11269 numbers with subnormal high part when calculating exponent.
11270
90b6a1e5
JM
11271 [BZ #16385]
11272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11273 fabs.
11274
396e3ecf
JM
11275 [BZ #16384]
11276 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11277 M_LN2l.
11278 (__ieee754_acoshl): Use __log1pl not __log1p.
11279
6c8dbf00
OB
112802013-01-02 Ondřej Bílka <neleai@seznam.cz>
11281
57f41c40
AS
11282 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11283 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11284 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11285 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11286 (reused_arena, arena_get2): Convert to GNU style.
11287 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11288 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11289 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11290 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11291 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11292 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11293 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11294 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11295 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11296 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11297 * malloc/malloc.h: Likewise.
57f41c40
AS
11298 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11299 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11300 * malloc/mcheck.h: Likewise.
57f41c40
AS
11301 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11302 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11303 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11304 * malloc/morecore.c (__default_morecore): Likewise.
11305 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11306 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11307 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11308 (print_and_abort): Likewise.
6c8dbf00
OB
11309 * malloc/obstack.h: Likewise.
11310 * malloc/set-freeres.c (__libc_freeres): Likewise.
11311 * malloc/tst-mallocstate.c (main): Likewise.
11312 * malloc/tst-mtrace.c (main): Likewise.
11313 * malloc/tst-realloc.c (do_test): Likewise.
11314
d4124212
SP
113152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11316
9a3c6a6f
SP
11317 [BZ #16366]
11318 * nscd/netgroupcache.c (do_notfound): New function.
11319 (addgetnetgrentX): Use it.
11320
d4124212
SP
11321 [BZ # 16365]
11322 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11323 NSS_STATUS_NOTFOUND.
11324
97b9a009
JM
113252014-01-01 Joseph Myers <joseph@codesourcery.com>
11326
11327 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11329
d4697bc9
AM
113302014-01-01 Allan McRae <allan@archlinux.org>
11331
ddb3687f
AM
11332 * scripts/update-copyrights: Update configure input file suffix.
11333
88726d48
AM
11334 * NEWS: Update copyright year.
11335 * catgets/gencat.c: Likewise.
11336 * csu/version.c: Likewise.
11337 * debug/catchsegv.sh: Likewise.
11338 * debug/pcprofiledump.c: Likewise.
11339 * debug/xtrace.sh: Likewise.
11340 * elf/ldconfig.c: Likewise.
11341 * elf/ldd.bash.in: Likewise.
11342 * elf/pldd.c: Likewise.
11343 * elf/sotruss.ksh: Likewise.
11344 * elf/sprof.c: Likewise.
11345 * iconv/iconv_prog.c: Likewise.
11346 * iconv/iconvconfig.c: Likewise.
11347 * locale/programs/locale.c: Likewise.
11348 * locale/programs/localedef.c: Likewise.
11349 * login/programs/pt_chown.c: Likewise.
11350 * malloc/memusage.sh: Likewise.
11351 * malloc/memusagestat.c: Likewise.
11352 * malloc/mtrace.pl: Likewise.
11353 * manual/libc.texinfo: Likewise.
11354 * nscd/nscd.c: Likewise.
11355 * nss/getent.c: Likewise.
11356 * nss/makedb.c: Likewise.
11357 * posix/getconf.c: Likewise.
11358 * scripts/test-installation.pl: Likewise.
11359
d4697bc9
AM
11360 * All files with FSF copyright notices: Update copyright dates
11361 using scripts/update-copyrights.
11362 * intl/plural.c: Regenerated.
11363 * locale/programs/charmap-kw.h: Likewise.
11364 * locale/programs/locfile-kw.h: Likewise.
11365
c8590f9d
MF
113662013-12-31 Mike Frysinger <vapier@gentoo.org>
11367
11368 * sysdeps/unix/sysv/linux/configure: Regenerated.
11369 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11370 the linux/fanotify.h header.
11371 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11372 HAVE_LINUX_FANOTIFY_H is defined.
11373
b19221b9
SP
113742013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11375
dd1d85e5
SP
11376 * benchtests/cos-inputs: New inputs.
11377 * benchtests/sin-inputs: Likewise.
11378
1acbb90f
SP
11379 * benchtests/atan-inputs: New inputs. Fix name of multiple
11380 precision fallback inputs.
11381
4c012ed3
SP
11382 * benchtests/atanh-inputs: New inputs.
11383 * benchtests/tanh-inputs: Likewise.
11384
eff98324
SP
11385 * benchtests/acosh-inputs: New inputs.
11386 * benchtests/asinh-inputs: Likewise.
11387
ce641152
SP
11388 * benchtests/cosh-inputs: New inputs.
11389 * benchtests/sinh-inputs: Likewise.
11390
b19221b9
SP
11391 * benchtests/acos-inputs: Add more inputs.
11392 * benchtests/asin-inputs: Likewise.
11393
030a4976 113942013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11395
030a4976 11396 [BZ #16375]
9dcc8f11
VS
11397 * manual/arith.texi: Fix spelling.
11398 * manual/charset.texi: Likewise.
11399 * manual/errno.texi: Likewise.
11400 * manual/filesys.texi: Likewise.
11401 * manual/lang.texi: Likewise.
11402 * manual/llio.texi: Likewise.
11403 * manual/locale.texi: Likewise.
11404 * manual/message.texi: Likewise.
11405 * manual/resource.texi: Likewise.
11406 * manual/search.texi: Likewise.
11407 * manual/setjmp.texi: Likewise.
11408 * manual/stdio.texi: Likewise.
11409 * manual/string.texi: Likewise.
11410 * manual/sysinfo.texi: Likewise.
11411 * manual/time.texi: Likewise.
11412
11520a57
CD
114132013-12-27 Carlos O'Donell <carlos@redhat.com>
11414
11415 * po/sl.po: New file.
11416
471103ae
MF
114172013-12-27 Mike Frysinger <vapier@gentoo.org>
11418
11419 * .gitignore: Add core/.gdbinit/.gdb_history.
11420
6c9642ed
AM
114212013-12-27 Allan McRae <allan@archlinux.org>
11422
11423 [BZ #16369]
11424 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11425 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11426
3f637079
BM
114272013-12-24 Brooks Moses <bmoses@google.com>
11428
11429 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11430 all compilers that claim C++98 compliance, not just GCC.
11431 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11432 Likewise.
11433
abc26e99
MK
114342013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11435
11436 * NEWS: Restore accidentally deleted bug-fix entries.
11437
362b47fe
MK
114382013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11439 Ondřej Bílka <neleai@seznam.cz>
11440
11441 [BZ #15073]
11442 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11443 have_lock.
362b47fe 11444
b9bcbbcb
OB
114452013-12-23 Ondřej Bílka <neleai@seznam.cz>
11446
11447 [BZ #12986]
11448 * manual/stdio.texi (String Input Conversions): Clarify that character
11449 classes are not supported.
11450
fb55fcd2
AZ
114512013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11454
ef7344f0
JM
114552013-12-22 Joseph Myers <joseph@codesourcery.com>
11456
4f40e4b3
JM
11457 [BZ #16337]
11458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11459 Calculate results for small negative arguments directly rather
11460 than using reflection formula with special underflow handling.
11461
ef7344f0
JM
11462 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11463 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11464 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11465 (fchflags): Likewise.
11466 (revoke): Likewise.
11467 (setlogin): Likewise.
11468 (sigaltstack): Likewise.
11469 (wait4): Likewise.
11470 (sigblock): Remove.
11471 (sigsetmask): Likewise.
11472 (wait3): Likewise.
11473 (waitpid): Likewise.
11474 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11475 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11476 file.
11477 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11478 * sysdeps/unix/bsd/Makefile: ... here.
11479 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11480 * sysdeps/unix/bsd/Versions: ... here.
11481 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11482 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11483 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11484 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11485 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11486 * sysdeps/unix/bsd/sigblock.c: ... here.
11487 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11488 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11489 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11490 * sysdeps/unix/bsd/sigvec.c: ... here.
11491 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11492 * sysdeps/unix/bsd/tcdrain.c: ... here.
11493 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11494 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11495 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11496 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11497 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11498 * sysdeps/unix/bsd/wait.c: ... here.
11499 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11500 * sysdeps/unix/bsd/wait3.c: ... here.
11501 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11502 * sysdeps/unix/bsd/waitpid.c: ... here.
11503
5b0626b9
JM
115042013-12-21 Joseph Myers <joseph@codesourcery.com>
11505
11506 [BZ #16356]
11507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11508 round-to-nearest for [!USE_AS_EXPM1L].
11509 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11510 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11511 more tests of exp and exp10. Expect some exp10 tests to miss
11512 exceptions or fail in directed rounding modes.
11513 * math/auto-libm-test-out: Regenerated.
11514 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11515 (exp10_test_tonearest): New function.
11516 (exp10_towardzero_test_data): New array.
11517 (exp10_test_towardzero): New function.
11518 (exp10_downward_test_data): New array.
11519 (exp10_test_downward): New function.
11520 (exp10_upward_test_data): New array.
11521 (exp10_test_upward): New function.
11522 (main): Call the new functions.
11523 * sysdeps/i386/fpu/libm-test-ulps: Update.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525
7fda5682
JM
115262013-12-20 Joseph Myers <joseph@codesourcery.com>
11527
31e3a405
JM
11528 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11529 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11530 * math/auto-libm-test-out: Regenerated.
11531 * math/libm-test.inc (acosh_test_data): Add more tests.
11532 (atanh_test_data): Likewise.
11533 (ceil_test_data): Likewise.
11534 (copysign_test_data): Likewise.
11535 * sysdeps/i386/fpu/libm-test-ulps: Update.
11536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537
85bff96a
JM
11538 * timezone/checktab.awk: Update from tzcode 2013i.
11539 * timezone/private.h: Likewise.
11540 * timezone/scheck.c: Likewise.
11541 * timezone/tzfile.h: Likewise.
11542 * timezone/tzselect.ksh: Likewise.
11543 * timezone/zdump.c: Likewise.
11544 * timezone/zic.c: Likewise.
11545
b7867a3b
JM
11546 * math/auto-libm-test-in: Add tests of cpow.
11547 * math/auto-libm-test-out: Regenerated.
11548 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11550 mpc_cc_c.
11551 (func_calc_desc): Add mpc_cc_c union field.
11552 (test_functions): Add cpow.
11553 (special_fill_2pi): New function.
11554 (special_real_inputs): Add 2pi.
11555 (calc_generic_results): Handle mpc_cc_c.
11556 * sysdeps/i386/fpu/libm-test-ulps: Update.
11557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11558
7fda5682
JM
11559 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11560 csqrt, ctan and ctanh.
11561 * math/auto-libm-test-out: Regenerated.
11562 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11563 (TEST_COND_x86): Likewise.
11564 (ccos_test_data): Use AUTO_TESTS_c_c.
11565 (ccosh_test_data): Likewise.
11566 (cexp_test_data): Likewise.
11567 (clog_test_data): Likewise.
11568 (csqrt_test_data): Likewise.
11569 (ctan_test_data): Likewise.
11570 (ctan_tonearest_test_data): Likewise.
11571 (ctan_towardzero_test_data): Likewise.
11572 (ctan_downward_test_data): Likewise.
11573 (ctan_upward_test_data): Likewise.
11574 (ctanh_test_data): Likewise.
11575 (ctanh_tonearest_test_data): Likewise.
11576 (ctanh_towardzero_test_data): Likewise.
11577 (ctanh_downward_test_data): Likewise.
11578 (ctanh_upward_test_data): Likewise.
11579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11580 mpc_c_c.
11581 (func_calc_desc): Add mpc_c_c union field.
11582 (FUNC_mpc_c_c): New macro.
11583 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11584 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11585 ctanh.
11586 (special_fill_min_subnorm_p120): New function.
11587 (special_real_inputs): Add min_subnorm_p120.
11588 (calc_generic_results): Handle mpc_c_c.
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11591
5ff8d60e
SP
115922013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11593
57f41c40
AS
11594 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11595 (do_sin_slow): New functions.
11596 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11597 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11598
84ba214c
SP
11599 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11600 Use M to change sign of result instead of X. Assume X is
11601 positive.
11602 (csloww1): Likewise.
11603 (__sin): Adjust.
11604 (__cos): Adjust.
11605
975195e4
SP
11606 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11607 arguments A and DA.
11608 (__sin): Adjust.
11609 (__cos): Likewise.
11610
5ff8d60e
SP
11611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11612 (__cos): Likewise.
11613 (sloww1): Don't adjust sign of DX.
11614 (csloww1): Likewise.
11615 (sloww2): Use X directly and don't adjust sign of DX.
11616 (csloww2): Likewise.
11617
eb983568
JM
116182013-12-19 Joseph Myers <joseph@codesourcery.com>
11619
64a17f1a
JM
11620 * math/auto-libm-test-in: Add tests of cabs and carg.
11621 * math/auto-libm-test-out: Regenerated.
11622 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11623 (carg_test_data): Likewise.
11624 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11625 mpc_c_f.
11626 (func_calc_desc): Add mpc_c_f union field.
11627 (test_functions): Add cabs and carg.
11628 (calc_generic_results): Handle mpc_c_f.
11629
eb983568
JM
11630 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11631 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11632 as a macro and a compat symbol.
11633 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11634 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11635 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11636 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11637 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11639 not use .hidden.
11640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11641 Likewise.
11642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11643 Likewise.
11644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11645 Likewise.
11646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11647 Likewise.
11648 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11649 Likewise.
11650 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11651 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11652 from GLIBC_2.3.2.
11653
6eeb678a
AZ
116542013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11655
11656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11657
6f6fc482
JM
116582013-12-19 Joseph Myers <joseph@codesourcery.com>
11659
21fea2e2
JM
11660 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11661 trailing whitespace removed.
11662 * scripts/config.guess: Update to version 2013-11-29.
11663 * scripts/config.sub: Update to version 2013-10-01.
11664
6f6fc482
JM
11665 * math/auto-libm-test-in: Add tests of sincos.
11666 * math/auto-libm-test-out: Regenerated.
11667 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11668 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11669 mpfr_f_11.
11670 (func_calc_desc): Add mpfr_f_11 union field.
11671 (test_functions): Add sincos.
11672 (calc_generic_results): Handle mpfr_f_11.
11673 * sysdeps/i386/fpu/libm-test-ulps: Update.
11674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11675
83f5c32d
AS
116762013-12-19 Andreas Schwab <schwab@suse.de>
11677
11678 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11679 CALL_MCOUNT.
11680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11681 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11682 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11683
c688b419
JM
116842013-12-19 Joseph Myers <joseph@codesourcery.com>
11685
335ee092
JM
11686 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11687 * sysdeps/i386/fpu/libm-test-ulps: Update.
11688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11689
f88acd39
JM
11690 [BZ #16293]
11691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11692 round-to-nearest mode when using frndint.
11693 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11694 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11696 Likewise.
11697 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11698 sinh test to fail.
11699 * math/auto-libm-test-out: Regenerated.
11700 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11701 (TEST_COND_x86): Likewise.
11702 (expm1_tonearest_test_data): New array.
11703 (expm1_test_tonearest): New function.
11704 (expm1_towardzero_test_data): New array.
11705 (expm1_test_towardzero): New function.
11706 (expm1_downward_test_data): New array.
11707 (expm1_test_downward): New function.
11708 (expm1_upward_test_data): New array.
11709 (expm1_test_upward): New function.
11710 (main): Run the new test functions.
11711 * sysdeps/i386/fpu/libm-test-ulps: Update.
11712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11713
c688b419
JM
11714 * include/features.h: Update comment documenting feature test
11715 macros. Mention _DEFAULT_SOURCE in comment.
11716 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11717 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11718 _BSD_SOURCE and _SVID_SOURCE.
11719 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11720 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11721 !_SVID_SOURCE]: Likewise.
11722 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11723 (__USE_POSIX_IMPLICITLY): Define.
11724 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11725 (_POSIX_SOURCE): Undefine and redefine.
11726 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11727 (_POSIX_C_SOURCE): Likewise.
11728 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11729 (Feature Test Macros): Update documentation of default features.
11730
9f6e964c
RS
117312013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11732
11733 * benchtests/Makefile: Add bench-strtok.
11734 * benchtests/bench-strtok.c: New file: strtok benchtest.
11735
ee0a148a
AM
117362013-12-19 Allan McRae <allan@archlinux.org>
11737
11738 * manual/install.texi: Suppress menu for plain text output.
11739 * INSTALL: Regenerated.
11740
b9ab448f
BM
117412013-12-18 Brooks Moses <bmoses@google.com>
11742
11743 [BZ #15846]
11744 * misc/getauxval.c: Include errno.h.
11745 (__getauxval): Set errno to ENOENT if the requested type is not
11746 found.
11747 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11748 don't declare with __attribute_const__.
11749 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11750 * manual/startup.texi: Document that getauxval sets errno.
11751
23776487
JM
117522013-12-18 Joseph Myers <joseph@codesourcery.com>
11753
f889953b
JM
11754 * math/auto-libm-test-in: Add tests of jn and yn.
11755 * math/auto-libm-test-out: Regenerated.
11756 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11757 (yn_test_data): Likewise.
11758 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11759 mpfr_if_f.
11760 (func_calc_desc): Add mpfr_if_f union field.
11761 (FUNC_mpfr_if_f): New macro.
11762 (test_functions): Add jn and yn.
11763 (calc_generic_results): Assert type of second input for
11764 mpfr_ff_f. Handle mpfr_if_f.
11765 (output_for_one_input_case): Disable all checking for arguments
11766 fitting floating-point types in case of an integer argument.
11767 * sysdeps/i386/fpu/libm-test-ulps: Update.
11768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11769
23776487
JM
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11771 Don't expect fegetround reference in libm.so.
11772
cb756c6d
MS
117732013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11774
11775 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11776 $(config-cflags-nofma).
11777
2dec468f
JM
117782013-12-18 Joseph Myers <joseph@codesourcery.com>
11779
5953eb3a
JM
11780 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11781 * math/auto-libm-test-out: Regenerated.
11782
2dec468f
JM
11783 [BZ #16338]
11784 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11785 to determine exponent and adjust argument to have exponent of -1.
11786 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11787 log2.
11788 * math/auto-libm-test-out: Regenerated.
11789 * sysdeps/i386/fpu/libm-test-ulps: Update.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11791
4d84e6ad
OB
117922013-12-18 Ondřej Bílka <neleai@seznam.cz>
11793
11794 * manual/probes.texi: Remove cases when per-thread arenas are
11795 disabled.
11796
1818483b
AS
117972013-12-18 Andreas Schwab <schwab@suse.de>
11798
11799 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11800 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11801 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11802 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11803 * sysdeps/i386/i686/multiarch/Makefile: Update.
11804 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11805
25de95bf
JM
118062013-12-17 Joseph Myers <joseph@codesourcery.com>
11807
11808 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11809 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11810
674762d9
PE
118112013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11812
ed27ed83 11813 [BZ #15968]
0748546f
PE
11814 Support TZ transition times < 00:00:00.
11815 This is needed for version-3 tz-format files; it supports time
11816 stamps past 2037 for America/Godthab (the only entry in the tz
11817 database for which this change is relevant).
11818 * manual/time.texi (TZ Variable): Document transition times
11819 from -167:59:59 through -00:00:01.
11820 * time/tzset.c (tz_rule): Time of day is now signed.
11821 (__tzset_parse_tz): Parse negative time of day.
11822
4480e934
PE
11823 Document TZ transition times >= 25:00:00.
11824 * manual/time.texi (TZ Variable): Document transition times from
11825 25:00:00 through 167:59:59. These are already supported, and this
11826 support will help with version-3 tz-format files.
11827
69947401
PE
11828 * manual/time.texi (TZ Variable): Modernize North America example
11829 to reflect current (i.e., 2007-and-later) daylight saving rules.
11830
674762d9
PE
11831 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11832
7011c262
JM
118332013-12-17 Joseph Myers <joseph@codesourcery.com>
11834
2fc6557e
JM
11835 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11836 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11839 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11840 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11841 * sysdeps/unix/bsd/clock.c: Likewise.
11842 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11843 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11844 * sysdeps/unix/bsd/init-posix.c: Likewise.
11845 * sysdeps/unix/bsd/poll.c: Likewise.
11846 * sysdeps/unix/bsd/ptsname.c: Likewise.
11847 * sysdeps/unix/bsd/seekdir.c: Likewise.
11848 * sysdeps/unix/bsd/setegid.c: Likewise.
11849 * sysdeps/unix/bsd/seteuid.c: Likewise.
11850 * sysdeps/unix/bsd/setgid.c: Likewise.
11851 * sysdeps/unix/bsd/setrgid.c: Likewise.
11852 * sysdeps/unix/bsd/setruid.c: Likewise.
11853 * sysdeps/unix/bsd/setsid.c: Likewise.
11854 * sysdeps/unix/bsd/setuid.c: Likewise.
11855 * sysdeps/unix/bsd/sigaction.c: Likewise.
11856 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11857 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11858 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11859 * sysdeps/unix/bsd/telldir.c: Likewise.
11860 * sysdeps/unix/bsd/times.c: Likewise.
11861 * sysdeps/unix/bsd/usleep.c: Likewise.
11862
029c7b25
JM
11863 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11864 ($(objpfx)libbsd-compat.a): Remove rule.
11865
7011c262
JM
11866 * include/features.h (__FAVOR_BSD): Do not define.
11867 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11868 features conflicting with POSIX.
11869 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11870 (_BSD_SOURCE): Remove description of not being a subset of other
11871 feature test macros.
11872 * manual/job.texi (getpgrp): Do not document BSD version.
11873 (getpgid): Do not document by reference to BSD getpgrp.
11874 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11875 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11876 * signal/signal.h [__FAVOR_BSD]: Likewise.
11877 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11878 instead of making contents conditional on [__FAVOR_BSD].
11879 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11880
affb6f78
AZ
118812013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11882
11883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11884
c88769dd
JM
118852013-12-17 Joseph Myers <joseph@codesourcery.com>
11886
6432a540
JM
11887 [BZ #16314]
11888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11889 values below 2**-450, not 2**-500.
11890 * math/auto-libm-test-in: Don't allow spurious underflow from
11891 hypot.
11892 * math/auto-libm-test-out: Regenerated.
11893
c88769dd
JM
11894 [BZ #16316]
11895 [BZ #16330]
11896 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11897 values of ha and hb and sort them after adjusting subnormal
11898 arguments.
11899 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11900 Likewise.
11901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11902 values of ea and eb and sort them after adjusting subnormal
11903 arguments.
11904 * math/auto-libm-test-in: Do not expect some hypot tests of
11905 subnormals to fail. Add more hypot tests.
11906 * math/auto-libm-test-out: Regenerated.
11907
29618f6b
KK
119082013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11909
11910 [BZ #13304]
11911 * sysdeps/sh/s_fma.c: New file.
11912 * sysdeps/sh/s_fmaf.c: New file.
11913 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11914 version.
11915 * sysdeps/sh/Implies: Add sh/soft-fp.
11916
eacfdfbf
RM
119172013-12-16 Roland McGrath <roland@hack.frob.com>
11918
11919 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11920 level of indirection to members `objname', `errstring', `malloced'.
11921 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11922 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11923 it as the __longjmp argument (just pass 1 instead).
11924 (_dl_catch_error): Initialize C with argument pointers and address of
11925 volatile local ERRCODE rather than copying values out of C at return.
11926
ff362e5b
JM
119272013-12-16 Joseph Myers <joseph@codesourcery.com>
11928
11929 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11930 * math/auto-libm-test-out: Regenerated.
11931 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11932 (hypot_test_data): Likewise.
11933 (pow_test_data): Likewise.
11934 (pow_tonearest_test_data): Likewise.
11935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11936 mpfr_ff_f.
11937 (func_calc_desc): Add mpfr_ff_f union field.
11938 (FUNC_mpfr_ff_f): New macro.
11939 (test_functions): Add atan2, hypot and pow.
11940 (special_fill_min): New function.
11941 (special_fill_minus_min): Likewise.
11942 (special_fill_min_subnorm): Likewise.
11943 (special_fill_minus_min_subnorm): Likewise.
11944 (special_real_inputs): Add min, -min, min_subnorm and
11945 -min_subnorm.
11946 (calc_generic_results): Handle mpfr_ff_f.
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949
5764c27f
WN
119502013-12-16 Will Newton <will.newton@linaro.org>
11951
11952 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11953 (Aligned Memory Blocks): Add documentation for aligned_alloc
11954 and suggest it as an alternative to posix_memalign.
11955 (Hooks for Malloc): Document __memalign_hook is also called
11956 for aligned_alloc. (Summary of Malloc): Add summary for
11957 aligned alloc. Document __memalign_hook is also called
11958 for aligned_alloc.
11959
0a096e44
WN
119602013-12-16 Will Newton <will.newton@linaro.org>
11961
11962 * manual/memory.texi (Malloc Examples): Clarify default
11963 alignment documentation. Suggest posix_memalign rather
11964 than memalign or valloc.
11965 (Aligned Memory Blocks): Remove suggestion to use memalign
11966 or valloc. Remove obsolete comment about BSD.
11967 Document memalign errno values and mark the function obsolete.
11968 Document posix_memalign returned error codes. Mark valloc
11969 as obsolete. (Hooks for Malloc): __memalign_hook is also
11970 called for posix_memalign and valloc.
11971 (Summary of Malloc): Add posix_memalign to function summary.
11972 __memalign_hook is also called for posix_memalign and valloc.
11973
8d561986
SP
119742013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11975
11976 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11977 TAYLOR_SIN.
11978 (__sin): Adjust.
11979 (__cos): Likewise.
11980 (sloww): Use mynumber union. Expand ternary operator into
11981 if-else statements.
11982 (cslow): use mynumber union.
11983
73616a74
AM
119842013-12-16 Allan McRae <allan@archlinux.org>
11985
9e8ac24b
AM
11986 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11987 * configure: Regenerated.
11988
6f8e37eb
AM
11989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11990
8894bad3
AM
11991 [BZ #14120]
11992 * configure.ac: Added --enable-maintainer-mode. Check for
11993 autoconf when enabled.
11994 * configure: Regenerated.
11995
73616a74
AM
11996 * nscd/nscd.service: New file.
11997 * nscd/nscd.tmpfiles: New file.
11998
584b18eb
OB
119992013-12-14 Ondřej Bílka <neleai@seznam.cz>
12000
12001 [BZ #12100]
12002 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12003 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12004 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12005 (strstr): Add __strstr_sse2_unaligned ifunc.
12006 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12007 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12008 (strcasestr): Remove __strcasestr_sse42 ifunc.
12009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12012
8a5c7897
KK
120132013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12014
12015 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12016 * sysdeps/sh/bits/fenv.h: ... here.
12017 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12018
fd712ef3
AZ
120192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020
12021 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12022
42fcb46c
AZ
12023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12024 hypotf multiarch implementations.
12025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12028 multiarch hypot for PPC64.
12029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12032 multiarch hypotf for PPC64.
12033
83efded4
AZ
12034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12035 modff multiarch implementations.
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12039 multiarch modf for PPC64.
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12043 multiarch modff for PPC64.
12044
43e246d2
AZ
12045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12046 and logl multiarch implementations.
12047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12050 multiarch logb for PPC64.
12051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12054 multiarch logb for PPC64.
12055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12058 multiarch logb for PPC64.
12059
8fdad123
AZ
12060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12061 isinff multiarch implementation.
12062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12063 file.
12064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12066 multiarch isinf for PPC64.
12067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12068 file.
12069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12070 multiarch isinff for PPC64.
12071
1481d706
AZ
12072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12073 finitef multiarch implementation.
12074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12075 file.
12076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12078 multiarch finite for PPC64.
12079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12080 file.
12081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12082 multiarch finitef for PPC64.
12083
5ccd5fc8
AZ
12084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12085 lrint multiarch implementation.
12086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12087 file.
12088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12090 multiarch llrint for PPC64.
12091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12092 multiarch lrint for PPC64.
12093
2568f3fa
AZ
12094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12095 copysignf multiarch implementation.
12096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12097 file.
12098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12099 file.
12100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12101 multiarch copysign for PPC64.
12102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12103 multiarch copysignf for PPC64.
12104
1cb341fd
AZ
12105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12106 multiarch implementation.
12107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12108 file.
12109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12110 file.
12111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12112 file.
12113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12114 file.
12115 multiarch llround for PPC64.
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12117 multiarch trunc for PPC64.
12118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12119 multiarch truncf for PPC64.
12120
59a3e194
AZ
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12122 multiarch implementation.
12123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12124 file.
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12126 file.
12127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12128 file.
12129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12130 file.
12131 multiarch llround for PPC64.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12133 multiarch round for PPC64.
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12135 multiarch roundf for PPC64.
12136
357fd3b4
AZ
12137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12138 multiarch implementation.
12139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12140 file.
12141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12142 file.
12143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12144 file.
12145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12146 file.
12147 multiarch llround for PPC64.
12148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12149 multiarch floor for PPC64.
12150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12151 multiarch floorf for PPC64.
12152
96770f12
AZ
12153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12154 multiarch implementation.
12155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12156 file.
12157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12158 file.
12159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12160 file.
12161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12162 file.
12163 multiarch llround for PPC64.
12164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12165 multiarch ceil for PPC64.
12166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12167 multiarch ceilf for PPC64.
12168
c3627f6e
AZ
12169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12170 multiarch implementation.
12171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12172 file.
12173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12174 file.
12175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12176 file.
12177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12178 multiarch llround for PPC64.
12179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12180 multiarch lround for PPC64.
12181
b2284ad7
AZ
12182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12183 multiarch implementation.
12184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12187 file.
12188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12191 multiarch isnan for PPC64.
12192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12193 multiarch isnanf for PPC64.
12194
69bbc63d
AZ
12195 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12196 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12197 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12198 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12199 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12201
c24517c9
AZ
12202 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12206
a52374e8
AZ
12207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12208 multiarch implementations.
12209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12210 (__libc_ifunc_impl_list): Likewise.
12211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12214 multiarch stpcpy for PPC64.
12215
7f5ec113
AZ
12216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12217 multiarch implementations.
12218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12219 (__libc_ifunc_impl_list): Likewise.
12220 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12221 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12222 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12223 multiarch strcpy for PPC64.
12224
e28bcd42
AZ
12225 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12226 redefine function name.
12227 (_wordcopy_fwd_dest_aligned): Likewise.
12228 (_wordcopy_bwd_aligned): Likewise.
12229 (_wordcopy_bwd_dest_aligned): Likewise.
12230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12231 multiarch implementations.
12232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12233 (__libc_ifunc_impl_list): Likewise.
12234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12235 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12236 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12237 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12238 multiarch wcscpy for PPC64.
12239
92cacfce
AZ
12240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12241 multiarch implementations.
12242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12243 (__libc_ifunc_impl_list): Likewise.
12244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12246 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12248 multiarch wcscpy for PPC64.
12249
7b714620
AZ
12250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12251 multiarch implementations.
12252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12253 (__libc_ifunc_impl_list): Likewise.
12254 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12255 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12256 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12257 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12258 multiarch wcsrchr for PPC64.
12259
16fd2ae3
AZ
12260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12261 multiarch implementations.
12262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12263 (__libc_ifunc_impl_list): Likewise.
12264 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12265 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12266 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12267 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12268 multiarch wcschr for PPC64.
12269
9ee2969b
AZ
12270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12271 multiarch implementations.
12272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12273 (__libc_ifunc_impl_list): Likewise.
12274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12275 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12276 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12277 multiarch strchrnul for PPC64.
12278
372dc060
AZ
12279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12280 implementations.
12281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12282 (__libc_ifunc_impl_list): Likewise.
12283 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12284 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12285 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12286 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12287 strchr for PPC64.
12288
24c2c3b9
AZ
12289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12290 implementations.
12291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12292 (__libc_ifunc_impl_list): Likewise.
12293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12297 strncmp for PPC64.
12298
1c92d9a0
AZ
12299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12300 multiarch implementations.
12301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12302 (__libc_ifunc_impl_list): Likewise.
12303 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12304 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12305 strncasecmp for PPC64.
12306 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12308 multiarch strncasecmp_l for PPC64.
12309
17de3ee3
AZ
12310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12311 multiarch implementations.
12312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12313 (__libc_ifunc_impl_list): Likewise.
12314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12316 multiarch strcasecmp for PPC64.
12317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12318 file.
12319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12320 multiarch strcasecmp_l for PPC64.
12321
62982bf9
AZ
12322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12323 implementations.
12324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12325 (__libc_ifunc_impl_list): Likewise.
12326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12327 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12328 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12329 strnlen for PPC64.
12330
a65f4904
AZ
12331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12332 implementations.
12333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12334 (__libc_ifunc_impl_list): Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12338 strlen for PPC64.
12339
1fd005ad
AZ
12340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12341 implementations.
12342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12343 (__libc_ifunc_impl_list): Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12345 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12346 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12347 rawmemrchr for PPC64.
12348
cd05ba91
AZ
12349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12350 implementation.
12351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12352 (__libc_ifunc_impl_list): Likewise.
12353 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12354 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12355 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12356 memrchr for PPC64.
12357
870f8676
AZ
12358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12359 implementation.
12360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12361 (__libc_ifunc_impl_list): Likewise.
12362 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12363 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12364 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12365 memchr for PPC64.
12366
f00be62b
AZ
12367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12368 implementation.
12369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12370 (__libc_ifunc_impl_list): Likewise.
12371 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12372 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12373 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12374 mempcpy for PPC64.
12375
8a29a3d0
AZ
12376 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12377 avoid cretion of __bzero symbol.
12378 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12379 Likewise.
12380 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12381 Likewise.
12382 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12383 Likewise.
12384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12385 multiarch implementations.
12386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12387 (__libc_ifunc_impl_list): Likewise.
12388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12389 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12390 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12391 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12392 bzero for PPC32.
12393 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12394 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12395 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12396 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12397 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12398 memset for PPC64.
12399 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12400
07253fcf
AZ
12401 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12403 implementations.
12404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12405 (__libc_ifunc_impl_list): Likewise.
12406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12407 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12408 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12409 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12410 memcmp for PPC64.
12411
b5beafbc
AZ
12412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12413 multiarch for POWER/PPC64.
12414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12415 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12422 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12423 memcpy for PPC64.
12424
5e6a4d4b
AZ
12425 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12426 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12427 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12428 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12429 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12430 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12431 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12432 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12433 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12434 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12435 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12436 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12437 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12438 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12439 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12447
ddfab6dc
KK
124482013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12449
12450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12451
19b5525e
SP
124522013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
12454 * benchtests/Makefile (bench): Add exp2 and log2.
12455 (LDLIBS-bench-exp2): Add -lm.
12456 (LDLIBS-bench-log2): Likewise.
12457 * benchtests/exp2-inputs: New inputs file.
12458 * benchtests/log2-inputs: New inputs file.
12459 * benchtests/log-inputs: Add new inputs.
12460 * benchtests/tan-inputs: Likewise.
12461
196f7f5d
SP
124622013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12463
7a74607f
SP
12464 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12465 definition...
57f41c40
AS
12466 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12467 (csloww2): ... from here.
7a74607f 12468
196f7f5d
SP
12469 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12470 instead of structures.
12471 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12472 (POLYNOMIAL): Likewise.
12473 (TAYLOR_SLOW): Likewise.
12474 (__sin): Likewise.
12475 (__cos): Likewise.
12476 (slow1): Likewise.
12477 (slow2): Likewise.
12478 (sloww): Likewise.
12479 (sloww1); Likewise.
12480 (sloww2): Likewise.
12481 (bsloww1): Likewise.
12482 (bsloww2): Likewise.
12483 (cslow2): Likewise.
12484 (csloww): Likewise.
12485 (csloww1): Likewise.
12486 (csloww2): Likewise.
12487
0dfa665c
OB
124882013-12-10 Ondřej Bílka <neleai@seznam.cz>
12489
12490 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12491 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12492 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12493 * malloc/hooks.c (realloc_check): Likewise.
12494
5782a80f
OB
12495 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12496 * malloc/arena.c: Remove PER_THREAD conditional.
12497 [!PER_THREAD]: Remove code.
12498 (ptmalloc_unlock_all2): Likewise.
12499 (ptmalloc_init): Likewise.
12500 (_int_new_arena): Likewise.
12501 (arena_get2): Likewise.
12502 * malloc/hooks.c (__malloc_get_state): Likewise.
12503 (__malloc_set_state): Likewise.
12504 * malloc/malloc.c: Likewise.
12505 (struct malloc_state): Likewise.
12506 (struct malloc_par): Likewise.
12507 (__libc_realloc): Likewise.
12508 (__libc_mallopt): Likewise.
12509
aeb95445
AZ
125102013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12511
12512 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12513
e8349efd
OB
125142013-12-09 Ondřej Bílka <neleai@seznam.cz>
12515
12516 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12517 macro to a function. Check for zero perturb_byte.
12518 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12519
f3eeb3fc 12520 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12521 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12522 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12523 force_reg by atomic_forced_read.
12524 * malloc/arena.c (ptmalloc_init): Likewise.
12525 * malloc/hooks.c (top_check): Likewise.
12526
be2f9009
AZ
125272013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12528
12529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12530
e7b914bd
MT
125312013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12532
12533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12534
9f0be4f8
JM
125352013-12-08 Joseph Myers <joseph@codesourcery.com>
12536
12537 * math/auto-libm-test-in: Add tests of lgamma.
12538 * math/auto-libm-test-out: Regenerated.
12539 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12540 (M_LOG_2_SQRT_PIl): Likewise.
12541 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12543 mpfr_f_f1.
12544 (func_calc_desc): Add mpfr_f_f1 union field.
12545 (ARGS1): New macro.
12546 (ARGS2): Likewise.
12547 (ARGS3): Likewise.
12548 (ARGS4): Likewise.
12549 (RET1): Likewise.
12550 (RET2): Likewise.
12551 (CALC): Likewise.
12552 (FUNC): Likewise.
12553 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12554 (test_functions): Add lgamma.
12555 (calc_generic_results): Handle mpfr_f_f1.
12556 * sysdeps/i386/fpu/libm-test-ulps: Update.
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12558
24eeafdb
AZ
125592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12560
12561 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12562 __mpn_add_n for PowerPC64/POWER7.
12563 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12564 __mpn_sub_n for PowerPC64/POWER7.
12565
4a2c0fd4
AZ
12566 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12567 __mpn_addmul_1 for PowerPC64.
12568 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12569 __mpn_submul_1 for PowerPC64.
12570 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12571 for PowerPC64.
12572 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12573 for PowerPC64.
12574
4b5b548c
FS
125752013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12576
12577 [BZ #15089]
12578 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12579
0a3ac0aa
AZ
125802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12581
12582 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12583
ccdc8438
AZ
12584 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12585 add multiarch folders.
12586 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12587 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12588 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12589 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12590 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12591 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12592 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12593 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12594 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12595 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12596 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12603
2e973d99
AZ
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12605 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12607 New file.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12609 New file.
12610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12611 multiarch __ieee754_hypot for PowerPC32.
12612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12613 New file.
12614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12615 New file.
12616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12617 multiarch __ieee754_hypotf for PowerPC32.
12618
2d9470b2
AZ
12619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12620 long_double_symbol only if __logbl is defined.
12621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12622 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12624 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12626 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12628 path for implementation.
12629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12630 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12632 logb, and logbl multiarch implementations for PowerPC32.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12634 file.
12635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12636 file.
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12638 multiarch logb for PowerPC32.
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12640 file.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12642 file.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12644 multiarch logbf for PowerPC32.
12645 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12647 file.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12649 multiarch logbl implementation for PowerPC32.
12650
5212ffce
AZ
12651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12652 and modff multiarch implementations.
12653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12654 New file.
12655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12656 New file.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12658 multiarch modf for PowerPC32.
12659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12660 New file.
12661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12662 New file.
12663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12664 multiarch modff for PowerPC32.
12665
79dccf31
AZ
12666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12667 and lrintf multiarch implementations.
12668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12669 New file.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12671 New file.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12673 multiarch lrint for PowerPC32.
12674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12675 file: multiarch lrintf for PowerPC32.
12676
deb66480
AZ
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12678 and lroundf multiarch implementations.
12679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12680 New file.
12681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12682 New file.
12683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12684 New file.
12685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12686 multiarch lround for PowerPC32.
12687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12688 file: multiarch lroundf for PowerPC32.
12689
264b036b
AZ
12690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12691 copysign and copysignf multiarch implementations.
12692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12693 New file.
12694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12695 New file.
12696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12697 file: multiarch copysign for PowerPC32.
12698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12699 file: multiarch copysignf for PowerPC32.
12700
d47db6c9
AZ
12701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12702 and truncf multiarch implementations.
12703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12704 New file.
12705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12706 file.
12707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12708 multiarch trunc for PowerPC32.
12709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12710 New file.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12712 New file.
12713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12714 multiarch truncf for PowerPC32.
12715
ddb60b5a
AZ
12716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12717 and roundf multiarch implementations.
12718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12719 New file.
12720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12721 file.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12723 multiarch round for PowerPC32.
12724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12725 New file.
12726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12727 New file.
12728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12729 multiarch roundf for PowerPC32.
12730
bedcf49b
AZ
12731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12732 and floorf multiarch implementations.
12733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12734 New file.
12735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12736 file.
12737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12738 multiarch floor for PowerPC32.
12739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12740 New file.
12741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12742 New file.
12743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12744 multiarch floorf for PowerPC32.
12745
35ae5b40
AZ
12746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12747 and ceilf multiarch implementations.
12748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12749 New file.
12750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12751 file.
12752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12753 multiarch ceil for PowerPC32.
12754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12755 New file.
12756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12757 file.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12759 multiarch ceilf for PowerPC32.
12760
ae1a4cd9
AZ
12761 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12762 is defined.
12763 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12764 FINITEF is defined.
12765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12766 and finitef multiarch implementations.
12767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12768 New file.
12769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12770 file.
12771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12772 multiarch finite for PowerPC32.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12774 New file.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12776 file: multiarch finitef for PowerPC32.
12777
64fffd65
AZ
12778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12779 and isinff multiarch implementations.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12781 file.
12782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12783 file.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12785 multiarch isinf for PowerPC32.
12786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12787 New file.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12789 multiarch isinff for PowerPC32.
12790
8e4e7ba2
AZ
12791 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12792 alias when __isnan is defined.
12793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12794 and isnanf multiarch implementations.
12795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12796 file.
12797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12798 file.
12799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12800 file.
12801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12802 file.
12803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12804 multiarch isnan for PowerPC32.
12805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12806 New file.
12807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12808 New file.
12809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12810 multiarch isnanf for PowerPC32.
12811
ddba588e
AZ
12812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12813 and sqrtf multiarch implementations.
12814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12815 file.
12816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12817 file.
12818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12819 multiarch sqrt for PowerPC32.
12820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12821 file.
12822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12823 file.
12824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12825 multiarch sqrtf for PowerPC32.
12826
0f96a2f0
AZ
12827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12828 and llroundf multiarch implementations.
12829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12830 New file.
12831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12832 New file.
12833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12834 New file.
12835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12836 file: multiarch llround for PowerPC32.
12837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12838 file: multiarch llroundf for PowerPC32.
12839
c9b5d79e
AZ
12840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12841 multiarch PowerPC32 fpu implementations.
12842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12843 New file.
12844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12845 New file.
12846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12847 multiarch llrint for PowerPC32.
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12849 New file.
12850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12851 New file.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12853 file.
12854
9cbb3aab
AZ
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12856
ea5a72f8
AZ
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12858 file.
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12860 file.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12862 file.
12863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12864 multiarch wordcopy for PPC32.
12865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12866 wordcopy objects.
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12868 (__libc_ifunc_impl_list): Likewise.
12869 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12870 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12872 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12874 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12875
93be09e7
AZ
12876 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12878 file.
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12880 file.
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12882 file.
12883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12884 multiarch wcscpy for PPC32.
12885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12886 multiarch objects.
12887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12888 (__libc_ifunc_impl_list): Likewise.
12889 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12890 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12891 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12892 sysdeps/powerpc/power6/wcscpy.c.
12893
bb04e529
AZ
12894 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12896 file.
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12898 file.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12900 file.
12901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12902 multiarch wcsrchr for PPC32.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12904 multiarch objects.
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12906 (__libc_ifunc_impl_list): Likewise.
12907 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12908 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12909 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12910 sysdeps/powerpc/power6/wcsrchr.c.
12911
05b5cd1c
AZ
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12913 file.
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12915 file.
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12918 multiarch wcschr for PPc32.
12919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12920 multiarch objects.
12921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12922 (__libc_ifunc_impl_list): Likewise.
12923 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12924 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12925 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12926 sysdeps/powerpc/power6/wcschr.c.
12927
ba964147
AZ
12928 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12930 file.
12931 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12932 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12933 file: multiarch strchr for PPC32.
12934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12935 multiarch objects.
12936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12937 (__libc_ifunc_impl_list): Likewise.
12938
31c81aaa
AZ
12939 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12940 name.
12941 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12942 file.
12943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12944 file.
12945 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12946 multiarch strchrnul for PPC32.
12947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12948 multiarch objects.
12949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12950 (__libc_ifunc_impl_list): Likewise.
12951
0d0607d9
AZ
12952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12953 file.
12954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12955 multiarch strncasecmp for PPC32.
12956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12957 file.
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12959 multiarch strncasecmp_l for PPC32.
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12961 strncasecmp multiarch objects.
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12963 (__libc_ifunc_impl_list): Likewise.
12964
4dfd5c86
AZ
12965 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12966 file.
12967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12968 multiarch strncasecmp for PPC32.
12969 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12970 New file.
12971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12972 multiarch strcasecmp_l for PPC32.
12973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12974 multiarch objects.
12975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12976 (__libc_ifunc_impl_list): Likewise.
12977
a19e01a3
AZ
12978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12979 file.
12980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12981 file.
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12983 multiarch strncmp for PPC32.
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12985 multiarch objects.
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12987 (__libc_ifunc_impl_list): Likewise.
12988
ae9cf7a2
AZ
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12990 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12991 file.
12992 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12993 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12995 multiarch objects.
12996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12997 (__libc_ifunc_impl_list): Likewise.
12998
3148bb7d
AZ
12999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13000 file.
13001 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13002 file.
13003 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13005 multiarch objects.
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13007 (__libc_ifunc_impl_list): Likewise.
13008
7af8b946
AZ
13009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13010 file.
13011 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13012 file.
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13014 multiarch rawmemchr for PPC32.
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13016 multiarch objects.
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13018 (__libc_ifunc_impl_list): Likewise.
13019
03a6aa6a
AZ
13020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13021 file.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13023 file.
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13025 file: memrchr multiarch for PPC32.
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13027 multiarch objects.
13028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13029 (__libc_ifunc_impl_list): Likewise.
13030
1c62e6d9
AZ
13031 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13033 file.
13034 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13035 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13036 multiarch memchr for PPC32.
13037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13038 multiarch objects.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13040 (__libc_ifunc_impl_list): Likewise.
13041
87da8bdb
AZ
13042 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13044 file.
13045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13046 file.
13047 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13048 file: multiarch mempcpy for PPC32.
13049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13050 multiarch objects.
13051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13052 (__libc_ifunc_impl_list): Likewise.
13053
20ed4714
AZ
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13055 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13056 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13058 multiarch bzero for PPC32.
13059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13060 file.
13061 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13062 file.
13063 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13064 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13065 file: multiarch memset for PPC32.
13066 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13068 memset multiarch objects.
13069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13070 (__libc_ifunc_impl_list): Likewise.
13071
ab3e3a46
AZ
13072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13073 file.
13074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13076 memcmp for PPC32.
13077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13079 multiarch objects.
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13081 (__libc_ifunc_impl_list): Likewise.
13082
930de6f0
AZ
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13086 file.
13087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13088 file.
13089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13090 file.
13091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13092 multiarch memcpy for PPC32.
13093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13094 multiarch objects.
13095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13096 (__libc_ifunc_impl_list): Likewise.
13097
4c628e00
AZ
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13099 support multiarch for POWER/PPC32.
13100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13101 Likewise.
13102 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13104 Implies file to make multiarch folder appers before the fpu and
13105 default folder for power4 configuration.
13106
f4479220
SP
131072013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13108
13109 * scripts/bench.pl: Append volatile keyword to type.
13110
8517800f
KK
131112013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13112
13113 * sysdeps/sh/sotruss-lib.c: New file.
13114 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13115
180138f1
AZ
131162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13117
13118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13119
bbf37bdc
JM
131202013-12-05 Joseph Myers <joseph@codesourcery.com>
13121
e47cc4e0
JM
13122 [BZ #6810]
13123 * math/w_tgamma.c: Include <errno.h>.
13124 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13125 * math/w_tgammaf.c: Include <errno.h>.
13126 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13127 * math/w_tgammal.c: Include <errno.h>.
13128 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13129 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13130 underflow. Add more tgamma tests.
13131 * math/auto-libm-test-out: Regenerated.
13132 * sysdeps/i386/fpu/libm-test-ulps: Update.
13133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13134
bbf37bdc
JM
13135 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13136 sin, sinh, tan, tanh, tgamma, y0 and y1.
13137 * math/auto-libm-test-out: Regenerated.
13138 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13139 (TEST_COND_x86): Likewise.
13140 (M_E2l): Remove macro.
13141 (M_E3l): Likewise.
13142 (M_2_SQRT_PIl): Likewise.
13143 (M_SQRT_PIl): Likewise.
13144 (M_1_DIV_El): Likewise.
13145 (log_test_data): Use AUTO_TESTS_f_f.
13146 (log10_test_data): Likewise.
13147 (log1p_test_data): Likewise.
13148 (log2_test_data): Likewise.
13149 (sin_test_data): Likewise.
13150 (sin_tonearest_test_data): Likewise.
13151 (sin_towardzero_test_data): Likewise.
13152 (sin_downward_test_data): Likewise.
13153 (sin_upward_test_data): Likewise.
13154 (sinh_test_data): Likewise.
13155 (sinh_tonearest_test_data): Likewise.
13156 (sinh_towardzero_test_data): Likewise.
13157 (sinh_downward_test_data): Likewise.
13158 (sinh_upward_test_data): Likewise.
13159 (tan_test_data): Likewise.
13160 (tan_tonearest_test_data): Likewise.
13161 (tan_towardzero_test_data): Likewise.
13162 (tan_downward_test_data): Likewise.
13163 (tan_upward_test_data): Likewise.
13164 (tanh_test_data): Likewise.
13165 (tgamma_test_data): Likewise.
13166 (y0_test_data): Likewise.
13167 (y1_test_data): Likewise.
13168 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13169 (special_real_inputs): Add pi/4.
13170 * sysdeps/i386/fpu/libm-test-ulps: Update.
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13172
eb5ad6b9
AZ
131732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13174
13175 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13176 "longjmp_target" static probes.
13177 (__longjmp): Rename to __longjmp_symbol.
13178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13179 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13180 on which longjmp to generate.
13181 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13183 probe.
13184 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13185 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13186 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13188 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13189 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13191 __longjmp_symbol based on which __longjmp to generate.
13192 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13193 probe.
13194 (setjmp): Rename to setjmp_symbol.
13195 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13196 (_setjmp): Rename to _setjmp_symbol.
13197 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13198 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13199 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13200 which setjmp to generate.
13201 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13202 "longjmp_target" static probes.
13203
d136c6dc
SP
132042013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13205
9298ecba
SP
13206 * benchtests/README: Add note about output arguments.
13207 * benchtests/bench-sincos.c: Remove file.
13208 * benchtests/sincos-inputs: New file.
13209 * scripts/bench.pl: Identify output arguments and define
13210 static variables for them.
13211
232983e9
SP
13212 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13213
d136c6dc
SP
13214 [BZ #15941]
13215 * Makefile (INSTALL): Add install-plain.texi as the primary
13216 dependency.
13217 * manual/install-plain.texi: New file.
13218 * manual/install.texi: Include node directive only for
13219 non-plaintext output.
13220
699ff837
JM
132212013-12-04 Joseph Myers <joseph@codesourcery.com>
13222
ab07cea8
JM
13223 * stdlib/longlong.h: Update from GCC.
13224
699ff837
JM
13225 [BZ #6807]
13226 [BZ #15901]
13227 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13228 * math/w_j0f.c (y0f): Likewise.
13229 * math/w_j0l.c (__y0l): Likewise.
13230 * math/w_j1.c (y1): Likewise.
13231 * math/w_j1f.c (y1f): Likewise.
13232 * math/w_j1l.c (__y1l): Likewise
13233 * math/w_jn.c (yn): Likewise.
13234 * math/w_jnf.c (ynf): Likewise.
13235 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13236 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13237 value for Bessel function domain errors outside _SVID_ mode.
13238 Adjust sign of return value for yn (negative integer, 0).
13239 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13240 by zero in return for negative x and set sign appropriately for
13241 negative n.
13242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13244 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13245 expectations in error cases.
13246 (y1_test_data): Likewise.
13247 (yn_test_data): Likewise.
13248 * sysdeps/i386/fpu/libm-test-ulps: Update.
13249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250
5b118558
UW
132512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13252
13253 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13254 "64" to "64-v1". Add "64-v2".
13255 (abi-64-options): Rename to ...
13256 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13257 (abi-64-condition): Rename to ...
13258 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13259 (abi-64-ld-soname): Rename to ...
13260 (abi-64-v1-ld-soname): ... this.
13261 (abi-64-v2-options): Define.
13262 (abi-64-v2-condition): Likewise.
13263 (abi-64-v2-ld-soname): Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13265 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13269
61cd8fe4
UW
132702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13271 Alan Modra <amodra@gmail.com>
13272
13273 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13274 New versions for use with the ELFv2 ABI.
13275 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13276 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13277 declaration.
13278 (struct La_ppc64v2_retval): Likewise.
13279 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13280 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13281 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13282 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13283 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13284 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13285 Do not save or restore CR.
13286 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13287 (_dl_profile_resolve): Do no save or restore CR. Support extended
13288 return values for ELFv2 ABI. Fix location of FPR return registers.
13289 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13290 updated values for _CALL_ELF == 2.
13291 (La_regs, La_retval, int_retval): Likewise.
13292
8b8a692c
UW
132932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13294
13295 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13296 (FRAME_MIN_SIZE_PARM): Likewise.
13297 (FRAME_BACKCHAIN): Likewise.
13298 (FRAME_CR_SAVE): Likewise.
13299 (FRAME_LR_SAVE): Likewise.
13300 (FRAME_TOC_SAVE): Likewise.
13301 (FRAME_PARM_SAVE): Likewise.
13302 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13303 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13304 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13305 (call_mcount_parm_offset): New macro.
13306 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13307 (PROF): Use symbolic stack frame offsets.
13308 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13310 Redefine in terms of FRAME_MIN_SIZE.
13311 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13312 (_dl_profile_resolve): Likewise. Update comment.
13313 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13314 symbols stack frame offsets.
13315 (__sigsetjmp): Likewise.
13316 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13317 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13318 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13319 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13320
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13322 (FRAME_BACKCHAIN): Remove.
13323 (FRAME_CR_SAVE): Likewise.
13324 (FRAME_LR_SAVE): Likewise.
13325 (FRAME_COMPILER_DW): Likewise.
13326 (FRAME_LINKER_DW): Likewise.
13327 (FRAME_TOC_SAVE): Likewise.
13328 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13329 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13330 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13331 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13333 (CHECK_SP): Use symbolic stack frame offsets.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13335 zone" instead of caller's parameter save area for temp storage.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13337 Likewise. Also, use symbolic stack frame offsets.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13339 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13340 our own stack frame instead of the caller's.
13341 (__socket): Use symbolic stack frame offsets.
13342
122b66de
UW
133432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13344 Alan Modra <amodra@gmail.com>
13345
13346 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13347 Define.
57f41c40
AS
13348 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13349 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13350 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13351 New function.
13352 (elf_machine_fixup_plt): Call it.
13353 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13354 reloc arguments.
13355 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13357 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13358 r2 before calling target.
13359
696caf1d
UW
133602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13361 Alan Modra <amodra@gmail.com>
13362
13363 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13364 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13365 versions of macros to support ELFv2 ABI.
13366 (LOCALENTRY): New macro.
13367 (ENTRY, EALIGN): Use it.
13368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13369 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13370 fall through into ENTRY entry point.
13371 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13372 Only define if _CALL_ELF != 2.
13373
13374 (elf_machine_matches_host): Verify ABI version matches.
13375 (RTLD_START): Use LOCALENTRY.
13376 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13377 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13378 (PLT_ENTRY_WORDS): New macro.
13379 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13380 (elf_machine_runtime_setup): Support ELFv2 ABI.
13381 (elf_machine_fixup_plt): Likewise.
13382 (elf_machine_plt_conflict): Likewise.
13383 (resolve_ifunc): Likewise.
13384 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13386 Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13388 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13390 (makecontext): Support ELFv2 ABI.
13391 * elf/elf.h (EF_PPC64_ABI): Define.
13392
d31beafa
UW
133932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13394
57f41c40
AS
13395 * sysdeps/powerpc/powerpc64/sysdep.h
13396 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13397 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13398 (ENTRY) [ASSEMBLER]: ... but instead here ...
13399 (EALIGN) [ASSEMBLER]: ... and here.
13400 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13401 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13402 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13403 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13404 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13406 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13407 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13409 Use PPC64_LOAD_FUNCPTR.
13410
b525166b
UW
13411 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13412
7ec07d9a
AM
134132013-12-04 Alan Modra <amodra@gmail.com>
13414
13415 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13416 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13417 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13418 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13419
13420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13421 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13422 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13423 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13424 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13425 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13426
5162e7dd
UW
134272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13428
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13430 (__makecontext): Fix incorrect CFI when backtracing out of
13431 context created via makecontext.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13433 (__setcontext): Fix incorrect CFI during switch to new context.
13434 (__novec_setcontext): Likewise.
13435
19e3372b
OB
134362013-12-04 Ondřej Bílka <neleai@seznam.cz>
13437
13438 [BZ #4772]
13439 * time/strptime_l.c (__strptime_internal): Allow modifiers
13440 in strptime.
13441 * time/tst-strptime.c (day_tests): Add testcase.
13442
ecaf142d
SP
134432013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13444
13445 * scripts/bench.pl: Skip over blank lines.
13446
fbf964ae
PE
134472013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13448
13449 [BZ #926]
13450 * manual/time.texi (Calendar Time): Clarify what timezone functions
13451 use.
13452
fa60a674
AZ
134532013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13454
13455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456
d674f0ef
OB
134572013-12-04 Ondřej Bílka <neleai@seznam.cz>
13458
13459 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13460 implementation.
13461 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13462 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13463 * debug/memset_chk.c (__memset_chk): Likewise.
13464 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13465 * debug/strncpy_chk.c: Likewise.
13466
17dea188
JM
134672013-12-03 Joseph Myers <joseph@codesourcery.com>
13468
749008ff
JM
13469 [BZ #15268]
13470 [BZ #15425]
13471 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13472 (__ieee754_exp): For possibly underflowing results, check size of
13473 result and force underflow exception if required.
13474 * math/auto-libm-test-in: Add more tests of exp.
13475 * math/auto-libm-test-out: Regenerated.
13476 * sysdeps/i386/fpu/libm-test-ulps: Update.
13477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13478
17dea188
JM
13479 [BZ #16283]
13480 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13481 * math/w_exp2f.c (__exp2f): Likewise.
13482 * math/w_exp2l.c (__exp2l): Likewise.
13483 * math/auto-libm-test-in: Do not allow missing errno on exp2
13484 underflow.
13485 * math/auto-libm-test-out: Regenerated.
13486
b20de2c3
OB
134872013-12-03 Ondřej Bílka <neleai@seznam.cz>
13488
13489 [BZ #16274]
13490 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13491 handle filename validation.
13492 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13493 (do_open): Delete.
13494
d8e2dbe3
JM
134952013-12-03 Joseph Myers <joseph@codesourcery.com>
13496
34e16df5
JM
13497 [BZ #6786]
13498 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13499 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13500 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13501 <float.h>.
13502 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13503 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13504 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13506 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13508 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13509 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13510 Add more erfc tests.
13511 * math/auto-libm-test-out: Regenerated.
13512 * sysdeps/i386/fpu/libm-test-ulps: Update.
13513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13514
d8e2dbe3
JM
13515 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13516 exp2, expm1, j0 and j1.
13517 * math/auto-libm-test-out: Regenerated.
13518 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13519 (erfc_test_data): Likewise.
13520 (exp_test_data): Likewise.
13521 (exp_tonearest_test_data): Likewise.
13522 (exp_towardzero_test_data): Likewise.
13523 (exp_downward_test_data): Likewise.
13524 (exp_upward_test_data): Likewise.
13525 (exp10_test_data): Likewise.
13526 (exp2_test_data): Likewise.
13527 (expm1_test_data): Likewise.
13528 (j0_test_data): Likewise.
13529 (j1_test_data): Likewise.
13530 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13531 (input_flag_type): Add flag_xfail_rounding.
13532 (input_flags): Add xfail-rounding.
13533 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13534 (output_for_one_input_case): Handle flag_xfail_rounding.
13535 * sysdeps/i386/fpu/libm-test-ulps: Update.
13536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13537
18d14251
AJ
135382013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13539
3d2e6075 13540 [BZ #16289]
18d14251
AJ
13541 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13542 division by 0.
13543
520d437b
SP
135442013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13545
13546 [BZ #16195]
13547 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13548 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13549 (STAP_PROBE0): New macro.
13550 (STAP_PROBE1): Likewise.
13551 (STAP_PROBE2): Likewise.
13552 (STAP_PROBE3): Likewise.
13553 (STAP_PROBE4): Likewise.
13554
416e0145
OB
135552013-12-02 Ondřej Bílka <neleai@seznam.cz>
13556
13557 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13558
9d17796a
SE
135592013-12-02 Steve Ellcey <sellcey@mips.com>
13560
13561 * benchtests/Makefile (bench): Add sqrt.
13562 (LDLIBS-bench-sqrt): New.
13563 * benchtests/sqrt-input: New.
13564
f524d6a8
PS
135652013-12-02 Pavel Simerda <psimerda@redhat.com>
13566
639a0ef8
PS
13567 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13568 (GAIH_EAI): Likewise.
13569 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13570 (gaih_inet): Likewise.
13571 (getaddrinfo): Don't use GAIH_EAI.
13572
f524d6a8
PS
13573 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13574 (struct gaih): Remove definition.
13575
df3aedaf
SP
135762013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13577
13578 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13579 Use HERRNOP directly.
13580
1ab19dec
AZ
135812013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13582
b42ad38d 13583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13584
176b0c79
JM
135852013-11-30 Joseph Myers <joseph@codesourcery.com>
13586
13587 * math/gen-auto-libm-tests.c (test_functions): Add more
13588 single-argument functions.
13589 (special_fill_pi_2): New function.
13590 (special_fill_minus_pi_2): Likewise.
13591 (special_fill_pi_6): Likewise.
13592 (special_fill_minus_pi_6): Likewise.
13593 (special_fill_pi_3): Likewise.
13594 (special_fill_2pi_3): Likewise.
13595 (special_fill_e): Likewise.
13596 (special_fill_1_e): Likewise.
13597 (special_fill_e_minus_1): Likewise.
13598 (special_real_inputs): Add more special inputs.
13599 (output_for_one_input_case): Do not require ERANGE on underflow to
13600 zero if round-to-nearest result does not underflow to zero, unless
13601 exact results required.
13602 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13603 atan, atanh, cbrt, cos and cosh.
13604 * math/auto-libm-test-out: Regenerated.
13605 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13606 (acos_tonearest_test_data): Likewise.
13607 (acos_towardzero_test_data): Likewise.
13608 (acos_downward_test_data): Likewise.
13609 (acos_upward_test_data): Likewise.
13610 (acosh_test_data): Likewise.
13611 (asin_test_data): Likewise.
13612 (asin_tonearest_test_data): Likewise.
13613 (asin_towardzero_test_data): Likewise.
13614 (asin_upward_test_data): Likewise.
13615 (asinh_test_data): Likewise.
13616 (atan_test_data): Likewise.
13617 (atanh_test_data): Likewise.
13618 (cbrt_test_data): Likewise.
13619 (cos_test_data): Likewise.
13620 (cos_tonearest_test_data): Likewise.
13621 (cos_towardzero_test_data): Likewise.
13622 (cos_downward_test_data): Likewise.
13623 (cos_upward_test_data): Likewise.
13624 (cosh_test_data): Likewise.
13625 (cosh_tonearest_test_data): Likewise.
13626 (cosh_towardzero_test_data): Likewise.
13627 (cosh_downward_test_data): Likewise.
13628 (cosh_upward_test_data): Likewise.
13629 * sysdeps/i386/fpu/libm-test-ulps: Update.
13630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13631
ffb536d0
JM
136322013-11-29 Joseph Myers <joseph@codesourcery.com>
13633
2a77a467
JM
13634 [BZ #6787]
13635 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13636 * math/w_exp10f.c (__exp10f): Likewise.
13637 * math/w_exp10l.c (__exp10l): Likewise.
13638 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13639 errno settings in existing tests.
13640
ea3bc4e8
JM
13641 [BZ #14032]
13642 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13643 precision control set to double precision.
13644 * sysdeps/i386/fpu/w_sqrt.c: New file.
13645 * math/auto-libm-test-in: Add more tests.
13646 * math/auto-libm-test-out: Update.
13647
0712c9d8
JM
13648 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13649 (sqrt_test_tonearest): New function.
13650 (sqrt_towardzero_test_data): New variable.
13651 (sqrt_test_towardzero): New function.
13652 (sqrt_downward_test_data): New variable.
13653 (sqrt_test_downward): New function.
13654 (sqrt_upward_test_data): New variable.
13655 (sqrt_test_upward): New function.
13656 (main): Call the new functions.
13657
ffb536d0
JM
13658 * math/gen-auto-libm-tests.c: New file.
13659 * math/auto-libm-test-in: Likewise.
13660 * math/auto-libm-test-out: New generated file.
13661 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13662 variables.
13663 (%beautify): Add generated representations of zero.
13664 (top level): Set $auto_input and call parse_auto_input.
13665 (beautify): Remove trailing "f" from hex float constants.
13666 (parse_args): Handle XFAIL_TEST.
13667 (convert_condition): New function.
13668 (or_value): Likewise.
13669 (or_cond_value): Likewise.
13670 (generate_testfile): Handle AUTO_TESTS_* lines.
13671 (parse_auto_input): New function.
13672 * math/libm-test.inc (XFAIL_TEST): New macro.
13673 (ERRNO_UNCHANGED): Update value.
13674 (ERRNO_EDOM): Likewise.
13675 (ERRNO_ERANGE): Likewise.
13676 (IGNORE_RESULT): Likewise.
13677 (TEST_COND_flt_32): New macro.
13678 (TEST_COND_dbl_64): Likewise.
13679 (TEST_COND_ldbl_96_intel): Likewise.
13680 (TEST_COND_ldbl_96_m68k): Likewise.
13681 (TEST_COND_ldbl_128): Likewise.
13682 (TEST_COND_ldbl_128ibm): Likewise.
13683 (TEST_COND_long32): Likewise.
13684 (TEST_COND_long64): Likewise.
13685 (TEST_COND_before_rounding): Likewise.
13686 (TEST_COND_after_rounding): Likewise.
13687 (enable_test): Handle XFAIL_TEST flag.
13688 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13689 with finite results.
13690 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13691 auto-libm-test-out.
13692
acd98a8e
AK
136932013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13694 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13695
13696 [BZ #16214]
13697 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13698 __tls_get_addr_internal instead of __tls_get_offset in order to
13699 avoid GOT pointer dependency. Make rtld export
13700 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13701 __tls_get_addr since we are a __tls_get_offset platform.
13702 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13703 GOT pointer being set up before.
13704 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13705
3c1c46a6
JM
137062013-11-28 Joseph Myers <joseph@codesourcery.com>
13707
7475aef5
JM
13708 * manual/math.texi (Errors in Math Functions): Document accuracy
13709 goals.
13710
8bca7cd8
JM
13711 [BZ #15004]
13712 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13713 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13716 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13718 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13728
91a1f3fe
JM
13729 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13730 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13731 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13732 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13733 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13734 Likewise.
13735 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13736 Likewise.
13737 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13738 Likewise.
13739 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13740 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13741 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13742 atomic-feupdateenv and flt-rounds.
13743 * sysdeps/powerpc/nofpu/Versions (libc): Add
13744 __atomic_feholdexcept, __atomic_feclearexcept,
13745 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13746 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13747 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13748 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13749 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13750 here.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13752 Update.
13753
c5df7609
JM
13754 * manual/arith.texi (FP Exceptions): Document that exceptions may
13755 not be raised when matherr is used.
13756 (Math Error Reporting): Document overflow in directed rounding
13757 modes. Document that errno may not be set when finite values are
13758 returned on overflow. Document intent to set errno on underflow
13759 only for underflow to zero.
13760
3c1c46a6
JM
13761 [BZ #16271]
13762 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13763 round-to-nearest then adjust result for other rounding modes.
13764 * include/fenv.h (fegetround): Use libm_hidden_proto.
13765 * math/fegetround.c (fegetround): Use libm_hidden_def.
13766 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13767 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13768 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13769 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13770 Likewise.
13771 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13773 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13774 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13775
5a4c6d53
SP
137762013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13777
13778 [BZ #16077]
13779 * nss/Versions (libnss_files): Add
13780 _nss_files_gethostbyname3_r.
13781 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13782 New function.
13783 (HOST_DB_LOOKUP): Remove macro.
13784 (_nss_files_gethostbyname_r): Implement function without the
13785 HOST_DB_LOOKUP macro.
13786 (_nss_files_gethostbyname2_r): Likewise.
13787
897b98ba
OB
137882013-11-28 Ondřej Bílka <neleai@seznam.cz>
13789
13790 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13791
6f476861
UB
137922013-11-26 Uros Bizjak <ubizjak@gmail.com>
13793
13794 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13795 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13796 warning.
13797
bd12ab55
AZ
137982013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13799
13800 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13801 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13802 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13803 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13804 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13805 __fe_nomask_env_priv and attribute_hidden.
13806 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13807 (libc_feupdateenv_test_ppc): Likewise.
13808 (libc_feresetround_ppc): Likewise.
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13810 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13811 compat_symbol macro.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13813 (__fe_nomask_env): Likewise.
13814 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13815
52bb6543
OB
138162013-11-26 Ondřej Bílka <neleai@seznam.cz>
13817
13818 * string/Makefile: Remove ifunc tests.
13819 * string/test-string.h: Define TEST_IFUNC.
13820 * string/test-bcopy-ifunc.c: Remove.
13821 * string/test-bzero-ifunc.c: Likewise.
13822 * string/test-memccpy-ifunc.c: Likewise.
13823 * string/test-memchr-ifunc.c: Likewise.
13824 * string/test-memcmp-ifunc.c: Likewise.
13825 * string/test-memcpy-ifunc.c: Likewise.
13826 * string/test-memmem-ifunc.c: Likewise.
13827 * string/test-memmove-ifunc.c: Likewise.
13828 * string/test-mempcpy-ifunc.c: Likewise.
13829 * string/test-memrchr-ifunc.c: Likewise.
13830 * string/test-memset-ifunc.c: Likewise.
13831 * string/test-rawmemchr-ifunc.c: Likewise.
13832 * string/test-stpcpy-ifunc.c: Likewise.
13833 * string/test-stpncpy-ifunc.c: Likewise.
13834 * string/test-strcasecmp-ifunc.c: Likewise.
13835 * string/test-strcasestr-ifunc.c: Likewise.
13836 * string/test-strcat-ifunc.c: Likewise.
13837 * string/test-strchr-ifunc.c: Likewise.
13838 * string/test-strchrnul-ifunc.c: Likewise.
13839 * string/test-strcmp-ifunc.c: Likewise.
13840 * string/test-strcpy-ifunc.c: Likewise.
13841 * string/test-strcspn-ifunc.c: Likewise.
13842 * string/test-strlen-ifunc.c: Likewise.
13843 * string/test-strncasecmp-ifunc.c: Likewise.
13844 * string/test-strncat-ifunc.c: Likewise.
13845 * string/test-strncmp-ifunc.c: Likewise.
13846 * string/test-strncpy-ifunc.c: Likewise.
13847 * string/test-strnlen-ifunc.c: Likewise.
13848 * string/test-strpbrk-ifunc.c: Likewise.
13849 * string/test-strrchr-ifunc.c: Likewise.
13850 * string/test-strspn-ifunc.c: Likewise.
13851 * string/test-strstr-ifunc.c: Likewise.
13852
ab260039 138532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13854
13855 * benchtests/Makefile: Remove ifunc tests.
13856 * benchtests/bench-string.h: Define TEST_IFUNC.
13857 * benchtests/bench-bcopy-ifunc.c: Remove.
13858 * benchtests/bench-bzero-ifunc.c: Likewise.
13859 * benchtests/bench-memccpy-ifunc.c: Likewise.
13860 * benchtests/bench-memchr-ifunc.c: Likewise.
13861 * benchtests/bench-memcmp-ifunc.c: Likewise.
13862 * benchtests/bench-memcpy-ifunc.c: Likewise.
13863 * benchtests/bench-memmem-ifunc.c: Likewise.
13864 * benchtests/bench-memmove-ifunc.c: Likewise.
13865 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13866 * benchtests/bench-memrchr-ifunc.c: Likewise.
13867 * benchtests/bench-memset-ifunc.c: Likewise.
13868 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13869 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13870 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13871 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13872 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13873 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13874 * benchtests/bench-strcat-ifunc.c: Likewise.
13875 * benchtests/bench-strchr-ifunc.c: Likewise.
13876 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13877 * benchtests/bench-strcmp-ifunc.c: Likewise.
13878 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13879 * benchtests/bench-strcpy-ifunc.c: Likewise.
13880 * benchtests/bench-strcspn-ifunc.c: Likewise.
13881 * benchtests/bench-strlen-ifunc.c: Likewise.
13882 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13883 * benchtests/bench-strncat-ifunc.c: Likewise.
13884 * benchtests/bench-strncmp-ifunc.c: Likewise.
13885 * benchtests/bench-strncpy-ifunc.c: Likewise.
13886 * benchtests/bench-strnlen-ifunc.c: Likewise.
13887 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13888 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13889 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13890 * benchtests/bench-strspn-ifunc.c: Likewise.
13891 * benchtests/bench-strstr-ifunc.c: Likewise.
13892
138932013-11-26 Ondřej Bílka <neleai@seznam.cz>
13894
ab260039
OB
13895 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13896
d1d9eaf4 138972013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13898
d1d9eaf4
OB
13899 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13900 * rt/aio.h: Likewise.
13901 * sysdeps/gnu/bits/utmp.h: Likewise.
13902 * sysdeps/gnu/bits/utmpx.h: Likewise.
13903 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13904 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13905 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13906 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13907 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13908 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13909 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13910 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13920 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13921 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13922 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13923 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13924 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13926 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13927 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13930 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13937 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13938 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13939 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13940 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13942 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13943 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13944 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13945
a7624ed9
CD
139462013-11-25 Carlos O'Donell <carlos@redhat.com>
13947
13948 [BZ #16245]
13949 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13950 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13951
63cfe52b
JM
139522013-11-25 Joseph Myers <joseph@codesourcery.com>
13953
13954 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13956 Likewise.
13957
41e8926a
AZ
139582013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959
13960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13961 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13962 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13963 (__fesetround): Remove define.
13964 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13965 rounding and exceptions handling.
13966 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13967 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13968 (__fe_nomask_env): Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13970 __fegetround instead of fegetround.
13971 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13973
6851bd4d
RM
139742013-11-21 Roland McGrath <roland@hack.frob.com>
13975
070906ff
RM
13976 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13977 it's there.
13978
6851bd4d
RM
13979 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13980
84ae135d
MI
139812013-11-21 Meador Inge <meadori@codesourcery.com>
13982
13983 [BZ #11157]
13984 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13985 (encrypt_r): Likewise.
13986 * malloc/obstack.h (obstack_free): Likewise.
13987 * posix/unistd.h (encrypt): Likewise.
13988
daf75146
GM
139892013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13990
13991 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13992 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13993 DL_CALL_DT_FINI() that call the functions directly.
13994 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13995 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13996 * elf/dl-fini.c: Likewise.
13997
10ad46bc
OB
139982013-11-20 Ondřej Bílka <neleai@seznam.cz>
13999
14000 * malloc/hooks.c (memalign_check): Add alignment rounding.
14001 * malloc/malloc.c (_mid_memalign): New function.
14002 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14003 Implement by calling _mid_memalign.
14004 * manual/probes.texi (Memory Allocation Probes): Remove
14005 memory_valloc_retry and memory_pvalloc_retry.
14006
f3fd2628
SP
140072013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14008
4712799f
SP
14009 * locale/programs/locarchive.c (open_archive): Add const
14010 qualifier to ARCHIVEFNAME and copy default fname to
14011 DEFAULT_FNAME.
14012
0417b20f
SP
14013 [BZ #15601]
14014 * libio/tst-widetext.input: Rename Oriya to Odia.
14015 * locale/iso-639.def: Likewise.
14016
f3fd2628
SP
14017 * manual/probes.texi (Mathematical Function Probes): Add
14018 documentation for sin, cos, asin and acos probes.
14019 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14020 (__sin32): Add slowasin probe.
14021 (__cos32): Add slowacos probe.
14022 (__mpsin): Add slowsin probe.
14023 (__mpcos): Add slowcos probe.
14024
73c1ce4f
JM
140252013-11-19 Joseph Myers <joseph@codesourcery.com>
14026
14027 [BZ #15483]
14028 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14029 thread-local __sim_exceptions_thread and global
14030 __sim_exceptions_global.
14031 (__sim_disabled_exceptions): Change to thread-local
14032 __sim_disabled_exceptions_thread and global
14033 __sim_disabled_exceptions_global.
14034 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14035 and global __sim_round_mode_global.
14036 (__simulate_exceptions): Use thread-local floating-point state and
14037 set global state from it as needed.
14038 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14039 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14040 __sim_round_mode_thread.
14041 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14042 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14043 and global __sim_exceptions_global.
14044 (__sim_disabled_exceptions): Change to thread-local
14045 __sim_disabled_exceptions_thread and global
14046 __sim_disabled_exceptions_global.
14047 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14048 and global __sim_round_mode_global.
14049 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14050 (SIM_SET_GLOBAL): Likewise.
14051 * sysdeps/powerpc/soft-fp/sfp-machine.h
14052 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14053 __sim_round_mode_thread.
14054 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14055 __sim_disabled_exceptions_thread.
14056 (__sim_exceptions): Change to __sim_exceptions_thread.
14057 (__sim_disabled_exceptions): Change to
14058 __sim_disabled_exceptions_thread.
14059 (__sim_round_mode): Change to __sim_round_mode_thread.
14060 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14061 thread-local floating-point state and set global state from it as
14062 needed.
14063 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14064 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14065 (__sim_disabled_exceptions): Remove extern declaration.
14066 (feenableexcept): Use thread-local floating-point state and set
14067 global state from it as needed.
14068 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14069 extern declaration.
14070 (__sim_disabled_exceptions): Likewise.
14071 (__sim_round_mode): Likewise.
14072 (__fegetenv): Use thread-local floating-point state.
14073 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14074 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14075 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14076 floating-point state and set global state from it as needed.
14077 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14078 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14079 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14080 Likewise.
14081 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14082 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14083 Likewise.
14084 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14085 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14086 Use __sim_round_mode_thread.
14087 * math/test-fenv-tls.c: New file.
14088 * math/Makefile (tests): Add test-fenv-tls.
14089 ($(objpfx)test-fenv-tls): Depend on
14090 $(common-objpfx)nptl/libpthread.so.
14091
b5449b12
AS
140922013-11-19 Andreas Schwab <schwab@suse.de>
14093
14094 * locale/programs/locale.c (show_info): Decode wordarray elements.
14095 * locale/categories.def (LC_MONETARY): Add element for
14096 _NL_MONETARY_CRNCYSTR.
14097 * locale/C-monetary.c (conversion_rate): New variable.
14098 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14099 element.
14100
e186536b
CM
141012013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14102
14103 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14104 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14105
5c349950
PP
141062013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14107
14108 * elf/Makefile (tst-auxv): New test.
14109 * elf/tst-auxv.c: New
14110 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14111
699df45b
JM
141122013-11-18 Joseph Myers <joseph@codesourcery.com>
14113
14114 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14115 (hidden_proto): Caller changed.
14116 (hidden_tls_proto): New macro.
14117 (libc_hidden_tls_proto): Likewise.
14118 (rtld_hidden_tls_proto): Likewise.
14119 (libm_hidden_tls_proto): Likewise.
14120 (libresolv_hidden_tls_proto): Likewise.
14121 (librt_hidden_tls_proto): Likewise.
14122 (libdl_hidden_tls_proto): Likewise.
14123 (libnss_files_hidden_tls_proto): Likewise.
14124 (libnsl_hidden_tls_proto): Likewise.
14125 (libnss_nisplus_hidden_tls_proto): Likewise.
14126 (libutil_hidden_tls_proto): Likewise.
14127
b7589107
OB
141282013-11-18 Ondřej Bílka <neleai@seznam.cz>
14129
14130 [BZ #10253]
14131 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14132 (decompose_rpath): Defer expansion to fillin_rpath.
14133 (_dl_init_paths): Pass linkmap to fillin_rpath.
14134
250c23bd
RS
141352013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14136
14137 * benchtests/Makefile: Add strsep.
14138 * benchtests/bench-strsep.c: New file: strsep benchtest.
14139 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14140
a7931fcf
AS
141412013-11-18 Andreas Schwab <schwab@suse.de>
14142
14143 * locale/programs/locale.c (show_info) [case byte]: Check for
14144 '\377' instead of '\177'.
14145 * locale/C-monetary.c (not_available): Always use "\377".
14146 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14147 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14148 detect unavailable sign_posn locale elements.
14149 * locale/localeconv.c (__localeconv): For grouping and
14150 mon_grouping handle "\177" and "\377" like no grouping.
14151 (INT_ELEM): New macro. Use it to set all numeric members.
14152 * locale/programs/ld-monetary.c (monetary_read)
14153 <tok_mon_grouping>: Normalize single -1 to the empty string.
14154 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14155 Likewise.
14156
728dab0e
OB
141572013-11-07 Ondřej Bílka <neleai@seznam.cz>
14158
14159 [BZ #16055]
14160 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14161 when we match (nil).
14162 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14163
66294491
JM
141642013-11-16 Joseph Myers <joseph@codesourcery.com>
14165
ce665817
JM
14166 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14167 (NO_TEST_INLINE): Update value.
14168 (ERRNO_UNCHANGED): Likewise.
14169 (ERRNO_EDOM): Likewise.
14170 (ERRNO_ERANGE): Likewise.
14171 (IGNORE_RESULT): Likewise.
14172 (check_float_internal): Check signs of NaN results if
14173 TEST_NAN_SIGN used.
14174 (check_complex): Pass TEST_NAN_SIGN flag through to second
14175 check_float_internal call.
14176 (copysign_test_data): Add tests with quiet NaNs as second
14177 argument. Use TEST_NAN_SIGN.
14178 (fabs_test_data): Add test of negative quiet NaN argument. Use
14179 TEST_NAN_SIGN.
14180 (signbit_test_data): Add tests of quiet NaN argument.
14181 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14182
ee1466a9
JM
14183 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14184 $ignore_result.
14185 (parse_args): Handle function results specified as IGNORE.
14186 * math/libm-test.inc (IGNORE_RESULT): New macro.
14187 (check_float_internal): Do not check numerical result if flag
14188 IGNORE_RESULT set.
14189 (check_complex): Pass through IGNORE_RESULT to second
14190 check_float_internal call.
14191 (check_int): Do not check numerical result if flag IGNORE_RESULT
14192 set.
14193 (check_long): Likewise.
14194 (check_bool): Likewise.
14195 (check_longlong): Likewise.
14196 (lrint_test_data): Add tests of infinite and NaN arguments.
14197 (lrint_tonearest_test_data): Likewise.
14198 (lrint_towardzero_test_data): Likewise.
14199 (lrint_downward_test_data): Likewise.
14200 (lrint_upward_test_data): Likewise.
14201 (llrint_test_data): Likewise.
14202 (llrint_tonearest_test_data): Likewise.
14203 (llrint_towardzero_test_data): Likewise.
14204 (llrint_downward_test_data): Likewise.
14205 (llrint_upward_test_data): Likewise.
14206 (lround_test_data): Likewise.
14207 (llround_test_data): Likewise.
14208
14407b7e
JM
14209 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14210 (ERRNO_UNCHANGED): Update value.
14211 (ERRNO_EDOM): Likewise.
14212 (ERRNO_ERANGE): Likewise.
14213 (NO_TEST_INLINE_FLOAT): New macro.
14214 (NO_TEST_INLINE_DOUBLE): Likewise.
14215 (enable_test): New function.
14216 (RUN_TEST_f_f): Check enable_test before running test.
14217 (RUN_TEST_2_f): Likewise.
14218 (RUN_TEST_fff_f): Likewise.
14219 (RUN_TEST_c_f): Likewise.
14220 (RUN_TEST_f_f1): Likewise.
14221 (RUN_TEST_fF_f1): Likewise.
14222 (RUN_TEST_fI_f1): Likewise.
14223 (RUN_TEST_ffI_f1): Likewise.
14224 (RUN_TEST_c_c): Likewise.
14225 (RUN_TEST_cc_c): Likewise.
14226 (RUN_TEST_f_i): Likewise.
14227 (RUN_TEST_f_i_tg): Likewise.
14228 (RUN_TEST_ff_i_tg): Likewise.
14229 (RUN_TEST_f_b): Likewise.
14230 (RUN_TEST_f_b_tg): Likewise.
14231 (RUN_TEST_f_l): Likewise.
14232 (RUN_TEST_f_L): Likewise.
14233 (RUN_TEST_fFF_11): Likewise.
14234 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14235 conditionals.
14236 (cosh_test_data): Likewise.
14237 (exp_test_data): Likewise.
14238 (expm1_test_data): Likewise.
14239 (hypot_test_data): Likewise.
14240 (pow_test_data): Likewise.
14241 (sinh_test_data): Likewise.
14242 (tanh_test_data): Likewise.
14243 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14244 flags argument.
14245
ca07f197
JM
14246 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14247 tests with quiet NaN input and output.
14248 (acosh_test_data): Likewise.
14249 (asin_test_data): Likewise.
14250 (asinh_test_data): Likewise.
14251 (atan_test_data): Likewise.
14252 (atanh_test_data): Likewise.
14253 (atan2_test_data): Likewise.
14254 (cbrt_test_data): Likewise.
14255 (cos_test_data): Likewise.
14256 (cosh_test_data): Likewise.
14257 (erf_test_data): Likewise.
14258 (erfc_test_data): Likewise.
14259 (exp_test_data): Likewise.
14260 (exp10_test_data): Likewise.
14261 (exp2_test_data): Likewise.
14262 (expm1_test_data): Likewise.
14263 (hypot_test_data): Likewise.
14264 (j0_test_data): Likewise.
14265 (j1_test_data): Likewise.
14266 (jn_test_data): Likewise.
14267 (lgamma_test_data): Likewise.
14268 (log_test_data): Likewise.
14269 (log10_test_data): Likewise.
14270 (log1p_test_data): Likewise.
14271 (log2_test_data): Likewise.
14272 (pow_test_data): Likewise.
14273 (scalb_test_data): Likewise.
14274 (sin_test_data): Likewise.
14275 (sincos_test_data): Likewise.
14276 (sinh_test_data): Likewise.
14277 (tan_test_data): Likewise.
14278 (tanh_test_data): Likewise.
14279 (tgamma_test_data): Likewise.
14280 (y0_test_data): Likewise.
14281 (y1_test_data): Likewise.
14282 (yn_test_data): Likewise.
14283
66294491
JM
14284 [BZ #16167]
14285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14286 argument being NaN and avoid computations with second argument in
14287 that case.
14288 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14289 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14291
1820b143
CL
142922013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14293
14294 * locale/iso-639.def: Add Chitwani Tharu (the).
14295
714bd261
AS
142962013-11-14 Andreas Schwab <schwab@suse.de>
14297
14298 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14299 word instead of empty string.
14300
7ab44563
AZ
143012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14302
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14304 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14306 (__fe_nomask_env): Likewise.
14307
e8470ea2
SE
143082013-11-13 Steve Ellcey <sellcey@mips.com>
14309
14310 * benchtests/bench-timing.h: Include time.h.
14311
17c1d9f0
L
143122013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 [BZ #15997]
14315 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14316 to 3.4.0 for x32.
14317 * sysdeps/unix/sysv/linux/configure: Regenerated.
14318
9310c284
JM
143192013-11-13 Joseph Myers <joseph@codesourcery.com>
14320
14321 [BZ #16151]
14322 * stdlib/strtod_l.c (round_and_return): Do not consider
14323 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14324 exponent one less than half the least subnormal exponent.
14325 * stdlib/test-strtod-round-data: Add more tests.
14326 * stdlib/tst-strtod-round.c (tests): Regenerated.
14327
7a2ad8cf
AZ
143282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14329
14330 [BZ #14143]
14331 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14332 (__fe_mask_env): Likewise.
14333 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14334 libm_hidden_proto and add function prototype.
14335 (__fe_mask_env): Add function prototype.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14337 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14339 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14341 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14342
50727aa7
MS
143432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14344
b2f386c1 14345 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14346 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14347
a615be46
MS
143482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14349
14350 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14351 of htab_find_slot().
14352
7ddace62
DM
143532013-11-11 David S. Miller <davem@davemloft.net>
14354
14355 [BZ #16150]
14356 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14357 symbol in the non-vis3 case in static builds.
14358 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14359 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14360 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14361 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14362
9182aa67
JK
143632013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14364
14365 [BZ #387]
14366 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14367 it is empty.
14368
450a2e2d
AZ
143692013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14370
b2f386c1
SP
14371 * benchtests/Makefile: Add bench-strtod.
14372 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14373
8ec3f656
AS
143742013-11-11 Andreas Schwab <schwab@suse.de>
14375
14376 [BZ #16153]
14377 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14378 terminating NUL in key length.
14379
76a9b998
AZ
143802013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14381
14382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14383 Add artificial ODP entry for vDSO symbol for PPC64.
14384 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14385 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14386
e4368156
OB
143872013-11-07 Ondřej Bílka <neleai@seznam.cz>
14388
14389 [BZ #15374]
14390 * nss/getent.c (services_keys): Recognize services starting with digit.
14391
8d6bb57c
DM
143922013-11-06 David S. Miller <davem@davemloft.net>
14393
14394 [BZ #15985]
14395 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14396 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14397
e256c421
WN
143982013-11-06 Will Newton <will.newton@linaro.org>
14399
14400 * manual/memory.texi (Malloc Examples): Remove register
14401 keyword from examples.
14402
f6e12daa 144032013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14404
f6e12daa 14405 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14406
9d880655
AS
144072013-11-04 Joseph Myers <joseph@codesourcery.com>
14408
fd2f9486 14409 [BZ #6981]
9d880655
AS
14410 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14411 depending on [__GCC_IEC_559 > 0].
14412 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14413 depending on [__GCC_IEC_559_COMPLEX > 0].
14414
ae129d3c
CL
144152013-11-03 Chris Leonard <cjl@sugarlabs.org>
14416
14417 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14418 to iso-639.def.
14419
4a15c2a4 144202013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14421
14422 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14423
8b35e35d
OB
144242013-11-01 Ondřej Bílka <neleai@seznam.cz>
14425
14426 [BZ #16112]
14427 * malloc/malloc (malloc_info): Do not handle first bin as
14428 special case.
14429
1d70fd6c
CL
144302013-11-01 Chris Leonard <cjl@sugarlabs.org>
14431
14432 * locale/iso-639.def: Add Central Nahuatl (nhn).
14433
8c5c2600
BH
144342013-11-01 Bruno Haible <bruno@clisp.org>
14435
14436 [BZ #7003]
14437 * manual/math.texi (BSD Random): Specify range upper bound as
14438 in POSIX.
14439
da5579c2
CL
144402013-10-31 Chris Leonard <cjl@sugarlabs.org>
14441
14442 * locale/iso-639.def: Add Meadow Mari (mhr).
14443
5d30d853
OB
144442013-10-31 Ondřej Bílka <neleai@seznam.cz>
14445
14446 [BZ #14752], [BZ #15763]
14447 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14448 Validate name.
14449 * rt/tst_shm.c: Add test for escaping directory.
14450
a4966c61
AS
144512013-10-31 Andreas Schwab <schwab@suse.de>
14452
8a43e768 14453 [BZ #15917]
a4966c61
AS
14454 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14455 followed by 'x' as part of digit sequence.
14456 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14457
28d708c4
MAP
144582013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14459
14460 [BZ #16037]
14461 * configure.ac: allow GNU Make 4.0 and greater.
14462 * configure: Regenerated.
14463
a56ee40b
WN
144642013-10-30 Will Newton <will.newton@linaro.org>
14465
14466 [BZ #16038]
14467 * malloc/hooks.c (memalign_check): Limit alignment to the
14468 maximum representable power of two.
14469 * malloc/malloc.c (__libc_memalign): Likewise.
14470 * malloc/tst-memalign.c (do_test): Add test for very
14471 large alignment values.
14472 * malloc/tst-posix_memalign.c (do_test): Likewise.
14473
c6e4925d
OB
144742013-10-30 Ondřej Bílka <neleai@seznam.cz>
14475
14476 [BZ #11087]
14477 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14478 (munmap_chunk): Likewise.
14479 (mremap_chunk): Likewise.
14480
144812013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14482
8a43e768 14483 [BZ #15799]
bbea82f7
OB
14484 * stdlib/div.c (div): Remove obsolete code.
14485 * stdlib/ldiv.c (ldiv): Likewise.
14486 * stdlib/lldiv.c (lldiv): Likewise.
14487
977f4b31
SP
144882013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14489
14490 [BZ #16071]
14491 * nss/nss_files/files-XXX.c (get_contents_ret): New
14492 enumerator.
14493 (get_contents): New function.
14494 (internal_getent): Use it. Expand size of LINEBUFLEN.
14495
cb8a6dbd
MF
144962013-10-30 Mike Frysinger <vapier@gentoo.org>
14497
14498 * configure.in: Moved to ...
14499 * configure.ac: ... here. Change reference to configure.in
14500 to configure.ac.
14501 * sysdeps/arm/preconfigure.ac: ... here.
14502 configure.in to configure.ac.
14503 * sysdeps/gnu/configure.in: Moved to ...
14504 * sysdeps/gnu/configure.ac: ... here.
14505 * sysdeps/i386/configure.in: Moved to ...
14506 * sysdeps/i386/configure.ac: ... here.
14507 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14508 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14509 * sysdeps/mach/configure.in: Moved to ...
14510 * sysdeps/mach/configure.ac: ... here.
14511 * sysdeps/mach/hurd/configure.in: Moved to ...
14512 * sysdeps/mach/hurd/configure.ac: ... here.
14513 * sysdeps/powerpc/configure.in: Moved to ...
14514 * sysdeps/powerpc/configure.ac: ... here.
14515 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14516 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14517 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14518 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14519 * sysdeps/s390/s390-32/configure.in: Moved to ...
14520 * sysdeps/s390/s390-32/configure.ac: ... here.
14521 * sysdeps/s390/s390-64/configure.in: Moved to ...
14522 * sysdeps/s390/s390-64/configure.ac: ... here.
14523 * sysdeps/sh/configure.in: Moved to ...
14524 * sysdeps/sh/configure.ac: ... here.
14525 * sysdeps/sparc/configure.in: Moved to ...
14526 * sysdeps/sparc/configure.ac: ... here.
14527 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14528 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14529 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14530 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14531 * sysdeps/x86_64/configure.in: Moved to ...
14532 * sysdeps/x86_64/configure.ac: ... here.
14533 * sysdeps/x86_64/preconfigure.in: Moved to ...
14534 * sysdeps/x86_64/preconfigure.ac: ... here.
14535 * aclocal.m4: Change reference to configure.in to configure.ac.
14536 * config.h.in: Likewise.
14537 * manual/install.texi: Likewise.
14538 * manual/maint.texi: Likewise.
14539 * Makefile: Likewise.
14540 * malloc/Makefile: Likewise.
14541 * nscd/Makefile: Likewise.
14542 * Makeconfig: Change reference to configure.in and
14543 preconfigure.in to configure.ac and preconfigure.ac
14544 respectively.
14545 * INSTALL: Regenerated.
14546 * configure: Likewise.
14547 * sysdeps/gnu/configure: Likewise.
14548 * sysdeps/i386/configure: Likewise.
14549 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14550 * sysdeps/mach/configure: Likewise.
14551 * sysdeps/mach/hurd/configure: Likewise.
14552 * sysdeps/powerpc/configure: Likewise.
14553 * sysdeps/powerpc/powerpc32/configure: Likewise.
14554 * sysdeps/powerpc/powerpc64/configure: Likewise.
14555 * sysdeps/s390/s390-32/configure: Likewise.
14556 * sysdeps/s390/s390-64/configure: Likewise.
14557 * sysdeps/sh/configure: Likewise.
14558 * sysdeps/sparc/configure: Likewise.
14559 * sysdeps/unix/sysv/linux/configure: Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14561 * sysdeps/x86_64/configure: Likewise.
14562 * sysdeps/x86_64/preconfigure: Likewise.
14563
36a4953a
AS
145642013-10-29 Andreas Schwab <schwab@suse.de>
14565
14566 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14567
c79a1204
SP
145682013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14569
dfa1b402
SP
14570 * benchtests/pow-inputs: Add new inputs.
14571
54f73d9c
SP
14572 * benchtests/exp-inputs: Add new inputs.
14573
c79a1204
SP
14574 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14575 conditional check for return value.
14576 (__cos32): Likewise.
14577
67beb545 145782013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14579
14580 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14581 to provide a boost for large inputs with word alignment.
14582 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14583 implementation based on optimized PPC64 strcpy.
14584 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14585 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14586 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14587 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14588
151659f6
OB
145892013-10-25 Ondřej Bílka <neleai@seznam.cz>
14590
482a077e 14591 [BZ #2801]
151659f6
OB
14592 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14593
10b0f26b
OB
145942013-10-25 Ondřej Bílka <neleai@seznam.cz>
14595
14596 [BZ #14876]
14597 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14598 * time/tst-strptime.c (day_tests): Add testcase.
14599
ca42d35e
OB
146002013-10-25 Ondřej Bílka <neleai@seznam.cz>
14601
482a077e 14602 [BZ #14029]
ca42d35e
OB
14603 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14604
52e6d801
FB
146052013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14606
14607 [BZ #16074]
14608 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14609 MAP_FAILED on error.
14610
7cbcdb36
SP
146112013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14612
14613 [BZ #16072]
14614 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14615 heap for large requests.
14616
894f3f10
AM
146172013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14618
14619 [BZ #9954]
14620 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14621 result if the result has no associated interface.
14622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14623 interface for all 127.X.Y.Z addresses.
14624
b85545a6
CL
146252013-10-24 Chris Leonard <cjl@sugarlabs.org>
14626
14627 * locale/iso-639.def: Add Ligurian (lij)
14628
d1f23d46
OB
146292013-10-21 Ondřej Bílka <neleai@seznam.cz>
14630
14631 [BZ #15825]
14632 * sunrpc/rpc_main.c: Document rpcgen -5.
14633
4db5b08f
MS
146342013-10-19 Michael Stahl <mstahl@redhat.com>
14635
14636 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14637
a471e96a
OB
146382013-10-19 Ondřej Bílka <neleai@seznam.cz>
14639
d1f23d46 14640 [BZ #10278]
a471e96a
OB
14641 * posix/glob.c: Match only directories when trailing slash is present.
14642 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14643 (main): Add testcase.
14644
45c30c61
OB
146452013-10-19 Ondřej Bílka <neleai@seznam.cz>
14646
14647 [BZ #15670]
14648 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14649
484c12fb
CD
146502013-10-18 Carlos O'Donell <carlos@redhat.com>
14651
3d7dc513
CD
14652 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14653 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14654 AUTH_DES and cindex for FIPS 140-2.
14655 (DES Encryption): Add cindex FIPS 46-3.
14656
484c12fb
CD
14657 * locale/locarchive.h (struct locarhandle): Add fname.
14658 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14659 if an optional argument was specified to --list-archive,
14660 otherwise NULL.
14661 * locale/programs/locarchive.c (show_archive_content): Take new
14662 argument fname and pass it via ah.fname to open_archive.
14663 * locale/programs/localedef.h: Update decl.
14664 (open_archive): If AH->fname is non-null, open that file
14665 rather than the default file name, and don't ignore ENOENT.
14666 (create_archive): Set AH.fname to NULL.
14667 (delete_locales_from_archive): Likewise.
14668 (add_locales_to_archive): Likewise.
14669 * locale/programs/locfile.c (write_all_categories): Likewise.
14670
3c8325fb
JM
146712013-10-18 Joseph Myers <joseph@codesourcery.com>
14672 Aldy Hernandez <aldyh@redhat.com>
14673
14674 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14675 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14676 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14677 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14678 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14679 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14680 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14682 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14684 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14685 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14686 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14687 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14688 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14689 Likewise.
14690 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14691 Likewise.
14692 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14693 Likewise.
14694 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14695 Likewise.
14696 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14697 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14698 Likewise.
14699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14700 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14701 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14702 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14703 Likewise.
14704 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14706 * sysdeps/powerpc/preconfigure: Likewise.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14708 Likewise.
14709 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14710 Replace contents of file by #include of <fenv_libc.h>.
14711 * sysdeps/powerpc/soft-fp/sfp-machine.h
14712 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14713 and <sys/prctl.h>.
14714 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14724 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14725 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14727 Allow copysignl PLT reference to be missing.
14728
5abe0682
RS
147292013-10-18 Richard Sandiford <richard@codesourcery.com>
14730 Joseph Myers <joseph@codesourcery.com
14731
14732 [BZ #15948]
14733 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14734 single character.
14735 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14736
c7738d08
SP
147372013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14738
14739 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14740 * elf/tst-tls1.c: Likewise.
14741 * elf/tst-tls10.h: Likewise.
14742 * elf/tst-tls14.c: Likewise.
14743 * elf/tst-tls2.c: Likewise.
14744 * elf/tst-tls3.c: Likewise.
14745 * elf/tst-tls4.c: Likewise.
14746 * elf/tst-tls5.c: Likewise.
14747 * elf/tst-tls6.c: Likewise.
14748 * elf/tst-tls7.c: Likewise.
14749 * elf/tst-tls8.c: Likewise.
14750 * elf/tst-tls9.c: Likewise.
14751 * elf/tst-tlsmod1.c: Likewise.
14752 * elf/tst-tlsmod13.c: Likewise.
14753 * elf/tst-tlsmod13a.c: Likewise.
14754 * elf/tst-tlsmod14a.c: Likewise.
14755 * elf/tst-tlsmod16a.c: Likewise.
14756 * elf/tst-tlsmod16b.c: Likewise.
14757 * elf/tst-tlsmod2.c: Likewise.
14758 * elf/tst-tlsmod3.c: Likewise.
14759 * elf/tst-tlsmod4.c: Likewise.
14760 * elf/tst-tlsmod5.c: Likewise.
14761 * elf/tst-tlsmod6.c: Likewise.
14762
0bfcf2c7
OB
147632013-10-18 Ondřej Bílka <neleai@seznam.cz>
14764
14765 [BZ #12486]
14766 * malloc/malloc.c: remove checks for statistics.
14767
264aad1e
OB
147682013-10-17 Ondřej Bílka <neleai@seznam.cz>
14769
14770 [BZ #15277]
14771 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14772 * inet/tst-network.c: Add testcase.
14773
b957ced8
AS
147742013-10-17 Andreas Schwab <schwab@suse.de>
14775
14776 [BZ #15218]
14777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14778 to determine canonical name.
14779
c5d5d574
OB
147802013-10-17 Ondřej Bílka <neleai@seznam.cz>
14781
14782 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14783 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14806 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14812 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14840
e5c2c2d0
JM
148412013-10-17 Joseph Myers <joseph@codesourcery.com>
14842
14843 [BZ #16041]
14844 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14845 make result into a quiet NaN.
14846
51ca9e29
JM
148472013-10-16 Joseph Myers <joseph@codesourcery.com>
14848
14849 * soft-fp/adddf3.c: Fix horizontal whitespace.
14850 * soft-fp/addsf3.c: Likewise.
14851 * soft-fp/addtf3.c: Likewise.
14852 * soft-fp/divdf3.c: Likewise.
14853 * soft-fp/divsf3.c: Likewise.
14854 * soft-fp/divtf3.c: Likewise.
14855 * soft-fp/double.h: Likewise.
14856 * soft-fp/eqdf2.c: Likewise.
14857 * soft-fp/eqsf2.c: Likewise.
14858 * soft-fp/eqtf2.c: Likewise.
14859 * soft-fp/extenddftf2.c: Likewise.
14860 * soft-fp/extended.h: Likewise.
14861 * soft-fp/extendsfdf2.c: Likewise.
14862 * soft-fp/extendsftf2.c: Likewise.
14863 * soft-fp/extendxftf2.c: Likewise.
14864 * soft-fp/fixdfdi.c: Likewise.
14865 * soft-fp/fixdfsi.c: Likewise.
14866 * soft-fp/fixdfti.c: Likewise.
14867 * soft-fp/fixsfdi.c: Likewise.
14868 * soft-fp/fixsfsi.c: Likewise.
14869 * soft-fp/fixsfti.c: Likewise.
14870 * soft-fp/fixtfdi.c: Likewise.
14871 * soft-fp/fixtfsi.c: Likewise.
14872 * soft-fp/fixtfti.c: Likewise.
14873 * soft-fp/fixunsdfdi.c: Likewise.
14874 * soft-fp/fixunsdfsi.c: Likewise.
14875 * soft-fp/fixunsdfti.c: Likewise.
14876 * soft-fp/fixunssfdi.c: Likewise.
14877 * soft-fp/fixunssfsi.c: Likewise.
14878 * soft-fp/fixunssfti.c: Likewise.
14879 * soft-fp/fixunstfdi.c: Likewise.
14880 * soft-fp/fixunstfsi.c: Likewise.
14881 * soft-fp/fixunstfti.c: Likewise.
14882 * soft-fp/floatdidf.c: Likewise.
14883 * soft-fp/floatdisf.c: Likewise.
14884 * soft-fp/floatditf.c: Likewise.
14885 * soft-fp/floatsidf.c: Likewise.
14886 * soft-fp/floatsisf.c: Likewise.
14887 * soft-fp/floatsitf.c: Likewise.
14888 * soft-fp/floattidf.c: Likewise.
14889 * soft-fp/floattisf.c: Likewise.
14890 * soft-fp/floattitf.c: Likewise.
14891 * soft-fp/floatundidf.c: Likewise.
14892 * soft-fp/floatundisf.c: Likewise.
14893 * soft-fp/floatunditf.c: Likewise.
14894 * soft-fp/floatunsidf.c: Likewise.
14895 * soft-fp/floatunsisf.c: Likewise.
14896 * soft-fp/floatunsitf.c: Likewise.
14897 * soft-fp/floatuntidf.c: Likewise.
14898 * soft-fp/floatuntisf.c: Likewise.
14899 * soft-fp/floatuntitf.c: Likewise.
14900 * soft-fp/fmadf4.c: Likewise.
14901 * soft-fp/fmasf4.c: Likewise.
14902 * soft-fp/fmatf4.c: Likewise.
14903 * soft-fp/gedf2.c: Likewise.
14904 * soft-fp/gesf2.c: Likewise.
14905 * soft-fp/getf2.c: Likewise.
14906 * soft-fp/ledf2.c: Likewise.
14907 * soft-fp/lesf2.c: Likewise.
14908 * soft-fp/letf2.c: Likewise.
14909 * soft-fp/muldf3.c: Likewise.
14910 * soft-fp/mulsf3.c: Likewise.
14911 * soft-fp/multf3.c: Likewise.
14912 * soft-fp/negdf2.c: Likewise.
14913 * soft-fp/negsf2.c: Likewise.
14914 * soft-fp/negtf2.c: Likewise.
14915 * soft-fp/op-1.h: Likewise.
14916 * soft-fp/op-2.h: Likewise.
14917 * soft-fp/op-4.h: Likewise.
14918 * soft-fp/op-8.h: Likewise.
14919 * soft-fp/op-common.h: Likewise.
14920 * soft-fp/quad.h: Likewise.
14921 * soft-fp/single.h: Likewise.
14922 * soft-fp/soft-fp.h: Likewise.
14923 * soft-fp/sqrtdf2.c: Likewise.
14924 * soft-fp/sqrtsf2.c: Likewise.
14925 * soft-fp/sqrttf2.c: Likewise.
14926 * soft-fp/subdf3.c: Likewise.
14927 * soft-fp/subsf3.c: Likewise.
14928 * soft-fp/subtf3.c: Likewise.
14929 * soft-fp/truncdfsf2.c: Likewise.
14930 * soft-fp/trunctfdf2.c: Likewise.
14931 * soft-fp/trunctfsf2.c: Likewise.
14932 * soft-fp/trunctfxf2.c: Likewise.
14933 * soft-fp/unorddf2.c: Likewise.
14934 * soft-fp/unordsf2.c: Likewise.
14935 * soft-fp/unordtf2.c: Likewise.
14936
9ebb0332
JM
149372013-10-15 Joseph Myers <joseph@codesourcery.com>
14938
14939 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14940 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14941
4b1a6d8b
OB
149422013-10-15 Ondřej Bílka <neleai@seznam.cz>
14943
14944 * elf/dl-libc.c: Clear initfini list after freeing.
14945
1e145589
JM
149462013-10-14 Joseph Myers <joseph@codesourcery.com>
14947
14948 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14949 * soft-fp/addsf3.c: Likewise.
14950 * soft-fp/addtf3.c: Likewise.
14951 * soft-fp/divdf3.c: Likewise.
14952 * soft-fp/divsf3.c: Likewise.
14953 * soft-fp/divtf3.c: Likewise.
14954 * soft-fp/double.h: Likewise.
14955 * soft-fp/eqdf2.c: Likewise.
14956 * soft-fp/eqsf2.c: Likewise.
14957 * soft-fp/eqtf2.c: Likewise.
14958 * soft-fp/extenddftf2.c: Likewise.
14959 * soft-fp/extended.h: Likewise.
14960 * soft-fp/extendsfdf2.c: Likewise.
14961 * soft-fp/extendsftf2.c: Likewise.
14962 * soft-fp/extendxftf2.c: Likewise.
14963 * soft-fp/fixdfdi.c: Likewise.
14964 * soft-fp/fixdfsi.c: Likewise.
14965 * soft-fp/fixdfti.c: Likewise.
14966 * soft-fp/fixsfdi.c: Likewise.
14967 * soft-fp/fixsfsi.c: Likewise.
14968 * soft-fp/fixsfti.c: Likewise.
14969 * soft-fp/fixtfdi.c: Likewise.
14970 * soft-fp/fixtfsi.c: Likewise.
14971 * soft-fp/fixtfti.c: Likewise.
14972 * soft-fp/fixunsdfdi.c: Likewise.
14973 * soft-fp/fixunsdfsi.c: Likewise.
14974 * soft-fp/fixunsdfti.c: Likewise.
14975 * soft-fp/fixunssfdi.c: Likewise.
14976 * soft-fp/fixunssfsi.c: Likewise.
14977 * soft-fp/fixunssfti.c: Likewise.
14978 * soft-fp/fixunstfdi.c: Likewise.
14979 * soft-fp/fixunstfsi.c: Likewise.
14980 * soft-fp/fixunstfti.c: Likewise.
14981 * soft-fp/floatdidf.c: Likewise.
14982 * soft-fp/floatdisf.c: Likewise.
14983 * soft-fp/floatditf.c: Likewise.
14984 * soft-fp/floatsidf.c: Likewise.
14985 * soft-fp/floatsisf.c: Likewise.
14986 * soft-fp/floatsitf.c: Likewise.
14987 * soft-fp/floattidf.c: Likewise.
14988 * soft-fp/floattisf.c: Likewise.
14989 * soft-fp/floattitf.c: Likewise.
14990 * soft-fp/floatundidf.c: Likewise.
14991 * soft-fp/floatundisf.c: Likewise.
14992 * soft-fp/floatunsidf.c: Likewise.
14993 * soft-fp/floatunsisf.c: Likewise.
14994 * soft-fp/floatuntidf.c: Likewise.
14995 * soft-fp/floatuntisf.c: Likewise.
14996 * soft-fp/floatuntitf.c: Likewise.
14997 * soft-fp/fmadf4.c: Likewise.
14998 * soft-fp/fmasf4.c: Likewise.
14999 * soft-fp/fmatf4.c: Likewise.
15000 * soft-fp/gedf2.c: Likewise.
15001 * soft-fp/gesf2.c: Likewise.
15002 * soft-fp/getf2.c: Likewise.
15003 * soft-fp/ledf2.c: Likewise.
15004 * soft-fp/lesf2.c: Likewise.
15005 * soft-fp/letf2.c: Likewise.
15006 * soft-fp/muldf3.c: Likewise.
15007 * soft-fp/mulsf3.c: Likewise.
15008 * soft-fp/multf3.c: Likewise.
15009 * soft-fp/negdf2.c: Likewise.
15010 * soft-fp/negsf2.c: Likewise.
15011 * soft-fp/negtf2.c: Likewise.
15012 * soft-fp/op-1.h: Likewise.
15013 * soft-fp/op-2.h: Likewise.
15014 * soft-fp/op-4.h: Likewise.
15015 * soft-fp/op-8.h: Likewise.
15016 * soft-fp/op-common.h: Likewise.
15017 * soft-fp/quad.h: Likewise.
15018 * soft-fp/single.h: Likewise.
15019 * soft-fp/soft-fp.h: Likewise.
15020 * soft-fp/sqrtdf2.c: Likewise.
15021 * soft-fp/sqrtsf2.c: Likewise.
15022 * soft-fp/sqrttf2.c: Likewise.
15023 * soft-fp/subdf3.c: Likewise.
15024 * soft-fp/subsf3.c: Likewise.
15025 * soft-fp/subtf3.c: Likewise.
15026 * soft-fp/truncdfsf2.c: Likewise.
15027 * soft-fp/trunctfdf2.c: Likewise.
15028 * soft-fp/trunctfsf2.c: Likewise.
15029 * soft-fp/trunctfxf2.c: Likewise.
15030 * soft-fp/unorddf2.c: Likewise.
15031 * soft-fp/unordsf2.c: Likewise.
15032 * soft-fp/unordtf2.c: Likewise.
15033
17c48a60
OB
150342013-10-14 Ondřej Bílka <neleai@seznam.cz>
15035
15036 [BZ #15672]
15037 * misc/error.c (error_tail): Fix possible buffer overflow.
15038
cabba934
OB
150392013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15040
15041 [BZ #13028]
15042 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15043 address.
15044
94bf958a
PM
150452013-10-14 P. J. McDermott <pj@pehjota.net>
15046
15047 [BZ #832]
15048 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15049 testing pipefail option.
15050
71b4dea7
JM
150512013-10-12 Joseph Myers <joseph@codesourcery.com>
15052
15053 * soft-fp/double.h: Indent preprocessor directives inside #if.
15054 * soft-fp/extended.h: Likewise.
15055 * soft-fp/op-2.h: Likewise.
15056 * soft-fp/op-4.h: Likewise.
15057 * soft-fp/op-common.h: Likewise.
15058 * soft-fp/quad.h: Likewise.
15059 * soft-fp/single.h: Likewise.
15060 * soft-fp/soft-fp.h: Likewise.
15061
55602758
YC
150622013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15063
15064 * iconv/iconv_prog.c: Fix typos.
15065 * stdio-common/psiginfo-data.h: Likewise.
15066
9cd83302
RT
150672013-10-12 Reuben Thomas <rrt@sc3d.org>
15068
15069 [BZ #15764]
15070 * locale/setlocale.c: Fix typo.
15071
99fd9f47
JM
150722013-10-12 Joseph Myers <joseph@codesourcery.com>
15073
b7ea74f0
JM
15074 [BZ #16036]
15075 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15076 signaling NaN arguments.
15077 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15078 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15079
8a509447
JM
15080 [BZ #14910]
15081 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15082 unordered operands.
15083 * soft-fp/gesf2.c (__gesf2): Likewise.
15084 * soft-fp/getf2.c (__getf2): Likewise.
15085 * soft-fp/ledf2.c (__ledf2): Likewise.
15086 * soft-fp/lesf2.c (__lesf2): Likewise.
15087 * soft-fp/letf2.c (__letf2): Likewise.
15088
98998e9f
JM
15089 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15090 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15091 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15092 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15093 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15094 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15095 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15096 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15097 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15098 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15099 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15100 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15101 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15102 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15103 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15104 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15105 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15106 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15107 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15108 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15109 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15110 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15111 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15112 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15113 * soft-fp/floattidf.c (__floattidf): Likewise.
15114 * soft-fp/floattisf.c (__floattisf): Likewise.
15115 * soft-fp/floattitf.c (__floattitf): Likewise.
15116 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15117 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15118 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15119 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15120 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15121 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15122 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15123 * soft-fp/gesf2.c (__gesf2): Likewise.
15124 * soft-fp/getf2.c (__getf2): Likewise.
15125 * soft-fp/ledf2.c (__ledf2): Likewise.
15126 * soft-fp/lesf2.c (__lesf2): Likewise.
15127 * soft-fp/letf2.c (__letf2): Likewise.
15128
8edc4a11
JM
15129 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15130 Undefine and redefine.
15131 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15132 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15133 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15134 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15135 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15136 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15137 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15138 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15139 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15140 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15141 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15142 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15143 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15144 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15145 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15146
8399acaf
JM
15147 [BZ #16032]
15148 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15149 without decrementing exponent if mantissa >= that for the
15150 denominator, not >.
15151 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15152 denominator, not >. Decrement exponent in < case instead of
15153 incrementing in >= case.
15154 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15155 without decrementing exponent if mantissa >= that for the
15156 denominator, not >.
15157
99fd9f47
JM
15158 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15159 computing saturated result for unsigned overflow.
15160
10e1cf6b
SP
151612013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15162 Jeff Law <law@redhat.com>
15163
15164 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15165 (atan2Mp): Add systemtap probe marker.
15166 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15167 (__ieee754_log): Add systemtap probe marker.
15168 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15169 (atanMp): Add systemtap probe marker.
15170 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15171 (tanMp): Add systemtap probe marker.
15172 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15173 (__slowexp): Add systemtap probe marker.
15174 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15175 (__slowpow): Add systemtap probe marker.
15176 * manual/probes.texi: Document probes.
15177
3d110c7c
EB
151782013-10-11 Eric Biggers <ebiggers3@gmail.com>
15179
15180 [BZ #15362]
15181 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15182 written.
15183 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15184 written.
15185 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15186 written to buffer but not flushed.
15187 * libio/iofwrite_u.c: Likewise.
15188 * libio/iopadn.c: Return bytes returned even if EOF was
15189 encountered.
15190 * libio/iowpadn.c: Likewise.
15191 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15192 if _IO_padn does not write the whole buffer.
15193 [!COMPILE_WPRINTF] (PAD): Likewise.
15194
75b4202a
DM
151952013-10-10 David S. Miller <davem@davemloft.net>
15196
15197 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15198 directory block.
15199
6c6352e6
JM
152002013-10-10 Joseph Myers <joseph@codesourcery.com>
15201
33b853c3
JM
15202 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15203 instead of FSF address.
15204 * soft-fp/fixdfti.c: Likewise.
15205 * soft-fp/fixsfti.c: Likewise.
15206 * soft-fp/fixtfti.c: Likewise.
15207 * soft-fp/fixunsdfti.c: Likewise.
15208 * soft-fp/fixunssfti.c: Likewise.
15209 * soft-fp/fixunstfti.c: Likewise.
15210 * soft-fp/floattidf.c: Likewise.
15211 * soft-fp/floattisf.c: Likewise.
15212 * soft-fp/floattitf.c: Likewise.
15213 * soft-fp/floatuntidf.c: Likewise.
15214 * soft-fp/floatuntisf.c: Likewise.
15215 * soft-fp/floatuntitf.c: Likewise.
15216 * soft-fp/trunctfxf2.c: Likewise.
15217
6c6352e6
JM
15218 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15219 * soft-fp/fixdfti.c: Likewise.
15220 * soft-fp/fixsfti.c: Likewise.
15221 * soft-fp/fixtfti.c: Likewise.
15222 * soft-fp/fixunsdfti.c: Likewise.
15223 * soft-fp/fixunssfti.c: Likewise.
15224 * soft-fp/fixunstfti.c: Likewise.
15225 * soft-fp/floattidf.c: Likewise.
15226 * soft-fp/floattisf.c: Likewise.
15227 * soft-fp/floattitf.c: Likewise.
15228 * soft-fp/floatuntidf.c: Likewise.
15229 * soft-fp/floatuntisf.c: Likewise.
15230 * soft-fp/floatuntitf.c: Likewise.
15231 * soft-fp/trunctfxf2.c: Likewise.
15232
3bf78b71
DM
152332013-10-10 David S. Miller <davem@davemloft.net>
15234
15235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15236
6f10289e
JM
152372013-10-10 Joseph Myers <joseph@codsourcery.com>
15238
bd878fc0
JM
15239 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15240 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15241 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15242 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15243 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15244 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15245 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15246
6f10289e
JM
15247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15248 for NaNs before doing comparisons on argument.
15249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15250 Likewise.
15251
321e2684
WN
152522013-10-10 Will Newton <will.newton@linaro.org>
15253
15254 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15255 passed to _int_memalign does not overflow.
15256
40fefba1
TR
152572013-10-10 Torvald Riegel <triegel@redhat.com>
15258
15259 * scripts/bench.pl: Add include-sources directive.
15260 * benchtests/README: Update documentation.
15261
2ae21ed2
JM
152622013-10-10 Joseph Myers <joseph@codesourcery.com>
15263
dcc2dd3f
JM
15264 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15265 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15266 instead of FP_INIT_ROUNDMODE.
15267 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15268 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15269
2ae21ed2
JM
15270 [BZ #16034]
15271 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15272 copy class of input value.
15273 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15274 not handle exceptions.
15275 * soft-fp/negsf2.c (__negsf2): Likewise.
15276 * soft-fp/negtf2.c (__negtf2): Likewise.
15277 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15278
cb8f9562
JM
152792013-10-09 Joseph Myers <joseph@codesourcery.com>
15280
15281 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15282 semicolon. From Linux kernel.
15283
5b60c59d
AB
152842013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15285
15286 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15287
b86835ca
YC
152882013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15289
15290 [BZ #156]
15291 * manual/socket.texi: Added statement about buffer
15292 for gethostbyname2_r.
15293
e7044ea7
OB
152942013-10-08 Ondřej Bílka <neleai@seznam.cz>
15295
15296 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15297 Use .p2align directive instead, throughout.
15298 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15299 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15300 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15303 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15304 * sysdeps/x86_64/strchr.S: Likewise.
15305 * sysdeps/x86_64/strrchr.S: Likewise.
15306
09544cbc
SP
153072013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
88576635
SP
15309 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15310
e7b2d1dd
SP
15311 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15312
09544cbc
SP
15313 * sysdeps/generic/math_private.h (__mpsin1): Remove
15314 declaration.
15315 (__mpcos1): Likewise.
15316 (__mpsin): New argument __range_reduce.
15317 (__mpcos): Likewise.
15318 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15319 (slow): Use __mpsin and __mpcos.
15320 (slow1): Likewise.
15321 (slow2): Likewise.
15322 (sloww): Likewise.
15323 (sloww1): Likewise.
15324 (sloww2): Likewise.
15325 (bsloww): Likewise.
15326 (bsloww1): Likewise.
15327 (bsloww2): Likewise.
15328 (cslow2): Likewise.
15329 (csloww): Likewise.
15330 (csloww1): Likewise.
15331 (csloww2): Likewise.
15332 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15333 range_reduce. Merge in __mpsin1.
15334 (__mpcos): Likewise.
15335 (__mpsin1): Remove.
15336 (__mpcos1): Likewise.
15337
7602d070
JM
153382013-10-07 Joseph Myers <joseph@codesourcery.com>
15339
15340 * locale/loadlocale.c (_nl_intern_locale_data): Use
15341 LOCFILE_ALIGNED_P.
15342 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15343 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15344 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15345 obstack data is appropriately aligned.
15346 (obstack_int32_grow_fast): Likewise.
15347 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15348 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15349 (add_locale_uint32_array): Likewise.
15350
a357259b
SP
153512013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 * benchtests/Makefile: Remove ARGLIST and RET variables.
15354 ($(objpfx)bench-%.c): Pass only function name to the script.
15355 * benchtests/README: Update documentation.
15356 * benchtests/acos-inputs: Add new directives.
15357 * benchtests/acosh-inputs: Likewise.
15358 * benchtests/asin-inputs: Likewise.
15359 * benchtests/asinh-inputs: Likewise.
15360 * benchtests/atan-inputs: Likewise.
15361 * benchtests/atanh-inputs: Likewise.
15362 * benchtests/cos-inputs: Likewise.
15363 * benchtests/cosh-inputs: Likewise.
15364 * benchtests/exp-inputs: Likewise.
15365 * benchtests/log-inputs: Likewise.
15366 * benchtests/pow-inputs: Likewise.
15367 * benchtests/rint-inputs: Likewise.
15368 * benchtests/sin-inputs: Likewise.
15369 * benchtests/sinh-inputs: Likewise.
15370 * benchtests/tan-inputs: Likewise.
15371 * benchtests/tanh-inputs: Likewise.
15372 * scripts/bench.pl: Add support for new directives.
15373
9ec1b13d
AM
153742013-10-07 Alan Modra <amodra@gmail.com>
15375
15376 * README: Fix careless merge.
15377
8b7d57cd
AM
153782013-10-05 Alan Modra <amodra@gmail.com>
15379
15380 * NEWS: Mention powerpc64le support and bugs fixed.
15381 * README: Both big-endian and little-endian powerpc64 supported.
15382
7b7bab13
ST
153832013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15384
57f41c40
AS
15385 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15386 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15387 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15388 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15389
d39baad1
RA
153902013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15391
15392 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15393 match prototype.
15394
cd78f7e7
JM
153952013-10-04 Joseph Myers <joseph@codesourcery.com>
15396
29d73d86
JM
15397 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15398 Move -mhard-float appending from
15399 ports/sysdeps/powerpc/powerpc32/Makefile.
15400 [$(with-fp) = yes] (ASFLAGS): Likewise.
15401 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15402 * sysdeps/powerpc/nofpu: Move directory from
15403 ports/sysdeps/powerpc/nofpu.
15404 * sysdeps/powerpc/soft-fp: Move directory from
15405 ports/sysdeps/powerpc/soft-fp.
15406 * sysdeps/powerpc/powerpc32/405: Move directory from
15407 ports/sysdeps/powerpc/powerpc32/405.
15408 * sysdeps/powerpc/powerpc32/440: Move directory from
15409 ports/sysdeps/powerpc/powerpc32/440.
15410 * sysdeps/powerpc/powerpc32/464: Move directory from
15411 ports/sysdeps/powerpc/powerpc32/464.
15412 * sysdeps/powerpc/powerpc32/476: Move directory from
15413 ports/sysdeps/powerpc/powerpc32/476.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15417 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15419 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15423 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15424 * README: Update for powerpc-*-linux-gnu software floating point
15425 support in libc.
15426
e246b347
JM
15427 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15428 case to powerpc/powerpc32*.
15429 * sysdeps/unix/sysv/linux/configure: Regenerated.
15430
89c2003e
JM
15431 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15432 (_FPU_MASK_OM): Define as 0x04.
15433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15435 0x00c10080.
15436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15437 0x0000003c.
15438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15439
cd78f7e7
JM
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15441 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15442 getcontext_e500.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15444 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15445 setcontext_e500.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15447 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15448 and setcontext_e500.
15449
c755294d
CL
154502013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15451
15452 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15453
e16d221c
SP
154542013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15455
15456 * manual/threads.texi (Default Thread Attributes): Fix typo.
15457
215c7d43
WN
154582013-10-04 Will Newton <will.newton@linaro.org>
15459
15460 * malloc/Makefile: Add tst-memalign.
15461 * malloc/tst-memalign.c: New file.
15462
27d0461b
WN
15463 * malloc/tst-posix_memalign.c: Add comments.
15464 (do_test): Add comments and call free on all potentially
15465 allocated pointers. Add space after cast.
15466
1bc92709
WN
15467 * malloc/tst-pvalloc.c: Add comments.
15468 (do_test): Add comments and call free on all potentially
15469 allocated pointers. Remove duplicate check for NULL pointer.
15470 Add space after cast.
15471
66a9be9d
WN
15472 * malloc/tst-valloc.c: Add comments.
15473 (do_test): Add comments and call free on all potentially
15474 allocated pointers. Remove duplicate check for NULL pointer.
15475 Add space after cast.
15476
4cb81307
AM
154772013-10-04 Alan Modra <amodra@gmail.com>
15478
15479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15480 Use stdint types in rather than __attribute__((mode())).
15481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15482
f8e3e9f3
AM
154832013-10-04 Alan Modra <amodra@gmail.com>
15484
15485 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15486 Correct handling of unaligned relocs for little-endian.
15487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15488
8f9ebb08
AM
154892013-10-04 Alan Modra <amodra@gmail.com>
15490
15491 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15492 * configure: Regenerate.
15493 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15494 * shlib-versions: Likewise.
15495
0edf96c2
AM
154962013-10-04 Alan Modra <amodra@gmail.com>
15497
15498 * string/tester.c (test_memrchr): Increment reported test cycle.
15499
e0f7a380
AM
155002013-10-04 Alan Modra <amodra@gmail.com>
15501
15502 * string/test-memcpy.c (do_one_test): When reporting errors, print
15503 string address and don't overrun end of string.
15504
466b0393
AM
155052013-10-04 Alan Modra <amodra@gmail.com>
15506
15507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15508 insrdi. Make better use of reg selection to speed exit slightly.
15509 Schedule entry path a little better. Remove useless "are we done"
15510 checks on entry to main loop. Handle wrapping around zero address.
15511 Correct main loop count. Handle single left-over word from main
15512 loop inline rather than by using loop_small. Remove extra word
15513 case in loop_small caused by wrong loop count. Add little-endian
15514 support.
15515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15517 cache hint.
15518 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15519 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15520 support. Avoid rlwimi.
15521 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15522
3be87c77
AM
155232013-10-04 Alan Modra <amodra@gmail.com>
15524
15525 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15526 insrdi. Formatting.
3be87c77
AM
15527 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15528 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15529 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15530 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15531 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15532 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15533
759cfef3
AM
155342013-10-04 Alan Modra <amodra@gmail.com>
15535
15536 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15538 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15539 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15540 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15541 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15543 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15545 use of regs. Use power7 mtocrf. Tidy function tails.
15546
fe6e95d7
AM
155472013-10-04 Alan Modra <amodra@gmail.com>
15548
15549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15550 Formatting. Consistently use rXXX register defines or rN defines.
15551 Use early exit labels that avoid restoring unused non-volatile regs.
15552 Make cr field use more consistent with rWORDn compares. Rename
15553 regs used as shift registers for unaligned loop, using rN defines
15554 for short lifetime/multiple use regs.
15555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15557 addi 1,1,64 to pop stack frame. Simplify return value code.
15558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15559
664318c3
AM
155602013-10-04 Alan Modra <amodra@gmail.com>
15561
15562 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15563 support. Correct typos, formatting. Optimize tail. Use insrdi
15564 rather than rlwimi.
15565 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15567 little-endian support. Correct typos.
15568 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15569 rather than rlwimi.
15570 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15571 in loop and entry code to keep "and." results.
15572 (strchr): Add little-endian support. Comment. Move cntlzd
15573 earlier in tail.
15574 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15575
43b84013
AM
155762013-10-04 Alan Modra <amodra@gmail.com>
15577
15578 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15579 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15580 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15581 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15582
8a7413f9
AM
155832013-10-04 Alan Modra <amodra@gmail.com>
15584
15585 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15586 (rTMP): Define as r11.
15587 (strcmp): Add little-endian support. Optimise tail.
15588 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15589 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15590 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15592 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15595
33ee81de
AM
155962013-10-04 Alan Modra <amodra@gmail.com>
15597
15598 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15599 little-endian support. Remove unnecessary "are we done" tests.
15600 Handle "s" wrapping around zero and extremely large "size".
15601 Correct main loop count. Handle single left-over word from main
15602 loop inline rather than by using small_loop. Correct comments.
15603 Delete "zero" tail, use "end_max" instead.
15604 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15605
db9b4570
AM
156062013-10-04 Alan Modra <amodra@gmail.com>
15607
15608 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15609 support. Don't branch over align.
15610 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15611 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15612 support. Rearrange tmp reg use to suit. Comment.
15613 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15614
f7c399cf
AM
156152013-10-04 Alan Modra <amodra@gmail.com>
15616
15617 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15618
0b2c2ace
AM
156192013-10-04 Alan Modra <amodra@gmail.com>
15620
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15622 conditional form of branch and link when obtaining pc.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15624
02f04a6c
AM
156252013-10-04 Alan Modra <amodra@gmail.com>
15626
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15628 HIWORD/LOWORD.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15631
9b874b2f
AM
156322013-10-04 Alan Modra <amodra@gmail.com>
15633
15634 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15635 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15636 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15637 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15638 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15639 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15640 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15641 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15642 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15643 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15644
be1e5d31
AB
156452013-10-04 Anton Blanchard <anton@au1.ibm.com>
15646 Alistair Popple <alistair@ozlabs.au.ibm.com>
15647 Alan Modra <amodra@gmail.com>
15648
15649 [BZ #15723]
15650 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15651 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15652 _dl_hwcap access for little-endian.
15653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15654 destroy vmx regs when saving unaligned.
15655 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15657 destroy vmx regs when saving unaligned.
15658
fef13a78
AM
156592013-10-04 Alan Modra <amodra@gmail.com>
15660
15661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15662 Don't use a union to pack hi/low value.
15663
76a66d51
AB
156642013-10-04 Anton Blanchard <anton@au1.ibm.com>
15665
15666 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15667 for little-endian.
15668 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15670 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15671 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15672 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15673
6a31fe7f
AM
156742013-10-04 Alan Modra <amodra@gmail.com>
15675
15676 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15677 constants to usual value for .cst8 section, and remove redundant
15678 high address load.
15679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15680 constant for 0x1p52. Load little-endian words of double from
15681 correct stack offsets.
15682
7b88401f
AM
156832013-10-04 Alan Modra <amodra@gmail.com>
15684
15685 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15686 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15687 words of double from correct stack offsets.
15688 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15689 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15690 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15694 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15695 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15696 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15698 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15700 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15701 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15702 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15705
9c008155
AM
157062013-10-04 Alan Modra <amodra@gmail.com>
15707
15708 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15709 64-bit int/double union.
15710 (_FPU_SETCW): Likewise.
15711 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15712 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15713
da13146d
AM
157142013-10-04 Alan Modra <amodra@gmail.com>
15715
15716 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15717 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15718
603e8410
AM
157192013-10-04 Alan Modra <amodra@gmail.com>
15720
15721 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15722 use vector int constants.
15723 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15724
4a28b3ca
AB
157252013-10-04 Anton Blanchard <anton@au1.ibm.com>
15726
15727 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15728 array with long long.
15729 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15730 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15731 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15732 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15733 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15734 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15735 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15736 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15737 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15738 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15739 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15740 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15741 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15742
2ca85d2b
AB
157432013-10-04 Anton Blanchard <anton@au1.ibm.com>
15744
15745 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15746 (__signbit): Likewise. Correct for little-endian.
15747 (__signbitl): Call __signbit.
15748 (lrint): Correct for little-endian.
15749 (lrintf): Call lrint.
15750
62a728ae
AM
157512013-10-04 Alan Modra <amodra@gmail.com>
15752
15753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15754 union 32-bit int array member with 64-bit int array.
15755 (t515, tm256): Double rather than long double.
15756 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15757
32c301df
AM
157582013-10-04 Alan Modra <amodra@gmail.com>
15759
15760 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15761 Delete.
15762 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15764 version of math_ldbl.h.
15765
650ef4bd
AM
157662013-10-04 Alan Modra <amodra@gmail.com>
15767
15768 [BZ #15734], [BZ #15735]
15769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15770 all uses of ieee875 long double macros and unions. Simplify test
15771 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15772 ldbl_extract_mantissa value for ix,iy exponents. Properly
15773 normalize after ldbl_extract_mantissa, and don't add hidden bit
15774 already handled. Don't treat low word of ieee854 mantissa like
15775 low word of IBM long double and mask off bit when testing for
15776 zero.
15777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15778 all uses of ieee875 long double macros and unions. Simplify tests
15779 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15780 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15781 two1022, instead use their values. Recognise that tests for large
15782 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15783 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15784 Rewrite all uses of ieee875 long double macros and unions. Simplify
15785 test for 0.0L and nan. Correct negation.
15786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15787 ieee875 long double macros and unions. Correct output for large
15788 magnitude x. Correct absolute value calculation.
15789 (__erfcl): Likewise.
15790 * math/libm-test.inc: Add tests for errors discovered in IBM long
15791 double versions of fmodl, remainderl, erfl and erfcl.
15792
765714ca
AM
157932013-10-04 Alan Modra <amodra@gmail.com>
15794
15795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15796 all uses of ieee854 long double macros and unions. Simplify tests
15797 for long doubles that are fully specified by the high double.
15798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15799 Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15801 Remove dead code too.
15802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15803 (__ieee754_ynl): Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15807 Remove dead code too.
15808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15809 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15812 Simplify.
15813 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15814 Simplify.
15815 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15818 Comment on variable precision.
15819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15821 Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15827
4ebd120c
AM
158282013-10-04 Alan Modra <amodra@gmail.com>
15829
15830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15832 all uses of ieee854 long double macros and unions.
15833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15839 Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15843 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15844 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15846 Simplify sign and nan test too.
15847 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15849 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15851 Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15854 Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15861
1b6adf88
AM
158622013-10-04 Alan Modra <amodra@gmail.com>
15863
15864 * stdio-common/printf_size.c (__printf_size): Don't use
15865 union ieee854_long_double in fpnum union.
15866 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15867 signbit macro to retrieve sign from long double.
15868 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15869 retrieve sign from long double.
15870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15871 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15873 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15874 * math/test-misc.c (main): Don't use union ieee854_long_double.
15875
4cf69995
AM
158762013-10-04 Alan Modra <amodra@gmail.com>
15877
15878 [BZ #15680]
15879 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15881 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15882 calculation. Remove unnecessary test for denormal exponent.
15883 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15884 Correct handling of denormals. Avoid undefined shift behaviour.
15885 Correct normalisation of low mantissa when low double is denormal.
15886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15887 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15888 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15889 Correct normalisation of low mantissa. Test for overflow of high
15890 mantissa and normalise.
15891 (ldbl_nearbyint): Use more readable constant for two52.
15892 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15893 (__mpn_construct_long_double): Fix test for overflow of high
15894 mantissa and correct normalisation. Avoid undefined shift.
15895
9605ca6c
AM
158962013-10-04 Alan Modra <amodra@gmail.com>
15897
15898 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15899 (union ibm_extended_long_double): Define as an array of ieee754_double.
15900 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15902 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15911
975569d0
JM
159122013-10-03 Joseph Myers <joseph@codesourcery.com>
15913
d3d23756
JM
15914 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15915 page size instead of calling getpagesize.
15916
975569d0
JM
15917 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15918 (LOCFILE_ALIGN_MASK): Likewise.
15919 (LOCFILE_ALIGN_UP): Likewise.
15920 (LOCFILE_ALIGNED_P): Likewise.
15921 * locale/programs/ld-collate.c (collate_output): Use the new
15922 macros instead of __alignof__ (int32_t).
15923 * locale/weight.h (findidx): Likewise.
15924
b1fe1f2b
OB
159252013-10-03 Ondřej Bílka <neleai@seznam.cz>
15926
15927 [BZ #431]
15928 * manual/string.texi: Fix strncat and wcsncat.
15929
5f855e35
BM
159302013-10-03 Brooks Moses <bmoses@google.com>
15931
15932 [BZ #15915]
15933 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15934 * Makerules: ...here, and adjust associated comments.
15935
3cef6009
WN
159362013-10-02 Will Newton <will.newton@linaro.org>
15937
15938 * malloc/Makefile: Add tst-pvalloc.
15939 * malloc/tst-pvalloc.c: New file.
15940
7815420b
WN
159412013-10-02 Will Newton <will.newton@linaro.org>
15942
15943 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15944 improve test coverage.
15945
4868b204
WN
159462013-10-02 Will Newton <will.newton@linaro.org>
15947
15948 * malloc/Makefile: Add tst-posix_memalign.
15949 * malloc/tst-posix_memalign.c: New file.
15950
29c793b3
EB
159512013-10-01 Eric Blake <eblake@redhat.com>
15952
15953 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15954 Use __THROWNL rather than __THROW on static functions.
15955
fd967522
PM
159562013-09-30 Petr Machata <pmachata@redhat.com>
15957
15958 * elf/elf.h (R_AARCH64_ABS16): New macro.
15959 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15960 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15961 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15962 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15963 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15964 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15965 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15966 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15967 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15968 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15969 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15970 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15971 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15972 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15973 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15974 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15975 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15976 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15977 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15978 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15979 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15980 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15981 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15982 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15983 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15984 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15985 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15986 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15987 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15988 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15989 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15990 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15991 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15992 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15993 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15994 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15995 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15996 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15997 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15998 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15999 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16000 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16001 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16002 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16003 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16004 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16005 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16006 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16007 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16008 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16009 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16010 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16011 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16012 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16013 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16014 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16015 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16016 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16017 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16018 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16019 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16020 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16021 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16022 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16023 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16024 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16025 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16026 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16027 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16028 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16029 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16030 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16031 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16032 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16033 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16034 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16035 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16036 (R_AARCH64_TLSDESC_LDR): Likewise.
16037 (R_AARCH64_TLSDESC_ADD): Likewise.
16038 (R_AARCH64_TLSDESC_CALL): Likewise.
16039
b2179107
AS
160402013-09-30 Andreas Schwab <schwab@suse.de>
16041
16042 [BZ #15048]
16043 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16044 the nss database lookup.
16045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16047
47f28d0a
MF
160482013-09-28 Mike Frysinger <vapier@gentoo.org>
16049
16050 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16051
160522013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16053
16054 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16055 ${Bash-specific parameter/pattern/string} parameter expansion.
16056 * sysdeps/unix/make-syscalls.sh: Likewise.
16057
f4518a17
KK
160582013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16059
16060 * sysdeps/sh/stackguard-macros.h: New file.
16061
dc1a95c7
OB
160622013-09-26 Ondřej Bílka <neleai@seznam.cz>
16063
16064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16066 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16068 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16069 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16070
5ebbff8f
AZ
160712013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16072
16073 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16074 Fix thread ID register.
16075
4fd2cf9f
JM
160762013-09-25 Joseph Myers <joseph@codesourcery.com>
16077
16078 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16079 [POSIX || UNIX98]: Require rather than permitting all symbols from
16080 <time.h>.
16081 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16082 element of struct sched_param.
16083 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16084 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16085 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16086 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16087 constant.
16088
12c22bc4
OL
160892013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16090
16091 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16092 argument calculation.
16093
a03d8ea7
JM
160942013-09-24 Joseph Myers <joseph@codesourcery.com>
16095
16096 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16097 Expect macro.
16098 [POSIX] (pthread_attr_t): Do not require type.
16099 [POSIX] (pthread_cond_t): Likewise.
16100 [POSIX] (pthread_condattr_t): Likewise.
16101 [POSIX] (pthread_key_t): Likewise.
16102 [POSIX] (pthread_mutex_t): Likewise.
16103 [POSIX] (pthread_mutexattr_t): Likewise.
16104 [POSIX] (pthread_once_t): Likewise.
16105 [POSIX] (pthread_t): Likewise.
16106 [POSIX-based standards] (pthread_atfork): Expect function.
16107
6055173a
JM
161082013-09-24 Joseph Myers <joseph@codesourcery.com>
16109 Richard Sandiford <richard@codesourcery.com>
16110
16111 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16112 (swap_endianness_p): New extern variable.
16113 (set_big_endian): New inline function.
16114 (maybe_swap_uint32): Likewise.
16115 (maybe_swap_uint32_array): Likewise.
16116 (maybe_swap_uint32_obstack): Likewise.
16117 * locale/programs/locfile.c: Include <stdbool.h>.
16118 (swap_endianness_p): New variable.
16119 (add_locale_uint32): Call maybe_swap_uint32.
16120 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16121 (write_locale_data): Call maybe_swap_uint32_array.
16122 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16123 maybe_swap_uint32.
16124 (obstack_int32_grow_fast): Likewise.
16125 (output_weightwc): Call maybe_swap_uint32_obstack.
16126 (collate_output): Likewise.
16127 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16128 (OPT_LITTLE_ENDIAN): Likewise.
16129 (options): Add --little-endian and --big-endian options.
16130 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16131 * locale/programs/locarchive.c: Include "locfile.h".
16132 (GET): New macro.
16133 (SET): Likewise.
16134 (INC): Likewise.
16135 (create_archive): Use the new macros to access fields of
16136 structures directly mapped from or written to locale archives.
16137 (oldlocrecentcmp): Likewise.
16138 (enlarge_archive): Likewise.
16139 (insert_name): Likewise.
16140 (add_alias): Likewise.
16141 (add_locale): Likewise.
16142 (delete_locales_from_archive): Likewise.
16143 (show_archive_content): Likewise.
16144 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16145 locale data.
16146
39bf0bb4
RM
161472013-09-24 Roland McGrath <roland@hack.frob.com>
16148
16149 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16150 http://www.gnu.org/doc/freemanuals.texi.
16151 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16152
f02eed10
WN
161532013-09-24 Will Newton <will.newton@linaro.org>
16154
16155 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16156 macro.
16157
a3a6c312
JM
161582013-09-23 Joseph Myers <joseph@codesourcery.com>
16159
16160 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16161 unsigned char.
16162
107375ac
MR
161632013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16164
16165 * manual/threads.texi (POSIX Threads): Fix a typo.
16166
141f3a77
SP
161672013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16168
303e567a
SP
16169 [BZ #14547]
16170 * string/tst-strcoll-overflow.c: New test case.
16171 * string/Makefile (xtests): Add tst-strcoll-overflow.
16172 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16173 cache if string sizes may cause integer overflow.
16174
141f3a77
SP
16175 [BZ #14547]
16176 * string/strcoll_l.c (coll_seq): New members rule, idx,
16177 save_idx and back_us.
16178 (get_next_seq_nocache): New function.
16179 (do_compare_nocache): New function.
16180 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16181 when malloc fails.
16182
c61b4d41
CD
161832013-09-23 Carlos O'Donell <carlos@redhat.com>
16184
0b1f8e35
CD
16185 [BZ #15754]
16186 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16187 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16188 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16189
c61b4d41
CD
16190 [BZ #15754]
16191 * elf/Makefile (tests): Add tst-ptrguard1.
16192 (tests-static): Add tst-ptrguard1-static.
16193 (tst-ptrguard1-ARGS): Define.
16194 (tst-ptrguard1-static-ARGS): Define.
16195 * elf/tst-ptrguard1.c: New file.
16196 * elf/tst-ptrguard1-static.c: New file.
16197 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16198 * sysdeps/i386/stackguard-macros.h: Likewise.
16199 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16200 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16201 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16202 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16203 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16204 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16205
162062013-09-23 Hector Marco <hecmargi@upv.es>
16207 Ismael Ripoll <iripoll@disca.upv.es>
16208 Carlos O'Donell <carlos@redhat.com>
16209
16210 [BZ #15754]
16211 * sysdeps/generic/stackguard-macros.h: Define
16212 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16213 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16214 Define __pointer_chk_guard_local.
16215 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16216 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16217
f5f4e7b4
VV
162182013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16219
16220 [BZ #15859]
16221 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16222
5bb43a43
AS
162232013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16224
16225 * include/string.h (__ffs): Declare as hidden.
16226 * string/ffs.c (__ffs): Define as hidden.
16227 * sysdeps/i386/ffs.c (__ffs): Likewise.
16228 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16229 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16230 * sysdeps/s390/ffs.c (__ffs): Likewise.
16231 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16232
3ea5be54
AO
162332013-09-20 Alexandre Oliva <aoliva@redhat.com>
16234
ffb89e53
AO
16235 * NEWS: Mention malloc probes.
16236
322dea08
AO
16237 * malloc/arena.c (new_heap): New memory_heap_new probe.
16238 (grow_heap): New memory_heap_more probe.
16239 (shrink_heap): New memory_heap_less probe.
16240 (heap_trim): New memory_heap_free probe.
16241 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16242 (systrim): New memory_sbrk_less probe.
16243 * manual/probes.texi: Document them.
16244
655673f3
AO
16245 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16246 * manual/probes.texi: Document it.
16247
35fed6f1
AO
16248 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16249 (__libc_realloc): Add memory_realloc_retry probe.
16250 (__libc_memalign): Add memory_memalign_retry probe.
16251 (__libc_valloc): Add memory_valloc_retry probe.
16252 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16253 (__libc_calloc): Add memory_calloc_retry probe.
16254 * manual/probes.texi: Document them.
16255
6999d38c
AO
16256 * malloc/arena.c (get_free_list): Add probe
16257 memory_arena_reuse_free_list.
16258 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16259 and memory_arena_reuse.
16260 (arena_get2) [!PER_THREAD]: Likewise.
16261 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16262 memory_arena_reuse_realloc.
16263 * manual/probes.texi: Document them.
16264
0653427f
AO
16265 * malloc/malloc.c (__libc_free): Add
16266 memory_mallopt_free_dyn_thresholds probe.
16267 (__libc_mallopt): Add multiple memory_mallopt probes.
16268 * manual/probes.texi: Document them.
16269
3ea5be54
AO
16270 * malloc/malloc.c: Include stap-probe.h.
16271 (__libc_mallopt): Add memory_mallopt probe.
16272 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16273 * manual/probes.texi: New.
16274 * manual/Makefile (chapters): Add probes.
16275 * manual/threads.texi: Set next node.
16276
e35696c3 162772013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16278
e35696c3
CL
16279 [BZ #15963, #13985]
16280 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16281 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16282 Add `Chinese' to `nan' entry name.
16283
4aafb73c
SP
162842013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16285
16286 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16287 (POLYNOMIAL): Likewise.
16288 (TAYLOR_SINCOS): Likewise.
16289 (TAYLOR_SLOW): Likewise.
16290 (__sin): Use TAYLOR_SINCOS.
16291 (__cos): Likewise.
16292 (slow): Use TAYLOR_SLOW.
16293 (sloww): Likewise.
16294 (bsloww): Likewise.
16295 (csloww): Likewise.
16296
d84f25c7
LD
162972013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16298
16299 * stdlib/strtod_l.c: Fix buffer overrun.
16300
5eea0404
SP
163012013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16302
7849ff93
SP
16303 * benchtests/Makefile (bench): Add sincos.
16304 * benchtests/bench-sincos.c: New file.
16305
cfa3c886
SP
16306 * math/libm-test.inc (cos_test_data): New test inputs.
16307 (sin_test_data): Likewise.
16308
b348e1e3
SP
16309 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16310 macro.
16311 (__sin): Use it.
16312 (__cos): Likewise.
16313 (slow1): Likewise.
16314 (slow2): Likewise.
16315 (sloww1): Likewise.
16316 (sloww2): Likewise.
16317 (bsloww1): Likewise.
16318 (bsloww2): Likewise.
16319 (cslow2): Likewise.
16320 (csloww1): Likewise.
16321 (csloww2): Likewise.
16322
6cce25f8
SP
16323 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16324 function.
16325 (__sin): Use it.
16326 (__cos): Likewise.
16327
5eea0404
SP
16328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16329 gotos.
16330 (__cos): Likewise.
16331
9c21573c
MR
163322013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16333
16334 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16335 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16336 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16337 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16338 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16339 * elf/cache.c (print_entry): Handle the new cache flags.
16340
24d22e65
JM
163412013-09-18 Joseph Myers <joseph@codesourcery.com>
16342 Aldy Hernandez <aldyh@redhat.com>
16343
16344 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16345 Change condition to [_SOFT_FLOAT].
16346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16358 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16361 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16362 declaration.
16363
d13ef066
JM
163642013-09-18 Joseph Myers <joseph@codesourcery.com>
16365
2e071de0
JM
16366 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16367 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16368 (__longjmp): Use LOAD_GP to load saved GPRs.
16369 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16370 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16371 (__sigsetjmp): Use SAVE_GP to save GPRs.
16372
d13ef066
JM
16373 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16374 Do not append -msoft-float.
16375 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16376
97a0650b
SP
163772013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16378
16379 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16380
11ca09e9
JM
163812013-09-17 Joseph Myers <joseph@codesourcery.com>
16382
16383 [BZ #15966]
16384 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16385 (_FPU_GETCW): Use initial "__" on variable and field names but not
16386 on macro parameter name.
16387 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16388 parentheses around reference to macro parameter.
16389
08ffcf34
RS
163902013-09-13 Richard Sandiford <richard@codesourcery.com>
16391
16392 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16393 prototype.
16394 (ctype_startup): Use uint32_t in cast and sizeof for
16395 ctype->charnames.
16396
ae7080d3
JL
163972013-09-11 Jia Liu <proljc@gmail.com>
16398
16399 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16400 __daddr_t_defined.
16401 [__FreeBSD__]: Likewise.
16402
5905e7b3
OB
164032013-09-11 Ondřej Bílka <neleai@seznam.cz>
16404
16405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16406 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16407 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16408 (strchr): Remove __strchr_sse42 ifunc selection.
16409 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16410 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16411
b987c776
WN
164122013-09-11 Will Newton <will.newton@linaro.org>
16413
16414 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16415 parameter to RES. Remove hardcoded 1000 value.
16416 * benchtests/bench-skeleton.c (main): Pass RES parameter
16417 to TIMING_INIT and multiply result by 1000.
16418
ddf985af
AZ
164192013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16420
16421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16422
ffdd3181
AS
164232013-09-11 Andreas Schwab <schwab@suse.de>
16424
16425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16426 if not defined.
16427 (O_TMPFILE) [__USE_GNU]: Define.
16428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16429 Define.
16430
b73ed247
WN
164312013-09-11 Will Newton <will.newton@linaro.org>
16432
16433 [BZ #15857]
16434 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16435 does not overflow.
16436
55e17aad
WN
164372013-09-11 Will Newton <will.newton@linaro.org>
16438
16439 [BZ #15856]
16440 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16441 does not overflow.
16442
1159a193
WN
164432013-09-11 Will Newton <will.newton@linaro.org>
16444
16445 [BZ #15855]
16446 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16447 does not overflow.
16448
5905e7b3 164492013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16450
16451 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16452 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16456
cdfc721b
AM
164572013-09-10 Allan McRae <allan@archlinux.org>
16458
aa04af00
AM
16459 [BZ #15748]
16460 * manual/arith.texi (Parsing of Floats): Clarify
16461 cross-reference.
16462
cdfc721b
AM
16463 [BZ #15849]
16464 * manual/install.texi (Running make install): Mention
16465 --enable-pt-chown.
16466 * INSTALL: Regenerated.
16467
95e7cf29
MR
164682013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16469
16470 * csu/init-first.c (_init): Remove the !SHARED condition around
16471 FPU control word initialization.
16472 * elf/dl-support.c (_dl_fpu_control): New variable.
16473 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16474 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16475 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16476 * math/test-fpucw-static.c: New file.
16477 * math/test-fpucw-ieee.c: New file.
16478 * math/test-fpucw-ieee-static.c: New file.
16479 * math/Makefile (tests): Add `test-fpucw-ieee' and
16480 `$(tests-static)'.
16481 (tests-static): New variable.
16482 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16483 dependency to...
16484 [($(build-shared),yes)]
16485 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16486 ... this.
16487 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16488 New dependency.
16489
83e43bf0
AM
164902013-09-09 Allan McRae <allan@archlinux.org>
16491
a9f5ce09
AM
16492 [BZ #15939]
16493 * manual/string.texi (Collation Functions): Fix typo in
16494 strcoll example.
16495 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16496
34829bc2
AM
16497 [BZ #15893]
16498 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16499
3932737d
AM
16500 [BZ #15892]
16501 * libio/memstream.c (open_memstream): Fix memory leak.
16502 * libio/wmemstream.c (open_wmemstream): Likewise.
16503
83e43bf0
AM
16504 [BZ #15895]
16505 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16506
0c66b8e9
WN
165072013-09-09 Will Newton <will.newton@linaro.org>
16508
16509 * malloc/Makefile: Add tst-realloc to tests.
16510 * malloc/tst-realloc.c: New file.
16511
f6b00fd1
AM
165122013-09-09 Allan McRae <allan@archlinux.org>
16513
16514 [BZ #15844]
16515 * COPYING: Update from GNU website to fix FSF address.
16516 * COPYING.LIB: Likewise.
16517
eec55e16
DM
165182013-09-06 David S. Miller <davem@davemloft.net>
16519
16520 * po/zh_TW.po: Update Chinese (traditional) translation from
16521 translation project.
16522
1ecbb381
RS
165232013-09-06 Richard Sandiford <richard@codesourcery.com>
16524 Joseph Myers <joseph@codesourcery.com>
16525
16526 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16527 "localeinfo.h".
16528 (obstack_chunk_alloc): New macro.
16529 (obstack_chunk_free): Likewise.
16530 (record_offset): New function.
16531 (init_locale_data): Likewise.
16532 (align_locale_data): Likewise.
16533 (add_locale_empty): Likewise.
16534 (add_locale_raw_data): Likewise.
16535 (add_locale_raw_obstack): Likewise.
16536 (add_locale_string): Likewise.
16537 (add_locale_wstring): Likewise.
16538 (add_locale_uint32): Likewise.
16539 (add_locale_uint32_array): Likewise.
16540 (add_locale_char): Likewise.
16541 (start_locale_structure): Likewise.
16542 (end_locale_structure): Likewise.
16543 (start_locale_prelude): Likewise.
16544 (end_locale_prelude): Likewise.
16545 (write_locale_data): Take locale_file structure rather than an
16546 iovec.
16547 * locale/programs/locfile.h: Include "obstack.h".
16548 (struct locale_file): Change to store locale file contents instead
16549 of header.
16550 (init_locale_data): New prototype.
16551 (align_locale_data): Likewise.
16552 (add_locale_empty): Likewise.
16553 (add_locale_raw_data): Likewise.
16554 (add_locale_raw_obstack): Likewise.
16555 (add_locale_string): Likewise.
16556 (add_locale_wstring): Likewise.
16557 (add_locale_uint32): Likewise.
16558 (add_locale_uint32_array): Likewise.
16559 (add_locale_char): Likewise.
16560 (start_locale_structure): Likewise.
16561 (end_locale_structure): Likewise.
16562 (start_locale_prelude): Likewise.
16563 (end_locale_prelude): Likewise.
16564 (write_locale_data): Update prototype.
16565 * locale/programs/3level.h (struct TABLE): Remove result field.
16566 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16567 Use new locale_file interface.
16568 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16569 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16570 * locale/programs/ld-address.c (address_output): Use new
16571 locale_file interface.
16572 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16573 NO_ADD_LOCALE.
16574 (collate_finish): Don't call collseq_table_finalize.
16575 (collate_output): Use new locale_file interface.
16576 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16577 in file.
16578 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16579 (TABLE): Move defines earlier in file.
16580 (ELEMENT): Likewise.
16581 (DEFAULT): Likewise.
16582 (wctrans_table_add): Move macro and inline function earlier in
16583 file.
16584 (struct wctype_table): Move type earlier in file.
16585 (add_locale_wctype_table): New static prototype.
16586 (struct locale_ctype_t): Use logical types instead of struct iovec
16587 pointers for members.
16588 (ctype_output): Use new locale_file interface.
16589 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16590 new locale_file interface.
16591 (allocate_arrays): Update for use of new locale_file interface.
16592 * locale/programs/ld-identification.c (identification_output): Use
16593 new locale_file interface.
16594 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16595 * locale/programs/ld-messages.c (messages_output): Likewise.
16596 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16597 * locale/programs/ld-name.c (name_output): Likewise.
16598 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16599 * locale/programs/ld-paper.c (paper_output): Likewise.
16600 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16601 * locale/programs/ld-time.c (time_output): Likewise.
16602
e029e2e5
AZ
166032013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604
16605 * benchtests/Makefile: Add memrchr benchmark.
16606 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16607 benchmark as memrchr.
16608 * benchtests/bench-memrchr-ifunc.c: New file.
16609 * benchtests/bench-memrchr.c: New file.
16610
bbf6e8e4
WN
166112013-09-06 Will Newton <will.newton@linaro.org>
16612
16613 * benchtests/Makefile (string-bench): Add memcpy.
16614
6c82a2f8
CD
166152013-09-05 Carlos O'Donell <carlos@redhat.com>
16616 Cong Wang <amwang@redhat.com>
16617
e732c5f0 16618 [BZ #15850]
6c82a2f8
CD
16619 * sysdeps/unix/sysv/linux/bits/in.h
16620 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16621 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16622 before __USE_KERNEL_IPV6_DEFS uses.
16623 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16624 IPPROTO_BEETPH.
16625 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16626 sockaddr_in6, or ipv6_mreq.
16627
5430fc65
AZ
166282013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629
16630 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16631 memory access for final bytes in some large inputs.
16632 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16633
4660856c
AZ
166342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16635
16636 * string/test-memrchr.c: New file.
16637 * string/test-memrchr-ifunc.c: New file.
16638 * string/Makefile: Add new memrchr testcase.
16639
bb8ea713
MF
166402013-09-05 Mike Frysinger <vapier@gentoo.org>
16641
16642 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16643 fanotify_init returns EPERM.
16644
b92a20b5
JM
166452013-09-04 Joseph Myers <joseph@codesourcery.com>
16646
16647 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16648 errors.
16649 (top level): Treat second token from macro or constant entries for
16650 allowed headers as allowed.
16651 * include/complex.h: Condition internal declarations on
16652 [!_ISOMAC].
16653 * include/fenv.h: Condition include of <stdbool.h> and internal
16654 declarations on [!_ISOMAC].
7447ccd9
CL
16655
166562013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16657
3e181dda 16658 [BZ #15923]
7447ccd9
CL
16659 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16660
3f2e46a4
JM
166612013-09-04 Joseph Myers <joseph@codesourcery.com>
16662
16663 * configure.in (--enable-versioning): Remove configure option.
16664 (libc_cv_asm_symver_directive): Remove configure test.
16665 (libc_cv_ld_version_script_option): Likewise.
16666 (VERSIONING): Remove variable and AC_SUBST.
16667 (DO_VERSIONING): Remove AC_DEFINE.
16668 * configure: Regenerated.
16669 * config.h.in (DO_VERSIONING): Remove macro.
16670 * Makerules [$(versioning) = yes]: Change conditionals to
16671 [$(build-shared) = yes].
16672 * config.make.in (versioning): Remove variable.
16673 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16674 [$(build-shared) = yes].
16675 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16676 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16677 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16678 [$(build-shared) = yes].
16679 * extra-lib.mk [$(versioning) = yes]: Likewise.
16680 * hurd/Makefile [$(versioning) = yes]: Likewise.
16681 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16682 [SHARED].
16683 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16684 [SHARED].
16685 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16686 [SHARED && !NO_HIDDEN].
16687 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16688 [SHARED].
16689 [SHARED && DO_VERSIONING]: Likewise..
16690 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16691 [$(build-shared) = yes].
16692 * manual/install.texi (--disable-versioning): Remove
16693 documentation.
16694 * INSTALL: Regenerated.
16695 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16696 to [SHARED].
16697 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16698 [$(build-shared) = yes].
16699 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16700 * sysdeps/i386/i686/multiarch/strstr-c.c
16701 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16702 [SHARED && !NO_HIDDEN].
16703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16704 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16705 * sysdeps/powerpc/powerpc32/dl-machine.c
16706 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16707 * sysdeps/powerpc/powerpc32/sysdep.h
16708 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16709 to [SHARED && PIC && !NO_HIDDEN].
16710 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16711 conditional to [SHARED].
16712
44558701
WN
167132013-09-04 Will Newton <will.newton@linaro.org>
16714
16715 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16716 * benchtests/bench-string.h: Include bench-timing.h instead
16717 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16718 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16719 call to HP_TIMING_DIFF_INIT.
16720 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16721 instead of hp-timing.h macros.
16722 * benchtests/bench-memchr.c: Likewise.
16723 * benchtests/bench-memcmp.c: Likewise.
16724 * benchtests/bench-memcpy.c: Likewise.
16725 * benchtests/bench-memmem.c: Likewise.
16726 * benchtests/bench-memmove.c: Likewise.
16727 * benchtests/bench-memset.c: Likewise.
16728 * benchtests/bench-rawmemchr.c: Likewise.
16729 * benchtests/bench-strcasecmp.c: Likewise.
16730 * benchtests/bench-strcasestr.c: Likewise.
16731 * benchtests/bench-strcat.c: Likewise.
16732 * benchtests/bench-strchr.c: Likewise.
16733 * benchtests/bench-strcmp.c: Likewise.
16734 * benchtests/bench-strcpy.c: Likewise.
16735 * benchtests/bench-strcpy_chk.c: Likewise.
16736 * benchtests/bench-strlen.c: Likewise.
16737 * benchtests/bench-strncasecmp.c: Likewise.
16738 * benchtests/bench-strncat.c: Likewise.
16739 * benchtests/bench-strncmp.c: Likewise.
16740 * benchtests/bench-strncpy.c: Likewise.
16741 * benchtests/bench-strnlen.c: Likewise.
16742 * benchtests/bench-strpbrk.c: Likewise.
16743 * benchtests/bench-strrchr.c: Likewise.
16744 * benchtests/bench-strspn.c: Likewise.
16745 * benchtests/bench-strstr.c: Likewise.
16746
cae16d66
WN
167472013-09-04 Will Newton <will.newton@linaro.org>
16748
16749 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16750
ffa3cd7f
JM
167512013-09-03 Joseph Myers <joseph@codesourcery.com>
16752
16753 [BZ #15427]
16754 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16755 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16756 * math/libm-test.inc (lgamma_test_data): Add more tests.
16757 * sysdeps/i386/fpu/libm-test-ulps: Update.
16758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16759
8f02859f
OB
167602013-09-03 Ondřej Bílka <neleai@seznam.cz>
16761
16762 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16764 Add ifunc.
16765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16766 Add strcmp-sse2-unaligned
16767 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16768
18d43716
MF
167692013-09-02 Mike Frysinger <vapier@gentoo.org>
16770
16771 * Versions.def (libc): Add GLIBC_2.19.
16772
ac444012
MF
167732013-09-02 Mike Frysinger <vapier@gentoo.org>
16774
16775 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16776 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16777
b7835e32
JM
167782013-09-02 Joseph Myers <joseph@codesourcery.com>
16779
16780 [BZ #14155]
16781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16782 intermediate calculations in recurrence.
16783 (__ieee754_ynf): Likewise.
16784 * math/libm-test.inc (jn_test_data): Do not allow spurious
16785 underflow exception. Add more tests.
16786 (yn_test_data): Add more tests.
16787 * sysdeps/i386/fpu/libm-test-ulps: Update.
16788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16789
8220f4f0
OB
167902013-09-02 Ondřej Bílka <neleai@seznam.cz>
16791
16792 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16793
f24a6d08
OB
167942013-08-30 Ondřej Bílka <neleai@seznam.cz>
16795
16796 * csu/init-first.c: Fix then/than typos.
16797 * locale/programs/ld-collate.c: Likewise.
16798 * locale/programs/linereader.h: Likewise.
16799 * manual/charset.texi: Likewise.
16800 * manual/filesys.texi: Likewise.
16801 * manual/stdio.texi: Likewise.
16802 * manual/string.texi: Likewise.
16803 * stdlib/fmtmsg.c: Likewise.
16804 * sysdeps/i386/stpncpy.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16806 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16808 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16809
382466e0
OB
168102013-08-30 Ondřej Bílka <neleai@seznam.cz>
16811
16812 * elf/dl-open.c: Fix typos.
16813 * iconvdata/gbbig5.c: Likewise.
16814 * iconvdata/iso-2022-jp.c: Likewise.
16815 * iconv/gconv_int.h: Likewise.
16816 * iconv/loop.c: Likewise.
16817 * nis/rpcsvc/nis.h: Likewise.
16818 * resolv/ns_name.c: Likewise.
16819 * stdio-common/vfscanf.c: Likewise.
16820 * streams/stropts.h: Likewise.
16821 * sunrpc/rpc_thread.c: Likewise.
16822 * sysdeps/i386/strpbrk.S: Likewise.
16823 * sysdeps/ieee754/k_standard.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16826 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16827 * sysdeps/mach/hurd/profil.c: Likewise.
16828 * sysdeps/s390/dl-procinfo.h: Likewise.
16829 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16830 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16831 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16832 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16834
0186c6e9
OB
168352013-08-30 Ondřej Bílka <neleai@seznam.cz>
16836
16837 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16839
d4e16af1
OB
168402013-08-29 Ondřej Bílka <neleai@seznam.cz>
16841
16842 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16843 aix specific files.
16844 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16845 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16846 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16847 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16849 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16851 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16852
88335980
TS
168532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16854 Roland McGrath <roland@hack.frob.com>
16855
16856 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16857 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16858
ed479b02
ST
168592013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16860
16861 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16862 __executable_start symbol instead of _start.
16863
f1cc4c86
TS
168642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16865
d821f07c
TS
16866 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16867 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16868 Move macros to...
16869 * sysdeps/gnu/ldsodefs.h: ... this new file.
16870
c54290cf
TS
16871 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16872 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16873 instead of ELFOSABI_LINUX.
16874
0007fc9b 16875 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16876 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16877 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16878 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16879 Likewise.
16880 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16881 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16883 Likewise.
16884 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16885 (ibm_extended_long_double): Add ieee_nan member.
16886 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16887 (do_test): New function.
16888
f1cc4c86
TS
16889 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16890 TEST_TRUNC.
16891 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16892 functions, renamed from truncdfsf_test, trunctfsf_test,
16893 trunctfdf_test.
16894 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16895 functions.
16896 (do_test): Run all these.
16897
6f65e668
OB
168982013-08-29 Ondřej Bílka <neleai@seznam.cz>
16899
16900 * argp/argp-help.c: Fix typos.
16901 * argp/argp-parse.c: Likewise.
16902 * debug/backtracesyms.c: Likewise.
16903 * elf/elf.h: Likewise.
16904 * malloc/malloc.c: Likewise.
16905 * nis/nis_print.c: Likewise.
16906 * resolv/res_comp.c: Likewise.
16907 * stdlib/stdlib.h: Likewise.
16908 * sunrpc/clnt_tcp.c: Likewise.
16909 * sunrpc/clnt_udp.c: Likewise.
16910 * sunrpc/clnt_unix.c: Likewise.
16911 * sysdeps/unix/bsd/ptsname.c: Likewise.
16912 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16913 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16919 Likewise.
6f65e668
OB
16920 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16921
3a309239
SP
169222013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16923
16924 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16926
3b813b29
MF
169272013-08-27 Mike Frysinger <vapier@gentoo.org>
16928
16929 [BZ #15897]
16930 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16931 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16932 ($(objpfx)bug-dl-leaf): New rule.
16933 ($(objpfx)bug-dl-leaf.so): Likewise.
16934 ($(objpfx)bug-dl-leaf.out): Likewise.
16935 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16936 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16937 * dlfcn/bug-dl-leaf.c: New test.
16938 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16939 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16940 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16941 (dlclose): Likewise.
16942 (dlmopen): Likewise.
16943
8cc3269f
RM
169442013-08-27 Roland McGrath <roland@hack.frob.com>
16945
7f9d0034
RM
16946 * include/netdb.h [!_ISOMAC]:
16947 Don't include <tls.h>.
16948 (h_errno, __libc_h_errno): Move declaration and macros out of
16949 [_LIBC_REENTRANT].
16950
fb431262
RM
16951 * include/resolv.h [_RESOLV_H_]:
16952 Don't include <tls.h>.
16953 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16954 * resolv/res_libc.c: Don't include <tls.h>.
16955 (_res): Use __attribute__ ((nocommon)) in place of
16956 __attribute__ ((section (".bss"))).
16957
bd81123a
RM
16958 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16959 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16960
c4e42566
RM
16961 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16962
f890a59b
RM
16963 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16964 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16965
16966 * resolv/res_mkquery.c: Include <sys/time.h>.
16967
5d1f0a09
RM
16968 * inet/ifreq.c: Moved to ...
16969 * sysdeps/unix/ifreq.c: ... here.
16970 * inet/ifreq.c: New file, true stub version.
16971
6fcf28b3
RM
16972 * socket/sa_len.c: New file.
16973 * socket/Makefile (aux): Add it.
16974 * sysdeps/unix/sysv/linux/Makefile
16975 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16976 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16977 and #include <socket/sa_len.c>.
16978 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16979 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16980
e041fb8b
RM
16981 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16982 * bits/socket.h: ... here.
16983
8cc3269f
RM
16984 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16985 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16986 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16987
5d228a43
AS
169882013-08-27 Andreas Schwab <schwab@suse.de>
16989
45b8accc
AS
16990 [BZ #15736]
16991 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16992 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16993 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16994 * string/test-strcasecmp.c (test_main): Run tests in several
16995 locales.
16996 * string/test-strncasecmp.c (test_main): Likewise.
16997
5d228a43
AS
16998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16999 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17000 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17002 (__strncasecmp_ssse3) [PIC]: Likewise.
17003
59d112a4
RM
170042013-08-26 Roland McGrath <roland@hack.frob.com>
17005
53234cc3
RM
17006 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17007
59d112a4
RM
17008 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17009 instead of explicitly declaring xdecrypt.
17010 * nis/nss_nis/nis-publickey.c: Likewise.
17011
595aba70
SP
170122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17013
17014 [BZ #15890]
17015 * nscd/aicache.c: Include res_hconf.h.
17016 (addhstaiX): Initialize res_hconf.
17017
ffabd393
AS
170182013-08-26 Andreas Schwab <schwab@suse.de>
17019
17020 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17021 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17022
e0a69f5c
SP
170232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17024
17025 * nscd/aicache.c (addhstaiX): Fix indentation.
17026
8c12f01d
MF
170272013-08-25 Mike Frysinger <vapier@gentoo.org>
17028
17029 * configure.ac: Quote $build_pt_chown test.
17030 * configure: Regenerated.
17031
8fe89494
JM
170322013-08-23 Joseph Myers <joseph@codesourcery.com>
17033
17034 [BZ #15532]
17035 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17036 * math/s_cexpf.c (__cexpf): Likewise.
17037 * math/s_cexpl.c (__cexpl): Likewise.
17038 * math/libm-test.inc (cexp_test_data): Correct expected return
17039 value for NaN + i0. Add another test.
17040
75b181d6
DM
170412013-08-22 David S. Miller <davem@davemloft.net>
17042
17043 * po/ca.po: Update Catalan translation from translation project.
936241e4 17044 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17045
acd06bb1
JM
170462013-08-21 Joseph Myers <joseph@codesourcery.com>
17047
17048 [BZ #15797]
17049 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17050 is infinite, not alongside NaN test.
17051 * math/s_fdimf.c (__fdimf): Likewise.
17052 * math/s_fdiml.c (__fdiml): Likewise.
17053 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17054 errno is unchanged.
17055
c0c3f78a
OB
170562013-08-21 Ondřej Bílka <neleai@seznam.cz>
17057
17058 * argp/argp-help.c: Fix typos.
17059 * crypt/speeds.c: Likewise.
17060 * csu/check_fds.c: Likewise.
17061 * elf/dl-load.c: Likewise.
17062 * elf/dl-open.c: Likewise.
17063 * elf/reldep3.c: Likewise.
17064 * elf/reldep.c: Likewise.
17065 * elf/sprof.c: Likewise.
17066 * iconv/iconv_charmap.c: Likewise.
17067 * iconv/skeleton.c: Likewise.
17068 * iconv/strtab.c: Likewise.
17069 * io/lockf64.c: Likewise.
17070 * libio/libioP.h: Likewise.
17071 * resolv/gai_notify.c: Likewise.
17072 * resolv/ns_name.c: Likewise.
17073 * resolv/ns_samedomain.c: Likewise.
17074 * resolv/res_send.c: Likewise.
17075 * stdlib/random.c: Likewise.
17076 * sunrpc/rpc/xdr.h: Likewise.
17077 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17085 * sysdeps/mach/hurd/check_fds.c: Likewise.
17086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17087 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17088 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17090 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17091 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17092 * sysdeps/pthread/aio_notify.c: Likewise.
17093 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17094 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17095 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17097 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17098
46ed1038
LD
170992013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17100
17101 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17102 version if bit_Slow_SSE4_2 is set.
17103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17105
d400dcac
AZ
171062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17107
17108 [BZ #15867]
17109 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17110 trampoline stack frame information.
17111 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17113 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17114 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17115 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17116 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17117 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17118 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17119 sa_flags value.
17120 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17121 interrupting a syscall and set with option SA_SIGINFO.
17122
42c8fdd8
JM
171232013-08-20 Joseph Myers <joseph@codesourcery.com>
17124
c980f2f4
JM
17125 [BZ #15531]
17126 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17127 argument is infinite.
17128 * math/s_cprojf.c (__cprojf): Likewise.
17129 * math/s_cprojl.c (__cprojl): Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17131 * math/libm-test.inc (cproj_test_data): Add more tests.
17132
0716c4fc
JM
17133 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17134
42c8fdd8
JM
17135 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17136 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17137 size. Use __ffs to determine corresponding shift.
17138
b31469d0
JM
171392013-08-20 Joseph Myers <joseph@codesourcery.com>
17140 Roland McGrath <roland@hack.frob.com>
17141
17142 * Makefile (INSTALL): Remove trailing blank lines from output of
17143 makeinfo.
17144
4e39af6e
AK
171452013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17146
17147 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17148 Align 32 bit compat elf_greg to 8 bytes.
17149
f315524e
AA
171502013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17151
17152 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17153
1326ba1a
SP
171542013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17155
17156 * string/strcoll_l.c (coll_seq): New structure.
17157 (get_next_seq_cached): New function.
17158 (get_next_seq): New function.
17159 (do_compare): New function.
17160 (STRCOLL): Use GNU style definition. Simplify implementation
17161 by using get_next_seq, get_next_seq_cached and do_compare.
17162
91ce4085
FW
171632013-08-16 Florian Weimer <fweimer@redhat.com>
17164
17165 [BZ #14699]
17166 CVE-2013-4237
17167 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17168 member.
17169 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17170 member.
17171 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17172 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17173 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17174 conditional.
17175 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17176 GETDENTS_64BIT_ALIGNED.
17177 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17178 * manual/filesys.texi (Reading/Closing Directory): Document
17179 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17180 strongly.
17181 * manual/conf.texi (Limits for Files): Add portability note to
17182 NAME_MAX, PATH_MAX.
17183 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17184
ca0a6bc4
AS
171852013-08-13 Andreas Schwab <schwab@suse.de>
17186
17187 [BZ #15749]
17188 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17189 of fabs.
17190 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17191 LDBL_MAX_EXP >= 16384]: Add tests for it.
17192
6c1fd795
DM
171932013-08-12 David S. Miller <davem@davemloft.net>
17194
17195 * version.h (RELEASE): Set to "development".
17196 (VERSION): Set to "2.18.90".
17197 * NEWS: Add 2.19 section.
17198
31ad488d
DM
171992013-08-03 David S. Miller <davem@davemloft.net>
17200
17201 * po/ko.po: Update Korean translation from translation project.
17202
db24e684
DM
172032013-08-01 David S. Miller <davem@davemloft.net>
17204
17205 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17206 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17207 Bilka.
17208
f723285b
DM
172092013-07-30 David S. Miller <davem@davemloft.net>
17210
17211 * po/fr.po: Update French translation from translation project.
17212
3cbc52db
DM
172132013-07-28 David S. Miller <davem@davemloft.net>
17214
30bbc0cc
DM
17215 * po/cs.po: Update Czech translation from translation project.
17216
3cbc52db
DM
17217 * po/sv.po: Update Swedish translation from translation project.
17218
d492e6d0
DM
172192013-07-27 David S. Miller <davem@davemloft.net>
17220
f1a7f492
DM
17221 * po/eo.po: Update Esperanto translation from translation project.
17222
90e62a4a
DM
17223 * po/vi.po: Update Vietnamese translation from translation project.
17224
d492e6d0
DM
17225 * po/de.po: Update German translation from translation project.
17226
d4baa62d
DM
172272013-07-26 David S. Miller <davem@davemloft.net>
17228
641aa7b4
DM
17229 * po/bg.po: Update Bulgarian translation from translation project.
17230
d4baa62d
DM
17231 * po/nl.po: Update Dutch translation from translation project.
17232 * po/pl.po: Update Polish translation from translation project.
17233 * po/ru.po: Update Russian translation from translation project.
17234
61a9dcb9
DM
172352013-07-24 David S. Miller <davem@davemloft.net>
17236
17237 * po/libc.pot: Update.
17238
7b1f8b58
AZ
172392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17240
17241 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17242 variable page size.
17243 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17244 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17245 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17246
a8fc7a03
AK
172472013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17248
17249 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17250
e4608715
CD
172512013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17252 Andreas Schwab <schwab@suse.de>
17253 Roland McGrath <roland@hack.frob.com>
17254 Joseph Myers <joseph@codesourcery.com>
17255 Carlos O'Donell <carlos@redhat.com>
17256
17257 [BZ #15755]
17258 * config.h.in: Define HAVE_PT_CHOWN.
17259 * config.make.in (build-pt-chown): New variable.
17260 * configure.in (--enable-pt_chown): New configure option.
17261 * configure: Regenerate.
17262 * login/Makefile: Include Makeconfig. Build pt_chown only if
17263 build-pt-chown is enabled.
17264 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17265 pt_chown to fix pty ownership.
17266 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17267 CLOSE_ALL_FDS.
17268 * manual/install.texi (Configuring and compiling): Mention
17269 --enable-pt_chown. Add @findex for grantpt.
17270 * INSTALL: Regenerate.
17271
da2d62df
DM
172722013-07-20 David S. Miller <davem@davemloft.net>
17273
17274 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17275 difference between 32-bit and 64-bit.
17276
d7e06450
CD
172772013-07-15 Carlos O'Donell <carlos@redhat.com>
17278
17279 [BZ #15711]
17280 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17281 Avoid system header dependency with -ffreestanding.
17282 ($(objpfx)bits/syscall%d): Likewise.
17283
f959cfd7
DM
172842013-07-13 David S. Miller <davem@davemloft.net>
17285
17286 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17287 underflows from atanl/atan2l due to bug 15319.
17288 (casinh_test_data): Likewise.
17289
c61f8513
DM
172902013-07-07 David S. Miller <davem@davemloft.net>
17291
17292 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17293
72c90ed0
JA
172942013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17295
17296 * sysdeps/i386/fpu/libm-test-ulps: Update.
17297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17298
52dfbe13
SP
172992013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
17301 * configure.in (--enable-lock-elision): Fix message text.
17302 * INSTALL: Regenerate.
17303 * configure: Regenerate.
17304
3f169543
AZ
173052013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17306
17307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17308
521c6785
AJ
173092013-07-03 Andreas Jaeger <aj@suse.de>
17310
17311 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17312 define.
17313 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17314 (ptrace_peeksiginfo_args): Add.
17315 (__ptrace_peeksiginfo_flags): Add.
17316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17319
d2cc15cb
AM
173202013-07-03 Allan McRae <allan@archlinux.org>
17321
17322 * sysdeps/i386/fpu/libm-test-ulps: Update.
17323
3aaeeca7
DM
173242013-07-02 David S. Miller <davem@davemloft.net>
17325
17326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17327
5314ed1a
MT
173282013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17329
17330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17331
67338156
JM
173322013-07-02 Joseph Myers <joseph@codesourcery.com>
17333
17334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17336
1717da59
AK
173372013-07-02 Andi Kleen <ak@linux.intel.com>
17338
17339 * config.h.in (ENABLE_LOCK_ELISION): Add.
17340 * configure.in (--enable-lock-elision): Add option.
17341 * manual/install.texi: Document --enable lock elision.
17342 * configure: Regenerate
17343 * INSTALL: Regenerate.
17344
1c81621c
L
173452013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17348 SSE4.2 strcasecmp for libc.a.
17349 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17350
77f01ab5
JM
173512013-07-02 Joseph Myers <joseph@codesourcery.com>
17352
17353 [BZ #13304]
17354 * soft-fp/op-common.h (_FP_FMA): New macro.
17355 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17356 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17357 (_FP_MUL_MEAT_1_imm): ... here.
17358 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17359 (_FP_MUL_MEAT_1_wide): ... here.
17360 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17361 (_FP_MUL_MEAT_1_hard): ... here.
17362 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17363 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17364 (_FP_MUL_MEAT_2_wide): ... here.
17365 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17366 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17367 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17368 (_FP_MUL_MEAT_2_gmp): ... here.
17369 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17370 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17371 (_FP_MUL_MEAT_4_wide): ... here.
17372 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17373 (_FP_MUL_MEAT_4_gmp): ... here.
17374 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17375 (_FP_WFRACBITS_DW_S): Likewise.
17376 (_FP_WFRACXBITS_DW_S): Likewise.
17377 (_FP_HIGHBIT_DW_S): Likewise.
17378 (FP_FMA_S): Likewise.
17379 (_FP_FRAC_HIGH_DW_S): Likewise.
17380 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17381 (_FP_WFRACBITS_DW_D): Likewise.
17382 (_FP_WFRACXBITS_DW_D): Likewise.
17383 (_FP_HIGHBIT_DW_D): Likewise.
17384 (FP_FMA_D): Likewise.
17385 (_FP_FRAC_HIGH_DW_D): Likewise.
17386 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17387 (_FP_WFRACBITS_DW_E): Likewise.
17388 (_FP_WFRACXBITS_DW_E): Likewise.
17389 (_FP_HIGHBIT_DW_E): Likewise.
17390 (FP_FMA_E): Likewise.
17391 (_FP_FRAC_HIGH_DW_E): Likewise.
17392 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17393 (_FP_WFRACBITS_DW_Q): Likewise.
17394 (_FP_WFRACXBITS_DW_Q): Likewise.
17395 (_FP_HIGHBIT_DW_Q): Likewise.
17396 (FP_FMA_Q): Likewise.
17397 (_FP_FRAC_HIGH_DW_Q): Likewise.
17398 * soft-fp/fmasf4.c: New file.
17399 * soft-fp/fmadf4.c: Likewise.
17400 * soft-fp/fmatf4.c: Likewise.
17401
6308fd9a
LD
174022013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17403
17404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17405 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17406 Silvermont.
17407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17408 macro.
17409 (index_Slow_SSE4_2): Likewise.
17410 (index_Prefer_PMINUB_for_stringop): Likewise.
17411 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17412 bit_Slow_SSE4_2 is set.
17413 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17415
89cd9569
RA
174162013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17417
17418 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17419 rtld_global._dl_hwcap2.
17420 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17421 POWER8.
17422 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17423 POWER8 feature descriptions defined in _dl_hwcap2.
17424 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17425 string handling for POWER8 feature bits.
17426 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17427 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17428 _dl_powerpc_cap_flags.
17429 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17430 * sysdeps/powerpc/rtld-global-offsets.sym
17431 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17432 _dl_hwcap2 in the rtld_global_ro structure.
17433
1ae8bfe0
RA
174342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17435
17436 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17437 hardware capabilities in support of AT_HWCAP2.
17438 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17439 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17440 GLRO(dl_hwcap2).
17441 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17442 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17443 explicitly the unknown a_type display mechanism is used.
17444 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17445 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17446 struct member.
17447 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17448 to macro prototype for AT_HWCAP2 support.
17449 * sysdeps/i386/dl-procinfo.h: Likewise.
17450 * sysdeps/s390/dl-procinfo.h: Likewise.
17451 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17452 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17453 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17454 return -1 for unknown a_type display fallback.
17455 * sysdeps/sparc/dl-procinfo.h: Likewise.
17456 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17457 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17458
8fbec010
JM
174592013-06-28 Joseph Myers <joseph@codesourcery.com>
17460
17461 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17462 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17463
0432680e
PY
174642013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17465
17466 [BZ #12492]
17467 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17468 mprotect making __stack_prot writable.
17469
ce61a2ad
NF
174702013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17471 Joseph Myers <joseph@codesourcery.com>
17472
17473 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17474 as being properly aligned.
17475
f91f1c0f
MR
174762013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17477
3d0f5d0c
MR
17478 * dlfcn/modstatic5.c: New file.
17479 * dlfcn/tststatic5.c: New file.
17480 * dlfcn/Makefile (tests): Add tststatic5.
17481 (tests-static): Likewise.
17482 (modules-names): Add modstatic5.
17483 (tststatic5-ENV): New variable.
17484 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17485
f91f1c0f
MR
17486 [BZ #15022]
17487 * elf/dl-support.c (_dl_main_map): New variable.
17488 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17489 (_dl_nns, _dl_load_adds): Set to 1.
17490 (_dl_initial_searchlist): Refer to _dl_main_map.
17491 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17492 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17493 call to _dl_get_origin.
17494 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17495 around call_map.
17496 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17497 * dlfcn/modstatic3.c: New file.
17498 * dlfcn/tststatic3.c: New file.
17499 * dlfcn/tststatic4.c: New file.
17500 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17501 (tests-static): Likewise.
17502 (modules-names): Add modstatic3.
17503 (tststatic3-ENV, tststatic4-ENV): New variables.
17504 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17505 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17506
cbe7d24b
JM
175072013-06-26 Joseph Myers <joseph@codesourcery.com>
17508
17509 * configure.in (CC): Require GCC version 4.4 or later.
17510 * configure: Regenerated.
17511 * manual/install.texi (Tools for Compilation): Update GCC version
17512 requirement.
17513 * INSTALL: Regenerated.
17514
11b8a0e1
LD
175152013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17516
17517 [BZ #15674]
bb5bb87c
L
17518 * string/test-memcmp.c (check2): New.
17519 (main): Call check2.
17520
11b8a0e1
LD
17521 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17522
b0037103
MR
175232013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17524
17525 [BZ #15022]
17526 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17527 over to...
17528 (dl_open_worker) [!SHARED]: ... here.
17529
c18c701d
RA
175302013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17531
17532 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17533
1d17fa5f
RH
175342013-06-25 Richard Henderson <rth@redhat.com>
17535
17536 * locale/programs/locarchive.c: Include <libc-internal.h>
17537
8fcb833a
JM
175382013-06-25 Joseph Myers <joseph@codesourcery.com>
17539
17540 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17541 trailing whitespace removed.
17542
17db6e8d
MF
175432013-06-24 Mike Frysinger <vapier@gentoo.org>
17544
17545 [BZ #10283]
17db6e8d
MF
17546 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17547 * locale/programs/locarchive.c: Include libc-mmap.h.
17548 (prepare_address_space): Take two new outputs (the mmap base and len).
17549 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17550 values.
17551 (create_archive): Declare new mmap base and len values for
17552 prepare_address_space, and store the result in ah.
17553 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17554 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17555 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17556 Declare new mmap base and len values for
17557 prepare_address_space, and store the result in new_ah.
17558 (open_archive): Declare new mmap base and len values for
17559 prepare_address_space, and store the result in ah.
17560 (close_archive): If ah->mmap_base is not NULL, use that and
17561 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17562 * sysdeps/generic/libc-mmap.h: New file.
17563
d605071e
MF
175642013-06-24 Mike Frysinger <vapier@gentoo.org>
17565
17566 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17567 (ALIGN_UP): Likewise.
17568 (PTR_ALIGN_DOWN): Likewise.
17569 (PTR_ALIGN_UP): Likewise.
17570
2f063a6e
RA
175712013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17572
17573 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17574 entry mapped to PPC_PLATFORM_POWER8.
17575 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17576 POWER8.
17577 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17578 (_dl_string_platform): Add case for exporting platform position for
17579 POWER8.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17581 search path to sysdeps/powerpc/powerpc32/power8 directory.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17583 search path to sysdeps/powerpc/powerpc64/power8 directory.
17584 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17585 power7 directories.
17586 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17587 power7 directories.
17588
a31ee4b3
SP
175892013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17590
a74ca98f
SP
17591 * INSTALL: Regenerate.
17592
a31ee4b3
SP
17593 * nscd/connections.c (nscd_init): Fix comment.
17594
695c378f
JM
175952013-06-22 Joseph Myers <joseph@codesourcery.com>
17596
d8412221
JM
17597 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17598
695c378f
JM
17599 [BZ #15667]
17600 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17601 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17602
d1d54715
MR
176032013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17604
17605 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17606 DL_DST_REQ_STATIC.
17607 (DL_DST_REQ_STATIC): Remove macro.
17608
8fdda7af
JM
176092013-06-21 Joseph Myers <joseph@codesourcery.com>
17610
17611 [BZ #7006]
17612 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17613 with a shift of 0 bits.
17614
f3bc5e5a
MR
176152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17616
17617 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17618 $(tststatic-ENV).
17619
be09e8c9
KK
176202013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17621
17622 [BZ #15655]
17623 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17624
85c2e611
AZ
176252013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626
17627 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17628 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17629 accepts -fno-tree-loop-distribute-patterns.
17630 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17631 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17632 recursive call.
17633 * string/memset.c (memset): Likewise.
17634 * string/test-memmove.c (simple_memmove): Disable loop transformation
17635 to library calls.
17636 * string/test-memset.c (simple_memset): Likewise.
17637 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17638 * benchtests/bench-memset.c (simple_memset): Likewise.
17639 * configure: Regenerated.
17640
c91e0825
JM
176412013-06-20 Joseph Myers <joseph@codesourcery.com>
17642
b8c792af
JM
17643 * math/test-misc.c (main): Ignore fesetround failure when failures
17644 of subsequent rounding tests would be ignored.
17645
c91e0825
JM
17646 [BZ #15654]
17647 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17648 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17649 * math/fegetenv.c (__fegetenv): Return 0.
17650 * math/fegetexcept.c (fegetexcept): Return 0.
17651 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17652 FE_TONEAREST.
17653 * math/feholdexcpt.c (feholdexcept): Return 0.
17654 * math/fesetenv.c (__fesetenv): Return 0.
17655 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17656 argument FE_TONEAREST.
17657 * math/feupdateenv.c (__feupdateenv): Return 0.
17658 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17659
bfcacbde
RM
176602013-06-18 Roland McGrath <roland@hack.frob.com>
17661
17662 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17663 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17664 ($(objpfx)rtld-%.os rules): Use them.
17665
e55a9b25
AZ
176662013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17667
17668 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17669 fields.
17670
346d65b3
RM
176712013-06-17 Roland McGrath <roland@hack.frob.com>
17672
12086fb4
RM
17673 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17674 length of target pattern, then descending length of dependency pattern.
17675 * configure.in (AWK): Require gawk 3.1.2 or newer.
17676 * manual/install.texi (Tools for Compilation): Say that we do.
17677 * configure: Regenerated.
17678
346d65b3
RM
17679 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17680 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17681 * scripts/sysd-rules.awk: ... this new script.
17682 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17683 than a glob-style pattern.
17684
1a846317
JM
176852013-06-17 Joseph Myers <joseph@codesourcery.com>
17686
17687 * math/test-misc.c (main): Do not treat incorrectly rounded
17688 conversions as failure unless ROUNDING_TESTS passes.
17689
8fc75e6f
JM
176902013-06-15 Joseph Myers <joseph@codesourcery.com>
17691
3711a167
JM
17692 [BZ #15631]
17693 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17694 restore exception state around main square root computation, then
17695 check for inexactness explicitly.
17696
8fc75e6f
JM
17697 * math/libm-test.inc (fma_test_data): Add another test.
17698
61dd6208
SP
176992013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17700
adf23d2c
SP
17701 * manual/threads.texi (Non-POSIX Extensions): New document
17702 node. Document pthread_getattr_default_np and
17703 pthread_setattr_default_np.
17704
61dd6208
SP
17705 * Versions.def (libpthread): Add GLIBC_2.18.
17706 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17708 Likewise.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17710 Likewise.
17711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17712 Likewise.
17713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17714 Likewise.
17715 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17716 Likewise.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17718 Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17720 Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17722 Likewise.
17723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17724 Likewise.
17725
d086fc7b
LD
177262013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17727
17728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17729 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17730
747ef469
SP
177312013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17732 H.J. Lu <hjl.tools@gmail.com>
17733
17734 [BZ #15627]
17735 * sysdeps/x86_64/rtld-memset.c: Remove file.
17736 * sysdeps/x86_64/rtld-memset.S: New file.
17737
1b2feed2
JM
177382013-06-14 Joseph Myers <joseph@codesourcery.com>
17739
17740 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17741 (test_in_one_mode): Take arguments for whether the rounding mode
17742 is supported for each floating-point type.
17743 (do_test): Pass new arguments to test_in_one_mode using
17744 ROUNDING_TESTS.
17745
a58ad3f8
RM
177462013-06-13 Roland McGrath <roland@hack.frob.com>
17747
17748 * posix/tst-waitid.c (do_test): Distinguish different instances of
17749 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17750 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17751 before entering the kernel for waitpid.
17752
c204ab28
SP
177532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17754
17755 * NEWS: Fix note on clock function precision. Text by Roland
17756 McGrath.
17757
f4a29fba
RM
177582013-06-13 Roland McGrath <roland@hack.frob.com>
17759
17760 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17761 it into place only when and if the sanity check passes.
17762
1f24b9ad
JM
177632013-06-13 Joseph Myers <joseph@codesourcery.com>
17764
17765 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17766 output for whether conversion result is exact. Take argument
17767 indicating whether type is IBM long double.
17768 (round_for_all): Change need_exact field to ibm_ld.
17769 * stdlib/tst-strtod-round.c (struct exactness): New type.
17770 (struct test): Change bool ld_ok field to struct exactness exact.
17771 (TEST): Update all definitions for change to field.
17772 (tests): Regenerate array contents.
17773 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17774 field value. Check for IBM long double here.
17775 (do_test): Update calls to test_in_one_mode.
17776
58206c68
SP
177772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 [BZ #12515]
17780 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17781 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17782
2d6f4c5b 177832013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17784
17785 [BZ #15605]
17786 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17787 generated by the compiler on loop optimizations.
17788 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17789 general definitions.
17790
94f2c076
JM
177912013-06-12 Joseph Myers <joseph@codesourcery.com>
17792
17793 * math/bug-nextafter.c: Include <math-tests.h>.
17794 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17795 the relevant type.
17796 * math/bug-nexttoward.c: Include <math-tests.h>.
17797 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17798 the relevant type.
17799 * math/test-misc.c: Include <math-tests.h>.
17800 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17801 the relevant type.
17802
e0e50a0a
AJ
178032013-06-12 Andreas Jaeger <aj@suse.de>
17804
17805 * po/ia.po: Update Interlingua translation from translation
17806 project.
17807
25061094
SP
178082013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
17810 * include/fenv.h: Include stdbool.h.
17811 (struct rm_ctx): New structure.
17812 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17813 Define macro.
17814 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17815 (SET_RESTORE_ROUNDF): Likewise.
17816 (SET_RESTORE_ROUNDL): Likewise.
17817 (SET_RESTORE_ROUND_NOEX): Likewise.
17818 (SET_RESTORE_ROUND_NOEXF): Likewise.
17819 (SET_RESTORE_ROUND_NOEXL): Likewise.
17820 (SET_RESTORE_ROUND_53BIT): Likewise.
17821 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17822 (libc_feresetround_noexf_ctx): Likewise.
17823 (libc_feresetround_noexl_ctx): Likewise.
17824 (libc_feholdsetround_53bit_ctx): Likewise.
17825 (libc_feresetround_53bit_ctx): Likewise.
17826 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17827 (libc_feholdexcept_setround_sse_ctx): New function.
17828 (libc_fesetenv_sse_ctx): Likewise.
17829 (libc_feupdateenv_sse_ctx): Likewise.
17830 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17831 (libc_feholdexcept_setround_387_ctx): Likewise.
17832 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17833 (libc_feholdsetround_387_prec_ctx): Likewise.
17834 (libc_feholdsetround_387_ctx): Likewise.
17835 (libc_feholdsetround_387_53bit_ctx): Likewise.
17836 (libc_feholdsetround_sse_ctx): Likewise.
17837 (libc_feresetround_sse_ctx): Likewise.
17838 (libc_feresetround_387_ctx): Likewise.
17839 (libc_feupdateenv_387_ctx): Likewise.
17840 (libc_feholdexcept_setroundf_ctx): Define macro.
17841 (libc_fesetenvf_ctx): Likewise.
17842 (libc_feupdateenvf_ctx): Likewise.
17843 (libc_feholdsetroundf_ctx): Likewise.
17844 (libc_feresetroundf_ctx): Likewise.
17845 (libc_feholdexcept_setround_ctx): Likewise.
17846 (libc_fesetenv_ctx): Likewise.
17847 (libc_feupdateenv_ctx): Likewise.
17848 (libc_feholdsetround_ctx): Likewise.
17849 (libc_feresetround_ctx): Likewise.
17850 (libc_feholdexcept_setroundl_ctx): Likewise.
17851 (libc_feupdateenvl_ctx): Likewise.
17852 (libc_feholdsetroundl_ctx): Likewise.
17853 (libc_feresetroundl_ctx): Likewise.
17854 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17855 (libc_feresetround_53bit_ctx): Likewise.
17856
59b30555
SP
178572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17858
17859 * locale/iso-639.def: Convert to UTF-8.
17860
f1d73d30
JM
178612013-06-11 Joseph Myers <joseph@codesourcery.com>
17862
17863 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17864 (EXCEPTION_TESTS_double): Likewise.
17865 (EXCEPTION_TESTS_long_double): Likewise.
17866 (EXCEPTION_TESTS): Likewise.
17867 * math/libm-test.inc (test_exceptions): Only test exceptions if
17868 EXCEPTION_TESTS (FLOAT).
17869
94aca5e7
SP
178702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17871
17872 * benchtests/Makefile (string-bench): Add strcpy_chk and
17873 stpcpy_chk.
17874 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17875 * benchtests/bench-stpcpy_chk.c: New file.
17876 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17877 * benchtests/bench-strcpy_chk.c: New file.
17878 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17879 code.
17880 (do_test): Likewise.
17881
fac0c5f2
RA
178822013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17883
17884 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17885 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17886 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17887 with tabs where appropriate.
17888 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17889 dl-procinfo.h.
17890 [PPC_PLATFORM_PPC440]: Likewise.
17891 [PPC_PLATFORM_PPC464]: Likewise.
17892 [PPC_PLATFORM_PPC476]: Likewise.
17893 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17894 ppc464, and ppc476 platform strings merging from ports/
17895 dl-procinfo.h.
17896
f22bc486
AS
178972013-06-11 Andreas Schwab <schwab@suse.de>
17898
17899 [BZ #14991]
17900 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17901 (from_ucs4_idx): Regenerate.
17902 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17903 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17904 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17905 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17906 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17907 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17908 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17909 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17910 from FROM_LOOP and TO_LOOP specific macros.
17911 (BODY): Handle combining characters.
17912 * iconvdata/BIG5HKSCS.irreversible: Update.
17913 * iconvdata/BIG5HKSCS.precomposed: New file.
17914 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17915 characters.
17916 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17917
c1f75dc3
SP
179182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17919
4eacded2
SP
17920 * include/sys/time.h: Fix indentation and add copyright header.
17921
fec799f8
SP
17922 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17923 (do_test): Likewise.
17924 * string/test-memchr.c (do_one_test): Likewise.
17925 (do_test): Likewise.
17926 * string/test-memcmp.c (do_one_test): Likewise.
17927 (do_test): Likewise.
17928 * string/test-memcpy.c (do_one_test): Likewise.
17929 (do_test): Likewise.
17930 * string/test-memmem.c (do_one_test): Likewise.
17931 (do_test): Likewise.
17932 (do_random_tests): Likewise.
17933 * string/test-memmove.c (do_one_test): Likewise.
17934 (do_test): Likewise.
17935 * string/test-memset.c (do_one_test): Likewise.
17936 (do_test): Likewise.
17937 * string/test-rawmemchr.c (do_one_test): Likewise.
17938 (do_test): Likewise.
17939 * string/test-strcasecmp.c (do_one_test): Likewise.
17940 (do_test): Likewise.
17941 * string/test-strcasestr.c (do_one_test): Likewise.
17942 (do_test): Likewise.
17943 * string/test-strcat.c (do_one_test): Likewise.
17944 (do_test): Likewise.
17945 * string/test-strchr.c (do_one_test): Likewise.
17946 (do_test): Likewise.
17947 * string/test-strcmp.c (do_one_test): Likewise.
17948 (do_test): Likewise.
17949 * string/test-strcpy.c (do_one_test): Likewise.
17950 (do_test): Likewise.
17951 * string/test-string.h: Likewise.
17952 (test_init): Likewise.
17953 * string/test-strlen.c (do_one_test): Likewise.
17954 (do_test): Likewise.
17955 * string/test-strncasecmp.c (do_one_test): Likewise.
17956 (do_test): Likewise.
17957 * string/test-strncat.c (do_one_test): Likewise.
17958 (do_test): Likewise.
17959 * string/test-strncmp.c (do_one_test): Likewise.
17960 (do_test_limit): Likewise.
17961 (do_test): Likewise.
17962 * string/test-strncpy.c (do_one_test): Likewise.
17963 (do_test): Likewise.
17964 * string/test-strnlen.c (do_one_test): Likewise.
17965 (do_test): Likewise.
17966 * string/test-strpbrk.c (do_one_test): Likewise.
17967 (do_test): Likewise.
17968 * string/test-strrchr.c (do_one_test): Likewise.
17969 (do_test): Likewise.
17970 * string/test-strspn.c (do_one_test): Likewise.
17971 (do_test): Likewise.
17972 * string/test-strstr.c (do_one_test): Likewise.
17973 (do_test): Likewise.
17974
97020474
SP
17975 * benchtests/Makefile (string-bench): Add string benchmarks.
17976 * benchtests/bench-bcopy-ifunc.c: New file.
17977 * benchtests/bench-bcopy.c: New file.
17978 * benchtests/bench-bzero-ifunc.c: New file.
17979 * benchtests/bench-bzero.c: New file.
17980 * benchtests/bench-memccpy-ifunc.c: New file.
17981 * benchtests/bench-memccpy.c: New file.
17982 * benchtests/bench-memchr-ifunc.c: New file.
17983 * benchtests/bench-memchr.c: New file.
17984 * benchtests/bench-memcmp-ifunc.c: New file.
17985 * benchtests/bench-memcmp.c: New file.
17986 * benchtests/bench-memmem-ifunc.c: New file.
17987 * benchtests/bench-memmem.c: New file.
17988 * benchtests/bench-memmove-ifunc.c: New file.
17989 * benchtests/bench-memmove.c: New file.
17990 * benchtests/bench-mempcpy-ifunc.c: New file.
17991 * benchtests/bench-mempcpy.c: New file.
17992 * benchtests/bench-memset-ifunc.c: New file.
17993 * benchtests/bench-memset.c: New file.
17994 * benchtests/bench-rawmemchr-ifunc.c: New file.
17995 * benchtests/bench-rawmemchr.c: New file.
17996 * benchtests/bench-stpcpy-ifunc.c: New file.
17997 * benchtests/bench-stpcpy.c: New file.
17998 * benchtests/bench-stpncpy-ifunc.c: New file.
17999 * benchtests/bench-stpncpy.c: New file.
18000 * benchtests/bench-strcasecmp-ifunc.c: New file.
18001 * benchtests/bench-strcasecmp.c: New file.
18002 * benchtests/bench-strcasestr-ifunc.c: New file.
18003 * benchtests/bench-strcasestr.c: New file.
18004 * benchtests/bench-strcat-ifunc.c: New file.
18005 * benchtests/bench-strcat.c: New file.
18006 * benchtests/bench-strchr-ifunc.c: New file.
18007 * benchtests/bench-strchr.c: New file.
18008 * benchtests/bench-strchrnul-ifunc.c: New file.
18009 * benchtests/bench-strchrnul.c: New file.
18010 * benchtests/bench-strcmp-ifunc.c: New file.
18011 * benchtests/bench-strcmp.c: New file.
18012 * benchtests/bench-strcpy-ifunc.c: New file.
18013 * benchtests/bench-strcpy.c: New file.
18014 * benchtests/bench-strcspn-ifunc.c: New file.
18015 * benchtests/bench-strcspn.c: New file.
18016 * benchtests/bench-strlen-ifunc.c: New file.
18017 * benchtests/bench-strlen.c: New file.
18018 * benchtests/bench-strncasecmp-ifunc.c: New file.
18019 * benchtests/bench-strncasecmp.c: New file.
18020 * benchtests/bench-strncat-ifunc.c: New file.
18021 * benchtests/bench-strncat.c: New file.
18022 * benchtests/bench-strncmp-ifunc.c: New file.
18023 * benchtests/bench-strncmp.c: New file.
18024 * benchtests/bench-strncpy-ifunc.c: New file.
18025 * benchtests/bench-strncpy.c: New file.
18026 * benchtests/bench-strnlen-ifunc.c: New file.
18027 * benchtests/bench-strnlen.c: New file.
18028 * benchtests/bench-strpbrk-ifunc.c: New file.
18029 * benchtests/bench-strpbrk.c: New file.
18030 * benchtests/bench-strrchr-ifunc.c: New file.
18031 * benchtests/bench-strrchr.c: New file.
18032 * benchtests/bench-strspn-ifunc.c: New file.
18033 * benchtests/bench-strspn.c: New file.
18034 * benchtests/bench-strstr-ifunc.c: New file.
18035 * benchtests/bench-strstr.c: New file.
18036
c1f75dc3
SP
18037 * benchtests/Makefile: Disable parallel execution of targets.
18038 (string-bench): Add memcpy.
18039 (benchset): New variable to store a list of benchmark sets.
18040 (bench-func): Renamed from bench.
18041 (bench-set): New target.
18042 (bench): Depend on bench-func and bench-set.
18043 * benchtests/README: Add section on benchmark sets.
18044 * benchtests/bench-memcpy-ifunc.c: New file.
18045 * benchtests/bench-memcpy.c: New file.
18046 * benchtests/bench-string.h: New file.
18047
50fd745b
AS
180482013-06-11 Andreas Schwab <schwab@suse.de>
18049
18050 [BZ #15577]
18051 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18052 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18053 values in the triple.
18054 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18055 terminator in the group key.
18056
3ee7e9fe
AJ
180572013-06-11 Andreas Jaeger <aj@suse.de>
18058
18059 * po/zh_TW.po: Update Chinese (traditional) translation from
18060 translation project.
18061
89fb6835
SP
180622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18063
18064 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18065 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18066 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18068 (clock_getcpuclockid): Likewise.
18069 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18070 Add weak_alias and libc_hidden_def.
18071 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18072 * rt/clock_gettime.c (clock_gettime): Rename to
18073 __clock_gettime. Add weak_alias and libc_hidden_def.
18074 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18075 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18076 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18077 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18078 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18079 Likewise.
18080 * rt/clock_settime.c (clock_settime): Rename to
18081 __clock_settime. Add weak_alias and libc_hidden_def.
18082 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18083
0efa6f8b
JM
180842013-06-10 Joseph Myers <joseph@codesourcery.com>
18085
b8c61b4b
JM
18086 * mach/err_boot.sub: Remove trailing whitespace.
18087 * mach/err_ipc.sub: Likewise.
18088 * mach/err_mach.sub: Likewise.
18089
0efa6f8b
JM
18090 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18091 (ROUNDING_TESTS_double): Likewise.
18092 (ROUNDING_TESTS_long_double): Likewise.
18093 (ROUNDING_TESTS): Likewise.
18094 * math/libm-test.inc: Include <math-tests.h>.
18095 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18096 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18097 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18098 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18099
50b818bf
SP
181002013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18101
18102 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18103 of assigning.
18104
60d2f8f3
JM
181052013-06-08 Joseph Myers <joseph@codesourcery.com>
18106
4902d2c3
JM
18107 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18108 otherwise empty TRANS lines.
18109 * sysdeps/gnu/errlist.c: Regenerated.
18110
60d2f8f3
JM
18111 * catgets/gencat.c (error_print): Use (void) in function
18112 definition.
18113 * crypt/crypt_util.c (__init_des): Likewise.
18114 * crypt/speeds.c (Stop): Likewise.
18115 (main): Likewise.
18116 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18117 * inet/ruserpass.c (token): Likewise.
18118 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18119 * intl/localealias.c (extend_alias_table): Likewise.
18120 * intl/plural-exp.c (init_germanic_plural): Likewise.
18121 * libio/fcloseall.c (__fcloseall): Likewise.
18122 * libio/genops.c (_IO_flush_all): Likewise.
18123 (_IO_flush_all_linebuffered): Likewise.
18124 (_IO_cleanup): Likewise.
18125 (_IO_iter_begin): Likewise.
18126 (_IO_iter_end): Likewise.
18127 (_IO_list_lock): Likewise.
18128 (_IO_list_unlock): Likewise.
18129 (_IO_list_resetlock): Likewise.
18130 * libio/getchar.c (getchar): Likewise.
18131 * libio/getchar_u.c (getchar_unlocked): Likewise.
18132 * libio/getwchar.c (getwchar): Likewise.
18133 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18134 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18135 * login/getpt.c (__getpt): Likewise.
18136 * login/tst-utmp.c (main): Likewise.
18137 * malloc/hooks.c (__malloc_check_init): Likewise.
18138 * malloc/malloc.c (__malloc_stats): Likewise.
18139 * malloc/mtrace.c (tr_break): Likewise.
18140 (mtrace): Likewise.
18141 (muntrace): Likewise.
18142 * misc/fstab.c (endfsent): Likewise.
18143 * misc/getclktck.c (__getclktck): Likewise.
18144 * misc/getdtsz.c (__getdtablesize): Likewise.
18145 * misc/gethostid.c (gethostid): Likewise.
18146 * misc/getpagesize.c (__getpagesize): Likewise.
18147 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18148 (__get_nprocs): Likewise.
18149 (__get_phys_pages): Likewise.
18150 (__get_avphys_pages): Likewise.
18151 * misc/getttyent.c (getttyent): Likewise.
18152 (setttyent): Likewise.
18153 (endttyent): Likewise.
18154 * misc/getusershell.c (getusershell): Likewise.
18155 (endusershell): Likewise.
18156 (setusershell): Likewise.
18157 (initshells): Likewise.
18158 * misc/hsearch.c (__hdestroy): Likewise.
18159 * misc/sync.c (sync): Likewise.
18160 * misc/syslog.c (closelog_internal): Likewise.
18161 (closelog): Likewise.
18162 * misc/ttyslot.c (ttyslot): Likewise.
18163 * misc/vhangup.c (vhangup): Likewise.
18164 * posix/fork.c (__fork): Likewise.
18165 * posix/getegid.c (__getegid): Likewise.
18166 * posix/geteuid.c (__geteuid): Likewise.
18167 * posix/getgid.c (__getgid): Likewise.
18168 * posix/getpid.c (__getpid): Likewise.
18169 * posix/getppid.c (__getppid): Likewise.
18170 * posix/getuid.c (__getuid): Likewise.
18171 * posix/pause.c (pause): Likewise.
18172 * posix/setpgrp.c (setpgrp): Likewise.
18173 * posix/setsid.c (__setsid): Likewise.
18174 * posix/test-vfork.c (noop): Likewise.
18175 * resolv/gethnamaddr.c (_endhtent): Likewise.
18176 (_gethtent): Likewise.
18177 (ht_endhostent): Likewise.
18178 (gethostent): Likewise.
18179 (dns_service): Likewise.
18180 * stdlib/drand48.c (drand48): Likewise.
18181 * stdlib/lrand48.c (lrand48): Likewise.
18182 * stdlib/mrand48.c (mrand48): Likewise.
18183 * stdlib/rand.c (rand): Likewise.
18184 * stdlib/random.c (__random): Likewise.
18185 * stdlib/setenv.c (clearenv): Likewise.
18186 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18187 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18188 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18189 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18190 (__get_nprocs): Likewise.
18191 (__get_phys_pages): Likewise.
18192 (__get_avphys_pages): Likewise.
18193 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18194 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18195 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18196 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18197 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18198 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18199 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18200 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18201 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18202 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18203 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18204 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18205 * sysdeps/posix/clock.c (clock): Likewise.
18206 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18207 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18208 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18209 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18210 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18212 (__get_nprocs_conf): Likewise.
18213 (__get_phys_pages): Likewise.
18214 (__get_avphys_pages): Likewise.
18215 * time/clock.c (clock): Likewise.
18216 * time/tzset.c (__tzname_max): Likewise.
18217
2e09a79a
JM
182182013-06-07 Joseph Myers <joseph@codesourcery.com>
18219
18220 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18221 (__bswap_32): Do not use "register".
18222 * crypt/crypt.c (_ufc_doit_r): Likewise.
18223 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18224 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18225 * gmon/gmon.c (__monstartup): Likewise.
18226 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18227 * hurd/hurdmalloc.c (more_memory): Likewise.
18228 (malloc): Likewise.
18229 (free): Likewise.
18230 (realloc): Likewise.
18231 (malloc_fork_prepare): Likewise.
18232 (malloc_fork_parent): Likewise.
18233 (malloc_fork_child): Likewise.
18234 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18235 (_svcauth_des): Likewise.
18236 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18237 * inet/inet_net.c (inet_network): Likewise.
18238 * inet/inet_netof.c (inet_netof): Likewise.
18239 * inet/rcmd.c (__validuser2_sa): Likewise.
18240 * io/fts.c (fts_open): Likewise.
18241 (fts_load): Likewise.
18242 (fts_close): Likewise.
18243 (fts_read): Likewise.
18244 (fts_children): Likewise.
18245 (fts_build): Likewise.
18246 (fts_stat): Likewise.
18247 (fts_sort): Likewise.
18248 (fts_alloc): Likewise.
18249 (fts_lfree): Likewise.
18250 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18251 (_IO_file_xsgetn): Likewise.
18252 (_IO_file_xsgetn_mmap): Likewise.
18253 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18254 (_IO_cookie_write): Likewise.
18255 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18256 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18257 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18258 * malloc/obstack.c (_obstack_begin): Likewise.
18259 (_obstack_begin_1): Likewise.
18260 (_obstack_newchunk): Likewise.
18261 (_obstack_allocated_p): Likewise.
18262 (obstack_free): Likewise.
18263 (_obstack_memory_used): Likewise.
18264 * misc/getttyent.c (getttynam): Likewise.
18265 (getttyent): Likewise.
18266 (skip): Likewise.
18267 (value): Likewise.
18268 * misc/getusershell.c (initshells): Likewise.
18269 * misc/syslog.c (__vsyslog_chk): Likewise.
18270 * misc/ttyslot.c (ttyslot): Likewise.
18271 * nis/nis_hash.c (__nis_hash): Likewise.
18272 * posix/fnmatch_loop.c (FCT): Likewise.
18273 * posix/getconf.c (print_all): Likewise.
18274 (main): Likewise.
18275 * posix/getopt.c (exchange): Likewise.
18276 * posix/glob.c (globfree): Likewise.
18277 (prefix_array): Likewise.
18278 (__glob_pattern_type): Likewise.
18279 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18280 (NS_GET32): Likewise.
18281 (NS_PUT16): Likewise.
18282 (NS_PUT32): Likewise.
18283 * resolv/gethnamaddr.c (getanswer): Likewise.
18284 (gethostbyname2): Likewise.
18285 (gethostbyaddr): Likewise.
18286 (_gethtent): Likewise.
18287 (_gethtbyname2): Likewise.
18288 (_gethtbyaddr): Likewise.
18289 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18290 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18291 * resolv/res_init.c (__res_vinit): Likewise.
18292 (net_mask): Likewise.
18293 * resolv/res_mkquery.c (outchar): Likewise.
18294 (PRINT): Likewise.
18295 * stdio-common/printf_fp.c (outchar): Likewise.
18296 (PRINT): Likewise.
18297 * stdio-common/printf_fphex.c (outchar): Likewise.
18298 (PRINT): Likewise.
18299 * stdio-common/printf_size.c (outchar): Likewise.
18300 (PRINT): Likewise.
18301 * stdio-common/test_rdwr.c (main): Likewise.
18302 * stdio-common/tfformat.c (matches): Likewise.
18303 * stdio-common/vfprintf.c (outchar): Likewise.
18304 (printf_unknown): Likewise.
18305 (buffered_vfprintf): Likewise.
18306 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18307 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18308 (ReadFile): Likewise.
18309 * stdlib/qsort.c (SWAP): Likewise.
18310 (_quicksort): Likewise.
18311 * stdlib/setenv.c (__add_to_environ): Likewise.
18312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18313 * stdlib/strtol_l.c (__strtol_l): Likewise.
18314 * stdlib/tst-strtod.c (main): Likewise.
18315 * stdlib/tst-strtol.c (main): Likewise.
18316 * stdlib/tst-strtoll.c (main): Likewise.
18317 * string/bits/string2.h (__strcmp_cc): Likewise.
18318 (__strcmp_cg): Likewise.
18319 (__strcspn_c1): Likewise.
18320 (__strcspn_c2): Likewise.
18321 (__strcspn_c3): Likewise.
18322 (__strspn_c1): Likewise.
18323 (__strspn_c2): Likewise.
18324 (__strspn_c3): Likewise.
18325 (__strsep_1c): Likewise.
18326 (__strsep_2c): Likewise.
18327 (__strsep_3c): Likewise.
18328 * string/memccpy.c (__memccpy): Likewise.
18329 * string/stpcpy.c (__stpcpy): Likewise.
18330 * string/strcmp.c (strcmp): Likewise.
18331 * string/strrchr.c (strrchr): Likewise.
18332 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18333 Likewise.
18334 * sysdeps/mach/hurd/getcwd.c
18335 (_hurd_canonicalize_directory_name_internal): Likewise.
18336 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18337 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18338 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18339 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18340 Likewise, in both definitions.
18341 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18342 definitions.
18343 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18344 64] (__bswap_64): Likewise.
18345 * time/test_time.c (main): Likewise.
18346 * time/tzfile.c (__tzfile_read): Likewise.
18347 (__tzfile_compute): Likewise.
18348 * time/tzset.c (__tzset_parse_tz): Likewise.
18349 (tzset_internal): Likewise.
18350 (compute_change): Likewise.
18351 * wcsmbs/wcscat.c (__wcscat): Likewise.
18352 * wcsmbs/wcschr.c (wcschr): Likewise.
18353 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18354 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18355 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18356 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18357 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18358 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18359 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18360 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18361 * wcsmbs/wmemset.c (wmemset): Likewise.
18362
9e54314b
JM
183632013-06-06 Joseph Myers <joseph@codesourcery.com>
18364
18365 * scripts/config.guess: Update to version 2013-05-16.
18366 * scripts/config.sub: Update to version 2013-04-24.
18367 * scripts/install-sh: Update to version 2011-11-20.07.
18368 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18369 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18370
350635a5
OB
183712013-06-06 Ondřej Bílka <neleai@seznam.cz>
18372
18373 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18374 * elf/sln.c: Likewise.
18375 * hurd/hurd/ioctl.h: Likewise.
18376 * hurd/hurdmalloc.c: Likewise.
18377 * hurd/xattr.c: Likewise.
18378 * include/shlib-compat.h: Likewise.
18379 * inet/ruserpass.c: Likewise.
18380 * libio/iofgets_u.c: Likewise.
18381 * libio/iofgetws_u.c: Likewise.
18382 * locale/programs/ld-identification.c: Likewise.
18383 * locale/programs/ld-time.c: Likewise.
18384 * mach/msg-destroy.c: Likewise.
18385 * nss/nss_files/files-netgrp.c: Likewise.
18386 * resolv/res_data.c: Likewise.
18387 * soft-fp/op-1.h: Likewise.
18388 * soft-fp/op-2.h: Likewise.
18389 * soft-fp/op-4.h: Likewise.
18390 * soft-fp/op-common.h: Likewise.
18391 * stdio-common/printf_fphex.c: Likewise.
18392 * stdlib/strtod_l.c: Likewise.
18393 * sunrpc/rpc/clnt.h: Likewise.
18394 * sysdeps/generic/framestate.c: Likewise.
18395 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18396 * sysdeps/i386/bsd-setjmp.S: Likewise.
18397 * sysdeps/i386/__longjmp.S: Likewise.
18398 * sysdeps/i386/setjmp.S: Likewise.
18399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18400 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18417 * sysdeps/ieee754/support.c: Likewise.
18418 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18419 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18420 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18421 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18422 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18423 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18424 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18425 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18426 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18427 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18428 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18429 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18430 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18431 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18432 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18433 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18434 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18436
44a988af
OB
184372013-06-05 Ondřej Bílka <neleai@seznam.cz>
18438
25506f09 18439 * posix/transbug.c: Remove executable mode.
44a988af 18440
9c84384c
JM
184412013-06-05 Joseph Myers <joseph@codesourcery.com>
18442
18443 * crypt/speeds.c: Remove trailing whitespace.
18444 * dlfcn/default.c: Likewise.
18445 * elf/ifuncdep2.c: Likewise.
18446 * elf/ifuncmain1.c: Likewise.
18447 * elf/ifuncmain1vis.c: Likewise.
18448 * elf/testobj.h: Likewise.
18449 * elf/tst-stackguard1.c: Likewise.
18450 * gmon/sys/gmon.h: Likewise.
18451 * hurd/hurdmsg.c: Likewise.
18452 * hurd/new-fd.c: Likewise.
18453 * hurd/ports-get.c: Likewise.
18454 * iconvdata/ibm1008_420.c: Likewise.
18455 * inet/tst-getni1.c: Likewise.
18456 * inet/tst-getni2.c: Likewise.
18457 * libio/ioungetc.c: Likewise.
18458 * libio/wfiledoalloc.c: Likewise.
18459 * manual/libm-err-tab.pl: Likewise.
18460 * math/w_dremf.c: Likewise.
18461 * misc/ftruncate.c: Likewise.
18462 * posix/bug-glob2.c: Likewise.
18463 * posix/tst-pcre.c: Likewise.
18464 * posix/wait4.c: Likewise.
18465 * resolv/README: Likewise.
18466 * resolv/res_debug.h: Likewise.
18467 * resolv/tst-inet_ntop.c: Likewise.
18468 * setjmp/bug269-setjmp.c: Likewise.
18469 * soft-fp/extended.h: Likewise.
18470 * soft-fp/op-1.h: Likewise.
18471 * soft-fp/op-2.h: Likewise.
18472 * soft-fp/op-4.h: Likewise.
18473 * soft-fp/op-8.h: Likewise.
18474 * soft-fp/testit.c: Likewise.
18475 * stdio-common/bug16.c: Likewise.
18476 * stdlib/random.c: Likewise.
18477 * sunrpc/rpcsvc/rquota.x: Likewise.
18478 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18479 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18481 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18482 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18483 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18485 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18487 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18488 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18499 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18500 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18507 * sysdeps/ieee754/s_lib_version.c: Likewise.
18508 * sysdeps/mach/hurd/check_fds.c: Likewise.
18509 * sysdeps/mach/hurd/getsockname.c: Likewise.
18510 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18511 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18512 * sysdeps/powerpc/bits/link.h: Likewise.
18513 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18514 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18515 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18516 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18517 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18518 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18519 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18520 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18521 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18522 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18523 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18524 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18525 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18526 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18527 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18528 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18531 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18532 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18533 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18534 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18535 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18536 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18537 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18538 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18539 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18540 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18541 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18543 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18544 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18547 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18548 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18549 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18550 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18551 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18552 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18553 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18554 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18555 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18556 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18557 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18558 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18559 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18560 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18561 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18562 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18566 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18567 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18568 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18569 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18572 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18573 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18574 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18575 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18576 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18577 * sysdeps/powerpc/sysdep.h: Likewise.
18578 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18579 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18580 * sysdeps/sh/dl-trampoline.S: Likewise.
18581 * sysdeps/sh/memset.S: Likewise.
18582 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18583 * sysdeps/sh/strlen.S: Likewise.
18584 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18585 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18586 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18587 * sysdeps/sparc/sparc32/rem.S: Likewise.
18588 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18589 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18590 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18591 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18592 * sysdeps/sparc/sparc32/urem.S: Likewise.
18593 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18594 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18595 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18596 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18597 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18598 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18599 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18600 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18601 * sysdeps/unix/bsd/times.c: Likewise.
18602 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18603 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18607 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18608 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18609 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18610 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18611 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18612 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18614 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18615 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18616 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18617 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18618 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18619 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18620 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18621 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18622 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18623 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18624 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18625 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18626 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18627 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18628 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18630 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18631 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18632 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18633 * sysdeps/x86_64/strcspn.S: Likewise.
18634
869378a5
RA
186352013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18636
18637 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18638 generated file. Regenerate properly from gen-translit.pl.
18639 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18640 locale/C-translit.h.
18641
840e2943
AS
186422013-06-05 Andreas Schwab <schwab@suse.de>
18643
18644 [BZ #15100]
18645 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18646 week as 6 instead of -1.
18647 * time/tst-strptime.c (day_tests): Add test case.
18648
4c60cb0c
SP
186492013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18650
18651 * sysdeps/generic/math_private.h
18652 (libc_feholdexcept_setround_53bit): Replace with
18653 libc_feholdsetround_53bit.
18654 (libc_feupdateenv_53bit): Replace with
18655 libc_feresetround_53bit.
18656 (SET_RESTORE_ROUND_53BIT): Adjust.
18657
d180203e
SP
186582013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18659
96df079a
SP
18660 * string/test-strchrnul.c: Add copyright header.
18661
d180203e
SP
18662 * posix/tst-getaddrinfo4.c: Increase test timeout.
18663
8b0ccb2d
CD
186642013-06-03 Carlos O'Donell <carlos@redhat.com>
18665
18666 [BZ #15536]
18667 * math/libm-test.inc (MAX_EXP): Remove
18668 (MIN_EXP): Define.
18669 (ulp): Use MIN_EXP - MANT_DIG.
18670 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18671
3b3c4d40
CD
186722013-05-31 Carlos O'Donell <carlos@redhat.com>
18673
18674 * po/be.po: Revert last change.
18675 * po/zh_CN.po: Likewise.
18676 * po/header.pot: Likewise.
18677
fab7ce3f
JM
186782013-05-31 Joseph Myers <joseph@codesourcery.com>
18679
18680 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18681 link-libc-deps to empty as target-specific variable.
18682 * Makerules (link-libc-args): New variable.
18683 (libc-for-link): Likewise.
18684 (link-libc-deps): Likewise.
18685 (lib%.so): Depend on $(link-libc-deps). Link with
18686 $(link-libc-args).
18687 (build-module): Link with $(link-libc-args).
18688 (build-module-asneeded): Likewise.
18689 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18690 list of objects.
18691 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18692 target-specific variable.
18693 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18694 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18695 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18696 libc.
18697 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18698 libc and ld.so.
18699 ($(objpfx)libpcprofile.so): Likewise.
18700 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18701 libc_nonshared.a.
18702 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18703 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18704 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18705 $(link-libc-deps).
18706 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18707 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18708 * login/Makefile ($(objpfx)libutil.so): Likewise.
18709 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18710 * math/Makefile ($(objpfx)libm.so): Likewise.
18711 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18712 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18713 variable instead of depending directly on libc.
18714 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18715 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18716 $(link-libc-deps).
18717 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18718 libc.
18719 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18720 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18721 ($(objpfx)libanl.so): Likewise.
18722 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18723 ld.so.
18724 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18725 $(link-libc-deps).
18726 * sysdeps/i386/fpu/Makefile: Remove file.
18727 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18728 ($(objpfx)libm.so): Remove dependency on ld.so.
18729
eca5920c
PF
187302013-05-30 Patsy Franklin <pfrankli@redhat.com>
18731
18732 [BZ # 15553]
18733 * nis/yp_xdr.c (XDRMAXNAME): Define.
18734 (XDRMAXRECORD): Define.
18735 (xdr_domainname): Use XDRMAXNAME.
18736 (xdr_mapname): Likewise.
18737 (xdr_peername): Likewise.
18738 (xdr_keydat): Use XDRMAXRECORD.
18739 (xdr_valdat): Likewise.
18740
187412013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18742
18743 [BZ #14256]
18744 * manual/errno.texi (ESTALE): Update to account for more than
18745 just NFS file systems.
18746 * sysdeps/gnu/errlist.c: Regenerated.
18747
b9375348
SP
187482013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18749
18750 [BZ #15465]
18751 * elf/Makefile (tests): Add tst-null-argv.
18752 (modules-names): Add tst-null-argv-lib.
18753 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18754 (tst-null-argv-ENV): Set environment for tst-null-argv.
18755 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18756 (RTLD_PROGNAME): New macro.
18757 * elf/tst-null-argv.c: New test case.
18758 * elf/tst-null-argv-lib.c: Library for test case.
18759 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18760 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18761 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18762 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18763 * elf/dl-init.c (call_init): Likewise.
18764 (_dl_init): Likewise.
18765 * elf/dl-load.c (print_search_path): Likewise.
18766 (_dl_map_object): Likewise.
18767 * elf/dl-lookup.c (do_lookup_x): Likewise.
18768 (add_dependency): Likewise.
18769 (_dl_lookup_symbol_x): Likewise.
18770 (_dl_debug_bindings): Likewise.
18771 * elf/dl-open.c (_dl_show_scope): Likewise.
18772 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18773 * elf/dl-version.c (match_symbol): Likewise.
18774 (_dl_check_map_versions): Likewise.
18775 * elf/rtld.c (dl_main): Likewise.
18776 (print_unresolved): Use RTLD_PROGNAME.
18777 (print_missing_version): Likewise.
18778 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18779 (elf_machine_rela): Likewise.
18780 * sysdeps/powerpc/powerpc32/dl-machine.c
18781 (__process_machine_rela): Likewise.
18782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18783 Likewise.
18784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18785 Likewise.
18786 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18787 Likewise.
18788 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18790 Likewise.
18791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18792 Likewise.
18793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18794
8a9f20c8
CD
187952013-05-28 Carlos O'Donell <carlos@redhat.com>
18796
18797 * po/be.po: Add descriptive title.
18798 * po/zh_CN.po: Likewise.
18799 * po/header.pot: Likewise.
18800
0e60d68e
MF
188012013-05-28 Mike Frysinger <vapier@gentoo.org>
18802
18803 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18804 error message.
18805 (enlarge_archive): Likewise.
18806
56b672e9
BN
188072013-05-28 Ben North <ben@redfrontdoor.org>
18808
18809 * manual/arith.texi (frexp): It is the magnitude of the return
18810 value which lies in [0.5, 1), not the return value itself.
18811
5e056687
AZ
188122013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18813
18814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18815
2b66ef5d
TS
188162013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18817
528c2405
TS
18818 * stdio-common/bug26.c (main): Correct fscanf template.
18819
07b4c13d
TS
18820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18821 declare _dl_skip_args.
18822
ec9dd97c
TS
18823 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18824 Don't declare.
18825
2b66ef5d
TS
18826 * manual/platform.texi: Add missing @end deftypefun.
18827
4f8dfe27
JM
188282013-05-24 Joseph Myers <joseph@codesourcery.com>
18829
0323d086
JM
18830 [BZ #15529]
18831 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18832 bit of mantissa of 2^16382.
18833 * math/libm-test.inc (hypot_test_data): Add more tests.
18834
dd4259b9
JM
18835 * math/libm-test.inc: Add drem and pow10 to list of tested
18836 functions.
18837 (pow10_test): New function.
18838 (drem_test): Likewise.
18839 (drem_test_tonearest): Likewise.
18840 (drem_test_towardzero): Likewise.
18841 (drem_test_downward): Likewise.
18842 (drem_test_upward): Likewise.
18843 (main): Call the new functions.
18844
4f8dfe27
JM
18845 * math/libm-test.inc (finite_test_data): Remove.
18846 (finite_test): Run tests from isfinite_test_data.
18847 (gamma_test_data): Remove.
18848 (gamma_test): Run tests from lgamma_test_data.
18849 * sysdeps/i386/fpu/libm-test-ulps: Update.
18850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18851
d116b7c4
AZ
188522013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18853
18854 * manual/platform.texi: Add PowerPC PPR function set documentation.
18855 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18856 implementation.
18857
e96e3767
CD
188582013-05-24 Carlos O'Donell <carlos@redhat.com>
18859
18860 * math/libm-test.inc (MAX_EXP): Define.
18861 (ULPDIFF): Define.
18862 (ulp): New function.
18863 (check_float_internal): Use ULPDIFF.
18864 (cpow_test): Disable failing test.
18865 (check_ulp): Test ulp() implemetnation.
18866 (main): Call check_ulp before starting tests.
18867
b679a606
JM
188682013-05-24 Joseph Myers <joseph@codesourcery.com>
18869
e8bdba36
JM
18870 * math/gen-libm-test.pl (generate_testfile): Do not handle
18871 START_DATA and END_DATA.
18872 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18873 END_DATA.
18874 (acos_tonearest_test_data): Likewise.
18875 (acos_towardzero_test_data): Likewise.
18876 (acos_downward_test_data): Likewise.
18877 (acos_upward_test_data): Likewise.
18878 (acosh_test_data): Likewise.
18879 (asin_test_data): Likewise.
18880 (asin_tonearest_test_data): Likewise.
18881 (asin_towardzero_test_data): Likewise.
18882 (asin_downward_test_data): Likewise.
18883 (asin_upward_test_data): Likewise.
18884 (asinh_test_data): Likewise.
18885 (atan_test_data): Likewise.
18886 (atanh_test_data): Likewise.
18887 (atan2_test_data): Likewise.
18888 (cabs_test_data): Likewise.
18889 (cacos_test_data): Likewise.
18890 (cacosh_test_data): Likewise.
18891 (carg_test_data): Likewise.
18892 (casin_test_data): Likewise.
18893 (casinh_test_data): Likewise.
18894 (catan_test_data): Likewise.
18895 (catanh_test_data): Likewise.
18896 (cbrt_test_data): Likewise.
18897 (ccos_test_data): Likewise.
18898 (ccosh_test_data): Likewise.
18899 (ceil_test_data): Likewise.
18900 (cexp_test_data): Likewise.
18901 (cimag_test_data): Likewise.
18902 (clog_test_data): Likewise.
18903 (clog10_test_data): Likewise.
18904 (conj_test_data): Likewise.
18905 (copysign_test_data): Likewise.
18906 (cos_test_data): Likewise.
18907 (cos_tonearest_test_data): Likewise.
18908 (cos_towardzero_test_data): Likewise.
18909 (cos_downward_test_data): Likewise.
18910 (cos_upward_test_data): Likewise.
18911 (cosh_test_data): Likewise.
18912 (cosh_tonearest_test_data): Likewise.
18913 (cosh_towardzero_test_data): Likewise.
18914 (cosh_downward_test_data): Likewise.
18915 (cosh_upward_test_data): Likewise.
18916 (cpow_test_data): Likewise.
18917 (cproj_test_data): Likewise.
18918 (creal_test_data): Likewise.
18919 (csin_test_data): Likewise.
18920 (csinh_test_data): Likewise.
18921 (csqrt_test_data): Likewise.
18922 (ctan_test_data): Likewise.
18923 (ctan_tonearest_test_data): Likewise.
18924 (ctan_towardzero_test_data): Likewise.
18925 (ctan_downward_test_data): Likewise.
18926 (ctan_upward_test_data): Likewise.
18927 (ctanh_test_data): Likewise.
18928 (ctanh_tonearest_test_data): Likewise.
18929 (ctanh_towardzero_test_data): Likewise.
18930 (ctanh_downward_test_data): Likewise.
18931 (ctanh_upward_test_data): Likewise.
18932 (erf_test_data): Likewise.
18933 (erfc_test_data): Likewise.
18934 (exp_test_data): Likewise.
18935 (exp_tonearest_test_data): Likewise.
18936 (exp_towardzero_test_data): Likewise.
18937 (exp_downward_test_data): Likewise.
18938 (exp_upward_test_data): Likewise.
18939 (exp10_test_data): Likewise.
18940 (exp2_test_data): Likewise.
18941 (expm1_test_data): Likewise.
18942 (fabs_test_data): Likewise.
18943 (fdim_test_data): Likewise.
18944 (finite_test_data): Likewise.
18945 (floor_test_data): Likewise.
18946 (fma_test_data): Likewise.
18947 (fma_towardzero_test_data): Likewise.
18948 (fma_downward_test_data): Likewise.
18949 (fma_upward_test_data): Likewise.
18950 (fmax_test_data): Likewise.
18951 (fmin_test_data): Likewise.
18952 (fmod_test_data): Likewise.
18953 (fpclassify_test_data): Likewise.
18954 (frexp_test_data): Likewise.
18955 (gamma_test_data): Likewise.
18956 (hypot_test_data): Likewise.
18957 (ilogb_test_data): Likewise.
18958 (isfinite_test_data): Likewise.
18959 (isgreater_test_data): Likewise.
18960 (isgreaterequal_test_data): Likewise.
18961 (isinf_test_data): Likewise.
18962 (isless_test_data): Likewise.
18963 (islessequal_test_data): Likewise.
18964 (islessgreater_test_data): Likewise.
18965 (isnan_test_data): Likewise.
18966 (isnormal_test_data): Likewise.
18967 (issignaling_test_data): Likewise.
18968 (isunordered_test_data): Likewise.
18969 (j0_test_data): Likewise.
18970 (j1_test_data): Likewise.
18971 (jn_test_data): Likewise.
18972 (ldexp_test_data): Likewise.
18973 (lgamma_test_data): Likewise.
18974 (lrint_test_data): Likewise.
18975 (lrint_tonearest_test_data): Likewise.
18976 (lrint_towardzero_test_data): Likewise.
18977 (lrint_downward_test_data): Likewise.
18978 (lrint_upward_test_data): Likewise.
18979 (llrint_test_data): Likewise.
18980 (llrint_tonearest_test_data): Likewise.
18981 (llrint_towardzero_test_data): Likewise.
18982 (llrint_downward_test_data): Likewise.
18983 (llrint_upward_test_data): Likewise.
18984 (log_test_data): Likewise.
18985 (log10_test_data): Likewise.
18986 (log1p_test_data): Likewise.
18987 (log2_test_data): Likewise.
18988 (logb_test_data): Likewise.
18989 (logb_downward_test_data): Likewise.
18990 (lround_test_data): Likewise.
18991 (llround_test_data): Likewise.
18992 (modf_test_data): Likewise.
18993 (nearbyint_test_data): Likewise.
18994 (nextafter_test_data): Likewise.
18995 (nexttoward_test_data): Likewise.
18996 (pow_test_data): Likewise.
18997 (pow_tonearest_test_data): Likewise.
18998 (pow_towardzero_test_data): Likewise.
18999 (pow_downward_test_data): Likewise.
19000 (pow_upward_test_data): Likewise.
19001 (remainder_test_data): Likewise.
19002 (remainder_tonearest_test_data): Likewise.
19003 (remainder_towardzero_test_data): Likewise.
19004 (remainder_downward_test_data): Likewise.
19005 (remainder_upward_test_data): Likewise.
19006 (remquo_test_data): Likewise.
19007 (rint_test_data): Likewise.
19008 (rint_tonearest_test_data): Likewise.
19009 (rint_towardzero_test_data): Likewise.
19010 (rint_downward_test_data): Likewise.
19011 (rint_upward_test_data): Likewise.
19012 (round_test_data): Likewise.
19013 (scalb_test_data): Likewise.
19014 (scalbn_test_data): Likewise.
19015 (scalbln_test_data): Likewise.
19016 (signbit_test_data): Likewise.
19017 (sin_test_data): Likewise.
19018 (sin_tonearest_test_data): Likewise.
19019 (sin_towardzero_test_data): Likewise.
19020 (sin_downward_test_data): Likewise.
19021 (sin_upward_test_data): Likewise.
19022 (sincos_test_data): Likewise.
19023 (sinh_test_data): Likewise.
19024 (sinh_tonearest_test_data): Likewise.
19025 (sinh_towardzero_test_data): Likewise.
19026 (sinh_downward_test_data): Likewise.
19027 (sinh_upward_test_data): Likewise.
19028 (sqrt_test_data): Likewise.
19029 (tan_test_data): Likewise.
19030 (tan_tonearest_test_data): Likewise.
19031 (tan_towardzero_test_data): Likewise.
19032 (tan_downward_test_data): Likewise.
19033 (tan_upward_test_data): Likewise.
19034 (tanh_test_data): Likewise.
19035 (tgamma_test_data): Likewise.
19036 (trunc_test_data): Likewise.
19037 (y0_test_data): Likewise.
19038 (y1_test_data): Likewise.
19039 (yn_test_data): Likewise.
19040 (significand_test_data): Likewise.
19041
b679a606
JM
19042 * math/gen-libm-test.pl (@functions): Remove variable.
19043 (generate_testfile): Don't handle START and END lines.
19044 * math/libm-test.inc (START): New macro.
19045 (END): Likewise.
19046 (END_COMPLEX): Likewise.
19047 (acos_test): Use END macro without arguments.
19048 (acos_test_tonearest): Likewise.
19049 (acos_test_towardzero): Likewise.
19050 (acos_test_downward): Likewise.
19051 (acos_test_upward): Likewise.
19052 (acosh_test): Likewise.
19053 (asin_test): Likewise.
19054 (asin_test_tonearest): Likewise.
19055 (asin_test_towardzero): Likewise.
19056 (asin_test_downward): Likewise.
19057 (asin_test_upward): Likewise.
19058 (asinh_test): Likewise.
19059 (atan_test): Likewise.
19060 (atanh_test): Likewise.
19061 (atan2_test): Likewise.
19062 (cabs_test): Likewise.
19063 (cacos_test): Use END_COMPLEX macro without arguments.
19064 (cacosh_test): Likewise.
19065 (carg_test): Use END macro without arguments.
19066 (casin_test): Use END_COMPLEX macro without arguments.
19067 (casinh_test): Likewise.
19068 (catan_test): Likewise.
19069 (catanh_test): Likewise.
19070 (cbrt_test): Use END macro without arguments.
19071 (ccos_test): Use END_COMPLEX macro without arguments.
19072 (ccosh_test): Likewise.
19073 (ceil_test): Use END macro without arguments.
19074 (cexp_test): Use END_COMPLEX macro without arguments.
19075 (cimag_test): Use END macro without arguments.
19076 (clog_test): Use END_COMPLEX macro without arguments.
19077 (clog10_test): Likewise.
19078 (conj_test): Likewise.
19079 (copysign_test): Use END macro without arguments.
19080 (cos_test): Likewise.
19081 (cos_test_tonearest): Likewise.
19082 (cos_test_towardzero): Likewise.
19083 (cos_test_downward): Likewise.
19084 (cos_test_upward): Likewise.
19085 (cosh_test): Likewise.
19086 (cosh_test_tonearest): Likewise.
19087 (cosh_test_towardzero): Likewise.
19088 (cosh_test_downward): Likewise.
19089 (cosh_test_upward): Likewise.
19090 (cpow_test): Use END_COMPLEX macro without arguments.
19091 (cproj_test): Likewise.
19092 (creal_test): Use END macro without arguments.
19093 (csin_test): Use END_COMPLEX macro without arguments.
19094 (csinh_test): Likewise.
19095 (csqrt_test): Likewise.
19096 (ctan_test): Likewise.
19097 (ctan_test_tonearest): Likewise.
19098 (ctan_test_towardzero): Likewise.
19099 (ctan_test_downward): Likewise.
19100 (ctan_test_upward): Likewise.
19101 (ctanh_test): Likewise.
19102 (ctanh_test_tonearest): Likewise.
19103 (ctanh_test_towardzero): Likewise.
19104 (ctanh_test_downward): Likewise.
19105 (ctanh_test_upward): Likewise.
19106 (erf_test): Use END macro without arguments.
19107 (erfc_test): Likewise.
19108 (exp_test): Likewise.
19109 (exp_test_tonearest): Likewise.
19110 (exp_test_towardzero): Likewise.
19111 (exp_test_downward): Likewise.
19112 (exp_test_upward): Likewise.
19113 (exp10_test): Likewise.
19114 (exp2_test): Likewise.
19115 (expm1_test): Likewise.
19116 (fabs_test): Likewise.
19117 (fdim_test): Likewise.
19118 (finite_test): Likewise.
19119 (floor_test): Likewise.
19120 (fma_test): Likewise.
19121 (fma_test_towardzero): Likewise.
19122 (fma_test_downward): Likewise.
19123 (fma_test_upward): Likewise.
19124 (fmax_test): Likewise.
19125 (fmin_test): Likewise.
19126 (fmod_test): Likewise.
19127 (fpclassify_test): Likewise.
19128 (frexp_test): Likewise.
19129 (gamma_test): Likewise.
19130 (hypot_test): Likewise.
19131 (ilogb_test): Likewise.
19132 (isfinite_test): Likewise.
19133 (isgreater_test): Likewise.
19134 (isgreaterequal_test): Likewise.
19135 (isinf_test): Likewise.
19136 (isless_test): Likewise.
19137 (islessequal_test): Likewise.
19138 (islessgreater_test): Likewise.
19139 (isnan_test): Likewise.
19140 (isnormal_test): Likewise.
19141 (issignaling_test): Likewise.
19142 (isunordered_test): Likewise.
19143 (j0_test): Likewise.
19144 (j1_test): Likewise.
19145 (jn_test): Likewise.
19146 (ldexp_test): Likewise.
19147 (lgamma_test): Likewise.
19148 (lrint_test): Likewise.
19149 (lrint_test_tonearest): Likewise.
19150 (lrint_test_towardzero): Likewise.
19151 (lrint_test_downward): Likewise.
19152 (lrint_test_upward): Likewise.
19153 (llrint_test): Likewise.
19154 (llrint_test_tonearest): Likewise.
19155 (llrint_test_towardzero): Likewise.
19156 (llrint_test_downward): Likewise.
19157 (llrint_test_upward): Likewise.
19158 (log_test): Likewise.
19159 (log10_test): Likewise.
19160 (log1p_test): Likewise.
19161 (log2_test): Likewise.
19162 (logb_test): Likewise.
19163 (logb_test_downward): Likewise.
19164 (lround_test): Likewise.
19165 (llround_test): Likewise.
19166 (modf_test): Likewise.
19167 (nearbyint_test): Likewise.
19168 (nextafter_test): Likewise.
19169 (nexttoward_test): Likewise.
19170 (pow_test): Likewise.
19171 (pow_test_tonearest): Likewise.
19172 (pow_test_towardzero): Likewise.
19173 (pow_test_downward): Likewise.
19174 (pow_test_upward): Likewise.
19175 (remainder_test): Likewise.
19176 (remainder_test_tonearest): Likewise.
19177 (remainder_test_towardzero): Likewise.
19178 (remainder_test_downward): Likewise.
19179 (remainder_test_upward): Likewise.
19180 (remquo_test): Likewise.
19181 (rint_test): Likewise.
19182 (rint_test_tonearest): Likewise.
19183 (rint_test_towardzero): Likewise.
19184 (rint_test_downward): Likewise.
19185 (rint_test_upward): Likewise.
19186 (round_test): Likewise.
19187 (scalb_test): Likewise.
19188 (scalbn_test): Likewise.
19189 (scalbln_test): Likewise.
19190 (signbit_test): Likewise.
19191 (sin_test): Likewise.
19192 (sin_test_tonearest): Likewise.
19193 (sin_test_towardzero): Likewise.
19194 (sin_test_downward): Likewise.
19195 (sin_test_upward): Likewise.
19196 (sincos_test): Likewise.
19197 (sinh_test): Likewise.
19198 (sinh_test_tonearest): Likewise.
19199 (sinh_test_towardzero): Likewise.
19200 (sinh_test_downward): Likewise.
19201 (sinh_test_upward): Likewise.
19202 (sqrt_test): Likewise.
19203 (tan_test): Likewise.
19204 (tan_test_tonearest): Likewise.
19205 (tan_test_towardzero): Likewise.
19206 (tan_test_downward): Likewise.
19207 (tan_test_upward): Likewise.
19208 (tanh_test): Likewise.
19209 (tgamma_test): Likewise.
19210 (trunc_test): Likewise.
19211 (y0_test): Likewise.
19212 (y1_test): Likewise.
19213 (yn_test): Likewise.
19214 (significand_test): Likewise.
19215
bae143d2
OB
192162013-05-24 Ondřej Bílka <neleai@seznam.cz>
19217
19218 [BZ #15381]
19219 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19220
9323d39b
EM
192212013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19222
d4ea44a0 19223 [BZ #14894]
9323d39b
EM
19224 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19225 __ppc_mdoio and __ppc_mdoom.
19226 * manual/platform.texi: Document new functions __ppc_yield,
19227 __ppc_mdoio and __ppc_mdoom.
19228
13e23af7
CD
192292013-05-22 Carlos O'Donell <carlos@redhat.com>
19230
19231 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19232 (main): Mention "tls" pseudo-hwcap is legacy.
19233 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19234
351fe550
JM
192352013-05-22 Joseph Myers <joseph@codesourcery.com>
19236
19237 * math/gen-libm-test.pl (parse_args): Output only string of
19238 arguments as text for test name, not full call or descriptions of
19239 tests for extra outputs.
19240 (generate_testfile): Do not pass function name to parse_args.
19241 Generate this_func variable from START.
19242 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19243 field to arg_str.
19244 (struct test_ff_f_data): Likewise.
19245 (test_ff_f_data_nexttoward): Likewise.
19246 (struct test_fi_f_data): Likewise.
19247 (struct test_fl_f_data): Likewise.
19248 (struct test_if_f_data): Likewise.
19249 (struct test_fff_f_data): Likewise.
19250 (struct test_c_f_data): Likewise.
19251 (struct test_f_f1_data): Likewise. Remove field extra_name.
19252 (struct test_fF_f1_data): Likewise.
19253 (struct test_ffI_f1_data): Likewise.
19254 (struct test_c_c_data): Rename test_name field to arg_str.
19255 (struct test_cc_c_data): Likewise.
19256 (struct test_f_i_data): Likewise.
19257 (struct test_ff_i_data): Likewise.
19258 (struct test_f_l_data): Likewise.
19259 (struct test_f_L_data): Likewise.
19260 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19261 and extra2_name.
19262 (COMMON_TEST_SETUP): New macro.
19263 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19264 (COMMON_TEST_CLEANUP): Likewise.
19265 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19266 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19267 macros.
19268 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19269 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19270 macros.
19271 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19272 (RUN_TEST_fff_f): Take argument string. Call new setup and
19273 cleanup macros.
19274 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19275 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19276 macros.
19277 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19278 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19279 macros.
19280 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19281 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19282 cleanup macros.
19283 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19284 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19285 cleanup macros.
19286 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19287 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19288 cleanup macros.
19289 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19290 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19291 macros.
19292 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19293 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19294 macros.
19295 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19296 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19297 macros.
19298 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19299 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19300 cleanup macros.
19301 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19302 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19303 cleanup macros.
19304 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19305 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19306 macros.
19307 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19308 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19309 cleanup macros.
19310 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19311 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19312 macros.
19313 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19314 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19315 macros.
19316 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19317 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19318 cleanup macros.
19319 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19320
85118d4d
EBM
193212013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19322
19323 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19324 to _sifields.sigfault.
19325 (si_addr_lsb): Define new macro.
19326 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19328 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19329
7a44c18f
CD
193302013-05-03 Carlos O'Donell <carlos at redhat.com>
19331
19332 [BZ #15441]
19333 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19334 returns -1.
19335 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19336 null return -1.
19337 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19338 loading the domain.
19339
b50a7181
JM
193402013-05-22 Joseph Myers <joseph@codesourcery.com>
19341
19342 * math/gen-libm-test.pl (parse_args): Do not include expected
19343 result in test name.
19344 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19348 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350
051063c8
SP
193512013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19352
3ce9e010
SP
19353 * benchtests/Makefile: Sort function entries.
19354
051063c8
SP
19355 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19356 tanh, asinh, acosh, atanh.
19357 * benchtests/acos-inputs: New file.
19358 * benchtests/acosh-inputs: New file.
19359 * benchtests/asin-inputs: New file.
19360 * benchtests/asinh-inputs: New file.
19361 * benchtests/atanh-inputs: New file.
19362 * benchtests/cosh-inputs: New file.
19363 * benchtests/log-inputs: New file.
19364 * benchtests/sinh-inputs: New file.
19365 * benchtests/tanh-inputs: New file.
19366
47c22455
DL
193672013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19368
19369 [BZ #15339]
19370 * posix/tst-getaddrinfo4.c: New test.
19371 * posix/Makefile (tests): Add it.
19372
3d04f5db
SP
193732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19374
19375 [BZ #15339]
19376 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19377 when no services were used.
19378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19379 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19380
d5dd6189
AS
193812013-05-21 Andreas Schwab <schwab@suse.de>
19382
19383 [BZ #15014]
19384 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19385 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19386 successful.
19387 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19388 redundant variable declarations and reallocation of buffer when
19389 parsing as IPv6 address. Always set NSS status when called from
19390 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19391 buffer too small. Correct computation of needed size.
19392 * nss/Makefile (tests): Add test-digits-dots.
19393 * nss/test-digits-dots.c: New test.
19394
fef94eab
SP
193952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19396
19397 * benchtests/Makefile: Remove instructions for adding
19398 benchmark tests.
19399 * benchtests/README: New file to explain how to execute and
19400 enhance the benchmark tests.
19401
e39adf43
AS
194022013-05-21 Andreas Schwab <schwab@suse.de>
19403
19404 [BZ #15493]
19405 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19406 * setjmp/tst-sigsetjmp.c: New test.
19407
b2b671b6
OB
194082013-05-20 Ondřej Bílka <neleai@seznam.cz>
19409
19410 * sysdeps/x86_64/memset.S (memset): New implementation.
19411 (__bzero): Likewise.
19412 (__memset_tail): New function.
19413
2d48b41c
OB
194142013-05-20 Ondřej Bílka <neleai@seznam.cz>
19415
19416 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19417 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19418 __memcpy_sse2_unaligned ifunc selection.
19419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19420 Add memcpy-sse2-unaligned.S.
19421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19422 Add: __memcpy_sse2_unaligned.
19423
f16cc3eb
JM
194242013-05-19 Joseph Myers <joseph@codesourcery.com>
19425
3e694268
JM
19426 [BZ #15490]
19427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19428 math_force_eval before restoring floating-point envrionment.
19429 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19431 Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19433 <math_private.h>.
19434 (__nearbyintl): Use math_force_eval before restoring
19435 floating-point environment.
19436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19437
db62a907
JM
19438 * math/gen-libm-test.pl (special_functions): Remove.
19439 (parse_args): Don't handle TEST_extra. Handle functions with no
19440 return value.
19441 * math/libm-test.inc (struct test_sincos_data): Replace with
19442 struct test_fFF_11_data.
19443 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19444 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19445 (sincos_test_data): Change element type to struct
19446 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19447 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19448 RUN_TEST_LOOP_sincos.
19449 * math/README.libm-test: Don't mention special handling of
19450 individual functions.
19451 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19453 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19455 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19457
f16cc3eb
JM
19458 * math/gen-libm-test.pl (get_variable): Remove function.
19459 (parse_args): Don't show pointer parameters to call in test
19460 names. Use "extra output N" in test names for extra outputs
19461 rather than naming variables.
19462
3779b5b6
JM
194632013-05-18 Joseph Myers <joseph@codesourcery.com>
19464
2ee094ff
JM
19465 [BZ #15488]
19466 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19467 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19468 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19469 double tests.
19470 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19471 disable.
19472 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19473 check_long_double.
19474
3779b5b6
JM
19475 * math/gen-libm-test.pl (@tests): Remove variable.
19476 ($count): Likewise.
19477 (new_test): Remove function.
19478 (show_exceptions): New function.
19479 (special_functions): Use show_exceptions instead of new_test.
19480 (parse_args): Likewise.
19481 (generate_testfile): Pass only function name in generated call to
19482 print_max_error or print_complex_max_error.
19483 (get_ulps): Do not handle complex tests specially.
19484 (output_test): Rename to ...
19485 (get_all_ulps_for_test): ... this. Return a string rather than
19486 printing to a file. Require ulps to be present.
19487 (output_ulps): Generate arrays rather than #defines.
19488 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19489 (struct ulp_data): New type.
19490 (BUILD_COMPLEX_ULP): Remove macro.
19491 (compare_ulp_data): New function.
19492 (find_ulps): Likewise.
19493 (find_test_ulps): Likewise.
19494 (find_function_ulps): Likewise.
19495 (find_complex_function_ulps): Likewise.
19496 (print_max_error): Determine allowed ulps using
19497 find_function_ulps.
19498 (print_complex_max_error): Determine allowed ulps using
19499 find_complex_function_ulps.
19500 (check_float_internal): Determine max ulps using find_test_ulps.
19501 (check_float): Do not take max_ulp parameter. Update call to
19502 check_float_internal.
19503 (check_complex): Likewise.
19504 (check_int): Do not take max_ulp parameter.
19505 (check_long): Likewise.
19506 (check_bool): Likewise.
19507 (check_longlong): Likewise.
19508 (struct test_f_f_data): Remove max_ulp field.
19509 (struct test_ff_f_data): Likewise.
19510 (struct test_ff_f_data_nexttoward): Likewise.
19511 (struct test_fi_f_data): Likewise.
19512 (struct test_fl_f_data): Likewise.
19513 (struct test_if_f_data): Likewise.
19514 (struct test_fff_f_data): Likewise.
19515 (struct test_c_f_data): Likewise.
19516 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19517 (struct test_fF_f1_data): Likewise.
19518 (struct test_ffI_f1_data): Likewise.
19519 (struct test_c_c_data): Remove max_ulp field.
19520 (struct test_cc_c_data): Likewise.
19521 (struct test_f_i_data): Likewise.
19522 (struct test_ff_i_data): Likewise.
19523 (struct test_f_l_data): Likewise.
19524 (struct test_f_L_data): Likewise.
19525 (struct test_sincos_data): Likewise.
19526 (RUN_TEST_f_f): Do not handle ulps.
19527 (RUN_TEST_LOOP_f_f): Likewise.
19528 (RUN_TEST_2_f): Likewise.
19529 (RUN_TEST_LOOP_2_f): Likewise.
19530 (RUN_TEST_fff_f): Likewise.
19531 (RUN_TEST_LOOP_fff_f): Likewise.
19532 (RUN_TEST_c_f): Likewise.
19533 (RUN_TEST_LOOP_c_f): Likewise.
19534 (RUN_TEST_f_f1): Likewise.
19535 (RUN_TEST_LOOP_f_f1): Likewise.
19536 (RUN_TEST_fF_f1): Likewise.
19537 (RUN_TEST_LOOP_fF_f1): Likewise.
19538 (RUN_TEST_fI_f1): Likewise.
19539 (RUN_TEST_LOOP_fI_f1): Likewise.
19540 (RUN_TEST_ffI_f1): Likewise.
19541 (RUN_TEST_LOOP_ffI_f1): Likewise.
19542 (RUN_TEST_c_c): Likewise.
19543 (RUN_TEST_LOOP_c_c): Likewise.
19544 (RUN_TEST_cc_c): Likewise.
19545 (RUN_TEST_LOOP_cc_c): Likewise.
19546 (RUN_TEST_f_i): Likewise.
19547 (RUN_TEST_LOOP_f_i): Likewise.
19548 (RUN_TEST_f_i_tg): Likewise.
19549 (RUN_TEST_LOOP_f_i_tg): Likewise.
19550 (RUN_TEST_ff_i_tg): Likewise.
19551 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19552 (RUN_TEST_f_b): Likewise.
19553 (RUN_TEST_LOOP_f_b): Likewise.
19554 (RUN_TEST_f_b_tg): Likewise.
19555 (RUN_TEST_LOOP_f_b_tg): Likewise.
19556 (RUN_TEST_f_l): Likewise.
19557 (RUN_TEST_LOOP_f_l): Likewise.
19558 (RUN_TEST_f_L): Likewise.
19559 (RUN_TEST_LOOP_f_L): Likewise.
19560 (RUN_TEST_sincos): Likewise.
19561 (RUN_TEST_LOOP_sincos): Likewise.
19562
8269107f
JM
195632013-05-17 Joseph Myers <joseph@codesourcery.com>
19564
bb38759d
JM
19565 [BZ #15480]
19566 [BZ #15485]
19567 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19568 main case of finite arguments, set rounding mode to FE_TONEAREST
19569 and discard exceptions.
19570 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19571 exceptions.
19572 (remainder_tonearest_test_data): New variable.
19573 (remainder_test_tonearest): New function.
19574 (remainder_towardzero_test_data): New variable.
19575 (remainder_test_towardzero): New function.
19576 (remainder_downward_test_data): New variable.
19577 (remainder_test_downward): New function.
19578 (remainder_upward_test_data): New variable.
19579 (remainder_test_upward): New function.
19580 (main): Call the new test functions.
19581
a00bdcf0
JM
19582 * math/libm-test.inc (struct test_f_f1_data): Remove field
19583 extra_init.
19584 (struct test_fF_f1_data): Likewise.
19585 (struct test_ffI_f1_data): Likewise.
19586 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19587 based on value of EXTRA_EXPECTED.
19588 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19589 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19590 EXTRA_VAR based on value of EXTRA_EXPECTED.
19591 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19592 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19593 EXTRA_VAR based on value of EXTRA_EXPECTED.
19594 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19595 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19596 EXTRA_VAR based on value of EXTRA_EXPECTED.
19597 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19598 * math/gen-libm-test.pl (parse_args): Don't output initializers
19599 for extra output values.
19600
de407f79
JM
19601 * math/libm-test.inc (check_int): Expect result to be exactly
19602 equal to expected value and do not handle ulps.
19603 (check_long): Likewise.
19604 (check_longlong): Likewise.
19605
8269107f
JM
19606 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19607 exceptions.
19608 (cimag_test_data): Likewise.
19609 (conj_test_data): Likewise.
19610 (copysign_test_data): Likewise.
19611 (cproj_test_data): Likewise.
19612 (creal_test_data): Likewise.
19613 (fabs_test_data): Likewise.
19614 (fdim_test_data): Likewise.
19615 (finite_test_data): Likewise.
19616 (floor_test_data): Likewise.
19617 (fmax_test_data): Likewise.
19618 (fmin_test_data): Likewise.
19619 (fmod_test_data): Likewise.
19620 (fpclassify_test_data): Likewise.
19621 (frexp_test_data): Likewise.
19622 (ilogb_test_data): Likewise.
19623 (isfinite_test_data): Likewise.
19624 (isgreater_test_data): Likewise.
19625 (isgreaterequal_test_data): Likewise.
19626 (isinf_test_data): Likewise.
19627 (isless_test_data): Likewise.
19628 (islessequal_test_data): Likewise.
19629 (islessgreater_test_data): Likewise.
19630 (isnan_test_data): Likewise.
19631 (isnormal_test_data): Likewise.
19632 (issignaling_test_data): Likewise.
19633 (isunordered_test_data): Likewise.
19634 (ldexp_test_data): Likewise.
19635 (lrint_test_data): Likewise.
19636 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19637 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19638 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19639 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19640 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19641 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19642 test input.
19643 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19644 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19645 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19646 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19647 that test input.
19648 (lrint_downward_test_data): Test for "inexact" exceptions.
19649 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19650 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19651 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19652 test input.
19653 (lrint_upward_test_data): Test for "inexact" exceptions.
19654 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19655 test input.
19656 (llrint_test_data): Test for "inexact" exceptions.
19657 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19658 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19659 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19660 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19661 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19662 (llrint_downward_test_data): Test for "inexact" exceptions.
19663 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19664 (llrint_upward_test_data): Test for "inexact" exceptions.
19665 (logb_test_data): Likewise.
19666 (logb_downward_test_data): Likewise.
19667 (nextafter_test_data): Likewise.
19668 (nexttoward_test_data): Likewise.
19669 (remainder_test_data): Likewise.
19670 (remquo_test_data): Likewise.
19671 (scalbn_test_data): Likewise.
19672 (scalbln_test_data): Likewise.
19673 (signbit_test_data): Likewise.
19674 (sqrt_test_data): Likewise.
19675 (significand_test_data): Likewise.
19676
48a18de1
SP
196772013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19678
19679 [BZ #15424]
19680 * benchtests/bench-modf.c (struct args): Mark arg0 as
19681 volatile.
19682 * scripts/bench.pl: Mark members of struct args as volatile.
19683
13d3b41a
AZ
196842013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685
68191c1d 19686 [BZ # 15497]
13d3b41a
AZ
19687 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19688 negative infinity on POWER6 or lower.
19689 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19690
2848b105
MR
196912013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19692
19693 [BZ #15442]
19694 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19695 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19696 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19697 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19698 (_FP_SETQNAN): New macro.
19699 (_FP_SETQNAN_SEMIRAW): Likewise.
19700 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19701 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19702 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19703 (FP_EXTEND): Use _FP_FRAC_SNANP.
19704 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19705 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19706 into account.
19707 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19708 New macro.
19709 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19710 Likewise.
19711
323e5cb7
JM
197122013-05-16 Joseph Myers <joseph@codesourcery.com>
19713
c58b274f
JM
19714 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19715 with DIVIDE_BY_ZERO_EXCEPTION.
19716 (gamma_test_data): Likewise.
19717 (lgamma_test_data): Likewise.
19718 (log_test_data): Likewise.
19719 (log10_test_data): Likewise.
19720 (log2_test_data): Likewise.
19721 (tgamma_test_data): Likewise.
19722
0ab34904
JM
19723 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19724 (acos_test_tonearest): Likewise.
19725 (acos_test_towardzero): Likewise.
19726 (acos_test_downward): Likewise.
19727 (acos_test_upward): Likewise.
19728 (acosh_test): Likewise.
19729 (asin_test): Likewise.
19730 (asin_test_tonearest): Likewise.
19731 (asin_test_towardzero): Likewise.
19732 (asin_test_downward): Likewise.
19733 (asin_test_upward): Likewise.
19734 (asinh_test): Likewise.
19735 (atan_test): Likewise.
19736 (atanh_test): Likewise.
19737 (atan2_test): Likewise.
19738 (cabs_test): Likewise.
19739 (cacos_test): Likewise.
19740 (cacosh_test): Likewise.
19741 (casin_test): Likewise.
19742 (casinh_test): Likewise.
19743 (catan_test): Likewise.
19744 (catanh_test): Likewise.
19745 (cbrt_test): Likewise.
19746 (ccos_test): Likewise.
19747 (ccosh_test): Likewise.
19748 (cexp_test): Likewise.
19749 (clog_test): Likewise.
19750 (clog10_test): Likewise.
19751 (cos_test): Likewise.
19752 (cos_test_tonearest): Likewise.
19753 (cos_test_towardzero): Likewise.
19754 (cos_test_downward): Likewise.
19755 (cos_test_upward): Likewise.
19756 (cosh_test): Likewise.
19757 (cosh_test_tonearest): Likewise.
19758 (cosh_test_towardzero): Likewise.
19759 (cosh_test_downward): Likewise.
19760 (cosh_test_upward): Likewise.
19761 (cpow_test): Likewise.
19762 (csin_test): Likewise.
19763 (csinh_test): Likewise.
19764 (csqrt_test): Likewise.
19765 (ctan_test): Likewise.
19766 (ctan_test_tonearest): Likewise.
19767 (ctan_test_towardzero): Likewise.
19768 (ctan_test_downward): Likewise.
19769 (ctan_test_upward): Likewise.
19770 (ctanh_test): Likewise.
19771 (ctanh_test_tonearest): Likewise.
19772 (ctanh_test_towardzero): Likewise.
19773 (ctanh_test_downward): Likewise.
19774 (ctanh_test_upward): Likewise.
19775 (erf_test): Likewise.
19776 (erfc_test): Likewise.
19777 (exp_test): Likewise.
19778 (exp_test_tonearest): Likewise.
19779 (exp_test_towardzero): Likewise.
19780 (exp_test_downward): Likewise.
19781 (exp_test_upward): Likewise.
19782 (exp10_test): Likewise.
19783 (exp2_test): Likewise.
19784 (expm1_test): Likewise.
19785 (fmod_test): Likewise.
19786 (gamma_test): Likewise.
19787 (hypot_test): Likewise.
19788 (j0_test): Likewise.
19789 (j1_test): Likewise.
19790 (jn_test): Likewise.
19791 (lgamma_test): Likewise.
19792 (log_test): Likewise.
19793 (log10_test): Likewise.
19794 (log1p_test): Likewise.
19795 (log2_test): Likewise.
19796 (logb_test_downward): Likewise.
19797 (pow_test): Likewise.
19798 (pow_test_tonearest): Likewise.
19799 (pow_test_towardzero): Likewise.
19800 (pow_test_downward): Likewise.
19801 (pow_test_upward): Likewise.
19802 (remainder_test): Likewise.
19803 (remquo_test): Likewise.
19804 (sin_test): Likewise.
19805 (sin_test_tonearest): Likewise.
19806 (sin_test_towardzero): Likewise.
19807 (sin_test_downward): Likewise.
19808 (sin_test_upward): Likewise.
19809 (sincos_test): Likewise.
19810 (sinh_test): Likewise.
19811 (sinh_test_tonearest): Likewise.
19812 (sinh_test_towardzero): Likewise.
19813 (sinh_test_downward): Likewise.
19814 (sinh_test_upward): Likewise.
19815 (sqrt_test): Likewise.
19816 (tan_test): Likewise.
19817 (tan_test_tonearest): Likewise.
19818 (tan_test_towardzero): Likewise.
19819 (tan_test_downward): Likewise.
19820 (tan_test_upward): Likewise.
19821 (tanh_test): Likewise.
19822 (tgamma_test): Likewise.
19823 (y0_test): Likewise.
19824 (y1_test): Likewise.
19825 (yn_test): Likewise.
19826
323e5cb7
JM
19827 * math/gen-libm-test.pl (adjust_arg): Remove function.
19828 (special_function): Remove argument $in_func. Only handle
19829 generating output for tables of tests, not inside functions.
19830 (parse_args): Likewise.
19831 (generate_testfile): Remove variable $in_func. Update call to
19832 parse_args.
19833 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19834 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19835 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19836 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19837 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19838 (MAX_VALUE_INIT): Rename macro to max_value.
19839 (MIN_VALUE_INIT): Rename macro to min_value.
19840 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19841 (plus_zero): Remove variable.
19842 (minus_zero): Likewise.
19843 (plus_infty): Likewise.
19844 (minus_infty): Likewise.
19845 (qnan_value): Likewise.
19846 (max_value): Likewise.
19847 (min_value): Likewise.
19848 (min_subnorm_value): Likewise.
19849
e054f494
RA
198502013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19851
19852 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19853 uint64_t or uint32_t usage.
19854 * crypt/sha256-block.c: Likewise.
19855 * crypt/sha256-crypt.c: Likewise.
19856 * crypt/sha256.c: Likewise.
19857 * crypt/sha512-block.c: Likewise.
19858 * crypt/sha512-crypt.c: Likewise.
19859 * crypt/sha512.c: Likewise.
19860 * debug/backtrace-tst.c: Likewise.
19861 * debug/pcprofiledump.c: Likewise.
19862 * elf/cache.c: Likewise.
19863 * elf/dl-cache.c: Likewise.
19864 * elf/dl-misc.c: Likewise.
19865 * elf/dl-profile.c: Likewise.
19866 * elf/dl-support.c: Likewise.
19867 * elf/ldconfig.c: Likewise.
19868 * elf/sprof.c: Likewise.
19869 * iconv/dummy-repertoire.c: Likewise.
19870 * iconv/iconv_charmap.c: Likewise.
19871 * iconv/skeleton.c: Likewise.
19872 * iconvdata/8bit-generic.c: Likewise.
19873 * iconvdata/cp737.h: Likewise.
19874 * iconvdata/cp775.h: Likewise.
19875 * iconvdata/ibm1008.h: Likewise.
19876 * iconvdata/ibm1025.h: Likewise.
19877 * iconvdata/ibm1046.h: Likewise.
19878 * iconvdata/ibm1097.h: Likewise.
19879 * iconvdata/ibm1112.h: Likewise.
19880 * iconvdata/ibm1122.h: Likewise.
19881 * iconvdata/ibm1123.h: Likewise.
19882 * iconvdata/ibm1124.h: Likewise.
19883 * iconvdata/ibm1129.h: Likewise.
19884 * iconvdata/ibm1130.h: Likewise.
19885 * iconvdata/ibm1132.h: Likewise.
19886 * iconvdata/ibm1133.h: Likewise.
19887 * iconvdata/ibm1137.h: Likewise.
19888 * iconvdata/ibm1140.h: Likewise.
19889 * iconvdata/ibm1141.h: Likewise.
19890 * iconvdata/ibm1142.h: Likewise.
19891 * iconvdata/ibm1143.h: Likewise.
19892 * iconvdata/ibm1144.h: Likewise.
19893 * iconvdata/ibm1145.h: Likewise.
19894 * iconvdata/ibm1146.h: Likewise.
19895 * iconvdata/ibm1147.h: Likewise.
19896 * iconvdata/ibm1148.h: Likewise.
19897 * iconvdata/ibm1149.h: Likewise.
19898 * iconvdata/ibm1153.h: Likewise.
19899 * iconvdata/ibm1154.h: Likewise.
19900 * iconvdata/ibm1155.h: Likewise.
19901 * iconvdata/ibm1156.h: Likewise.
19902 * iconvdata/ibm1157.h: Likewise.
19903 * iconvdata/ibm1158.h: Likewise.
19904 * iconvdata/ibm1160.h: Likewise.
19905 * iconvdata/ibm1161.h: Likewise.
19906 * iconvdata/ibm1162.h: Likewise.
19907 * iconvdata/ibm1163.h: Likewise.
19908 * iconvdata/ibm1164.h: Likewise.
19909 * iconvdata/ibm1166.h: Likewise.
19910 * iconvdata/ibm1167.h: Likewise.
19911 * iconvdata/ibm12712.h: Likewise.
19912 * iconvdata/ibm1390.h: Likewise.
19913 * iconvdata/ibm1399.h: Likewise.
19914 * iconvdata/ibm16804.h: Likewise.
19915 * iconvdata/ibm4517.h: Likewise.
19916 * iconvdata/ibm4899.h: Likewise.
19917 * iconvdata/ibm4909.h: Likewise.
19918 * iconvdata/ibm4971.h: Likewise.
19919 * iconvdata/ibm5347.h: Likewise.
19920 * iconvdata/ibm803.h: Likewise.
19921 * iconvdata/ibm856.h: Likewise.
19922 * iconvdata/ibm901.h: Likewise.
19923 * iconvdata/ibm902.h: Likewise.
19924 * iconvdata/ibm9030.h: Likewise.
19925 * iconvdata/ibm9066.h: Likewise.
19926 * iconvdata/ibm921.h: Likewise.
19927 * iconvdata/ibm922.h: Likewise.
19928 * iconvdata/ibm9448.h: Likewise.
19929 * iconvdata/isiri-3342.h: Likewise.
19930 * iconvdata/jis0201.h: Likewise.
19931 * include/link.h: Likewise.
19932 * include/netdb.h: Likewise.
19933 * inet/check_native.c: Likewise.
19934 * inet/check_pf.c: Likewise.
19935 * inet/getipv4sourcefilter.c: Likewise.
19936 * inet/getnameinfo.c: Likewise.
19937 * inet/getsourcefilter.c: Likewise.
19938 * inet/htonl.c: Likewise.
19939 * inet/setipv4sourcefilter.c: Likewise.
19940 * inet/setsourcefilter.c: Likewise.
19941 * inet/test-inet6_opt.c: Likewise.
19942 * inet/tst-network.c: Likewise.
19943 * locale/C-collate.c: Likewise.
19944 * locale/C-ctype.c: Likewise.
19945 * locale/C-time.c: Likewise.
19946 * locale/C-translit.h: Likewise.
19947 * locale/loadarchive.c: Likewise.
19948 * locale/programs/3level.h: Likewise.
19949 * locale/programs/charmap.c: Likewise.
19950 * locale/programs/charmap.h: Likewise.
19951 * locale/programs/ld-address.c: Likewise.
19952 * locale/programs/ld-collate.c: Likewise.
19953 * locale/programs/ld-ctype.c: Likewise.
19954 * locale/programs/ld-identification.c: Likewise.
19955 * locale/programs/ld-measurement.c: Likewise.
19956 * locale/programs/ld-messages.c: Likewise.
19957 * locale/programs/ld-monetary.c: Likewise.
19958 * locale/programs/ld-name.c: Likewise.
19959 * locale/programs/ld-numeric.c: Likewise.
19960 * locale/programs/ld-paper.c: Likewise.
19961 * locale/programs/ld-telephone.c: Likewise.
19962 * locale/programs/ld-time.c: Likewise.
19963 * locale/programs/linereader.c: Likewise.
19964 * locale/programs/locale.c: Likewise.
19965 * locale/programs/locarchive.c: Likewise.
19966 * locale/programs/locfile.h: Likewise.
19967 * locale/programs/repertoire.c: Likewise.
19968 * locale/programs/simple-hash.c: Likewise.
19969 * locale/programs/simple-hash.h: Likewise.
19970 * malloc/memusage.c: Likewise.
19971 * malloc/memusagestat.c: Likewise.
19972 * nis/nis_defaults.c: Likewise.
19973 * nis/nis_hash.c: Likewise.
19974 * nis/nis_print.c: Likewise.
19975 * nis/nis_xdr.c: Likewise.
19976 * nscd/connections.c: Likewise.
19977 * nscd/hstcache.c: Likewise.
19978 * nscd/nscd_gethst_r.c: Likewise.
19979 * nscd/nscd_getserv_r.c: Likewise.
19980 * nscd/nscd_helper.c: Likewise.
19981 * nscd/servicescache.c: Likewise.
19982 * nss/makedb.c: Likewise.
19983 * nss/nss_db/db-XXX.c: Likewise.
19984 * nss/nss_db/db-initgroups.c: Likewise.
19985 * nss/nss_db/db-netgrp.c: Likewise.
19986 * nss/nss_files/files-network.c: Likewise.
19987 * nss/nss_files/files-parse.c: Likewise.
19988 * posix/bug-regex5.c: Likewise.
19989 * posix/fnmatch_loop.c: Likewise.
19990 * posix/regcomp.c: Likewise.
19991 * posix/regexec.c: Likewise.
19992 * posix/tst-rfc3484-2.c: Likewise.
19993 * posix/tst-rfc3484-3.c: Likewise.
19994 * posix/tst-rfc3484.c: Likewise.
19995 * resolv/nss_dns/dns-canon.c: Likewise.
19996 * resolv/nss_dns/dns-network.c: Likewise.
19997 * resolv/res_init.c: Likewise.
19998 * resolv/res_mkquery.c: Likewise.
19999 * resolv/tst-aton.c: Likewise.
20000 * stdlib/cxa_atexit.c: Likewise.
20001 * stdlib/cxa_finalize.c: Likewise.
20002 * stdlib/gen-fpioconst.c: Likewise.
20003 * stdlib/strtol_l.c: Likewise.
20004 * string/tst-endian.c: Likewise.
20005 * sunrpc/auth_des.c: Likewise.
20006 * sunrpc/clnt_udp.c: Likewise.
20007 * sunrpc/rtime.c: Likewise.
20008 * sunrpc/svcauth_des.c: Likewise.
20009 * sunrpc/xdr.c: Likewise.
20010 * sunrpc/xdr_intXX_t.c: Likewise.
20011 * sunrpc/xdr_rec.c: Likewise.
20012 * sysdeps/generic/ldconfig.h: Likewise.
20013 * sysdeps/generic/ldsodefs.h: Likewise.
20014 * sysdeps/generic/memusage.h: Likewise.
20015 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20016 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20017 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20018 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20023 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20025 * sysdeps/posix/getaddrinfo.c: Likewise.
20026 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20027 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20028 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20029 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20030 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20031 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20032 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20033 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20034 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20036 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20037 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20038 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20039 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20040 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20041 * sysdeps/x86_64/dl-tls.h: Likewise.
20042 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20043 * time/alt_digit.c: Likewise.
20044 * time/era.c: Likewise.
20045 * wcsmbs/tst-c16c32-1.c: Likewise.
20046
8c75f674
JM
200472013-05-16 Joseph Myers <joseph@codesourcery.com>
20048
20049 * math/libm-test.inc (struct test_sincos_data): New type.
20050 (RUN_TEST_LOOP_sincos): New macro.
20051 (sincos_test_data): New variable.
20052 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20053
e6e49e59
RH
200542013-05-16 Richard Henderson <rth@redhat.com>
20055
20056 * math/atest-exp2.c (LIMB64): New macro.
20057 (CONSTSZ): New macro.
20058 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20059 (hexdig): Move ...
20060 (print_mpn_fp): ... to function scope.
20061 (read_mpn_hex): Remove.
20062 (get_log2): Remove.
20063 (exp2_mpn): Use mp_log2.
20064 (main): Use mp_exp1.
20065
15c7c18d
JM
200662013-05-16 Joseph Myers <joseph@codesourcery.com>
20067
105a07df
JM
20068 * math/libm-test.inc: Remove comment about not testing "inexact"
20069 exceptions.
20070 (INEXACT_EXCEPTION): New macro.
20071 (NO_INEXACT_EXCEPTION): Likewise.
20072 (INVALID_EXCEPTION_OK): Update value.
20073 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20074 (OVERFLOW_EXCEPTION_OK): Likewise.
20075 (UNDERFLOW_EXCEPTION_OK): Likewise.
20076 (IGNORE_ZERO_INF_SIGN): Likewise.
20077 (ERRNO_UNCHANGED): Likewise.
20078 (ERRNO_EDOM): Likewise.
20079 (ERRNO_ERANGE): Likewise.
20080 (test_exceptions): Handle testing "inexact" exceptions.
20081 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20082 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20083 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20084 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20085 INEXACT_EXCEPTION.
20086 (rint_towardzero_test_data): Likewise.
20087 (rint_downward_test_data): Likewise.
20088 (rint_upward_test_data): Likewise.
20089
e9eee333
JM
20090 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20091 with OVERFLOW_EXCEPTION.
20092 (exp10_test_data): Likewise.
20093 (exp2_test_data): Likewise.
20094 (expm1_test_data): Likewise.
20095 (lgamma_test_data): Likewise.
20096 (pow_test_data): Likewise.
20097 (tgamma_test_data): Likewise.
20098 (yn_test_data): Remove duplicate test of overflow.
20099
1c38ff73
JM
20100 * math/libm-test.inc (struct test_cc_c_data): New type.
20101 (RUN_TEST_LOOP_cc_c): New macro.
20102 (cpow_test_data): New variable.
20103 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20104
15c7c18d
JM
20105 * math/libm-test.inc (struct test_f_L_data): New type.
20106 (RUN_TEST_LOOP_f_L): New macro.
20107 (llrint_test_data): New variable.
20108 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20109 (llrint_tonearest_test_data): New variable.
20110 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20111 (llrint_towardzero_test_data): New variable.
20112 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20113 (llrint_downward_test_data): New variable.
20114 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20115 (llrint_upward_test_data): New variable.
20116 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20117 (llround_test_data): New variable.
20118 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20119
f137ff13
PC
201202013-05-13 Peter Collingbourne <pcc@google.com>
20121
20122 * math/atest-exp2.c (get_log2): Remove const attribute.
20123
3608cb24
JM
201242013-05-15 Joseph Myers <joseph@codesourcery.com>
20125
20126 * math/libm-test.inc (struct test_f_l_data): New type.
20127 (RUN_TEST_LOOP_f_l): New macro.
20128 (lrint_test_data): New variable.
20129 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20130 (lrint_tonearest_test_data): New variable.
20131 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20132 (lrint_towardzero_test_data): New variable.
20133 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20134 (lrint_downward_test_data): New variable.
20135 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20136 (lrint_upward_test_data): New variable.
20137 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20138 (lround_test_data): New variable.
20139 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20140
39b1f617
PC
201412013-05-15 Peter Collingbourne <pcc@google.com>
20142
1deff3dc
PC
20143 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20144 (EXTRACT_WORDS64) Use where appropriate.
20145 (INSERT_WORDS64) Likewise.
20146
791f3ba0
PC
20147 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20148 constraints with x constraints.
20149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20150
39b1f617
PC
20151 * malloc/obstack.c (_obstack_compat): Add initializer.
20152
12fba011
EM
201532013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20154
20155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20156 si_trapno and add si_addr_lsb to _sifields.sigfault.
20157 (si_trapno): Remove macro.
20158 (si_addr_lsb): Define new macro.
20159 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20160
d369f531
JM
201612013-05-15 Joseph Myers <joseph@codesourcery.com>
20162
b861c6c4
JM
20163 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20164 instead of TEST_f_l.
20165 (llrint_test_tonearest): Likewise.
20166 (llrint_test_towardzero): Likewise.
20167 (llrint_test_downward): Likewise.
20168 (llrint_test_upward): Likewise.
20169 (llround_test): Likewise.
20170
7abeee12
JM
20171 * math/libm-test.inc (struct test_f_i_data): Add comment.
20172 (RUN_TEST_LOOP_f_b): New macro.
20173 (RUN_TEST_LOOP_f_b_tg): Likewise.
20174 (finite_test_data): New variable.
20175 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20176 (isfinite_test_data): New variable.
20177 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20178 (isinf_test_data): New variable.
20179 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20180 (isnan_test_data): New variable.
20181 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20182 (isnormal_test_data): New variable.
20183 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20184 (issignaling_test_data): New variable.
20185 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20186 (signbit_test_data): New variable.
20187 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20188
cbe8c4d3
JM
20189 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20190 with INVALID_EXCEPTION.
20191 (acosh_test_data): Likewise.
20192 (asin_test_data): Likewise.
20193 (atanh_test_data): Likewise.
20194 (fmod_test_data): Likewise.
20195 (log_test_data): Likewise.
20196 (log10_test_data): Likewise.
20197 (log2_test_data): Likewise.
20198 (pow_test_data): Likewise.
20199 (sqrt_test_data): Likewise.
20200 (y0_test_data): Likewise.
20201 (y1_test_data): Likewise.
20202 (yn_test_data): Likewise.
20203
5575c0e5
JM
20204 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20205 function contents.
20206
d369f531
JM
20207 * math/libm-test.inc (struct test_ff_i_data): New type.
20208 (RUN_TEST_LOOP_ff_i_tg): New macro.
20209 (isgreater_test_data): New variable.
20210 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20211 (isgreaterequal_test_data): New variable.
20212 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20213 (isless_test_data): New variable.
20214 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20215 (islessequal_test_data): New variable.
20216 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20217 (islessgreater_test_data): New variable.
20218 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20219 (isunordered_test_data): New variable.
20220 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20221
781fd748
DM
202222013-05-14 David S. Miller <davem@davemloft.net>
20223
20224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20225
87aa21df
JM
202262013-05-14 Joseph Myers <joseph@codesourcery.com>
20227
5e908270
JM
20228 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20229
f71172e5
JM
20230 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20231 extra_test to int.
20232 (struct test_f_i_data): Change type of max_ulp to int.
20233
8cfa635a
JM
20234 * math/libm-test.inc (test_ffI_f1_data): New type.
20235 (RUN_TEST_LOOP_ffI_f1): New macro.
20236 (remquo_test_data): New variable.
20237 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20238
2bcb36b2
JM
20239 * setjmp/tst-setjmp-fp.c: New file.
20240 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20241 (link-libm): New variable.
20242 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20243
acbd839a
JM
20244 * math/libm-test.inc (struct test_f_i_data): New type.
20245 (RUN_TEST_LOOP_f_i): New macro.
20246 (RUN_TEST_LOOP_f_i_tg): Likewise.
20247 (fpclassify_test_data): New variable.
20248 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20249 (ilogb_test_data): New variable.
20250 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20251
e414d745
JM
20252 * math/libm-test.inc (scalbln_test): Correct function name in END
20253 call.
20254
d9c2a0fd
JM
20255 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20256 (RUN_TEST_LOOP_fI_f1): New macro.
20257 (frexp_test_data): New variable.
20258 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20259
9dc9095d
JM
20260 * math/libm-test.inc (struct test_fF_f1_data): New type.
20261 (RUN_TEST_LOOP_fF_f1): New macro.
20262 (modf_test_data): New variable.
20263 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20264
87aa21df
JM
20265 * math/libm-test.inc (struct test_f_f1_data): New type.
20266 (RUN_TEST_LOOP_f_f1): New macro.
20267 (gamma_test_data): New variable.
20268 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20269 (lgamma_test_data): New variable.
20270 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20271
141af660
CD
202722013-05-13 Carlos O'Donell <carlos@redhat.com>
20273
20274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20275 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20276 (main): Comment "tls" pseudo-hwcap.
20277
6d33265c
JM
202782013-05-13 Joseph Myers <joseph@codesourcery.com>
20279
68fc074c
JM
20280 * math/libm-test.inc (struct test_fl_f_data): New type.
20281 (RUN_TEST_LOOP_fl_f): New variable.
20282 (scalbln_test_data): New variable.
20283 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20284
243216e1
JM
20285 * math/libm-test.inc (struct test_fi_f_data): New type.
20286 (RUN_TEST_LOOP_fi_f): New macro.
20287 (ldexp_test_data): New variable.
20288 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20289 (scalbn_test_data): New variable.
20290 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20291
6a1992e2
JM
20292 * math/libm-test.inc (struct test_c_f_data): New type.
20293 (RUN_TEST_LOOP_c_f): New macro.
20294 (cabs_test_data): New variable.
20295 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20296 (carg_test_data): New variable.
20297 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20298 (cimag_test_data): New variable.
20299 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20300 (creal_test_data): New variable.
20301 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20302
0e400df5
JM
20303 * math/libm-test.inc (struct test_if_f_data): New type.
20304 (RUN_TEST_LOOP_if_f): New macro.
20305 (jn_test_data): New variable.
20306 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20307 (yn_test_data): New variable.
20308 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20309
6d33265c
JM
20310 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20311
f98ece5f
AZ
203122013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20313
20314 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20315 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20316
0f7d347b
SP
203172013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20318
43fe811b
SP
20319 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20320 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20321 (bench-deps): Add bench-timing.h.
20322 * benchtests-bench-skeleton.c: Include bench-timing.h.
20323 (main): Use TIMING_* macros instead of clock_gettime.
20324 * benchtests/bench-timing.h: New file.
20325
0f7d347b
SP
20326 [BZ #14582]
20327 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20328 Renamed from _LIB_VERSION.
20329 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20330
601a3a5f
JM
203312013-05-12 Joseph Myers <joseph@codesourcery.com>
20332
4f184d30
JM
20333 * math/libm-test.inc (struct test_fff_f_data): New type.
20334 (RUN_TEST_LOOP_fff_f): New macro.
20335 (fma_test_data): New variable.
20336 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20337 (fma_towardzero_test_data): New variable.
20338 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20339 (fma_downward_test_data): New variable.
20340 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20341 (fma_upward_test_data): New variable.
20342 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20343
08198877
JM
20344 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20345 (struct test_c_c_data): New type.
20346 (RUN_TEST_LOOP_c_c): New macro.
20347 (cacos_test_data): New variable.
20348 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20349 (cacosh_test_data): New variable.
20350 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20351 (casin_test_data): New variable.
20352 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20353 (casinh_test_data): New variable.
20354 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20355 (catan_test_data): New variable.
20356 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20357 (catanh_test_data): New variable.
20358 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20359 (ccos_test_data): New variable.
20360 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20361 (ccosh_test_data): New variable.
20362 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20363 (cexp_test_data): New variable.
20364 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20365 (clog_test_data): New variable.
20366 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20367 (clog10_test_data): New variable.
20368 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20369 (conj_test_data): New variable.
20370 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20371 (cproj_test_data): New variable.
20372 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20373 (csin_test_data): New variable.
20374 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20375 (csinh_test_data): New variable.
20376 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20377 (csqrt_test_data): New variable.
20378 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20379 (ctan_test_data): New variable.
20380 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20381 (ctan_tonearest_test_data): New variable.
20382 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20383 (ctan_towardzero_test_data): New variable.
20384 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20385 (ctan_downward_test_data): New variable.
20386 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20387 (ctan_upward_test_data): New variable.
20388 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20389 (ctanh_test_data): New variable.
20390 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20391 (ctanh_tonearest_test_data): New variable.
20392 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20393 (ctanh_towardzero_test_data): New variable.
20394 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20395 (ctanh_downward_test_data): New variable.
20396 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20397 (ctanh_upward_test_data): New variable.
20398 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20399 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20400 of BUILD_COMPLEX.
20401
601a3a5f
JM
20402 * math/libm-test.inc (struct test_ff_f_data): New type.
20403 (struct test_ff_f_data_nexttoward): Likewise.
20404 (RUN_TEST_LOOP_2_f): New macro.
20405 (RUN_TEST_LOOP_ff_f): Likewise.
20406 (atan2_test_data): New variable.
20407 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20408 (copysign_test_data): New variable.
20409 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20410 (fdim_test_data): New variable.
20411 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20412 (fmax_test_data): New variable.
20413 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20414 (fmin_test_data): New variable.
20415 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20416 (fmod_test_data): New variable.
20417 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20418 (hypot_test_data): New variable.
20419 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20420 (nextafter_test_data): New variable.
20421 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20422 (nexttoward_test_data): New variable.
20423 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20424 (pow_test_data): New variable.
20425 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20426 (pow_tonearest_test_data): New variable.
20427 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20428 (pow_towardzero_test_data): New variable.
20429 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20430 (pow_downward_test_data): New variable.
20431 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20432 (pow_upward_test_data): New variable.
20433 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20434 (remainder_test_data): New variable.
20435 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20436 (scalb_test_data): New variable.
20437 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439
74c57478
JM
204402013-05-11 Joseph Myers <joseph@codesourcery.com>
20441
8329e4da
JM
20442 * math/libm-test.inc (fma_test): Use max_value instead of local
20443 variable fltmax.
20444 (nextafter_test): Likewise.
20445
74c57478
JM
20446 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20447 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20448 (acos_downward_test_data): New variable.
20449 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20450 (acos_upward_test_data): New variable.
20451 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20452 (acosh_test_data): New variable.
20453 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20454 (asin_test_data): New variable.
20455 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20456 (asin_tonearest_test_data): New variable.
20457 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20458 (asin_towardzero_test_data): New variable.
20459 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20460 (asin_downward_test_data): New variable.
20461 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20462 (asin_upward_test_data): New variable.
20463 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20464 (asinh_test_data): New variable.
20465 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20466 (atan_test_data): New variable.
20467 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20468 (atanh_test_data): New variable.
20469 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20470 (cbrt_test_data): New variable.
20471 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20472 (ceil_test_data): New variable.
20473 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20474 (cos_test_data): New variable.
20475 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20476 (cos_tonearest_test_data): New variable.
20477 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20478 (cos_towardzero_test_data): New variable.
20479 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20480 (cos_downward_test_data): New variable.
20481 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20482 (cos_upward_test_data): New variable.
20483 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20484 (cosh_test_data): New variable.
20485 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20486 (cosh_tonearest_test_data): New variable.
20487 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20488 (cosh_towardzero_test_data): New variable.
20489 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20490 (cosh_downward_test_data): New variable.
20491 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20492 (cosh_upward_test_data): New variable.
20493 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20494 (erf_test_data): New variable.
20495 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20496 (erfc_test_data): New variable.
20497 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20498 (exp_test_data): New variable.
20499 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20500 (exp_tonearest_test_data): New variable.
20501 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20502 (exp_towardzero_test_data): New variable.
20503 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20504 (exp_downward_test_data): New variable.
20505 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20506 (exp_upward_test_data): New variable.
20507 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20508 (exp10_test_data): New variable.
20509 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20510 (exp2_test_data): New variable.
20511 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20512 (expm1_test_data): New variable.
20513 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20514 (fabs_test_data): New variable.
20515 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20516 (floor_test_data): New variable.
20517 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20518 (j0_test_data): New variable.
20519 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20520 (j1_test_data): New variable.
20521 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20522 (log_test_data): New variable.
20523 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20524 (log10_test_data): New variable.
20525 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20526 (log1p_test_data): New variable.
20527 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20528 (log2_test_data): New variable.
20529 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20530 (logb_test_data): New variable.
20531 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20532 (logb_downward_test_data): New variable.
20533 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20534 (nearbyint_test_data): New variable.
20535 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20536 (rint_test_data): New variable.
20537 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20538 (rint_tonearest_test_data): New variable.
20539 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20540 (rint_towardzero_test_data): New variable.
20541 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20542 (rint_downward_test_data): New variable.
20543 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20544 (rint_upward_test_data): New variable.
20545 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20546 (round_test_data): New variable.
20547 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20548 (sin_test_data): New variable.
20549 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20550 (sin_tonearest_test_data): New variable.
20551 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20552 (sin_towardzero_test_data): New variable.
20553 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20554 (sin_downward_test_data): New variable.
20555 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20556 (sin_upward_test_data): New variable.
20557 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20558 (sinh_test_data): New variable.
20559 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20560 (sinh_tonearest_test_data): New variable.
20561 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20562 (sinh_towardzero_test_data): New variable.
20563 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20564 (sinh_downward_test_data): New variable.
20565 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20566 (sinh_upward_test_data): New variable.
20567 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20568 (sqrt_test_data): New variable.
20569 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20570 (tan_test_data): New variable.
20571 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20572 (tan_tonearest_test_data): New variable.
20573 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20574 (tan_towardzero_test_data): New variable.
20575 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20576 (tan_downward_test_data): New variable.
20577 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20578 (tan_upward_test_data): New variable.
20579 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20580 (tanh_test_data): New variable.
20581 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20582 (tgamma_test_data): New variable.
20583 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20584 (trunc_test_data): New variable.
20585 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20586 (y0_test_data): New variable.
20587 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20588 (y1_test_data): New variable.
20589 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20590 (significand_test_data): New variable.
20591 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20592
7187d844
CG
205932013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20594
20595 [BZ #12387]
20596 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20597
f63fae73
PT
205982013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20599
20600 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20601
8a67a4b3
AJ
206022013-05-10 Andreas Jaeger <aj@suse.de>
20603
20604 [BZ #15448]
20605 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20606 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20607
51df539d
JM
206082013-05-10 Joseph Myers <joseph@codesourcery.com>
20609
20610 * math/gen-libm-test.pl (adjust_arg): New function.
20611 (special_functions): Handle generating output in both functions
20612 and arrays.
20613 (parse_args): Likewise.
20614 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20615 $in_func argument to parse_args.
20616 * math/libm-test.inc (struct test_f_f_data): New type.
20617 (IF_ROUND_INIT_): New macro.
20618 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20619 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20620 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20621 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20622 (ROUND_RESTORE_): Likewise.
20623 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20624 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20625 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20626 (ROUND_RESTORE_FE_UPWARD): Likewise.
20627 (RUN_TEST_LOOP_f_f): New macro.
20628 (acos_test_data): New variable.
20629 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20630 (acos_tonearest_test_data): New variable.
20631 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20632
5c637fe5
SP
206332013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20634
20635 * benchtests/bench-skeleton.c (startup): Fix coding style.
20636
ab2b9461
JM
206372013-05-10 Joseph Myers <joseph@codesourcery.com>
20638
20639 [BZ #6809]
20640 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20641 negative infinity argument.
20642 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20643 negative infinity argument.
20644 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20645 negative infinity argument.
20646 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20647 domain errors.
20648
4c0fe6fe
FW
206492013-05-10 Florian Weimer <fweimer@redhat.com>
20650
20651 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20652 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20653 * iconv/iconv_prog.c (main): Likewise.
20654 * locale/programs/charmap-dir.c (charmap_readdir)
20655 (fopen_uncompressed): Likewise.
20656 * locale/programs/locfile.c (siblings_uncached)
20657 (write_locale_data): Use lstat64 instead of lstat.
20658 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20659 stat.
20660
a3375d29
AJ
206612013-05-10 Andreas Jaeger <aj@suse.de>
20662
20663 [BZ #15395]
20664 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20665 localization.
20666 Include <locale.h>.
20667
36129722
CD
206682013-05-09 Carlos O'Donell <carlos@redhat.com>
20669
20670 * elf/dl-close.c (_dl_close_worker): Add comments.
20671
faa7f811
JM
206722013-05-09 Joseph Myers <joseph@codesourcery.com>
20673
ed41ffef
JM
20674 [BZ #15359]
20675 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20676 high part of pi/2.
20677 (__ieee754_rem_pio2l): Update comments.
20678
d0213cd0
JM
20679 [BZ #15429]
20680 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20681 high part of pi/2.
20682 (__ieee754_rem_pio2l): Update comments.
20683
0d3e777a
JM
20684 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20685 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20686
24f56066
JM
20687 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20688 M_PI_4l.
20689
faa7f811
JM
20690 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20691 (M_PI_34_LOG10El): Likewise.
20692 (M_PI2_LOG10El): Likewise.
20693 (M_PI4_LOG10El): Likewise.
20694 (M_PI_LOG10El): Likewise.
20695
e9a5e0fd
AZ
206962013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20697
20698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20699
d8cd06db
JM
207002013-05-08 Joseph Myers <joseph@codesourcery.com>
20701
a0d9f9d7
JM
20702 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20703 (MINUS_ZERO_INIT): Likewise.
20704 (PLUS_INFTY_INIT): Likewise.
20705 (MINUS_INFTY_INIT): Likewise.
20706 (QNAN_VALUE_INIT): Likewise.
20707 (MAX_VALUE_INIT): Likewise.
20708 (MIN_VALUE_INIT): Likewise.
20709 (MIN_SUBNORM_VALUE_INIT): Likewise.
20710 (plus_zero): Initialize with PLUS_ZERO_INIT.
20711 (minus_zero): Initialize with MINUS_ZERO_INIT.
20712 (plus_infty): Initialize with PLUS_INFTY_INIT.
20713 (minus_infty): Initialize with MINUS_INFTY_INIT.
20714 (qnan_value): Initialize with QNAN_VALUE_INIT.
20715 (max_value): Initialize with MAX_VALUE_INIT.
20716 (min_value): Initialize with MIN_VALUE_INIT.
20717 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20718
ae08db3b
JM
20719 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20720 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20721 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20722 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20723
f44bf14a
JM
20724 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20725 (RUN_TEST_2_f): Likewise.
20726 (RUN_TEST_ff_f): Likewise.
20727 (RUN_TEST_fi_f): Likewise.
20728 (RUN_TEST_fl_f): Likewise.
20729 (RUN_TEST_fff_f): Likewise.
20730 (RUN_TEST_c_f): Likewise.
20731 (RUN_TEST_f_f1): Likewise.
20732 (RUN_TEST_fF_f1): Likewise.
20733 (RUN_TEST_fI_f1): Likewise.
20734 (RUN_TEST_ffI_f1): Likewise.
20735 (RUN_TEST_c_c): Likewise.
20736 (RUN_TEST_cc_c): Likewise.
20737 (RUN_TEST_f_i): Likewise.
20738 (RUN_TEST_f_i_tg): Likewise.
20739 (RUN_TEST_ff_i_tg): Likewise.
20740 (RUN_TEST_f_b): Likewise.
20741 (RUN_TEST_f_b_tg): Likewise.
20742 (RUN_TEST_f_l): Likewise.
20743 (RUN_TEST_f_L): Likewise.
20744 (RUN_TEST_sincos): Likewise.
20745 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20746 whether to show exceptions. Do not include ");\n" in return
20747 value.
20748 (special_functions): Output call to RUN_TEST_sincos instead of
20749 check_float calls. Update calls to new_test.
20750 (parse_args): Output call to single RUN_TEST_* macro instead of
20751 check_* calls and other assignments. Update calls to new_test.
20752
d8cd06db
JM
20753 [BZ #2546]
20754 [BZ #2560]
20755 [BZ #5159]
20756 [BZ #15426]
20757 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20758 input to result for tgamma overflow.
20759 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20760 (gamma_coeff): New variable.
20761 (NCOEFF): New macro.
20762 (gamma_positive): New function.
20763 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20764 underflow here. Use gamma_positive instead of exp (lgamma) for
20765 other arguments.
20766 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20767 (gamma_coeff): New variable.
20768 (NCOEFF): New macro.
20769 (gammaf_positive): New function.
20770 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20771 underflow here. Use gamma_positive instead of exp (lgamma) for
20772 other arguments.
20773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20774 (gamma_coeff): New variable.
20775 (NCOEFF): New macro.
20776 (gammal_positive): New function.
20777 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20778 underflow here. Use gamma_positive instead of exp (lgamma) for
20779 other arguments.
20780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20781 (gamma_coeff): New variable.
20782 (NCOEFF): New macro.
20783 (gammal_positive): New function.
20784 (__ieee754_gammal_r): Handle positive infinity, overflow and
20785 underflow here. Handle NaN the same as positive infinity. Remove
20786 check x < 0xffffffff for negative integers. Use gamma_positive
20787 instead of exp (lgamma) for other arguments.
20788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20789 (gamma_coeff): New variable.
20790 (NCOEFF): New macro.
20791 (gammal_positive): New function.
20792 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20793 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20797 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20798 * sysdeps/generic/math_private.h (__gamma_productf): New
20799 prototype.
20800 (__gamma_product): Likewise.
20801 (__gamma_productl): Likewise.
20802 * math/Makefile (libm-calls): Add gamma_product.
20803 * math/libm-test.inc (tgamma_test): Add more tests.
20804 * sysdeps/i386/fpu/libm-test-ulps: Update.
20805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20806
bb7cf681
OB
208072013-05-08 Ondřej Bílka <neleai@seznam.cz>
20808
20809 * benchtests/bench-skeleton.c (main): Preheat CPU.
20810
ba853947
AJ
208112013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20812
20813 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20814
8347c74c
RM
208152013-05-07 Roland McGrath <roland@hack.frob.com>
20816
20817 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20818 and _dl_skip_args_internal.
20819
e8dd4791
CD
208202013-05-07 Carlos O'Donell <carlos@redhat.com>
20821
20822 * manual/message.texi (Message Translation): Talk about users.
20823 Message to key mapping impacts design.
20824
c7405830
RM
208252013-05-06 Roland McGrath <roland@hack.frob.com>
20826
a9173057
RM
20827 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20828
976e2f03
RM
20829 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20830
9723ffc5
RM
20831 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20832 * sysdeps/wordsize-64/glob64.c: ... here.
20833
962e6658
RM
20834 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20835 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20836 New macros.
20837
ee586a6d
RM
20838 * debug/getlogin_r_chk.c: Moved to ...
20839 * login/getlogin_r_chk.c: ... here.
20840 * debug/Makefile (routines): Move getlogin_r_chk to ...
20841 * login/Makefile (routines): ... here.
20842 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20843 * login/Versions (libc: GLIBC_2.4): ... here.
20844
355f9165
RM
20845 * io/poll.c (__poll): Renamed from poll.
20846 Add libc_hidden_def.
20847 (poll): Define as weak alias.
20848
bd9ffde6
RM
20849 * debug/ptsname_r_chk.c: Moved to ...
20850 * login/ptsname_r_chk.c: ... here.
20851 * debug/Makefile (routines): Move ptsname_r_chk to ...
20852 * login/Makefile (routines): ... here.
20853 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20854 * login/Versions (libc: GLIBC_2.4): ... here.
20855
8fb16a04
RM
20856 * posix/getlogin.c: Moved to ...
20857 * login/getlogin.c: ... here.
20858 * posix/getlogin_r.c: Moved to ...
20859 * login/getlogin_r.c: ... here.
20860 * posix/getlogin_r.c: Moved to ...
20861 * login/getlogin_r.c: ... here.
20862 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20863 * login/Makefile (routines): ... here.
20864 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20865 * login/Versions (libc: GLIBC_2.0): ... here.
20866
b99b892f
RM
20867 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20868 (setrlimit): Define as weak alias.
20869
c7405830
RM
20870 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20871 Call __ names for open, ftruncate, and close.
20872 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20873 (truncate): Define as weak alias.
20874
5bf96de5
JM
208752013-05-06 Joseph Myers <joseph@codesourcery.com>
20876
9ea3513c
JM
20877 * math/gen-libm-test.pl (parse_args): Initialize x before each
20878 test of frexp, modf and remquo.
20879
5bf96de5
JM
20880 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20881 test signgam value.
20882
16e616a7
AZ
208832013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20884
20885 [BZ #15418]
20886 [BZ #15419]
20887 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20888 internal tests.
20889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20890
d5e82754
RM
208912013-05-06 Roland McGrath <roland@hack.frob.com>
20892
20893 * elf/dl-writev.h: New file.
20894 * elf/dl-misc.c: Include it.
20895 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20896 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20897
a7548d41
JM
208982013-05-04 Joseph Myers <joseph@codesourcery.com>
20899
b7dab1e4
JM
20900 * math/libm-test.inc (noXFails): Remove variable.
20901 (noXPasses): Likewise.
20902 (BUILD_COMPLEX_INT): Remove macro.
20903 (print_screen): Remove xfail argument.
20904 (print_screen_max_error): Likewise.
20905 (update_stats): Likewise.
20906 (print_max_error): Likewise. Update calls to other affected
20907 functions.
20908 (print_complex_max_error): Likewise.
20909 (test_single_exception): Update calls to print_screen.
20910 (test_single_errno): Likewise.
20911 (check_float_internal): Remove xfail argument. Update calls to
20912 other affected functions.
20913 (check_float): Likewise.
20914 (check_complex): Likewise.
20915 (check_int): Likewise.
20916 (check_long): Likewise.
20917 (check_bool): Likewise.
20918 (check_longlong): Likewise.
20919 (main): Don't print noXFails and noXPasses.
20920 * math/gen-libm-test.pl (top level): Don't mention expected
20921 failure handling in comment.
20922 (new_test): Don't handle expected failures.
20923 (parse_args): Don't mention expected failure handling in comment.
20924 (generate_testfile): Don't handle expected failures.
20925 (parse_ulps): Likewise.
20926 (print_ulps_file): Likewise.
20927 (get_failure): Remove function.
20928 (output_test): Don't handle expected failures.
20929 * make/README.libm-test: Don't mention expected failure handling.
20930
a7548d41
JM
20931 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20932 (minus_zero): Likewise.
20933 (plus_infty): Likewise.
20934 (minus_infty): Likewise.
20935 (qnan_value): Likewise.
20936 (max_value): Likewise.
20937 (min_value): Likewise.
20938 (min_subnorm_value): Likewise.
20939 (initialize): Do not initialize those variables dynamically.
20940
60bfd54c
RM
209412013-05-03 Roland McGrath <roland@hack.frob.com>
20942
cc0e6ed8
RM
20943 * io/open.c (__open_2): Moved to ...
20944 * io/open_2.c: ... this new file.
20945 * io/open64.c (__open64_2): Moved to ...
20946 * io/open64_2.c: ... this new file.
20947 * io/openat.c (__openat_2): Moved to ...
20948 * io/openat_2.c: ... this new file.
20949 * io/openat64.c (__openat64_2): Moved to ...
20950 * io/openat64_2.c: ... this new file.
20951 * io/Makefile (routines): Add them.
20952 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20953 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20954 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20955 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20956 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20957 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20958 (__openat64): Add hidden_ver.
20959 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20960 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20961
60bfd54c
RM
20962 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20963 Separately conditionalize setting of GLRO(dl_sysinfo) so
20964 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20965 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20966
83e7640f
AZ
209672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20968
20969 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20971 definition.
20972 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20973 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20974 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20975 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20976 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20977
d5dc2af3
JM
209782013-05-03 Joseph Myers <joseph@codesourcery.com>
20979
c31a5b1e
JM
20980 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20981 test signgam value.
20982
d5dc2af3
JM
20983 * math/libm-test.inc (hypot_test): Do not use
20984 IGNORE_ZERO_INF_SIGN.
20985
164fd39d
AJ
209862013-05-03 Andreas Jaeger <aj@suse.de>
20987
20988 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20989 Linux 3.9.
20990 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20991 (PF_MAX): Adjust for VSOCK change.
20992
8237f48c
AZ
209932013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20994
20995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20996
9df02941
CD
209972013-05-02 Carlos O'Donell <carlos@redhat.com>
20998
20999 [BZ #15264]
21000 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21001 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21002 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21003
d422395e
DM
210042013-05-02 David S. Miller <davem@davemloft.net>
21005
21006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21007
a07c5731
OB
210082013-05-01 Ondřej Bílka <neleai@seznam.cz>
21009
21010 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21011
1324e37f
RM
210122013-05-01 Roland McGrath <roland@hack.frob.com>
21013
21014 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21015
0695940b
RS
210162013-05-01 Richard Smith <richard@metafoo.co.uk>
21017
bb5f27ad 21018 [BZ #14952]
0695940b
RS
21019 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21020 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21021 Use __attribute__ ((__gnu_inline__)).
21022 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21023 Don't use __attribute__ ((__gnu_inline__)).
21024
10de07f5
JM
210252013-05-01 Joseph Myers <joseph@codesourcery.com>
21026
21027 [BZ #15423]
21028 * math/s_catan.c (__catan): Handle small real or imaginary part of
21029 input specially to avoid spurious underflow.
21030 * math/s_catanf.c (__catanf): Likewise.
21031 * math/s_catanh.c (__catanh): Likewise.
21032 * math/s_catanhf.c (__catanhf): Likewise.
21033 * math/s_catanhl.c (__catanhl): Likewise.
21034 * math/s_catanl.c (__catanl): Likewise.
21035 * math/libm-test.inc (catan_test): Add more tests.
21036 (catanh_test): Likewise.
21037 * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21039
cb4d5414
AZ
210402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21041
21042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21043
caf84319
JM
210442013-04-30 Joseph Myers <joseph@codesourcery.com>
21045
21046 [BZ #15416]
21047 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21048 accurately for denominator in atan2.
21049 * math/s_catanf.c (__catanf): Likewise.
21050 * math/s_catanh.c (__catanh): Likewise.
21051 * math/s_catanhf.c (__catanhf): Likewise.
21052 * math/s_catanhl.c (__catanhl): Likewise.
21053 * math/s_catanl.c (__catanl): Likewise.
21054 * math/libm-test.inc (catan_test): Add more tests.
21055 (catanh_test): Likewise.
21056 * sysdeps/i386/fpu/libm-test-ulps: Update.
21057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21058
d569c6ee
SP
210592013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21060
6dbe713d
SP
21061 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21062
f0ee064b
SP
21063 * benchtests/Makefile (bench): Remove slow benchmarks.
21064 * benchtests/atan-inputs: Add slow benchmark inputs.
21065 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21066 (BENCH_FUNC): Accept variant offset.
21067 (VARIANT): Define.
21068 * benchtests/bench-skeleton.c (main): Run benchmark for each
21069 variant.
21070 * benchtests/cos-inputs: Add slow benchmark inputs.
21071 * benchtests/exp-inputs: Likewise.
21072 * benchtests/pow-inputs: Likewise.
21073 * benchtests/sin-inputs: Likewise.
21074 * benchtests/slowatan-inputs: Remove.
21075 * benchtests/slowatan.c: Remove.
21076 * benchtests/slowcos-inputs: Remove.
21077 * benchtests/slowcos.c: Remove.
21078 * benchtests/slowexp-inputs: Remove.
21079 * benchtests/slowexp.c: Remove.
21080 * benchtests/slowpow-inputs: Remove.
21081 * benchtests/slowpow.c: Remove.
21082 * benchtests/slowsin-inputs: Remove.
21083 * benchtests/slowsin.c: Remove.
21084 * benchtests/slowtan-inputs: Remove.
21085 * benchtests/slowtan.c: Remove.
21086 * benchtests/tan-inputs: Add slow benchmark inputs.
21087 * scripts/bench.pl: Parse comments and directives.
21088
d569c6ee
SP
21089 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21090 in CPPFLAGS.
21091 ($(objpfx)bench-%.c): Remove *-ITER.
21092 * benchtests/bench-modf.c: Remove definition of ITER.
21093 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21094 (main): Loop for DURATION seconds instead of fixed number of
21095 iterations.
21096 * scripts/bench.pl: Don't expect iterations in parameters.
21097
a6a242fe
RM
210982013-04-29 Roland McGrath <roland@hack.frob.com>
21099
21100 * io/fchdir.c (__fchdir): Renamed from fchdir.
21101 (fchdir): Define as weak alias.
21102
f2da7793
JM
211032013-04-29 Joseph Myers <joseph@codesourcery.com>
21104
21105 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21106 (ERRNO_EDOM): Likewise.
21107 (ERRNO_ERANGE): Likewise.
21108 (noErrnoTests): New variable.
21109 (init_max_error): Set errno to 0.
21110 (test_single_errno): New function.
21111 (test_errno): Likewise.
21112 (check_float_internal): Call test_errno. Set errno to 0.
21113 (check_complex): Refer to errno tests in comment.
21114 (check_int): Call test_errno. Set errno to 0.
21115 (check_long): Likewise.
21116 (check_bool): Likewise.
21117 (check_longlong): Likewise.
21118 (cos_test): Use ERRNO_* flags for errno tests instead of
21119 check_int.
21120 (expm1_test): Likewise.
21121 (fmod_test): Likewise.
21122 (ilogb_test): Likewise.
21123 (lgamma_test): Likewise.
21124 (pow_test): Likewise.
21125 (remainder_test): Likewise.
21126 (sin_test): Likewise.
21127 (tan_test): Likewise.
21128 (yn_test): Likewise.
21129 (initialize): Set errno to 0.
21130 (main): Print number of errno tests.
21131 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21132
b1a36ceb
AJ
211332013-04-29 Andreas Jaeger <aj@suse.de>
21134
c3ed8088
AJ
21135 [BZ #15084]
21136 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21137 and RES_USEVC.
21138
f1a24198
AJ
21139 [BZ #15085]
21140 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21141 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21142 unimplemented.
21143
9ce3b2cb
AJ
21144 [BZ #15380]
21145 * stdlib/random.c (__initstate): Return NULL if
21146 __initstate fails.
21147
f1a24198 21148 [BZ #15086]
b1a36ceb
AJ
21149 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21150 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21151 RES_SNGLKUPREOP.
21152
7e7b6f36
AZ
211532013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21154
21155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21156
4d14f449
JM
211572013-04-29 Joseph Myers <joseph@codesourcery.com>
21158
21159 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21160 of individual tests.
21161 (casin_test): Likewise.
21162 (casinh_test): Likewise.
21163
5b4217d7
JM
211642013-04-27 Joseph Myers <joseph@codesourcery.com>
21165
21166 [BZ #15409]
21167 * math/s_catan.c (__catan): Handle arguments with large real or
21168 imaginary part separately without squaring.
21169 * math/s_catanf.c (__catanf): Likewise.
21170 * math/s_catanh.c (__catanh): Likewise.
21171 * math/s_catanhf.c (__catanhf): Likewise.
21172 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21173 and redefine.
21174 (__catanhl): Handle arguments with large real or imaginary part
21175 separately without squaring.
21176 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21177 and redefine.
21178 (__catanl): Handle arguments with large real or imaginary part
21179 separately without squaring.
21180 * math/libm-test.inc (catan_test): Add more tests.
21181 (catanh_test): Likewise.
21182 * sysdeps/i386/fpu/libm-test-ulps: Update.
21183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21184
4220c3ef
AJ
211852013-04-27 Andreas Jaeger <aj@suse.de>
21186
21187 [BZ #15007]
21188 * stdlib/stdlib.h: Update guards for qecvt.
21189 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21190 <stdlib.h>.
21191
4721b2d1
AM
211922013-04-27 Allan McRae <allan@archlinux.org>
21193
21194 * sysdeps/i386/fpu/libm-test-ulps: Update.
21195
f0302940
JM
211962013-04-26 Joseph Myers <joseph@codesourcery.com>
21197
9457fd95
JM
21198 [BZ #15406]
21199 * math/s_catan.c: Include <float.h>.
21200 (__catan): Ensure underflow exception occurs for underflowed
21201 result.
21202 * math/s_catanf.c: Include <float.h>.
21203 (__catanf): Ensure underflow exception occurs for underflowed
21204 result.
21205 * math/s_catanh.c: Include <float.h>.
21206 (__catanh): Ensure underflow exception occurs for underflowed
21207 result.
21208 * math/s_catanhf.c: Include <float.h>.
21209 (__catanhf): Ensure underflow exception occurs for underflowed
21210 result.
21211 * math/s_catanhl.c: Include <float.h>.
21212 (__catanhl): Ensure underflow exception occurs for underflowed
21213 result.
21214 * math/s_catanl.c: Include <float.h>.
21215 (__catanl): Ensure underflow exception occurs for underflowed
21216 result.
21217 * math/libm-test.inc (catan_test): Add more tests.
21218 (catanh_test): Likewise.
21219
f0302940
JM
21220 [BZ #15405]
21221 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21222 underflowed result.
21223 * math/s_ccoshf.c (__ccoshf): Likewise.
21224 * math/s_ccoshl.c (__ccoshl): Likewise.
21225 * math/s_csin.c (__csin): Likewise.
21226 * math/s_csinf.c (__csinf): Likewise.
21227 * math/s_csinh.c (__csinh): Likewise.
21228 * math/s_csinhf.c (__csinhf): Likewise.
21229 * math/s_csinhl.c (__csinhl): Likewise.
21230 * math/s_csinl.c (__csinl): Likewise.
21231 * math/libm-test.inc (ccos_test): Add more tests.
21232 (ccosh_test): Likewise.
21233 (csin_test): Likewise.
21234 (csinh_test): Likewise.
21235
aa630f59
AZ
212362013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21239 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21240 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21241 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21242 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21243 powerpc/power5+/fpu folders.
21244 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21245
21246
1b835983
MT
212472013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21248
21249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21250
73709b26
JM
212512013-04-25 Joseph Myers <joseph@codesourcery.com>
21252
21253 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21254 additions to variable.
21255 [$(config-machine) = x86_64] (modules-names): Likewise.
21256 ($(objpfx)tst-audit3): Remove dependency.
21257 ($(objpfx)tst-audit3.out): Likewise.
21258 ($(objpfx)tst-audit4): Likewise.
21259 ($(objpfx)tst-audit4.out): Likewise.
21260 ($(objpfx)tst-audit5): Likewise.
21261 ($(objpfx)tst-audit5.out): Likewise.
21262 ($(objpfx)tst-audit6): Likewise.
21263 ($(objpfx)tst-audit6.out): Likewise.
21264 ($(objpfx)tst-audit7): Likewise.
21265 ($(objpfx)tst-audit7.out): Likewise.
21266 (tst-audit3-ENV): Remove variable.
21267 (tst-audit4-ENV): Likewise.
21268 (tst-audit5-ENV): Likewise.
21269 (tst-audit6-ENV): Likewise.
21270 (tst-audit7-ENV): Likewise.
21271 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21272 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21273 addition to variable.
21274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21275 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21276 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21277 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21278 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21279 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21280 tst-audit3, tst-audit4 and tst-audit5.
21281 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21282 tst-audit6 and tst-audit7.
21283 [$(subdir) = elf] (modules-names): Add audit modules for those
21284 tests.
21285 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21286 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21287 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21288 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21289 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21290 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21291 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21292 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21293 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21294 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21295 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21296 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21297 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21298 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21299 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21300 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21301 Likewise.
21302 [$(subdir) = elf && $(config-cflags-avx) = yes]
21303 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21304 [$(subdir) = elf && $(config-cflags-avx) = yes]
21305 (CFLAGS-tst-auditmod4a.c): Likewise.
21306 [$(subdir) = elf && $(config-cflags-avx) = yes]
21307 (CFLAGS-tst-auditmod4b.c): Likewise.
21308 [$(subdir) = elf && $(config-cflags-avx) = yes]
21309 (CFLAGS-tst-auditmod6b.c): Likewise.
21310 [$(subdir) = elf && $(config-cflags-avx) = yes]
21311 (CFLAGS-tst-auditmod6c.c): Likewise.
21312 [$(subdir) = elf && $(config-cflags-avx) = yes]
21313 (CFLAGS-tst-auditmod7b.c): Likewise.
21314 * elf/tst-audit3.c: Move to ...
21315 * sysdeps/x86_64/tst-audit3.c: ... here.
21316 * elf/tst-audit4.c: Move to ...
21317 * sysdeps/x86_64/tst-audit4.c: ... here.
21318 * elf/tst-audit5.c: Move to ...
21319 * sysdeps/x86_64/tst-audit5.c: ... here.
21320 * elf/tst-audit6.c: Move to ...
21321 * sysdeps/x86_64/tst-audit6.c: ... here.
21322 * elf/tst-audit7.c: Move to ...
21323 * sysdeps/x86_64/tst-audit7.c: ... here.
21324 * elf/tst-auditmod3a.c: Move to ...
21325 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21326 * elf/tst-auditmod3b.c: Move to ...
21327 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21328 * elf/tst-auditmod4a.c: Move to ...
21329 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21330 * elf/tst-auditmod4b.c: Move to ...
21331 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21332 * elf/tst-auditmod5a.c: Move to ...
21333 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21334 * elf/tst-auditmod5b.c: Move to ...
21335 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21336 * elf/tst-auditmod6a.c: Move to ...
21337 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21338 * elf/tst-auditmod6b.c: Move to ...
21339 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21340 * elf/tst-auditmod6c.c: Move to ...
21341 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21342 * elf/tst-auditmod7a.c: Move to ...
21343 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21344 * elf/tst-auditmod7b.c: Move to ...
21345 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21346
1ef74943
PP
213472013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21348
21349 [BZ #15366]
21350 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21351 define unconditionally.
21352 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21353 define unconditionally.
21354 (INT8_C, INT16_C, etc.): Likewise.
21355
93fd48c5
MR
213562013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21357
ae9552cf
MR
21358 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21359 __ehdr_start with hidden visibility.
21360
93fd48c5
MR
21361 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21362
418601aa
CD
213632013-04-24 Carlos O'Donell <carlos@redhat.com>
21364
21365 * math/libm-test.inc (cos_test): Use accurate hex constants.
21366 (sincost_test): Likewise.
21367
2f38fbfe
JM
213682013-04-24 Joseph Myers <joseph@codesourcery.com>
21369
5e221800
JM
21370 * math/libm-test.inc (catan_test): Add more tests.
21371 (catanh_test): Likewise.
21372
77f143fd
JM
21373 * math/s_catanf.c (__catanf): Use suffixed floating-point
21374 constants.
21375 * math/s_catanhf.c (__catanhf): Likewise.
21376 * math/s_catanhl.c (__catanhl): Likewise.
21377 * math/s_catanl.c (__catanl): Likewise.
21378
2f38fbfe
JM
21379 [BZ #15394]
21380 * math/s_catan.c (__catan): Calculate imaginary part of result
21381 with log1p not log unless computing log of number close to 0.
21382 * math/s_catanf.c (__catanf): Likewise.
21383 * math/s_catanl.c (__catanl): Likewise.
21384 * math/s_catanh.c (__catanh): Calculate real part of result with
21385 log1p not log unless computing log of number close to 0.
21386 * math/s_catanhf.c (__catanhf): Likewise.
21387 * math/s_catanhl.c (__catanhl): Likewise.
21388 * math/libm-test.inc (catan_test): Add more tests.
21389 (catanh_test): Likewise.
21390 * sysdeps/i386/fpu/libm-test-ulps: Update.
21391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21392
45d69176
SP
213932013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21394
21395 * benchtests/Makefile: Mention files in which fast and slow
21396 paths of math functions are implemented.
21397
87f51853
RM
213982013-04-23 Roland McGrath <roland@hack.frob.com>
21399
21400 * sysdeps/posix/timespec_get.c: New file.
21401
3c026539
AZ
214022013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21403
21404 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21405 POWER.
21406 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21407 for POWER.
21408 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21409 powerpc/power5/fpu folders.
21410 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21411 * benchtests/Makefile: Add modf testcase.
21412 * benchtests/bench-modf.c: New file: Benchmark test for mo
21413
ff491d14
SP
214142013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21415
21416 [BZ #14888]
21417 * time/Makefile (tests): Add tst-strptime-whitespace.
21418 * time/strptime_l.c (get_number): Use ISSPACE.
21419 (__strptime_internal): Likewise.
21420 * time/tst-strptime-whitespace.c: New test case.
21421
7ed3f4e8
AS
214222013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21423
21424 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21425 member.
21426 (_nss_files_init): Set it here.
21427
5c95f7b6
HC
214282013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21429
21430 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21431 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21432 unsigned.
21433
d34c9158
JBG
214342013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21435
21436 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21437
2169712d
SP
214382013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21439
21440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21441 size just once.
21442
29c5de99
DM
214432013-04-21 David S. Miller <davem@davemloft.net>
21444
21445 * po/ru.po: Update Russion translation from translation project.
21446
ccdad15d
AC
214472013-04-17 Adam Conrad <adconrad@0c3.net>
21448
21449 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21450 and setfsgid.
21451
0f122b8d
CD
214522013-04-17 Carlos O'Donell <carlos@redhat.com>
21453
5c5b07da 21454 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21455 * configure: Regenerate.
5c5b07da 21456 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21457 Add example to error message.
21458 * sysdeps/i386/configure: Regenerate.
21459
037714dd
SP
214602013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21461
21462 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21463 slowtan.
21464 * benchtests/cos-inputs: New file.
21465 * benchtests/slowcos-inputs: New file.
21466 * benchtests/slowcos.c: New file.
21467 * benchtests/slowtan-inputs: New file.
21468 * benchtests/slowtan.c: New file.
21469 * benchtests/tan-inputs: New file.
21470
e913141d
RM
214712013-04-16 Roland McGrath <roland@hack.frob.com>
21472
21473 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21474 considered kosher.
21475
a2964074
SP
214762013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21477
4856bcd2
SP
21478 * benchtests/Makefile: Include cppflags-iterator.mk to add
21479 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21480
a2964074
SP
21481 * Makefile.in (bench-clean): New target.
21482 * benchtests/Makefile (bench-clean): Likewise.
21483
9fbf9aca
DH
214842013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21485
21486 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21487
207d1e2a
TS
214882013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21489
21490 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21491
306dfba9
AS
214922013-04-15 Andreas Schwab <schwab@suse.de>
21493
21494 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21496 * nscd/pwdcache.c (cache_addpw): Likewise.
21497 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21498 more than recsize.
21499
206a6699
SP
215002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21501
21502 * benchtests/Makefile (bench): Write all output to
21503 bench-out.tmp together.
21504
0582f6b3
AS
215052013-04-15 Andreas Schwab <schwab@suse.de>
21506
21507 * nscd/nscd.c (main): Don't fork again after closing files.
21508
acb4325f
SP
215092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21510
5cb26d0a
SP
21511 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21512
acb4325f
SP
21513 * benchtests/Rules (bench-deps): Collect dependencies into a
21514 single variable. Add Makefile to dependencies.
21515 ($(objpfx)bench-%.c): Depend on bench-deps.
21516
47792506
RM
215172013-04-12 Roland McGrath <roland@hack.frob.com>
21518 Xavier Roche <roche+kml2@exalead.com>
21519
21520 [BZ #15361]
21521 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21522 just that it's a file descriptor.
21523 * manual/llio.texi (Synchronizing AIO Operations): Update description
21524 for EBADF error from aio_fsync.
21525
8fc1bee5
SP
215262013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21527
21528 * Rules (bench): Move target definition...
21529 * benchtests/Makefile: ... here.
21530
aba5e333
CD
215312013-04-11 Carlos O'Donell <carlos@redhat.com>
21532
21533 * math/libm-test.inc (cos_test): Fix PI/2 test.
21534 (sincos_test): Likewise.
21535 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21536 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21537
273cdee8
AS
215382013-04-11 Andreas Schwab <schwab@suse.de>
21539
6ecec3b6
AS
21540 [BZ #13988]
21541 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21542 accept exponent character only when digits were seen.
21543 * stdio-common/Makefile (tests): Add bug26.
21544 * stdio-common/bug26.c: New file.
21545
273cdee8
AS
21546 [BZ #14293]
21547 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21548 non-freeable.
21549
8da491f5
SP
215502013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21551
01dc6df9
SP
21552 * Makeconfig (rtld-prefix): Define built linker prefix.
21553 * Rules (run-bench): Use it.
21554 * math/Makefile (run-regen-ulps): Likewise.
21555
8da491f5
SP
21556 * Rules (bench): Remove eval.
21557
abe7f530
SP
215582013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21559 Roland McGrath <roland@hack.frob.com>
21560 Ondrej Bilka <neleai@seznam.cz>
21561
21562 [BZ #15346]
21563 * time/getdate.c: Include ctype.h and alloca.h.
21564 (__getdate_r): Trim leading and trailing spaces of input.
21565 * time/tst-getdate.c (tests): Add tests with leading and
21566 trailing spaces.
21567
61c23e62
RM
215682013-04-08 Roland McGrath <roland@hack.frob.com>
21569
21570 [BZ #14280]
21571 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21572 when computing value.
21573
7208a313
CD
215742013-04-06 Carlos O'Donell <carlos@redhat.com>
21575
085b2d41
CD
21576 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21577 Use testrun.sh to run libm tests.
21578
7208a313
CD
21579 [BZ #15309]
21580 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21581
872c0acd
MM
215822013-04-06 Marko Myllynen <myllynen@redhat.com>
21583
21584 [BZ #15264]
21585 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21586
26510bdd
CD
215872013-04-06 Carlos O'Donell <carlos@redhat.com>
21588
21589 * Makefile.in (regen-ulps): New target.
21590 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21591 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21592 [ifneq (no,$(PERL)] (regen-ulps): New target.
21593 [ifeq (no,$(PERL)] (regen-ulps): New target.
21594 * math/libm-test.inc (ulps_file_name): Define.
21595 (output_dir): New variable.
21596 (options): Add "output-dir" option.
21597 (parse_opt): Handle 'o' case.
21598 (main): If output_dir is non-NULL use it as a prefix
21599 otherwise use "".
21600 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21601
a01f19c8
CD
216022013-04-06 Carlos O'Donell <carlos@redhat.com>
21603
21604 [BZ #10060, #10062]
21605 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21606 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21607 fail configure if __sync_val_compare_and_swap is not inlined.
21608 * sysdeps/i386/configure: Regenerate.
21609 * configure.in: Build for i686 when configured for i386.
21610 * configure: Regenerate.
21611 * README: Remove i386 reference.
21612
b7a329a5
CD
216132013-04-06 Carlos O'Donell <carlos@redhat.com>
21614
21615 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21616 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21617
bf0f50df
TS
216182013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21619
ee091edf
TS
21620 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21621 (lmsnanval): New variables.
21622 (F): Add conversion tests.
21623 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21624 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21625
a8b792d6
TS
21626 * stdio-common/tstdiomisc.c (F): Properly collect individual
21627 tests' results.
21628
a1cbf437
TS
21629 [BZ #14686, #15336]
21630 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21631 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21632 Instead, use input NaN values or generate a qNaN by arithmetic
21633 operation. Also fix bugs to comply with the standard.
21634 * math/libm-test.inc (remainder_test): Add more tests.
21635
8b43a0c9
TS
21636 [BZ #15335, #15342]
21637 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21639 input NaN values or generate a qNaN by arithmetic operation.
21640
d91da4ce
TS
21641 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21642 unreachable code.
21643
bf0f50df
TS
21644 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21645 definitions.
21646
05e166c8
JM
216472013-04-03 Joseph Myers <joseph@codesourcery.com>
21648
21649 [BZ #14478]
21650 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21651 underflowed result.
21652 * math/s_cexpf.c (__cexpf): Likewise.
21653 * math/s_cexpl.c (__cexpl): Likewise.
21654 * math/libm-test.inc (cexp_test): Add more tests.
21655
1cef1b19
AS
216562013-04-03 Andreas Schwab <schwab@suse.de>
21657
21658 [BZ #15330]
21659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21660 order arrays from heap if bigger than alloca cutoff.
21661
74d87055
TS
216622013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21663
21664 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21665 (SNAN_TESTS_double): Refer to GCC PR56831.
21666 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21667 GCC PR56828.
21668
d755bba4
SP
216692013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21670
90d5d5bb
SP
21671 * Rules (bench): Move bench.out after the run is complete.
21672
73e0cd5d
SP
21673 * Rules (bench): Echo currently running benchmark.
21674
64aabd4b
SP
21675 * benchtests/Makefile (bench): Add atan and slowatan.
21676 * benchtests/atan-inputs: New file.
21677 * benchtests/slowatan-inputs: New file.
21678 * benchtests/slowatan.c: New file.
21679
c871eccd
SP
21680 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21682 its value.
21683
d755bba4
SP
21684 [BZ #15305]
21685 * sysdeps/unix/sysv/linux/kernel-features.h
21686 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21687 __ASSUME_XFS_RESTRICTED_CHOWN.
21688 * sysdeps/unix/sysv/linux/pathconf.c
21689 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21690 Save and restore errno.
21691
52ce4860
JM
216922013-04-02 Joseph Myers <joseph@codesourcery.com>
21693
21694 [BZ #15327]
21695 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21696 arguments using __kernel_casinh.
21697 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21698 arguments using __kernel_casinhf.
21699 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21700 arguments using __kernel_casinhl.
21701 * math/libm-test.inc (cacosh_test): Add more tests.
21702 * sysdeps/i386/fpu/libm-test-ulps: Update.
21703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21704
81f311c2
SP
217052013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21706
e7906a47
SP
21707 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21709
92e3664b
SP
21710 * bench/Makefile (bench): Add sin and slowsin.
21711 * benchtests/sin-inputs: New file.
21712 * benchtests/slowsin-inputs: New file.
21713 * benchtests/slowsin.c: New file.
21714
81f311c2
SP
21715 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21716 (bench): Add slowexp and slowpow.
21717 (exp-ITER): Increase iterations.
21718 (pow-ITER): Likewise.
21719 * benchtests/exp-inputs: Change input.
21720 * benchtests/pow-inputs: Likewise.
21721 * benchtests/slowexp-inputs: New file.
21722 * benchtests/slowexp.c: New file.
21723 * benchtests/slowpow-inputs: New file.
21724 * benchtests/slowpow.c: New file.
21725
ab0f1aa9
AZ
217262013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21727
21728 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21729 instructions.
21730 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21731 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21732 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21733 * benchtests/Makefile: Add rint benchtest.
21734 * benchtests/rint-inputs: Input for rint benchtest.
21735
57267616
TS
217362013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21737
21738 * Versions.def (libm): Add GLIBC_2.18.
21739 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21740 hidden libm prototypes.
21741 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21742 * math/Makefile (libm-calls): Add s_issignaling.
21743 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21744 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21745 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21746 declaration.
21747 * math/math.h [__USE_GNU] (issignaling): New macro.
21748 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21749 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21751 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21754 * manual/arith.texi (issignaling): New section.
21755 * manual/libm-err-tab.pl (@all_functions): Update comment.
21756 * math/gen-libm-test.pl (parse_args): Apply special handling for
21757 issignaling.
21758 * math/libm-test.inc (print_float, issignaling_test): New
21759 functions.
21760 (check_float_internal): Add issignaling checks.
21761 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21762 default definition.
21763 * sysdeps/powerpc/math-tests.h: New file.
21764 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21765 tests.
21766 * math/test-snan.c (TEST_FUNC): Likewise.
21767
6142896d
DM
217682013-03-30 David S. Miller <davem@davemloft.net>
21769
21770 * po/de.po: Update from translation team.
21771
ccc8cadf
JM
217722013-03-30 Joseph Myers <joseph@codesourcery.com>
21773
21774 [BZ #10357]
21775 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21776 imaginary part less than 1.0 and real part less than 0.5
21777 specially.
21778 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21779 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21780 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21781 (cacos_test): Add more tests.
21782 (casin_test): Likewise.
21783 (casinh_test): Likewise.
21784 * sysdeps/i386/fpu/libm-test-ulps: Update.
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21786
0f6a8d4b
SP
217872013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21788
0d1029de
SP
21789 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21790 ONE with its value.
21791
c2d94018
SP
21792 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21793 (__pow_mp): Replace ONE and MONE with their values.
21794 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21797 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21798 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21800
27ec37f1
SP
21801 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21802
a64d7e0e
SP
21803 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21804 (__pow_mp): Replace ZERO and MZERO with their values.
21805 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21807 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21809 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21810 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21811 (__sqr): Likewise.
21812
d26dd3eb
SP
21813 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21814
0f6a8d4b
SP
21815 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21816
e57b0c61
RM
218172013-03-28 Roland McGrath <roland@hack.frob.com>
21818
21819 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21820 Declare with __attribute__ ((weak)).
21821 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21822 Call __call_tls_dtors only if it's not NULL.
21823
356b3480
RM
218242013-03-28 Roland McGrath <roland@hack.frob.com>
21825
288f7d79
RM
21826 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21827 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21828 magic __ehdr_start linker symbol if it's defined.
21829 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21830 them up here if it was already done.
21831
dc0a0263
RM
21832 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21833 (_dl_aux_init): Use const in cast when setting it.
21834 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21835 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21836 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21837
3d3436ae
RM
21838 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21839 Declare them here.
21840 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21841 * csu/libc-tls.c: Nor here.
21842 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21843
356b3480
RM
21844 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21845 (__libc_message): Never call vsyslog.
21846
b0f1246a
AM
218472013-03-28 Alan Modra <amodra@gmail.com>
21848
21849 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21850 Define as empty.
21851 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21852 Likewise.
21853
fbbe2b9a
AZ
218542013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21855
21856 [BZ #15214]
21857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21858 underflow.
21859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21860
1728ab37
SP
218612013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21862
7a86be6e
SP
21863 [BZ #15304]
21864 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21865 Don't add gid passed as argument.
21866
1728ab37
SP
21867 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21868
3a7182a1
JM
218692013-03-27 Joseph Myers <joseph@codesourcery.com>
21870
21871 [BZ #15307]
21872 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21873 imaginary part between 1.0 and 1.5 and real part less than 0.5
21874 specially.
21875 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21876 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21877 * math/libm-test.inc (cacos_test): Add more tests.
21878 (casin_test): Likewise.
21879 (casinh_test): Likewise.
21880 * sysdeps/i386/fpu/libm-test-ulps: Update.
21881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882
6f2e90e7
SP
218832013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21884
5739f705
SP
21885 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21886 constants.
21887 (norm): Likewise.
21888 (denorm): Likewise.
21889 (__dbl_mp): Likewise.
21890 (add_magnitudes): Likewise.
21891 (sub_magnitudes): Likewise.
21892 (__add): Likewise.
21893 (__sub): Likewise.
21894 (__mul): Likewise.
21895 (__sqr): Likewise.
21896 (__inv): Likewise.
21897 (__dvd): Likewise.
21898
e375e83d
SP
21899 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21900 commented code.
21901 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21902 (__dubcos): Likewise.
21903 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21904 (__ieee754_acos): Likewise.
21905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21907 (__exp1): Likewise.
21908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21910 (log1): Likewise.
21911 (my_log2): Likewise.
21912 (checkint): Likewise.
21913 * sysdeps/ieee754/dbl-64/e_remainder.c
21914 (__ieee754_remainder): Likewise.
21915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21917 (bsloww): Likewise.
21918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21919
6f2e90e7
SP
21920 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21921 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21922 MANTISSA_STORE_T to store computations on mantissa. Use
21923 macros for rounding and division.
21924 (denorm): Likewise.
21925 (__dbl_mp): Likewise.
21926 (add_magnitudes): Likewise.
21927 (sub_magnitudes): Likewise.
21928 (__mul): Likewise.
21929 (__sqr): Likewise.
21930 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21931 powers of two in terms of TWOPOW macro.
21932 (mp_no): Make type of mantissa as MANTISSA_T.
21933 [!RADIXI]: Define RADIXI.
21934 [!TWO52]: Define TWO52.
21935 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21936
fce14d4e
AZ
219372013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21938
21939 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21940 llroundl symbol when building for PPC32.
21941
9ad027fb
MW
219422013-03-24 Mark H Weaver <mhw@netris.org>
21943
21944 * manual/arith.texi (Normalization Functions): Fix prototypes for
21945 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21946
e42a38dd
AZ
219472013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21948
21949 [BZ #13889]
21950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21951 high value to check if expl overflow.
21952 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21953 to check for underflow and overflow.
21954 * math/libm-test.inc: Add exp test.
21955
2e0fb521
DL
219562013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21957
21958 [BZ #11120]
21959 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21960 with NOT_IN_libc.
21961
b5784d95
AZ
219622013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21963
21964 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21965 symbol.
21966
5aa4a1a1
TS
219672013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21968
bdef0be7
TS
21969 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21970 wrap blocks consisting of several statements.
21971
5aa4a1a1
TS
21972 * sysdeps/generic/math-tests.h: New file.
21973 * sysdeps/i386/fpu/math-tests.h: Likewise.
21974 * math/test-snan.c: Include it.
21975 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21976
98c48fe5
JM
219772013-03-21 Joseph Myers <joseph@codesourcery.com>
21978
21979 [BZ #15285]
21980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21981 (__ieee754_j0l): Do not improve calculations using cos of twice
21982 input for inputs above LDBL_MAX / 2.0L.
21983 (__ieee754_y0l): Likewise.
21984 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21985 (__ieee754_j1l): Do not improve calculations using cos of twice
21986 input for inputs above LDBL_MAX / 2.0L.
21987 (__ieee754_y1l): Likewise.
21988 * math/libm-test.inc (j0_test): Add another test.
21989 (j1_test): Likewise.
21990 (y0_test): Likewise.
21991 (y1_test): Likewise.
21992 * sysdeps/i386/fpu/libm-test-ulps: Update.
21993
3775a8bc
SP
219942013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21995
21996 * Rules ($(objpfx)bench-%.c): Include code from a C source
21997 file.
21998
0a1b2ae6
JM
219992013-03-21 Joseph Myers <joseph@codesourcery.com>
22000
22001 [BZ #15287]
22002 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22003 imaginary part 1.0 and real part less than 0.5 specially.
22004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22006 * math/libm-test.inc (cacos_test): Add more tests.
22007 (casin_test): Likewise.
22008 (casinh_test): Likewise.
22009 * sysdeps/i386/fpu/libm-test-ulps: Update.
22010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011
b33d4ce4
SP
220122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22013
22014 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22015 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22016
bef0b507
JM
220172013-03-20 Joseph Myers <joseph@codesourcery.com>
22018
22019 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22020 * config.make.in (config-cflags-sse4): Remove variable.
22021 (config-cflags-avx): Likewise.
22022 (config-cflags-sse2avx): Likewise.
22023 (config-cflags-novzeroupper): Likewise.
22024 (config-asflags-i686): Likewise.
22025 (have-mfma4): Likewise.
22026 (have-as-vis3): Likewise.
22027 (MIG): Likewise.
22028 * configure.in (MIG): Do not AC_SUBST.
22029 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22030 (libc_cv_cc_sse4): Do not AC_SUBST.
22031 (libc_cv_cc_avx): Likewise.
22032 (libc_cv_cc_sse2avx): Likewise.
22033 (libc_cv_cc_novzeroupper): Likewise.
22034 (libc_cv_cc_fma4): Likewise.
22035 (libc_cv_as_i686): Likewise.
22036 (libc_cv_sparc_as_vis3): Likewise.
22037 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22038 LIBC_CONFIG_VAR.
22039 (config-asflags-i686): Likewise.
22040 (config-cflags-avx): Likewise.
22041 (config-cflags-sse2avx): Likewise.
22042 (have-mfma4): Likewise.
22043 (config-cflags-novzeroupper): Likewise.
22044 * sysdeps/mach/configure.in (MIG): Likewise.
22045 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22046 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22047 LIBC_CONFIG_VAR.
22048 (config-cflags-avx): Likewise.
22049 (config-cflags-sse2avx): Likewise.
22050 (have-mfma4): Likewise.
22051 (config-cflags-novzeroupper): Likewise.
22052 * configure: Regenerated.
22053 * sysdeps/i386/configure: Likewise.
22054 * sysdeps/mach/configure: Likewise.
22055 * sysdeps/sparc/configure: Likewise.
22056 * sysdeps/x86_64/configure: Likewise.
22057
912cc4b3
RM
220582013-03-20 Roland McGrath <roland@hack.frob.com>
22059
22060 [BZ #14812]
22061 * locale/programs/localedef.c (options): Put N_ translation marker
22062 on argument names, not just descriptions.
22063
04eed2b0
MS
220642013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22065
22066 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22067
a065ceff
OB
220682013-03-20 Ondřej Bílka <neleai@seznam.cz>
22069
9bb2a810 22070 [BZ #14176]
a065ceff
OB
22071 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22072
a600e5ce
RM
220732013-03-19 Roland McGrath <roland@hack.frob.com>
22074
22075 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22076 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22077 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22078 [!BEFORE_ABORT] (before_abort): New function.
22079 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22080 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22081 (writev_for_fatal): New function.
22082 (WRITEV_FOR_FATAL): New macro; call that.
22083 (backtrace_and_maps): New function.
22084 (BEFORE_ABORT): New macro; call that.
22085 (struct str_list): Type removed.
22086 (__libc_message, __libc_fatal): Functions removed.
22087 Include <sysdeps/posix/libc_fatal.c> instead.
22088
6b18bea6
JM
220892013-03-19 Joseph Myers <joseph@codesourcery.com>
22090
22091 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22092 constants.
22093 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22094 double constants.
22095
aaa8cb4b
AS
220962013-03-19 Andreas Schwab <schwab@suse.de>
22097
44673770
AS
22098 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22099 * sysdeps/gnu/configure: Regenerate.
22100
aaa8cb4b
AS
22101 * configure.in: Substitute libc_cv_rtlddir.
22102 * configure: Regenerate.
22103 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22104 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22105 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22106 * elf/Makefile (install-others, CFLAGS-interp.c)
22107 (ldso_install, common-ldd-rewrite): Likewise.
22108 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22109 $(inst_slibdir)/$(rtld-installed-name).
22110 * scripts/rellns-sh: Add -p option.
22111 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22112 for source.
22113
d3cfc668
SP
221142013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22115
22116 * manual/nptl.texi: Renamed to ...
22117 * manual/threads.texi: ... this.
22118 * manual/Makefile (chapters): Update.
22119
0e2b9cdd
RM
221202013-03-18 Roland McGrath <roland@hack.frob.com>
22121
22122 [BZ #14812]
22123 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22124 on argument names, not just descriptions.
0e2b9cdd
RM
22125 * malloc/memusagestat.c (options): Likewise.
22126 * nss/getent.c (options): Likewise.
63270c24
RM
22127
221282013-03-18 Benno Schulenberg <bensberg@justemail.net>
22129
22130 [BZ #14812]
22131 * iconv/iconv_prog.c (options): Put N_ translation marker
22132 on argument names, not just descriptions.
22133 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22134
b2e1393c
OB
221352013-03-18 Ondrej Bilka <neleai@seznam.cz>
22136
22137 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22138 implementation which is faster on all x86_64 architectures.
22139 Tested on AMD, Intel Nehalem, SNB, IVB.
22140 * sysdeps/x86_64/strnlen.S: Likewise.
22141
22142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22143 Remove all multiarch strlen and strnlen versions.
22144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22145 Remove strlen and strnlen related parts.
22146
22147 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22148 Inline strlen part.
22149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22150
22151 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22152 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22153 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22154 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22155 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22156 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22157
ec4ff04d
CD
221582013-03-17 Carlos O'Donell <carlos@redhat.com>
22159
22160 * manual/memory.texi (Malloc Tunable Parameters):
22161 Sort parameters alphabetically. Add comments for missing entries.
22162
cd18e90a
DM
221632013-03-17 David S. Miller <davem@davemloft.net>
22164
22165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22166
2a185d32
JM
221672013-03-16 Joseph Myers <joseph@codesourcery.com>
22168
d2f9799e
JM
22169 [BZ #15283]
22170 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22171 for arguments at most half maximum finite value.
22172 * math/libm-test.inc (j0_test): Add more tests.
22173 (j1_test): Likewise.
22174 (y0_test): Likewise.
22175 (y1_test): Likewise.
22176 * sysdeps/i386/fpu/libm-test-ulps: Update.
22177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22178
2a185d32
JM
22179 [BZ #14155]
22180 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22181 1 / x and functions P and Q for arguments above 0x1p256L.
22182 (__ieee754_y0l): Likewise.
22183 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22184 (__ieee754_y1l): Likewise.
22185 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22186 (j1_test): Likewise.
22187 (y0_test): Likewise.
22188 (y1_test): Likewise.
22189
6cbec759
TS
221902013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22191
22192 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22193 variable.
22194
bc16e260
RM
221952013-03-15 Roland McGrath <roland@hack.frob.com>
22196
aefc9b8c
RM
22197 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22198 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22199 zero since it's initialized to EXEC_PAGESIZE.
22200
bc16e260
RM
22201 * sysdeps/unix/sysv/linux/ldsodefs.h
22202 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22203 * sysdeps/generic/ldsodefs.h: ... here.
22204
a57da955
TS
222052013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22206
af00a34d
TS
22207 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22208
495ded2c
TS
22209 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22210 math/test-snan.c.
22211 * math/test-snan.c: Renamed from
22212 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22213 * math/Makefile (tests): Add test-snan.
22214 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22215 test-powerpc-snan.
22216
777b0332
TS
22217 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22218 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22219 functions.
22220 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22221 __builtin_nan family of functions.
22222 * math/libm-test.inc (initialize): Initialize qnan_value with
22223 __builtin_nan family of functions.
22224 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22225 Remove variables.
22226 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22227 Remove functions.
22228 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22229 storage class. Initialize qNaN_var and sNaN_var with
22230 __builtin_nan and __builtin_nans families of functions,
22231 respectively.
22232
64d063b8
TS
22233 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22234 (sqrt_test): Remove duplicate test with qNaN input.
22235 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22236 (round_test, signbit_test, significand_test): Note missing +/-Inf
22237 as well as qNaN tests.
22238
67e971f1
TS
22239 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22240 qNaN_var. Fix a few strings, too.
22241 * math/libm-test.inc (nan_value): Rename to qnan_value.
22242 * math/gen-libm-test.pl (%beautify): Adjust to that.
22243 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22244 * math/test-misc.c (main): Likewise.
22245 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22246 to __qnan_bytes, and __qnan_union, respectively.
22247 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22248 Likewise.
22249 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22250 and lqnanval, respectively.
22251 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22252 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22253 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22254 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22255
64487e12
TS
22256 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22257 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22258 doubles.
22259
e015e27b
TS
22260 * math/test-misc.c (main): Fix copy'n'pastos.
22261 * misc/tst-efgcvt.c (special): Likewise.
22262
a57da955
TS
22263 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22264 Remove declarations.
22265
1e380345
SP
222662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22267
22268 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22269 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22270 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22271 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22272
ef26eece
AZ
222732013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22274
22275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22276 macro to return vdso values correctly in IFUNC implementations.
22277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22278 Optimization by using IFUNC.
22279
8cfdb7e0
SP
222802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22281 Richard Henderson <rth@redhat.com>
22282 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22283
22284 * Makefile.in (bench): New target.
22285 * NEWS: Mention the benchmark framework.
22286 * Rules (bench): Likewise.
22287 (binaries-bench): Generate binaries for functions to
22288 benchmark.
22289 * benchtests/Makefile: New makefile for benchmark tests.
22290 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22291 programs.
22292 * benchtests/exp-inputs: New input file for EXP function.
22293 * benchtests/pow-inputs: New input file for POW function.
22294 * scripts/bench.pl: New script to generate source files for
22295 benchmark programs.
22296
bcda9880
SP
222972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22298
d22ca8cd
SP
22299 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22300 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22301 computations on mantissa. Use macros for rounding and
22302 division.
22303 (denorm): Likewise.
22304 (__dbl_mp): Likewise.
22305 (add_magnitudes): Likewise.
22306 (sub_magnitudes): Likewise.
22307 (__mul): Likewise.
22308 (__sqr): Likewise.
22309 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22310 powers of two in terms of TWOPOW macro.
22311 (mp_no): Make type of mantissa as MANTISSA_T.
22312 [!RADIXI]: Define RADIXI.
22313 [!TWO52]: Define TWO52.
22314 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22315
bcda9880
SP
22316 * manual/nptl.texi (cindex): Modify threads to pthreads.
22317
06d5adfb
JM
223182013-03-15 Joseph Myers <joseph@codesourcery.com>
22319
22320 * sysdeps/x86_64/preconfigure: Regenerated.
22321
41c7328e
JM
223222013-03-14 Joseph Myers <joseph@codesourcery.com>
22323
22324 [BZ #14155]
22325 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22326 0x1p28 and above.
22327 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22328 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22329 0x1p28 and above.
22330 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22331 * math/libm-test.inc (j0_test): Do not allow one spurious
22332 underflow exception.
22333 (y1_test): Likewise.
22334
e25cfa60
SP
223352013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22336
0409959c
SP
22337 * manual/Makefile (chapters): Add nptl.
22338 * manual/debug.texi (Debugging Support): Add link to Threads
22339 chapter.
22340 * manual/nptl.texi: New file.
22341
e25cfa60
SP
22342 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22343
58a1335e
PB
223442013-03-14 Petr Baudis <pasky@ucw.cz>
22345
22346 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22347 for non-NULL pointer before the memory validity test. Pointed
22348 out by Holger Brunck <holger.brunck@keymile.com>.
22349
9dc7c64f
AS
223502013-03-13 Andreas Schwab <schwab@suse.de>
22351
22352 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22353 instead of .os.
22354
54206aa6
JM
223552013-03-13 Joseph Myers <joseph@codesourcery.com>
22356
22357 * timezone/zic.c: Update from tzcode 2013b.
22358
e98cdb38
CD
223592013-03-12 Carlos O'Donell <carlos@redhat.com>
22360
22361 * manual/install.texi (Configuring and compiling):
22362 Mention i686 and i586.
22363 * INSTALL: Regenerate.
22364
9967e003
RM
223652013-03-12 Roland McGrath <roland@hack.frob.com>
22366
22367 * sysdeps/init_array/elf-init.c: New file.
22368 * csu/elf-init.c
22369 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22370 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22371
22372 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22373 __gmon_start__ as global, but as static with a .preinit_array pointer.
22374 * sysdeps/init_array/gmon-start.c: New file. Use that.
22375 * sysdeps/init_array/crti.S: New file, empty except for comments.
22376 * sysdeps/init_array/crtn.S: Likewise.
22377
e6b5a293 223782013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22379
22380 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22381 definining bcopy.
80f844c9
OB
22382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22383 Remove Prefer_SSE_for_memop.
22384 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22385 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22386 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22388 memset-x86-64.
80f844c9 22389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22390 Remove bzero, memset ifunc support.
80f844c9
OB
22391 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22393 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22395
fb6b0fcb
AS
223962013-03-11 Andreas Schwab <schwab@suse.de>
22397
22398 [BZ #15234]
22399 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22400 by SHLIB_COMPAT.
22401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22402 (GLIBC_2.16): Remove pthread_atfork.
22403
3e6bd4b1
PP
224042013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22405
22406 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22407 (ptestcases.h): Likewise.
22408
222d7f00
RM
224092013-03-08 Roland McGrath <roland@hack.frob.com>
22410
22411 * Makeconfig ($(common-objpfx)config.status): Depend on
22412 sysdeps/*/preconfigure{,.in} too.
22413
1ba4f030
JM
224142013-03-08 Joseph Myers <joseph@codesourcery.com>
22415
a222d91a
JM
22416 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22417 (__free_hook): Use void * instead of __malloc_ptr_t.
22418 (__malloc_hook): Likewise.
22419 (__realloc_hook): Likewise.
22420 (__memalign_hook): Likewise.
22421 (__after_morecore_hook): Likewise.
22422 * malloc/arena.c (save_malloc_hook): Likewise.
22423 (save_free_hook): Likewise.
22424 * malloc/hooks.c (malloc_hook_ini): Likewise.
22425 (realloc_hook_ini): Likewise.
22426 (memalign_hook_ini): Likewise.
22427 * malloc/malloc.c (malloc_hook_ini): Likewise.
22428 (realloc_hook_ini): Likewise.
22429 (memalign_hook_ini): Likewise.
22430 (__free_hook): Likewise.
22431 (__malloc_hook): Likewise.
22432 (__realloc_hook): Likewise.
22433 (__memalign_hook): Likewise.
22434 (__libc_malloc): Likewise.
22435 (__libc_free): Likewise.
22436 (__libc_realloc): Likewise.
22437 (__libc_memalign): Likewise.
22438 (__libc_valloc): Likewise.
22439 (__libc_pvalloc): Likewise.
22440 (__libc_calloc): Likewise.
22441 (__posix_memalign): Likewise.
22442 * malloc/morecore.c (__sbrk): Likewise.
22443 (__default_morecore): Likewise.
22444
5cc45e10
JM
22445 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22446
dd54b864
JM
22447 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22448 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22449 __malloc_ptrdiff_t.
22450
1ba4f030
JM
22451 * malloc/malloc.h (__malloc_size_t): Remove macro.
22452 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22453 __malloc_size_t.
22454 (old_memalign_hook): Likewise.
22455 (old_realloc_hook): Likewise.
22456 (struct hdr): Likewise.
22457 (flood): Likewise.
22458 (mallochook): Likewise.
22459 (memalignhook): Likewise.
22460 (reallochook): Likewise.
22461 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22462 (tr_old_realloc_hook): Likewise.
22463 (tr_old_memalign_hook): Likewise.
22464 (tr_mallochook): Likewise.
22465 (tr_reallochook): Likewise.
22466 (tr_memalignhook): Likewise.
22467
edf66e57
AZ
224682013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22469
22470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22471 default_ldbl_pack and using as default implementation.
22472 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22473 implementation.
22474 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22475 redundant definition.
22476 (ldbl_insert_mantissa): Likewise.
22477 (ldbl_canonicalize): Likewise.
22478 (ldbl_nearbyint): Likewise.
22479 (ldbl_pack): Rename to ldbl_pack_ppc.
22480 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22481 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22482 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22483
6d9145d8
SP
224842013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22485
22486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22487 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22489 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22492 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22493 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22494
4dd4e157
AJ
224952013-03-07 Andreas Jaeger <aj@suse.de>
22496
22497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22498 bits/mman-linux.h.
22499
adbb8027
SP
225002013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22501
ce544b5b
SP
22502 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22503 Include mpa.h and declare __MPEXP.
22504 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22506 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22507 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22509 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22510 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22511
4cc149fd
SP
22512 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22513 (__slowpow): Use long double EXPL and LOGL functions to
22514 compute POW.
22515 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22516 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22517 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22518 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22519 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22521
e6ebd4a7
SP
22522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22523 intermediate variable to calculate exponent.
22524 (__sqr): Likewise.
22525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22526 Likewise.
22527 (__sqr): Likewise.
22528
82a9811d
SP
22529 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22530 [!NO__SQR]: Define __sqr.
22531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22532 and NO__SQR. Remove all code except __mul and __sqr. Include
22533 sysdeps/ieee754/dbl-64/mpa.c.
22534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22535
adbb8027
SP
22536 [BZ #12723]
22537 * posix/Makefile (tests): Add tst-pathconf.
22538 * posix/tst-pathconf.c: New test case.
22539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22540 _PC_PIPE_BUF.
22541 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22542
39120df9
PF
225432013-03-06 Patsy Franklin <pfrankli@redhat.com>
22544
22545 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22546
67525cb8
AJ
225472013-03-06 Andreas Jaeger <aj@suse.de>
22548
664a9ce4
AJ
22549 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22550 definition via __MAP_ANONYMOUS.
22551
8e39047d
AJ
22552 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22553 it's not part of Linux headers.
22554
67525cb8
AJ
22555 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22556 (MAP_HUGE_MASK): Define.
22557
22558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22559 Define.
22560 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22562 Define.
22563 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22564 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22565 Define.
22566 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22568 Define.
22569 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22570
22571 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22572 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22573 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22574 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22575 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22576 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22577
22578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22579 Handle f2fs.
22580
22581 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22582 Handle f2fs and efivarfs.
22583
22584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22585 f2fs.
22586
22587 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22588 (EFIVARFS_MAGIC): Add.
22589 (F2FS_LINK_MAX): Add.
22590
e1b42695
PP
225912013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22592
22593 * stdio-common/vfprintf.c: Replace __builtin_expect with
22594 __glibc_unlikely.
22595
2d67d91a
JM
225962013-03-06 Joseph Myers <joseph@codesourcery.com>
22597
22598 [BZ #13550]
22599 * sysdeps/generic/bp-sym.h: Remove file.
22600 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22601 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22602 <bp-sym.h> and <bp-asm.h>.
22603 (__longjmp): Don't use BP_SYM.
22604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22605 and <bp-asm.h>.
22606 (memcpy): Don't use BP_SYM.
22607 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22608 <bp-sym.h> and <bp-asm.h>.
22609 (memcpy): Don't use BP_SYM.
22610 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22611 <bp-asm.h>.
22612 (memcpy): Don't use BP_SYM.
22613 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22614 <bp-asm.h>.
22615 (memset): Don't use BP_SYM.
22616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22618 (__bzero): Don't use BP_SYM.
22619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22621 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22622 <bp-sym.h> and <bp-asm.h>.
22623 (memcmp): Don't use BP_SYM. Remove comment about bounded
22624 pointers.
22625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22626 <bp-sym.h> and <bp-asm.h>.
22627 (memcpy): Don't use BP_SYM.
22628 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22629 <bp-sym.h> and <bp-asm.h>.
22630 (memset): Don't use BP_SYM.
22631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22633 (__bzero): Don't use BP_SYM.
22634 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22635 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22636 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22637 <bp-sym.h> and <bp-asm.h>.
22638 (strncmp): Don't use BP_SYM. Remove comment about bounded
22639 pointers.
22640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22641 <bp-sym.h> and <bp-asm.h>.
22642 (memcpy): Don't use BP_SYM.
22643 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22644 <bp-sym.h> and <bp-asm.h>.
22645 (memset): Don't use BP_SYM.
22646 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22647 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22648 (__bzero): Don't use BP_SYM.
22649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22652 <bp-sym.h> and <bp-asm.h>.
22653 (__memchr): Don't use BP_SYM.
22654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22655 <bp-sym.h> and <bp-asm.h>.
22656 (memcmp): Don't use BP_SYM. Remove comment about bounded
22657 pointers.
22658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22659 <bp-sym.h> and <bp-asm.h>.
22660 (memcpy): Don't use BP_SYM.
22661 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22662 <bp-sym.h> and <bp-asm.h>.
22663 (__mempcpy): Don't use BP_SYM.
22664 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22665 <bp-sym.h> and <bp-asm.h>.
22666 (__memrchr): Don't use BP_SYM.
22667 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22668 <bp-sym.h> and <bp-asm.h>.
22669 (memset): Don't use BP_SYM.
22670 (__bzero): Likewise.
22671 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22672 <bp-sym.h> and <bp-asm.h>.
22673 (__rawmemchr): Don't use BP_SYM.
22674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22675 <bp-sym.h> and <bp-asm.h>.
22676 (__STRCMP): Don't use BP_SYM.
22677 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22678 <bp-sym.h> and <bp-asm.h>.
22679 (strchr): Don't use BP_SYM.
22680 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22681 <bp-sym.h> and <bp-asm.h>.
22682 (__strchrnul): Don't use BP_SYM.
22683 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22684 <bp-sym.h> and <bp-asm.h>.
22685 (strlen): Don't use BP_SYM.
22686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22687 <bp-sym.h> and <bp-asm.h>.
22688 (strncmp): Don't use BP_SYM. Remove comment about bounded
22689 pointers.
22690 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22691 <bp-sym.h> and <bp-asm.h>.
22692 (__strnlen): Don't use BP_SYM.
22693 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22694 <bp-sym.h> and <bp-asm.h>.
22695 (__GI__setjmp): Don't use BP_SYM.
22696 (_setjmp): Likewise.
22697 (__sigsetjmp): Likewise.
22698 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22699 (L(start_addresses)): Don't use BP_SYM.
22700 (_start): Likewise.
22701 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22702 <bp-asm.h>.
22703 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22704 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22705 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22706 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22707 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22708 <bp-asm.h>.
22709 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22710 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22711 about bounded pointers.
22712 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22713 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22714 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22715 <bp-asm.h>.
22716 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22717 about bounded pointers. Remove GKM FIXME comments.
22718 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22720 <bp-asm.h>.
22721 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22722 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22723 Remove GKM FIXME comments.
22724 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22725 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22726 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22727 <bp-asm.h>.
22728 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22729 about bounded pointers. Remove GKM FIXME comment.
22730 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22731 and <bp-asm.h>.
22732 (strncmp): Don't use BP_SYM. Remove comment about bounded
22733 pointers.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22735 <bp-sym.h> and <bp-asm.h>.
22736 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22738 <bp-sym.h> and <bp-asm.h>.
22739 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22740 comment.
22741
cdcf361f
PP
227422013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22743
22744 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22745 call free(NULL).
22746
3c4a2b15
DM
227472013-03-05 David S. Miller <davem@davemloft.net>
22748
22749 * po/es.po: Update from translation team.
22750
cdcf361f 227512013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22752
22753 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22754 <bits/mman-linux.h>.
22755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22756 is fine.
22757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22758 <bits/mman-linux.h> to end of file.
22759 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22760 is fine.
22761 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22762 <bits/mman-linux.h> to end of file.
22763 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22764 is fine.
22765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22766 <bits/mman-linux.h> to end of file.
22767
22768 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22769 (MCL_CURRENT, MCL_FUTURE): Define here.
22770
5f67c04f
AK
227712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22772
8a4473cc 22773 [BZ #15232]
5f67c04f
AK
22774 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22775 attribute_hidden.
22776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22777
c3e94a95
AK
227782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22779
22780 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22781 fourth parameter needed for rt_sigprocmask syscall.
22782 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22783 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22784 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22785 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22786 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22787 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22788
cfb6382a
JM
227892013-03-04 Joseph Myers <joseph@codesourcery.com>
22790
22791 [BZ #13550]
22792 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22793 comment about bounded pointers.
22794 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22795 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22796
539d8e01
AJ
227972013-03-04 Andreas Jaeger <aj@suse.de>
22798
22799 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22800 common definitions.
22801
22802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22803 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22804 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22805 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22806 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22808
2e167a70 228092013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22810
22811 [BZ #15055]
22812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22813 __ieee754_sqrl instead of __sqrl.
22814
68508633
JM
228152013-03-01 Joseph Myers <joseph@codesourcery.com>
22816
22817 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22818 * sysdeps/powerpc/fpu_control.h: ... here.
22819 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22820 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22821 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22822 * sysdeps/powerpc/bits/mathinline.h: ... here.
22823
7775448e
RM
228242013-03-01 Roland McGrath <roland@hack.frob.com>
22825
22826 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22827 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22828 to just [NEED_DL_SYSINFO_DSO].
22829 * elf/dl-support.c: Likewise.
22830 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22831 * elf/rtld.c (dl_main): Likewise.
22832 * elf/setup-vdso.h (setup_vdso): Likewise.
22833 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22834 * sysdeps/unix/sysv/linux/dl-sysdep.c
22835 (_dl_discover_osversion): Likewise.
22836
4e9b5995
CD
228372013-03-01 Carlos O'Donell <carlos@redhat.com>
22838
22839 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22840 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22841
e23872c8
SP
228422013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22843
e5c74c63
SP
22844 * NEWS: Mention libm performance improvements and non-x86 PI
22845 futex support.
22846
e23872c8
SP
22847 * csu/libc-start.c (__pthread_initialize_minimal): Change
22848 function arguments.
22849 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22850
b5510883
JM
228512013-02-28 Joseph Myers <joseph@codesourcery.com>
22852
22853 [BZ #13550]
22854 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22855 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22856 <bp-sym.h> and <bp-asm.h>.
22857 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22858 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22859 and <bp-asm.h>.
22860 (memcpy): Don't use BP_SYM.
22861 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22862 <bp-asm.h>.
22863 (__mpn_add_n): Don't use BP_SYM.
22864 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22865 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22866 and <bp-asm.h>.
22867 (__mpn_addmul_1): Don't use BP_SYM.
22868 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22869 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22870 <bp-sym.h>.
22871 (_setjmp): Don't use BP_SYM.
22872 (__novmx_setjmp): Likewise.
22873 (__GI__setjmp): Likewise.
22874 (__vmx_setjmp): Likewise.
22875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22876 <bp-sym.h>.
22877 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22878 (__bzero): Don't use BP_SYM.
22879 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22880 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22881 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22882 <bp-sym.h> and <bp-asm.h>.
22883 (memcpy): Don't use BP_SYM.
22884 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22885 <bp-sym.h> and <bp-asm.h>.
22886 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22887 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22888 <bp-sym.h> and <bp-asm.h>.
22889 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22890 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22891 <bp-asm.h>.
22892 (__mpn_lshift): Don't use BP_SYM.
22893 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22894 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22895 <bp-asm.h>.
22896 (memset): Don't use BP_SYM.
22897 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22898 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22899 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22900 <bp-asm.h>.
22901 (__mpn_mul_1): Don't use BP_SYM.
22902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22904 <bp-sym.h> and <bp-asm.h>.
22905 (memcmp): Don't use BP_SYM.
22906 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22907 <bp-sym.h> and <bp-asm.h>.
22908 (memcpy): Don't use BP_SYM.
22909 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22910 <bp-sym.h> and <bp-asm.h>.
22911 (memset): Don't use BP_SYM.
22912 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22913 <bp-sym.h> and <bp-asm.h>.
22914 (strncmp): Don't use BP_SYM.
22915 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22916 <bp-sym.h> and <bp-asm.h>.
22917 (memcpy): Don't use BP_SYM.
22918 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22919 <bp-sym.h> and <bp-asm.h>.
22920 (memset): Don't use BP_SYM.
22921 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22922 <bp-sym.h> and <bp-asm.h>.
22923 (__memchr): Don't use BP_SYM.
22924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22925 <bp-sym.h> and <bp-asm.h>.
22926 (memcmp): Don't use BP_SYM.
22927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22928 <bp-sym.h> and <bp-asm.h>.
22929 (memcpy): Don't use BP_SYM.
22930 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22931 <bp-sym.h> and <bp-asm.h>.
22932 (__mempcpy): Don't use BP_SYM.
22933 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22934 <bp-sym.h> and <bp-asm.h>.
22935 (__memrchr): Don't use BP_SYM.
22936 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22937 <bp-sym.h> and <bp-asm.h>.
22938 (memset): Don't use BP_SYM.
22939 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22940 <bp-sym.h> and <bp-asm.h>.
22941 (__rawmemchr): Don't use BP_SYM.
22942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22943 <bp-sym.h> and <bp-asm.h>.
22944 (__STRCMP): Don't use BP_SYM.
22945 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22946 <bp-sym.h> and <bp-asm.h>.
22947 (strchr): Don't use BP_SYM.
22948 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22949 <bp-sym.h> and <bp-asm.h>.
22950 (__strchrnul): Don't use BP_SYM.
22951 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22952 <bp-sym.h> and <bp-asm.h>.
22953 (strlen): Don't use BP_SYM.
22954 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22955 <bp-sym.h> and <bp-asm.h>.
22956 (strncmp): Don't use BP_SYM.
22957 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22958 <bp-sym.h> and <bp-asm.h>.
22959 (__strnlen): Don't use BP_SYM.
22960 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22961 <bp-asm.h>.
22962 (__mpn_rshift): Don't use BP_SYM.
22963 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22964 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22965 <bp-sym.h> and <bp-asm.h>.
22966 (__sigsetjmp): Don't use BP_SYM.
22967 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22968 (L(start_addresses)): Don't use BP_SYM.
22969 (_start): Likewise.
22970 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22971 <bp-asm.h>.
22972 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22973 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22974 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22975 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22976 <bp-asm.h>.
22977 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22978 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22979 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22980 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22981 <bp-asm.h>.
22982 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22983 comments.
22984 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22986 <bp-asm.h>.
22987 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22988 FIXME comments.
22989 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22990 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22991 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22992 <bp-asm.h>.
22993 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22994 comment.
22995 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22996 and <bp-asm.h>.
22997 (strncmp): Don't use BP_SYM,
22998 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22999 <bp-asm.h>.
23000 (__mpn_sub_n): Don't use BP_SYM.
23001 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23002 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23003 and <bp-asm.h>.
23004 (__mpn_submul_1): Don't use BP_SYM.
23005 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23012 comment.
23013
8d19fe64
SP
230142013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23015
23016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23017 Use ZK to minimize writes to Z.
23018 (sub_magnitudes): Simplify code a bit.
23019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23020 Use ZK to minimize writes to Z.
23021 (sub_magnitudes): Simplify code a bit.
23022
85bd816a
RM
230232013-02-27 Roland McGrath <roland@hack.frob.com>
23024
23025 * csu/gmon-start.c: Add special exception to license text.
23026
b5977bf2
RH
230272013-02-27 Richard Henderson <rth@redhat.com>
23028
23029 * scripts/config.guess: Update from config.git.
23030 * scripts/config.sub: Likewise.
23031
11d6e2f2
SP
230322013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23033
09c14ed2
SP
23034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23035
a688864e
SP
23036 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23037
6295157a
SP
23038 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23039
b8de2202
SP
23040 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23041
11d6e2f2
SP
23042 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23043
7e80ddb8
RM
230442013-02-26 Roland McGrath <roland@hack.frob.com>
23045
23046 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23047 [$(build-shared = yes].
7e80ddb8 23048
7da6d9ed
SP
230492013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23050
45f05884
SP
23051 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23052 (__mul): Reduce iterations for calculating mantissa.
23053
2236d359
SP
23054 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23055 MPTWO.
23056 (__mpranred): Likewise.
23057
7da6d9ed
SP
23058 [BZ #15160]
23059 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23060 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23061
b7688c42
PE
230622013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23063
23064 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23065 Define __attribute__.
23066
53a5c423
SP
230672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23068
23069 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23070 unused.
23071 * posix/regex_internal.h (__attribute): Remove.
23072 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23073 (re_string_context_at): Likewise.
23074 (bitset_not): Use __attribute__ and mark function as possibly
23075 unused.
23076 (bitset_merge): Likewise.
23077 (bitset_mask): Likewise.
23078 (re_string_char_size_at): Likewise.
23079 (re_string_wchar_at): Likewise.
23080 (re_string_elem_size_at): Likewise.
23081
60f5a8b5
SP
230822013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23083
2a983a2e
SP
23084 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23085 code.
23086 (cc32): Likewise.
23087
e69804d1
SP
23088 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23089 (__acr): Likewise.
23090 (__cpy): Likewise.
23091 (norm): Likewise.
23092 (denorm): Likewise.
23093 (__dbl_mp): Likewise.
23094 (add_magnitudes): Likewise.
23095 (sub_magnitudes): Likewise.
23096 (__mul): Likewise.
23097 (__inv): Likewise.
23098
2f22a1e8
SP
23099 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23100 style.
23101
8930ddc7
SP
23102 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23103 style.
23104
dc60cb11
SP
23105 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23106 code.
23107
60f5a8b5
SP
23108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23109 up changes with default code.
23110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23111 Likewise.
23112
b4d1fd33
AM
231132013-02-24 Allan McRae <allan@archlinux.org>
23114
faf6f8bc
AM
23115 * manual/socket.texi (The Internet Namespace): Order menu items
23116 to match that in the file.
23117
b4d1fd33
AM
23118 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23119 node listing of the info page menu.
23120
2366713d
JM
231212013-02-21 Joseph Myers <joseph@codesourcery.com>
23122
23123 [BZ #13550]
23124 * sysdeps/i386/bp-asm.h: Remove file.
23125 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23126 (PARMS): Do not use macros from bp-asm.h.
23127 (S1): Likewise.
23128 (S2): Likewise.
23129 (SIZE): Likewise.
23130 (__mpn_add_n): Do not use BP_SYM
23131 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23132 "bp-asm.h".
23133 (PARMS): Do not use macros from bp-asm.h.
23134 (S1): Likewise.
23135 (SIZE): Likewise.
23136 (__mpn_addmul_1): Do not use BP_SYM
23137 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23138 "bp-asm.h".
23139 (PARMS): Do not use macros from bp-asm.h.
23140 (SIGMSK): Likewise.
23141 (_setjmp): Likewise. Do not use BP_SYM.
23142 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23143 "bp-asm.h".
23144 (PARMS): Do not use macros from bp-asm.h.
23145 (SIGMSK): Likewise.
23146 (setjmp): Likewise. Do not use BP_SYM.
23147 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23148 "bp-asm.h".
23149 (PARMS): Do not use macros from bp-asm.h.
23150 (__frexp): Do not use BP_SYM.
23151 (frexp): Likewise.
23152 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23153 "bp-asm.h".
23154 (PARMS): Do not use macros from bp-asm.h.
23155 (__frexpf): Do not use BP_SYM.
23156 (frexpf): Likewise.
23157 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23158 "bp-asm.h".
23159 (PARMS): Do not use macros from bp-asm.h.
23160 (__frexpl): Do not use BP_SYM.
23161 (frexpl): Likewise.
23162 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23163 "bp-asm.h".
23164 (PARMS): Do not use macros from bp-asm.h.
23165 (__remquo): Do not use BP_SYM.
23166 (remquo): Likewise.
23167 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23168 "bp-asm.h".
23169 (PARMS): Do not use macros from bp-asm.h.
23170 (__remquof): Do not use BP_SYM.
23171 (remquof): Likewise.
23172 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23173 "bp-asm.h".
23174 (PARMS): Do not use macros from bp-asm.h.
23175 (__remquol): Do not use BP_SYM.
23176 (remquol): Likewise.
23177 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23178 "bp-asm.h".
23179 (PARMS): Do not use macros from bp-asm.h.
23180 (DEST): Likewise.
23181 (SRC): Likewise.
23182 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23183 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23184 "bp-asm.h".
23185 (PARMS): Do not use macros from bp-asm.h.
23186 (strlen): Do not use BP_SYM.
23187 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23188 "bp-asm.h".
23189 (PARMS): Do not use macros from bp-asm.h.
23190 (S1): Likewise.
23191 (S2): Likewise.
23192 (SIZE): Likewise.
23193 (__mpn_add_n): Do not use BP_SYM.
23194 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23195 "bp-asm.h".
23196 (PARMS): Do not use macros from bp-asm.h.
23197 (S1): Likewise.
23198 (SIZE): Likewise.
23199 (__mpn_addmul_1): Do not use BP_SYM.
23200 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23201 weak_alias.
23202 (bzero): Likewise.
23203 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23204 "bp-asm.h".
23205 (PARMS): Do not use macros from bp-asm.h.
23206 (S): Likewise.
23207 (SIZE): Likewise.
23208 (__mpn_lshift): Do not use BP_SYM.
23209 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23210 "bp-asm.h".
23211 (PARMS): Do not use macros from bp-asm.h.
23212 (DEST): Likewise.
23213 (SRC): Likewise.
23214 (LEN): Likewise.
23215 (memcpy): Likewise. Do not use BP_SYM.
23216 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23217 libc_hidden_def and weak_alias.
23218 (mempcpy): Do not use BP_SYM in weak_alias.
23219 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23220 "bp-asm.h".
23221 (PARMS): Do not use macros from bp-asm.h.
23222 (DEST): Likewise.
23223 (LEN): Likewise.
23224 [!BZERO_P] (CHR): Likewise.
23225 (memset): Likewise. Do not use BP_SYM.
23226 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23227 "bp-asm.h".
23228 (PARMS): Do not use macros from bp-asm.h.
23229 (S1): Likewise.
23230 (SIZE): Likewise.
23231 (__mpn_mul_1): Do not use BP_SYM.
23232 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23233 "bp-asm.h".
23234 (PARMS): Do not use macros from bp-asm.h.
23235 (S): Likewise.
23236 (SIZE): Likewise.
23237 (__mpn_rshift): Do not use BP_SYM.
23238 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23239 "bp-asm.h".
23240 (PARMS): Do not use macros from bp-asm.h.
23241 (STR): Likewise.
23242 (CHR): Likewise.
23243 (strchr): Likewise. Do not use BP_SYM.
23244 (index): Do not use BP_SYM in weak_alias.
23245 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23246 "bp-asm.h".
23247 (PARMS): Do not use macros from bp-asm.h.
23248 (DEST): Likewise.
23249 (SRC): Likewise.
23250 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23251 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23252 "bp-asm.h".
23253 (PARMS): Do not use macros from bp-asm.h.
23254 (strlen): Do not use BP_SYM.
23255 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
23260 (SIZE): Likewise.
23261 (__mpn_sub_n): Do not use BP_SYM.
23262 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23263 "bp-asm.h".
23264 (PARMS): Do not use macros from bp-asm.h.
23265 (S1): Likewise.
23266 (SIZE): Likewise.
23267 (__mpn_submul_1): Do not use BP_SYM.
23268 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23269 "bp-asm.h".
23270 (PARMS): Do not use macros from bp-asm.h.
23271 (S1): Likewise.
23272 (S2): Likewise.
23273 (SIZE): Likewise.
23274 (__mpn_add_n): Do not use BP_SYM.
23275 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23276 weak_alias.
23277 (bzero): Likewise.
23278 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23279 "bp-asm.h".
23280 (PARMS): Do not use macros from bp-asm.h.
23281 (BLK2): Likewise.
23282 (LEN): Likewise.
23283 (memcmp): Do not use BP_SYM.
23284 (bcmp): Do not use BP_SYM in weak_alias.
23285 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23286 "bp-asm.h".
23287 (PARMS): Do not use macros from bp-asm.h.
23288 (DEST): Likewise.
23289 (SRC): Likewise.
23290 (LEN): Likewise.
23291 (memcpy): Likewise. Do not use BP_SYM.
23292 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23293 "bp-asm.h".
23294 (PARMS): Do not use macros from bp-asm.h.
23295 (DEST): Likewise.
23296 (SRC): Likewise.
23297 (LEN): Likewise.
23298 (memmove): Likewise. Do not use BP_SYM.
23299 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23300 "bp-asm.h".
23301 (PARMS): Do not use macros from bp-asm.h.
23302 (DEST): Likewise.
23303 (SRC): Likewise.
23304 (LEN): Likewise.
23305 (__mempcpy): Likewise. Do not use BP_SYM.
23306 (mempcpy): Do not use BP_SYM in weak_alias.
23307 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23308 "bp-asm.h".
23309 (PARMS): Do not use macros from bp-asm.h.
23310 (DEST): Likewise.
23311 (LEN): Likewise.
23312 [!BZERO_P] (CHR): Likewise.
23313 (memset): Likewise. Do not use BP_SYM.
23314 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23315 "bp-asm.h".
23316 (PARMS): Do not use macros from bp-asm.h.
23317 (STR2): Likewise.
23318 (strcmp): Do not use BP_SYM.
23319 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23320 "bp-asm.h".
23321 (PARMS): Do not use macros from bp-asm.h.
23322 (STR): Likewise.
23323 (DELIM): Likewise.
23324 [USE_AS_STRTOK_R] (SAVE): Likewise.
23325 (FUNCTION): Likewise. Do not use BP_SYM.
23326 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23327 aliases.
23328 (strtok_r): Likewise.
23329 (__GI___strtok_r): Likewise.
23330 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23331 (PARMS): Do not use macros from bp-asm.h.
23332 (S): Likewise.
23333 (SIZE): Likewise.
23334 (__mpn_lshift): Do not use BP_SYM.
23335 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23336 (PARMS): Do not use macros from bp-asm.h.
23337 (STR): Likewise.
23338 (CHR): Likewise.
23339 (__memchr): Do not use BP_SYM.
23340 (memchr): Do not use BP_SYM in weak_alias.
23341 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23342 (PARMS): Do not use macros from bp-asm.h.
23343 (BLK2): Likewise.
23344 (LEN): Likewise.
23345 (memcmp): Do not use BP_SYM.
23346 (bcmp): Do not use BP_SYM in weak_alias.
23347 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23348 (PARMS): Do not use macros from bp-asm.h.
23349 (S1): Likewise.
23350 (SIZE): Likewise.
23351 (__mpn_mul_1): Do not use BP_SYM.
23352 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23353 "bp-asm.h".
23354 (PARMS): Do not use macros from bp-asm.h.
23355 (STR): Likewise.
23356 (CHR): Likewise.
23357 (__rawmemchr): Do not use BP_SYM.
23358 (rawmemchr): Do not use BP_SYM in weak_alias.
23359 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23360 (PARMS): Do not use macros from bp-asm.h.
23361 (S): Likewise.
23362 (SIZE): Likewise.
23363 (__mpn_rshift): Do not use BP_SYM.
23364 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23365 (PARMS): Do not use macros from bp-asm.h.
23366 (SIGMSK): Likewise.
23367 (__sigsetjmp): Likewise. Do not use BP_SYM.
23368 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23369 (_start): Do not use BP_SYM.
23370 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23371 (PARMS): Do not use macros from bp-asm.h.
23372 (DEST): Likewise.
23373 (SRC): Likewise.
23374 (__stpcpy): Likewise. Do not use BP_SYM.
23375 (stpcpy): Do not use BP_SYM in weak_alias.
23376 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23377 "bp-asm.h".
23378 (PARMS): Do not use macros from bp-asm.h.
23379 (DEST): Likewise.
23380 (SRC): Likewise.
23381 (LEN): Likewise.
23382 (__stpncpy): Likewise. Do not use BP_SYM.
23383 (stpncpy): Do not use BP_SYM in weak_alias.
23384 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23385 (PARMS): Do not use macros from bp-asm.h.
23386 (STR): Likewise.
23387 (CHR): Likewise.
23388 (strchr): Likewise. Do not use BP_SYM.
23389 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23390 "bp-asm.h".
23391 (PARMS): Do not use macros from bp-asm.h.
23392 (STR): Likewise.
23393 (CHR): Likewise.
23394 (__strchrnul): Likewise. Do not use BP_SYM.
23395 (strchrnul): Do not use BP_SYM in weak_alias.
23396 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23397 "bp-asm.h".
23398 (PARMS): Do not use macros from bp-asm.h.
23399 (STOP): Likewise.
23400 (strcspn): Do not use BP_SYM.
23401 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23402 "bp-asm.h".
23403 (PARMS): Do not use macros from bp-asm.h.
23404 (STR): Likewise.
23405 (STOP): Likewise.
23406 (strpbrk): Likewise. Do not use BP_SYM.
23407 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23408 "bp-asm.h".
23409 (PARMS): Do not use macros from bp-asm.h.
23410 (STR): Likewise.
23411 (CHR): Likewise.
23412 (strrchr): Likewise. Do not use BP_SYM.
23413 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23414 (PARMS): Do not use macros from bp-asm.h.
23415 (SKIP): Likewise.
23416 (strspn): Do not use BP_SYM.
23417 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23418 (PARMS): Do not use macros from bp-asm.h.
23419 (STR): Likewise.
23420 (DELIM): Likewise.
23421 (SAVE): Likewise.
23422 (FUNCTION): Likewise. Do not use BP_SYM.
23423 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23424 aliases.
23425 (strtok_r): Likewise.
23426 (__GI___strtok_r): Likewise.
23427 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23428 (PARMS): Do not use macros from bp-asm.h.
23429 (S1): Likewise.
23430 (S2): Likewise.
23431 (SIZE): Likewise.
23432 (__mpn_sub_n): Do not use BP_SYM.
23433 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23434 "bp-asm.h".
23435 (PARMS): Do not use macros from bp-asm.h.
23436 (S1): Likewise.
23437 (SIZE): Likewise.
23438 (__mpn_submul_1): Do not use BP_SYM.
23439 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23440 <bp-sym.h>.
23441 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23442 and <bp-asm.h>.
23443 (PARMS): Do not use macros from bp-asm.h.
23444 (FLAGS): Likewise.
23445 (PTID): Likewise.
23446 (TLS): Likewise.
23447 (CTID): Likewise.
23448 (__clone): Do not use BP_SYM.
23449 (clone): Do not use BP_SYM in weak_alias.
23450 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23451 and <bp-asm.h>.
23452 (PARMS): Do not use macros from bp-asm.h.
23453 (LEN): Likewise.
23454 (__mmap64): Do not use BP_SYM.
23455 (mmap64): Do not use BP_SYM in weak_alias.
23456 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23457 <bp-sym.h> and <bp-asm.h>.
23458 (PARMS): Do not use macros from bp-asm.h.
23459 (__posix_fadvise64_l64): Do not use BP_SYM.
23460 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23461 (PARMS): Do not use macros from bp-asm.h.
23462 (NSOPS): Likewise.
23463 (semtimedop): Do not use BP_SYM.
23464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23465 and <bp-asm.h>.
23466
582a3cff
AM
234672013-02-21 Allan McRae <allan@archlinux.org>
23468
23469 * manual/message.texi (Charset conversion in gettext):
23470 Move @end statement to beginning of line.
23471
bab8a695
SP
234722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23473
80945231
SP
23474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23475 static.
23476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23477 Likewise.
23478
bab8a695
SP
23479 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23480 (denorm): Likewise.
23481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23483
e21d7aa7
AK
234842013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23485
23486 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23487 tail-call to the resolved function if pltexit isn't needed.
23488
4c7a4263
SP
234892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23490
23491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23492 or Y being zero as being unlikely.
23493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23494 Likewise.
23495
41f49342
CD
234962013-02-20 Carlos O'Donell <carlos@redhat.com>
23497
23498 * manual/nss.texi (System Databases and Name Service Switch):
23499 Remove frobnicate @pxref.
23500
50022a93
TS
235012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23502
23503 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23504 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23505
08cbd996
PM
235062013-02-20 Petr Machata <pmachata@redhat.com>
23507
23508 * elf/elf.h (R_ARM_TARGET1): New macro.
23509 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23510 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23511 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23512 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23513 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23514 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23515 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23516 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23517 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23518 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23519 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23520 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23521 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23522 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23523 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23524 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23525 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23526 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23527 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23528 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23529 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23530 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23531 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23532 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23533 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23534 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23535 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23536 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23537 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23538 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23539 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23540 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23541 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23542 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23543 (R_ARM_THM_GOT_BREL12): Likewise.
23544 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23545 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23546 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23547 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23548 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23549 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23550 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23551 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23552 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23553
c7b275d6
TS
235542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23555
23556 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23557 __attribute_used__ to __attribute__ ((unused)).
23558
20cd7fb3
SP
235592013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23560
23561 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23562 powerpc mpa.c.
23563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23564 comment formatting.
23565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23566
92945b52
JM
235672013-02-19 Joseph Myers <joseph@codesourcery.com>
23568
23569 [BZ #13550]
23570 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23571 Remove macro.
23572 (ENTER): Remove both macro definitions.
23573 (LEAVE): Likewise.
23574 (CHECK_BOUNDS_LOW): Likewise.
23575 (CHECK_BOUNDS_HIGH): Likewise.
23576 (CHECK_BOUNDS_BOTH): Likewise.
23577 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23578 (RETURN_BOUNDED_POINTER): Likewise.
23579 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23580 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23581 (POP_ERRNO_LOCATION_RETURN): Likewise.
23582 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23583 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23584 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23585 macros.
23586 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23587 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23588 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23589 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23590 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23591 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23592 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23593 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23594 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23595 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23596 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23597 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23598 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23599 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23600 removed macros.
23601 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23602 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23603 macros.
23604 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23605 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23606 * sysdeps/i386/i586/memset.S (memset): Likewise.
23607 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23609 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23610 macros.
23611 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23612 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23613 Change uses of L(2) to L(out).
23614 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23615 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23616 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23617 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23618 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23619 removed macros.
23620 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23621 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23622 macros.
23623 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23624 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23625 (RETURN): Do not use macro LEAVE.
23626 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23627 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23628 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23629 * sysdeps/i386/i686/memset.S (memset): Likewise.
23630 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23631 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23632 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23633 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23634 Likewise.
23635 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23636 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23637 L(1_2) and L(1_3) into L(1).
23638 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23639 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23640 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23641 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23642 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23643 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23644 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23646 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23647 macros.
23648 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23649 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23650 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23651 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23652 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23653 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23654 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23655 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23656 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23657 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23658 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23659 * sysdeps/i386/strspn.S (strspn): Likewise.
23660 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23661 conditional code.
23662 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23663 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23664 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23665 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23666 L(1_3) into L(1_1).
23667 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23668 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23669 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23670 macros.
23671 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23672
2389741a
JJ
236732013-02-19 Jakub Jelinek <jakub@redhat.com>
23674
23675 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23676 macro.
23677
2016b3cd
SP
236782013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23679
e4f22324
SP
23680 * math/atest-exp.c (exp_mpn): Remove ROUND.
23681 * math/atest-exp2.c (exp_mpn): Likewise.
23682 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23683
2016b3cd
SP
23684 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23685 * stdlib/tst-tls-atexit-lib.c: Likewise.
23686 * stdlib/tst-tls-atexit.c: Likewise.
23687
4be9b544
MF
236882013-02-18 Mike Frysinger <vapier@gentoo.org>
23689
23690 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23691 and __attribute_alloc_size__.
23692
2f62b9ee
MF
236932013-02-18 Mike Frysinger <vapier@gentoo.org>
23694
23695 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23696 __attribute_alloc_size__.
23697 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23698 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23699
6ff444c4
MF
237002013-02-18 Mike Frysinger <vapier@gentoo.org>
23701
23702 * include/programs/xmalloc.h: New file.
23703 * catgets/gencat.c: Include it.
23704 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23705 * elf/pldd.c: Likewise.
23706 * iconv/iconv_charmap.c: Likewise.
23707 * iconv/iconvconfig.c: Likewise.
23708 * iconv/strtab.c: Likewise.
23709 * locale/programs/locale.c: Likewise.
23710 * locale/programs/localedef.h: Likewise.
23711 * locale/programs/simple-hash.c: Likewise.
23712 * nscd/nscd.h: Likewise.
23713 * nss/makedb.c: Likewise.
23714 * sysdeps/generic/ldconfig.h: Likewise.
23715
be179c8a
SP
237162013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23717
ba384f6e
SP
23718 * Versions.def: Add GLIBC_2.18.
23719 * include/link.h (struct link_map): New member l_tls_dtor_count.
23720 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23721 (__call_tls_dtors): Likewise.
23722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23723 __cxa_thread_atexit_impl.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23725 Likewise.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23727 Likewise.
23728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23729 Likewise.
23730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23731 Likewise.
23732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23734 Likewise.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23736 Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23739 Likewise.
23740 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23741 (tests): Add test case tst-tls-atexit.
23742 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23743 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23744 (GLIBC_PRIVATE): Add __call_tls_dtors.
23745 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23746 for libstdc++.
23747 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23748 * stdlib/tst-tls-atexit.c: New test case.
23749 * stdlib/tst-tls-atexit-lib.c: New test case.
23750
ffaa74cf 23751 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23752
be179c8a
SP
23753 * elf/Versions (ld): Add _dl_find_dso_for_object.
23754 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23755 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23756 (dl_open_worker): Use _dl_find_dso_for_object.
23757 * elf/dl-sym.c (do_sym): Likewise.
23758 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23759
f78b5caa
AK
237602013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23761
23762 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23763 Syntactic changes only.
23764 (_dl_runtime_profile): Do a tail-call to the resolved function.
23765
29691210
JM
237662013-02-17 Joseph Myers <joseph@codesourcery.com>
23767
23768 [BZ #13550]
23769 * sysdeps/x86_64/bp-asm.h: Remove file.
23770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23771 <bp-sym.h> and <bp-asm.h>.
23772 (__clone): Do not use BP_SYM.
23773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23774 <bp-sym.h> and <bp-asm.h>.
23775 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23776 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23777 "bp-asm.h".
23778 (_setjmp): Do not use BP_SYM.
23779 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23780 "bp-asm.h".
23781 (setjmp): Do not use BP_SYM.
23782 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23783 libc_hidden_def.
23784 (mempcpy): Do not use BP_SYM in weak_alias.
23785 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23786 "bp-asm.h".
23787 (strchr): Do not use BP_SYM.
23788 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23789 "bp-asm.h".
23790 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23791 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23792 (_start): Do not use BP_SYM.
23793 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23794 "bp-asm.h".
23795 (strcat): Do not use BP_SYM.
23796 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23797 "bp-asm.h".
23798 (STRCMP): Do not use BP_SYM.
23799 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23800 "bp-asm.h".
23801 (STRCPY): Do not use BP_SYM.
23802 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23803 "bp-asm.h".
23804 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23805 "bp-asm.h".
23806 (FUNCTION): Do not use BP_SYM.
23807 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23808 weak_alias.
23809 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23810
f238fd19
AJ
238112013-02-17 Andreas Jaeger <aj@suse.de>
23812
23813 * time/Versions: Sort entries.
23814 * string/Versions: Likewise.
23815 * resolv/Versions: Likewise.
23816 * posix/Versions: Likewise.
23817 * iconv/Versions: Likewise.
23818 * elf/Versions: Likewise.
23819 * wcsmbs/Versions: Likewise.
23820
bd07f23c 238212013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23822
22af19f9
SP
23823 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23824 loop termination condition.
23825
4709fe76
SP
23826 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23827 variable to calculate EZ.
23828 (__sqr): Likewise.
2d0e0f29
SP
23829
23830 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23831 the lower precision input.
23832
daaa7713
JM
238332013-02-15 Joseph Myers <joseph@codesourcery.com>
23834
23835 [BZ #13550]
23836 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23837 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23838 (run-via-rtld-prefix): Do not handle %-bp tests.
23839 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23840 (all-object-suffixes): Remove .ob.
23841 (bppfx): Remove variable.
23842 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23843 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23844 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23845 [$(build-bounded) = yes] (libtype.ob): Likewise.
23846 * Makerules (elide-routines.ob): Remove variable.
23847 (do-tests-clean): Do not handle *-bp.out.
23848 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23849 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23850 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23851 (tests): Do not include $(tests-bp.out).
23852 (xtests): Do not include $(xtests-bp.out).
23853 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23854 [$(build-bounded) = yes] ($(addprefix
23855 $(objpfx),$(binaries-bounded))): Remove rule.
23856 ($(objpfx)%-bp.out): Remove rule.
23857 * config.make.in (build-bounded): Remove variable.
23858 * crypt/Makefile [$(build-bounded) = yes]
23859 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23860 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23861 append to variable.
23862 [$(build-bounded) = yes] (install-lib): Likewise.
23863 [$(build-bounded) = yes] (generated): Likewise.
23864 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23865 Remove rule.
23866 * intl/Makefile [$(build-bounded) = yes]
23867 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23868 * math/Makefile [$(build-bounded) = yes]
23869 ($(tests:%=$(objpfx)%-bp): Likewise.
23870 * misc/Makefile [$(build-bounded) = yes]
23871 ($(objpfx)tst-tsearch-bp): Likewise.
23872 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23873 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23874 Remove dependency.
23875 * string/Makefile (o-objects.ob): Remove variable.
23876 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23877 (CFLAGS-.ob): Remove variable.
23878 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23879 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23880 both definitions of variable.
23881 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23882 (ASFLAGS-.ob): Remove variable.
23883
e97ed6dd
JM
238842013-02-14 Joseph Myers <joseph@codesourcery.com>
23885
2bdd4ca6
JM
23886 [BZ #13550]
23887 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23888 Remove __BOUNDED_POINTERS__ from condition.
23889 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23890 * string/bits/string2.h [!__NO_STRING_INLINES &&
23891 !__BOUNDED_POINTERS__]: Likewise.
23892 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23893 Likewise.
23894 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23895 Remove conditional code.
23896 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23897 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23898 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23899 condition.
23900
e97ed6dd
JM
23901 [BZ #13550]
23902 * csu/libc-start.c: Do not include <bp-sym.h>.
23903 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23904 * elf/dl-open.c: Do not include <bp-sym.h>.
23905 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23906 * math/fegetenv.c: Do not include <bp-sym.h>.
23907 (fegetenv): Do not use BP_SYM in versioned symbols.
23908 * nptl/sysdeps/pthread/bits/libc-lockP.h
23909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23910 <bp-sym.h>.
23911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23912 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23914 (__pthread_mutex_destroy): Likewise.
23915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23916 (__pthread_mutex_lock): Likewise.
23917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23918 (__pthread_mutex_trylock): Likewise.
23919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23920 (__pthread_mutex_unlock): Likewise.
23921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23922 (__pthread_mutexattr_init): Likewise.
23923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23924 (__pthread_mutexattr_destroy): Likewise.
23925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23926 (__pthread_mutexattr_settype): Likewise.
23927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23928 (__pthread_rwlock_init): Likewise.
23929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23930 (__pthread_rwlock_destroy): Likewise.
23931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23932 (__pthread_rwlock_rdlock): Likewise.
23933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23934 (__pthread_rwlock_tryrdlock): Likewise.
23935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23936 (__pthread_rwlock_wrlock): Likewise.
23937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23938 (__pthread_rwlock_trywrlock): Likewise.
23939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23940 (__pthread_rwlock_unlock): Likewise.
23941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23942 (__pthread_key_create): Likewise.
23943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23944 (__pthread_setspecific): Likewise.
23945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23946 (__pthread_getspecific): Likewise.
23947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23948 Likewise.
23949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23950 (_pthread_cleanup_push_defer): Likewise.
23951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23952 (_pthread_cleanup_pop_restore): Likewise.
23953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23954 (pthread_setcancelstate): Likewise.
23955 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23956 <bp-sym.h>.
23957 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23958 (memchr): Do not use BP_SYM in weak_alias.
23959 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23960 (fegetenv): Do not use BP_SYM in versioned symbols.
23961 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23962 (fesetenv): Do not use BP_SYM in versioned symbols.
23963 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23964 (feupdateenv): Do not use BP_SYM in versioned symbols.
23965 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23966 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23967 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23968 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23969 (open64): Do not use BP_SYM in weak_alias.
23970 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23971 (fegetenv): Do not use BP_SYM in versioned symbols.
23972 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23973 (fesetenv): Do not use BP_SYM in versioned symbols.
23974 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23975 (feupdateenv): Do not use BP_SYM in versioned symbols.
23976 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23977 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23978 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23979 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23980 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23981 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23982 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23983 <bp-sym.h>.
23984 (__libc_start_main): Do not use BP_SYM.
23985
d6752ccd
SP
239862013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23987
cb57ce60
SP
23988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23989 redundant return line.
23990 (norm): Likewise.
23991 (denorm): Likewise.
23992 (dbl_mp): Likewise.
23993 (sub_magnitudes): Likewise.
23994 (__add): Likewise.
23995 (__sub): Likewise.
23996 (__mul): Likewise.
23997 (__inv): Likewise.
23998 (__dvd): Likewise.
23999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24000 (norm): Likewise.
24001 (denorm): Likewise.
24002 (dbl_mp): Likewise.
24003 (sub_magnitudes): Likewise.
24004 (__add): Likewise.
24005 (__sub): Likewise.
24006 (__mul): Likewise.
24007 (__inv): Likewise.
24008 (__dvd): Likewise.
24009
f414520d
SP
24010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24011 instead of __mul.
24012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24013 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24014 (cc32): Likewise.
24015
d6752ccd
SP
24016 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24017 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24019 of __mul for squares.
24020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24021 function
24022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24023 Likewise.
24024 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24025 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24026
70d9946a
JM
240272013-02-13 Joseph Myers <joseph@codesourcery.com>
24028
24029 [BZ #13550]
24030 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24031 code.
24032 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24033 prototype or function definition. Rename ubp_* variables and
24034 parameters. Remove argv definitions conditional on
24035 [__BOUNDED_POINTERS__].
24036 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24037 * elf/dl-runtime.c (_dl_fixup): Likewise.
24038 * include/set-hooks.h (RUN_HOOK): Likewise.
24039 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24040 definition.
24041 * string/strcpy.c (strcpy): Do not use __unbounded.
24042 * sysdeps/generic/frame.h (struct layout): Likewise.
24043 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24044 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24045 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24046 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24047 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24048 (__backtrace): Likewise.
24049 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24050 use __ptrvalue.
24051 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24052 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24053 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24054 Likewise.
24055 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24056 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24057 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24058 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24059 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24060 Do not use __unbounded.
24061 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24062 Rename __unboundedrlimits parameter to rlimits in prototype.
24063 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24064 Do not use __unbounded.
24065 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24066 not use __ptrvalue.
24067 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24068 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24069 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24070 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24071 __ptrvalue or __unbounded.
24072 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24073 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24074 use __unbounded.
24075 (__new_msgctl): Do not use __ptrvalue.
24076 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24077 __unbounded.
24078 (__libc_msgrcv): Do not use __ptrvalue.
24079 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24080 startup_info): Do not use __unbounded.
24081 (__libc_start_main): Likewise. Rename ubp_* variables and
24082 parameters. Remove argv definitions conditional on
24083 [__BOUNDED_POINTERS__].
24084 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24085 __ptrvalue.
24086 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24087 use __unbounded.
24088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24089 or __ptrvalue.
24090 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24091 use __unbounded.
24092 (__new_shmctl): Do not use __ptrvalue.
24093 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24094 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24095 Likewise.
24096 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24098 (__libc_sigaction): Likewise.
24099 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24101 Likewise.
24102 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24103
cc7834d6
OB
241042013-02-13 Ondřej Bílka <neleai@seznam.cz>
24105
ffb1ec7b 24106 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24107
24108 * string/mempcpy.c: Implement by calling memcpy.
24109
bdf02814
SP
241102013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24111
c2af38aa
SP
24112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24113
4e92d59e
SP
24114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24115 evaluation.
24116
909279a5
SP
24117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24118 values in the mantissa.
24119
bdf02814
SP
24120 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24121 minimize writes to Z.
24122 (sub_magnitudes): Simplify code a bit.
24123
cd525923
RM
241242013-02-12 Roland McGrath <roland@hack.frob.com>
24125
24126 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24127 from the message. The linker prefixes all warnings with that already.
24128
7e2f0d2d
AS
241292013-02-12 Andreas Schwab <schwab@suse.de>
24130
a445af0b
AS
24131 [BZ #15078]
24132 * posix/regexec.c (extend_buffers): Add parameter min_len.
24133 (check_matching): Pass minimum needed length.
24134 (clean_state_log_if_needed): Likewise.
24135 (get_subexp): Likewise.
24136 * posix/Makefile (tests): Add bug-regex34.
24137 (bug-regex34-ENV): Define.
24138 * posix/bug-regex34.c: New file.
24139
7e2f0d2d
AS
24140 [BZ #11561]
24141 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24142 elements compare against the byte sequence of it, not its name.
24143 * posix/Makefile (tests): Add bug-regex35.
24144 (bug-regex35-ENV): Define.
24145 * posix/bug-regex35.c: New file.
24146
a175b684
TV
241472013-02-11 Tom de Vries <tom@codesourcery.com>
24148
24149 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24150 comment.
24151 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24152 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24153 (CHECK_EOL): Add undef.
24154
310998fe 241552013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24156
24157 * bits/stdlib-bsearch.h: New file.
24158 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24159 * stdlib/stdlib.h: Likewise.
41eda41d 24160
8ded91fb
RM
241612013-02-11 Roland McGrath <roland@hack.frob.com>
24162
24163 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24164 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24165 declaration.
24166 * manual/search.texi (Array Search Function): Add missing const in
24167 lfind prototype.
24168 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24169 declaration to use rlim_t.
24170 (Basic Scheduling Functions): Remove erroneous const from
24171 sched_getparam prototype. Remove erroneous * from
24172 sched_get_priority_max and sched_get_priority_min prototypes.
24173 (Resource Usage): Fix summary @comment on vtimes to refer to
24174 sys/vtimes.h rather than vtimes.h.
24175 Add missing *s in vtimes prototype.
24176 (Limits on Resources): Fix ulimit prototype to return long int.
24177 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24178 prototypes to use long int rather than double.
24179 (BSD Random): Fix initstate and setstate to use char *, not void *.
24180 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24181 prototype to make second argument 'struct aiocb64 *const[]'.
24182 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24183 (Status of AIO Operations): Remove erroneous const in aio_return and
24184 aio_return64 prototypes.
24185 (Synchronizing I/O): Fix sync prototype to return void.
24186 * manual/startup.texi (Suboptions): Remove an erroneous const in
24187 getsubopt prototype.
24188 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24189 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24190 use size_t rather than int.
24191 (Scanning All Users): Likewise for getpwent_r.
24192 (Setting Groups): Add missing const to setgroups prototype.
24193 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24194 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24195 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24196 'const void *' rather than 'const char *'.
24197 (Host Address Functions): Likewise for inet_ntop.
24198 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24199 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24200 ssize_t for return value.
24201 (Sending Data): Likewise for send, sendto, sendmsg.
24202 (Socket Option Functions): Add a missing const in setsockopt prototype.
24203 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24204 use wchar_t for the argument.
24205 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24206 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24207 take no arguments.
24208 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24209 double/float/long double for second argument.
24210 Fix return types of significand, significandf, significandl.
24211 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24212 argument in fchmod prototype.
24213 (File Owner): Use uid_t and gid_t in fchown prototype.
24214 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24215 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24216 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24217 use 'const struct dirent **' as argument types to CMP function pointer
24218 argument.
24219 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24220 (File Times): Fix summary magic @comment for struct utimbuf and utime
24221 to refer to utime.h, not time.h.
24222 * manual/string.texi (Argz Functions): Add missing const in
24223 argz_extract and argz_next prototypes.
24224 (Finding Tokens in a String): Likewise for basename.
24225 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24226 (Copying and Concatenation): Fix typo in wmemmove prototype.
24227 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24228 (Signal Stack): Remove erroneous const in sigstack prototype.
24229 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24230 prototype.
24231 (Simple Calendar Time): Likewise for stime.
24232 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24233 prototype.
24234 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24235 say sys/sysctl.h instead.
24236 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24237 and vsyslog prototypes.
24238
fe77fe6d
TV
242392013-02-11 Tom de Vries <tom@codesourcery.com>
24240
24241 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24242 Remove.
24243
3a09b620
RM
242442013-02-11 Roland McGrath <roland@hack.frob.com>
24245
24246 * misc/sys/mman.h: Fix typo in mremap comment.
24247
550a0b89
RM
242482013-02-08 Roland McGrath <roland@hack.frob.com>
24249
24250 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24251 the '\0' terminator.
24252
a2da1673
JM
242532013-02-08 Joseph Myers <joseph@codesourcery.com>
24254
24255 [BZ #13550]
24256 * debug/segfault.c: Don't include <bp-checks.h>.
24257 * sysdeps/generic/bp-checks.h: Remove file.
24258 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24259 (__GETDENTS): Don't use CHECK_N.
24260 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24261 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24262 (__getgroups): Don't use CHECK_N.
24263 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24264 (setgroups): Don't use CHECK_N.
24265 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24266 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24267 (__libc_msgrcv): Don't use CHECK_N.
24268 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24269 (__libc_msgsnd): Don't use CHECK_N.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24271 <bp-checks.h>.
24272 (__libc_pread): Don't use CHECK_N.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24274 include <bp-checks.h>.
24275 (__libc_pread64): Don't use CHECK_N.
24276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24277 include <bp-checks.h>.
24278 (__libc_pwrite): Don't use CHECK_N.
24279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24280 include <bp-checks.h>.
24281 (__libc_pwrite64): Don't use CHECK_N.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24283 <bp-checks.h>.
24284 (__libc_pread): Don't use CHECK_N.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24286 include <bp-checks.h>.
24287 (__libc_pread64): Don't use CHECK_N.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24289 include <bp-checks.h>.
24290 (__libc_pwrite): Don't use CHECK_N.
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24292 include <bp-checks.h>.
24293 (__libc_pwrite64): Don't use CHECK_N.
24294 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24295 (do_pread): Don't use CHECK_N.
24296 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24297 (do_pread64): Don't use CHECK_N.
24298 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24299 (do_pwrite): Don't use CHECK_N.
24300 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24301 (do_pwrite64): Don't use CHECK_N.
24302 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24303 (__libc_readv): Don't use CHECK_N.
24304 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24305 (semop): Don't use CHECK_N.
24306 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24307 <bp-checks.h>.
24308 (semtimedop): Don't use CHECK_N.
24309 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24310 (__libc_pread): Don't use CHECK_N.
24311 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24312 <bp-checks.h>.
24313 (__libc_pread64): Don't use CHECK_N.
24314 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24315 <bp-checks.h>.
24316 (__libc_pwrite): Don't use CHECK_N.
24317 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24318 <bp-checks.h>.
24319 (__libc_pwrite64): Don't use CHECK_N.
24320 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24321 <bp-checks.h>.
24322 (__libc_msgrcv): Don't use CHECK_N.
24323 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24324 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24325 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24326 (__libc_writev): Don't use CHECK_N.
24327
b84660a8
RM
243282013-02-08 Roland McGrath <roland@hack.frob.com>
24329
7f3e75f8
RM
24330 * string/strcpy.c: Removed unused variable.
24331
b84660a8
RM
24332 * Makeconfig (+sysdep-includes): Define with := rather than =.
24333 Use an existing include/ subdir of each sysdeps dir before it.
24334
471514d3
CD
243352013-02-08 Carlos O'Donell <carlos@redhat.com>
24336
24337 * nscd/connection.c (register_traced_file): Comment function.
24338 [HAVE_INOTIFY] (union __inev): Define.
24339 [HAVE_INOTIFY] (inotify_check_files): New function.
24340 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24341 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24342 clear_db_cache.
24343 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24344
b2d3c3be
CD
243452013-02-08 Carlos O'Donell <carlos@redhat.com>
24346
24347 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24348 loaded if not already and that a failure is permanent.
24349
b39949d2
CD
243502013-02-08 Carlos O'Donell <carlos@redhat.com>
24351
ddacd1db 24352 [BZ #15006]
b39949d2
CD
24353 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24354 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24355
b2c9eff4
JM
243562013-02-08 Joseph Myers <joseph@codesourcery.com>
24357
f3aae3f3
JM
24358 [BZ #13550]
24359 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24360 (CHECK_1_NULL_OK): Likewise.
24361 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24362 (__fxstat): Do not use CHECK_1.
24363 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24364 <bp-checks.h>.
24365 (___fxstat64): Do not use CHECK_1.
24366 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24367 <bp-checks.h>.
24368 (__fxstatat): Do not use CHECK_1.
24369 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24370 <bp-checks.h>.
24371 (__fxstatat64): Do not use CHECK_1.
24372 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24373 <bp-checks.h>.
24374 (__fxstat): Do not use CHECK_1.
24375 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24376 <bp-checks.h>.
24377 (__fxstatat): Do not use CHECK_1.
24378 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24379 <bp-checks.h>.
24380 (__getresgid): Do not use CHECK_1.
24381 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24382 <bp-checks.h>.
24383 (__getresuid): Do not use CHECK_1.
24384 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24385 <bp-checks.h>.
24386 (__lxstat): Do not use CHECK_1.
24387 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24388 <bp-checks.h>.
24389 (__old_msgctl): Do not use CHECK_1.
24390 (__new_msgctl): Likewise.
24391 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24392 <bp-checks.h>.
24393 (__new_setrlimit): Do not use CHECK_1.
24394 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24395 <bp-checks.h>.
24396 (__old_shmctl): Do not use CHECK_1.
24397 (__new_shmctl): Likewise.
24398 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24399 <bp-checks.h>.
24400 (__xstat): Do not use CHECK_1.
24401 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24402 (__lxstat): Do not use CHECK_1.
24403 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24404 <bp-checks.h>.
24405 (___lxstat64): Do not use CHECK_1.
24406 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24407 (__old_msgctl): Do not use CHECK_1.
24408 (__new_msgctl): Likewise.
24409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24410 <bp-checks.h>.
24411 (__gettimeofday): Do not use CHECK_1.
24412 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24413 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24414 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24415 <bp-checks.h>.
24416 (__gettimeofday): Do not use CHECK_1.
24417 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24418 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24419 (__new_shmctl): Do not use CHECK_1.
24420 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24421 <bp-checks.h>.
24422 (do_sigtimedwait): Do not use CHECK_1.
24423 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24424 <bp-checks.h>.
24425 (do_sigwaitinfo): Do not use CHECK_1.
24426 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24427 <bp-checks.h>.
24428 (msgctl): Do not use CHECK_1.
24429 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24430 <bp-checks.h>.
24431 (shmctl): Do not use CHECK_1.
24432 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24433 (ustat): Do not use CHECK_1.
24434 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24435 <bp-checks.h>.
24436 (__fxstat): Do not use CHECK_1.
24437 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24438 <bp-checks.h>.
24439 (__fxstatat): Do not use CHECK_1.
24440 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24441 <bp-checks.h>.
24442 (__lxstat): Do not use CHECK_1.
24443 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24444 <bp-checks.h>.
24445 (__xstat): Do not use CHECK_1.
24446 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24447 (__xstat): Do not use CHECK_1.
24448 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24449 (___xstat64): Do not use CHECK_1.
24450
b2c9eff4
JM
24451 [BZ #13550]
24452 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24453 definitions.
24454 (CHECK_BOUNDS_HIGH): Likewise.
24455 * string/strcpy.c: Do not include <bp-checks.h>.
24456 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24457
f1d70dad
RM
244582013-02-07 Roland McGrath <roland@hack.frob.com>
24459
24460 * nscd/nscd-client.h (__nscd_drop_map_ref):
24461 Add __attribute__ ((unused)).
24462 * nis/nss-nisplus.h (niserr2nss): Likewise.
24463
24464 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24465 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24466
24467 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24468 Remove inline keyword.
24469 * include/rounding-mode.h (round_away): Likewise.
24470 * libio/wfileops.c (adjust_wide_data): Likewise.
24471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24472 (__m128i_strloadu_tolower): Likewise.
24473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24474 (__m128i_strloadu_tolower): Likewise.
24475 * time/mktime.c (ydhms_diff): Likewise.
24476 * locale/elem-hash.h (elem_hash): Likewise.
24477 * locale/setlocale.c (setdata): Likewise.
24478 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24479 (re_string_wchar_at): Likewise.
24480 (bitset_not, bitset_merge, bitset_mask): Likewise.
24481 [!(__GNUC__ > 3)] (inline): Remove macro.
24482 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24483 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24484 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24485 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24486 * string/memcmp.c (memcmp_bytes): Likewise.
24487 * locale/programs/locarchive.c (compute_hashval): Likewise.
24488 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24489 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24490 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24491 * nss/getent.c (print_rpc, print_protocols): Likewise.
24492 (print_passwd, print_group, print_aliases): Likewise.
24493 * nis/nss-nisplus.h (niserr2nss): Likewise.
24494 * nscd/connections.c (restart_p): Likewise.
24495 Change return type to bool.
24496
eab55bfb
RM
244972013-02-05 Roland McGrath <roland@hack.frob.com>
24498
7bd642f5
RM
24499 * Makeconfig (all-Depend-files): Add existing
24500 $(sorted-subdirs:=/Depend) files.
24501 (all-subdirs): Remove nss.
24502 * sysdeps/unix/inet/Subdirs: Add it here instead.
24503 * hesiod/Depend: New file.
24504
573c29b2
RM
24505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24506 instead of calling alloca.
24507
b2e25af0
RM
24508 * io/lseek.c (__lseek): Rename to __libc_lseek.
24509 Define __lseek as an alias.
24510
eab55bfb
RM
24511 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24512
9a0d1941
CD
245132013-02-04 Carlos O'Donell <carlos@redhat.com>
24514
24515 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24516 else clause and remove check for non-standard endianness.
24517
b83bbec4
DM
245182013-02-04 David S. Miller <davem@davemloft.net>
24519
24520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24521
6277fdab
JM
245222013-02-04 Joseph Myers <joseph@codesourcery.com>
24523
24524 [BZ #13550]
24525 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24526 (__ubp_memchr): Remove prototype.
24527 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24528 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24529 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24530 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24531 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24532 Remove alias.
24533 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24534 (__ubp_memchr): Likewise.
24535 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24536 (__ubp_memchr): Likewise.
24537 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24538 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24539 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24540 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24541 CHECK_STRING.
24542 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24543 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24544 (__getcwd): Do not use CHECK_STRING.
24545 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24546 <bp-checks.h>.
24547 (__real_chown): Do not use CHECK_STRING.
24548 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24549 <bp-checks.h>.
24550 (fchownat): Do not use CHECK_STRING.
24551 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24552 CHECK_STRING.
24553 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24554 <bp-checks.h>.
24555 (__lchown): Do not use CHECK_STRING.
24556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24557 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24558 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24559 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24561 include <bp-checks.h>.
24562 (truncate64): Do not use CHECK_STRING.
24563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24564 <bp-checks.h>.
24565 (__real_chown): Do not use CHECK_STRING.
24566 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24567 <bp-checks.h>.
24568 (__lchown): Do not use CHECK_STRING.
24569 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24570 <bp-checks.h>.
24571 (__chown): Do not use CHECK_STRING.
24572 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24573 <bp-checks.h>.
24574 (truncate64): Do not use CHECK_STRING.
24575 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24576 Likewise.
24577 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24578 (__xmknod): Do not use CHECK_STRING.
24579 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24580 <bp-checks.h>.
24581 (__xmknodat): Do not use CHECK_STRING.
24582 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24583 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24584
903ae060
AS
245852013-02-04 Andreas Schwab <schwab@suse.de>
24586
24587 [BZ #14142]
24588 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24589 * include/netdb.h: Likewise for h_errno.
24590 * elf/tst-stackguard1.c: Include <tls.h>.
24591
542f9466
JK
245922013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24593
24594 * elf/link.h (struct link_map): Extend the l_addr comment.
24595 * include/link.h (struct link_map): Likewise.
24596
e782a927
JM
245972013-02-01 Joseph Myers <joseph@codesourcery.com>
24598
24599 [BZ #13550]
24600 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24601 (BOUNDED_1): Remove macro.
24602 * debug/backtrace.c: Don't include <bp-checks.h>.
24603 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24604 (__backtrace): Likewise.
24605 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24606 <bp-checks.h>.
24607 (__backtrace): Don't use BOUNDED_1.
24608 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24609 <bp-checks.h>.
24610 (__backtrace): Don't use BOUNDED_1.
24611 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24612 (__backtrace): Don't use BOUNDED_1.
24613 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24614 (shmat): Don't use BOUNDED_N.
24615
8cf28c5e
JM
246162013-01-31 Joseph Myers <joseph@codesourcery.com>
24617
3a7ac8a0
JM
24618 [BZ #13550]
24619 * sysdeps/generic/bp-start.h: Remove file.
24620 * csu/libc-start.c: Don't include <bp-start.h>.
24621 (LIBC_START_MAIN): Set up __environ directly instead of using
24622 INIT_ARGV_and_ENVIRON.
24623 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24624 <bp-start.h>.
24625
f3499f95
JM
24626 [BZ #13550]
24627 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24628 definitions.
24629 (CHECK_FCNTL): Likewise.
24630 (CHECK_N_PAGES): Likewise.
24631
32a45bea
JM
24632 [BZ #13550]
24633 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24634 definitions.
24635 (CHECK_SIGSET_NULL_OK): Likewise.
24636 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24637 <bp-checks.h>.
24638 (sigpending): Don't use CHECK_SIGSET.
24639 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24640 <bp-checks.h>.
24641 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24642 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24643 <bp-checks.h>.
24644 (do_sigsuspend): Don't use CHECK_SIGSET.
24645 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24646 use CHECK_SIGSET.
24647 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24648 (do_sigwait): Don't use CHECK_SIGSET.
24649 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24650 use CHECK_SIGSET.
24651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24652 include <bp-checks.h>.
24653 (sigpending): Don't use CHECK_SIGSET.
24654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24655 include <bp-checks.h>.
24656 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24657 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24658 <bp-checks.h>.
24659 (sigpending): Don't use CHECK_SIGSET.
24660 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24661 <bp-checks.h>.
24662 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24663
2e8a5c8c
JM
24664 [BZ #13550]
24665 * sysdeps/generic/bp-semctl.h: Remove file.
24666 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24667 <bp-checks.h> and <bp-semctl.h>.
24668 (__old_semctl): Don't use CHECK_SEMCTL.
24669 (__new_semctl): Likewise.
24670 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24671 and <bp-semctl.h>.
24672 (__old_semctl): Don't use CHECK_SEMCTL.
24673 (__new_semctl): Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24675 <bp-checks.h> and <bp-semctl.h>.
24676 (__old_semctl): Don't use CHECK_SEMCTL.
24677 (__new_semctl): Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24679 <bp-checks.h> and <bp-semctl.h>.
24680 (semctl): Don't use CHECK_SEMCTL.
24681
c2d54929
JM
24682 [BZ #13550]
24683 * Makerules (elide-bp-thunks): Remove variable.
24684 (elide-routines.oS): Don't use $(elide-bp-thunks).
24685 (elide-routines.os): Likewise.
24686 (elide-routines.o): Likewise.
24687 (elide-routines.op): Likewise.
24688 (elide-routines.og): Likewise.
24689 (objects): Don't use $(bp-thunks).
24690 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24691 include.
24692 (common-generated): Do not add s-proto-bp.d.
24693 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24694 (int): Likewise.
24695 (typ): Likewise.
24696 Do not generate makefile rules for bounded-pointer thunks.
24697 * sysdeps/generic/bp-thunks.h: Remove file.
24698 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24699 * sysdeps/unix/s-proto-bp.S: Likewise.
24700
8cf28c5e
JM
24701 [BZ #15062]
24702 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24703 parts of result separately when argument is not close to line from
24704 -i to i and one part of argument is small.
24705 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24706 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24707 * math/libm-test.inc (cacos_test): Add more tests.
24708 (casin_test): Likewise.
24709 (casinh_test): Likewise.
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712
c4e33b8d
DM
247132013-01-31 David S. Miller <davem@davemloft.net>
24714
24715 * po/de.po: Update from translation team.
24716
3b60b421
MK
247172013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24718
24719 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24720
bb931195
TS
247212013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24722
b5a5da23
TS
24723 * configure.in (_AC_PROG_CC_C89): New definition.
24724 * configure: Regenerate.
24725
bb931195
TS
24726 * configure.in (AC_PROG_CPP): New definition.
24727 * configure: Regenerate.
24728
8c53a12c
JM
247292013-01-23 Joseph Myers <joseph@codesourcery.com>
24730
24731 * debug/tst-backtrace.h: New file.
24732 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24733 (ret): Remove variable.
24734 (x): Likewise.
24735 (FAIL): Remove macro.
24736 (NO_INLINE): Likewise.
24737 (fn1): Use match function instead of strstr.
24738 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24739 (ret): Remove variable.
24740 (x): Likewise.
24741 (FAIL): Remove macro.
24742 (NO_INLINE): Likewise.
24743 (fn): Use match function instead of strstr.
24744 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24745 (ret): Remove variable.
24746 (x): Likewise.
24747 (FAIL): Remove macro.
24748 (NO_INLINE): Likewise.
24749 (handle_signal): Use match function instead of strstr.
24750 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24751 (ret): Remove variable.
24752 (x): Likewise.
24753 (FAIL): Remove macro.
24754 (NO_INLINE): Likewise.
24755 (handle_signal): Use match function instead of strstr.
24756
4858fa2a
RM
247572013-01-23 Roland McGrath <roland@hack.frob.com>
24758
24759 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24760
bae8e7f5
DM
247612013-01-23 David S. Miller <davem@davemloft.net>
24762
24763 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24764 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24765 argument of CAS if possible.
24766 * sysdeps/sparc/sparc64/bits/atomic.h
24767 (__arch_compare_and_exchange_val_32_acq): Likewise.
24768 (__arch_compare_and_exchange_val_64_acq): Likewise.
24769
9cbbc4ae
PT
247702013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24771
24772 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24773 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24774 Include <limits.h>.
67b3f58c 24775 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24776
5655a0b5
AC
247772013-01-23 Adam Conrad <adconrad@0c3.net>
24778
24779 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24780 (LDFLAGS-tst-array5): Likewise.
24781
052aff95
JM
247822013-01-23 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #15036]
24785 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24786 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24787 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24788 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24789
7c1e01aa
DM
247902013-01-21 David S. Miller <davem@davemloft.net>
24791
24792 * sysdeps/sparc/backtrace.c: New file.
24793 * sysdeps/sparc/sparc32/backtrace.h: New file.
24794 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24795 * sysdeps/sparc/sparc64/backtrace.h: New file.
24796 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24797 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24798 -funwind-tables.
24799
ab087e0a
AS
248002013-01-21 Andreas Schwab <schwab@suse.de>
24801
24802 [BZ #15020]
24803 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24804 closed its stdout.
24805
ed689c2f
AS
248062013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24807
24808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24809 "mpa2.h".
24810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24811
31d470ac
JM
248122013-01-18 Joseph Myers <joseph@codesourcery.com>
24813 Mark Mitchell <mark@codesourcery.com>
24814 Tom de Vries <tom@codesourcery.com>
24815 Paul Pluzhnikov <ppluzhnikov@google.com>
24816
24817 * debug/tst-backtrace2.c: New file.
24818 * debug/tst-backtrace3.c: Likewise.
24819 * debug/tst-backtrace4.c: Likewise.
24820 * debug/tst-backtrace5.c: Likewise.
24821 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24822 (CFLAGS-tst-backtrace3.c): Likewise.
24823 (CFLAGS-tst-backtrace4.c): Likewise.
24824 (CFLAGS-tst-backtrace5.c): Likewise.
24825 (LDFLAGS-tst-backtrace2): Likewise.
24826 (LDFLAGS-tst-backtrace3): Likewise.
24827 (LDFLAGS-tst-backtrace4): Likewise.
24828 (LDFLAGS-tst-backtrace5): Likewise.
24829 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24830 tst-backtrace4 and tst-backtrace5.
24831
90567f30 248322013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24833 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24834
24835 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24836 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24837 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24838 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24840 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24841 "+r" and remove output regs list as redundant. Add explicit inline
24842 asm to specify register of return val to work around compiler codegen
24843 bug. Remove (int) cast on return value. Add return type parameter to
24844 use in macro so that this macro does not truncate return value for
24845 64-bit values.
24846 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24847 pass to INTERNAL_VSYSCALL_NCS.
24848 (INLINE_VSYSCALL): Add 'long int' as return type to
24849 INTERNAL_VSYSCALL_NCS macro invocation.
24850 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24851 INTERNAL_VSYSCALL_NCS macro invocation.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24853
d3b9ea61
SP
248542013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24855
0b57daeb
SP
24856 [BZ #14496]
24857 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24858 Fix application of SIMD FP exception mask.
24859
caa99d06
SP
24860 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24861 mp_no from a power of two.
24862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24863 __mpexp_twomm1. Use __pow_mp.
24864
d3b9ea61
SP
24865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24866 multiplication.
24867
1dbaee3c
DM
248682013-01-17 David S. Miller <davem@davemloft.net>
24869
24870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24871
728d7b43
JM
248722013-01-17 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #15023]
24875 * include/complex.h: Condition contents on [!_COMPLEX_H].
24876 (__kernel_casinhf): New prototype.
24877 (__kernel_casinh): Likewise.
24878 (__kernel_casinhl): Likewise.
24879 * math/Makefile (libm_calls): Add k_casinh.
24880 * math/k_casinh.c: New file.
24881 * math/k_casinhf.c: Likewise.
24882 * math/k_casinhl.c: Likewise.
24883 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24884 finite nonzero arguments.
24885 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24886 finite nonzero arguments.
24887 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24888 finite nonzero arguments.
24889 * math/s_casinh.c: Do not include <float.h>.
24890 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24891 * math/s_casinhf.c: Do not include <float.h>.
24892 (__casinhf): Move code for finite nonzero arguments to
24893 k_casinhf.c.
24894 * math/s_casinhl.c: Do not include <float.h>.
24895 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24896 redefine.
24897 (__casinhl): Move code for finite nonzero arguments to
24898 k_casinhl.c.
24899 * math/libm-test.inc (cacos_test): Add more tests.
24900 * sysdeps/i386/fpu/libm-test-ulps: Update.
24901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24902
2a26ef3a
PT
249032013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24904
24905 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24906 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24907 [!HAVE_MREMAP]: Remove [defined linux] case.
24908 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24909
a897655d
SP
249102013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24911
24912 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24913
881ebe89 249142013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24915
24916 * elf/elf.h (R_386_SIZE32): New relocation.
24917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24918 R_386_SIZE32.
24919 (elf_machine_rela): Likewise.
24920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24921 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24922
59981e9b
JM
249232013-01-17 Joseph Myers <joseph@codesourcery.com>
24924
24925 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24926 (FP_FAST_FMA): Do not define.
24927 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24928 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24929 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24930 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24931 !_SOFT_FLOAT]: Likewise.
24932 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24934 value.
24935 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24936 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24937 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24938 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24939 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24940 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24941 file.
24942
cfa8054f
AS
249432013-01-16 Andreas Schwab <schwab@suse.de>
24944
24945 [BZ #14327]
24946 * include/stdlib.h (__mktemp): Add declaration.
24947 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24948 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24949
dd930cc5
SP
249502013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24951
881ebe89
SP
24952 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24953 definitions.
24954 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24955 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24956 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24957 definitions here.
24958 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24959 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24960 definitions.
24961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24962 and ONE.
24963 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24964 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24966 definitions.
24967 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24968 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24969 definitions.
24970 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24971
dd930cc5
SP
24972 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24973
c19a9f89
DM
249742013-01-15 David S. Miller <davem@davemloft.net>
24975
1aa61767
DM
24976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24977 trunc{,f} to libm-sysdep_routes.
24978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24980 file.
24981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24983 file.
24984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24985 file.
24986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24988 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24989 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24990 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24991 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24992 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24993 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24994
c42d5e98
DM
24995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24996 nearbyint{,f} to libm-sysdep_routes.
24997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24999 New file.
25000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25001 file.
25002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25003 New file.
25004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25005 file.
25006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25009 file.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25012 file.
25013 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25014 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25015 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25016
c19a9f89
DM
25017 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25018 libc_feholdexcept and libc_fesetenv.
25019
357679d2
MF
250202013-01-15 Mike Frysinger <vapier@gentoo.org>
25021
25022 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25023
65a82e3d
DM
250242013-01-14 David S. Miller <davem@davemloft.net>
25025
8b954ab9
DM
25026 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25027 (SPARC_ASM_VIS2_IFUNC): Likewise.
25028 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25030 use of 'siam' instruction.
25031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25032 Likewise.
25033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25034 Likewise.
25035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25036 Likewise.
25037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25042 file.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25044 file.
25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25046 file.
25047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25048 file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25054 new VIS2 routines.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25058 Likewise.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25064 routines to libm-sysdep_routines.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25066
65a82e3d
DM
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25068 fdim/fdimf to libm-sysdep_routines.
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25070 file.
25071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25073 file.
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25077 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25078 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25079 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25080 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25081
e34ab705
SP
250822013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25083
2a91b573
SP
25084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25085 to optimize copies.
25086
1066a534
SP
25087 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25090
e34ab705
SP
25091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25092 local variable MPTWO.
25093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25094 Likewise.
25095
aba5e596
MF
250962013-01-13 Mike Frysinger <vapier@gentoo.org>
25097
25098 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25099 GLOB_NOESCAPE.
25100
e557e9e5
MF
251012013-01-13 Mike Frysinger <vapier@gentoo.org>
25102
25103 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25104
0428cec9
MF
251052013-01-13 Mike Frysinger <vapier@gentoo.org>
25106
25107 * manual/pattern.texi (glob_t): Document gl_flags.
25108 (glob64_t): Likewise.
25109
8794a964
DM
251102013-01-11 David S. Miller <davem@davemloft.net>
25111
66438c3f
RM
25112 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25113 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25114 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25115 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25116 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25117 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25118 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25119 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25120 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25121 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25122 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25123 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25124 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25125
4ae4244d
DM
25126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25127 sparc V9 rather than using V8 code.
25128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25130
8794a964
DM
25131 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25132 Move to...
25133 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25134 Here.
25135
6270516e
RM
251362013-01-11 Roland McGrath <roland@hack.frob.com>
25137
25138 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25139 not in the main loop.
25140 * configure: Regenerated.
25141
6a57d931
JM
251422013-01-11 Joseph Myers <joseph@codesourcery.com>
25143
25144 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25145 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25146 to just #else.
25147 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25148 [!__GLIBC_HAVE_LONG_LONG] case.
25149 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25150 condition to just #else.
25151 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25152 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25153 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25154 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25155 unconditional.
25156 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25157 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25158 #elif condition to just #else.
25159 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25160 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25161 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25162 #elif condition to just #else.
25163
0e8529e9
SE
251642013-01-11 Steve Ellcey <sellcey@mips.com>
25165
25166 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25167 (EF_MIPS_ARCH_64): Fix value.
25168 (EF_MIPS_ARCH_32R2): New.
25169 (EF_MIPS_ARCH_64R2): New.
25170
740b3dbe
L
251712013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25172
25173 * Makeconfig (+link-pie-before-libc): New.
25174 (+link-pie-after-libc): Likewise.
25175 (+link-pie-tests): Likewise.
25176 (+link-pie): Rewritten.
25177 (link-before-libc): Remove $(config-LDFLAGS).
25178 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25179 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25180 (config-LDFLAGS): Renamed to ...
25181 (rtld-LDFLAGS): This.
25182 (rtld-tests-LDFLAGS): New macro.
25183 (link-libc-rpath-link): Likewise.
25184 (link-libc-tests-rpath-link): Likewise.
25185 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25186 (link-libc): Prepand $(link-libc-rpath-link).
25187 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25188 (test-program-prefix): New macro.
25189 (test-via-rtld-prefix): Likewise.
25190 (test-program-cmd): Likewise.
25191 (host-test-program-cmd): Likewise.
25192 * Makefile ($(common-objpfx)testrun.sh): Replace
25193 $(run-program-prefix) with $(test-program-prefix).
25194 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25195 $(rtld-LDFLAGS).
25196 ($(common-objpfx)shlib.lds): Likewise.
25197 (build-module-helper): Likewise.
25198 ($(common-objpfx)format.lds): Likewise.
25199 * Rules (binaries-pie-tests): New.
25200 (binaries-pie-notests): Likewise.
25201 (binaries-pie): Rewritten.
25202 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25203 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25204 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25205 (make-test-out): Replace $(host-built-program-cmd) with
25206 $(host-test-program-cmd).
25207 * config.make.in (build-hardcoded-path-in-tests): New variable.
25208 * configure.in (--enable-hardcoded-path-in-tests): New configure
25209 option.
25210 (hardcoded_path_in_tests): New AC_SUBST.
25211 * configure: Regenerated.
25212 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25213 $(built-program-cmd) with $(test-program-cmd).
25214 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25215 (test_program_cmd): This.
25216 * elf/Makefile ($(objpfx)order.out): Run test with
25217 $(test-program-prefix).
25218 ($(objpfx)order2.out): Likewise.
25219 ($(objpfx)tst-initorder.out): Likewise.
25220 ($(objpfx)tst-initorder2.out): Likewise.
25221 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25222 $(test-program-cmd).
25223 ($(objpfx)tst-array1-static.out): Likewise.
25224 ($(objpfx)tst-array2.out): Likewise.
25225 ($(objpfx)tst-array3.out): Likewise.
25226 ($(objpfx)tst-array4.out): Likewise.
25227 ($(objpfx)tst-array5.out): Likewise.
25228 ($(objpfx)tst-array5-static.out): Likewise.
25229 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25230 $(test-program-cmd).
25231 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25232 $(run-program-prefix) with $(test-program-prefix).
25233 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25234 (test_program_prefix): This.
25235 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25236 $(run-program-prefix) with $(test-program-prefix).
25237 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25238 (test_program_prefix): This.
25239 * iconvdata/tst-tables.sh: Likewise.
25240 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25241 $(run-program-prefix) with $(test-program-prefix).
25242 ($(objpfx)tst-translit.out): Likewise.
25243 ($(objpfx)tst-gettext2.out): Likewise.
25244 ($(objpfx)tst-gettext4.out): Likewise.
25245 ($(objpfx)tst-gettext6.out): Likewise.
25246 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25247 (test_program_prefix): This.
25248 * intl/tst-gettext2.sh: Likewise.
25249 * intl/tst-gettext4.sh Likewise.
25250 * intl/tst-gettext6.sh: Likewise.
25251 * intl/tst-translit.sh: Likewise.
25252 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25253 with $(test-program-cmd).
25254 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25255 $(run-program-prefix) with $(test-program-prefix).
25256 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25257 (test_program_prefix): This.
25258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25259 $(run-program-prefix) with $(test-program-prefix).
25260 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25261 (test_program_prefix): This.
25262 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25263 * posix/Makefile ($(objpfx)globtest.out): Replace
25264 $(run-via-rtld-prefix) and $(test-wrapper) with
25265 $(test-program-prefix) and $(test-via-rtld-prefix).
25266 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25267 $(test-program-prefix).
25268 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25269 $(host-test-program-cmd).
25270 (tst-spawn-ARGS): Likewise.
25271 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25272 $(test-program-prefix).
25273 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25274 (test_via_rtld_prefix): This.
25275 (test_wrapper): Renamed to ...
25276 (test_program_prefix): This.
25277 (run_program_prefix): Replaced by test_program_prefix.
25278 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25279 (test_program_prefix): This.
25280 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25281 with $(host-test-program-cmd).
25282 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25283 $(run-program-prefix) with $(test-program-prefix).
25284 ($(objpfx)tst-printf.out): Likewise.
25285 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25286 $(test-program-cmd).
25287 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25288 (test_program_prefix): This.
25289 * stdio-common/tst-unbputc.sh: Likewise.
25290 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25291 $(run-program-prefix) with $(test-program-prefix).
25292 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25293 (test_program_prefix): This.
25294 * string/Makefile ($(objpfx)tst-svc.out): Replace
25295 $(built-program-cmd) with $(test-program-cmd).
25296
c6fe55cf
AJ
252972013-01-11 Andreas Jaeger <aj@suse.de>
25298
25299 [BZ #15003]
25300 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25301 value. Sync with Linux 3.7.
25302
9e6919c8
DM
253032013-01-10 David S. Miller <davem@davemloft.net>
25304
25305 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25306 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25307 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25308
1c9f1a02
RM
253092013-01-10 Roland McGrath <roland@hack.frob.com>
25310
25311 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25312 never set.
25313 * configure: Regenerated.
25314
b9de2dde
DM
253152013-01-10 David S. Miller <davem@davemloft.net>
25316
25317 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25318 sparc V9 rather than using V8 code.
25319 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25320 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25321
e7f68ef4
RM
253222013-01-10 Roland McGrath <roland@hack.frob.com>
25323
25324 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25325 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25326 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25327 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25328 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25329 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25330 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25331 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25332 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25333 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25334 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25335 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25336 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25337 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25338 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25339 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25340 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25341 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25342 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25343 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25344 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25345 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25346 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25347 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25348 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25349 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25350 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25351
5a47cc9c
DM
253522013-01-10 David S. Miller <davem@davemloft.net>
25353
25354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25355
4cf8f209
L
253562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25357
25358 * posix/Makefile (tests-static): New variable.
25359 (tests): Add $(tests-static).
25360 (tst-exec-static-ARGS): New variable.
25361 (tst-spawn-static-ARGS): Likewise.
25362 * posix/tst-exec-static.c: New file.
25363 * posix/tst-spawn-static.c: Likewise.
25364 * posix/tst-exec.c: Support run directly.
25365 * posix/tst-spawn.c: Likewise.
25366
fed0faa1
JM
253672013-01-10 Joseph Myers <joseph@codesourcery.com>
25368
828beb13
JM
25369 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25370 long.
25371 * math/bits/mathcalls.h (llrint): Likewise.
25372 (llround): Likewise.
25373 * stdlib/stdlib.h (struct drand48_data): Likewise.
25374 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25375 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25376 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25377 Likewise.
25378 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25379 Likewise.
25380 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25381 (elf_greg_t): Likewise.
25382 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25383 (__jmp_buf): Likewise.
25384 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25385 definitions.
25386 (llrint): Likewise, for all definitions.
25387 (llrintl): Likewise.
25388
fed0faa1
JM
25389 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25390 Remove [__GNUC__] condition.
25391 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25392 condition to just [__USE_ISOC99].
25393 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25394
1a20cb20
L
253952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25396
25397 [BZ #14200]
25398 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25399 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25400 defined.
25401 (_POSIX_V6_ILP32_OFF32): Likewise.
25402 (_XBS5_ILP32_OFF32): Likewise.
25403 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25404 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25405
751b85f7
SP
254062013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25407
7490eb81
SP
25408 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25409
751b85f7
SP
25410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25411 doubles __mpexp_twomm1. Adjust usage.
25412 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25413 Remove.
25414
988197f0
AS
254152013-01-10 Andreas Schwab <schwab@suse.de>
25416
25417 [BZ #14964]
25418 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25419 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25420
e83d7298
DM
254212013-01-09 David S. Miller <davem@davemloft.net>
25422
034ed64b 25423 [BZ #15003]
57f41c40
AS
25424 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25425 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25426 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25427 (TCP_FASTOPEN): Define.
e83d7298
DM
25428 (tcp_repair_opt): New structure.
25429 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25430 enum values.
57f41c40
AS
25431 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25432 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25433 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25434 (tcp_cookie_transactions): New structure.
25435
d5e0b9bd
AB
254362013-01-09 Anton Blanchard <anton@samba.org>
25437
25438 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25439 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25441 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25442
0c07e3ea
JM
254432013-01-09 Joseph Myers <joseph@codesourcery.com>
25444
25445 * include/features.h (__USE_ANSI): Remove.
25446
232f7002
RM
254472013-01-09 Roland McGrath <roland@hack.frob.com>
25448
ad98e30c
RM
25449 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25450
232f7002
RM
25451 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25452
950c99ca
SP
254532013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25454
b5792741
SP
25455 * sysdeps/s390/fpu/libm-test-ulps: Update.
25456
47cf2278
SP
25457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25458
950c99ca
SP
25459 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25460 (__acr): Likewise.
25461 (__cpy): Likewise.
25462 (norm): Likewise.
25463 (denorm): Likewise.
25464 (__mp_dbl): Likewise.
25465 (__dbl_mp): Likewise.
25466 (add_magnitudes): Likewise.
25467 (sub_magnitudes): Likewise.
25468 (__add): Likewise.
25469 (__sub): Likewise.
25470 (__mul): Likewise.
25471 (__inv): Likewise.
25472 (__dvd): Likewise.
25473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25474 (__acr): Likewise.
25475 (__cpy): Likewise.
25476 (norm): Likewise.
25477 (denorm): Likewise.
25478 (__mp_dbl): Likewise.
25479 (__dbl_mp): Likewise.
25480 (add_magnitudes): Likewise.
25481 (sub_magnitudes): Likewise.
25482 (__add): Likewise.
25483 (__sub): Likewise.
25484 (__mul): Likewise.
25485 (__inv): Likewise.
25486 (__dvd): Likewise.
25487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25488 (__acr): Likewise.
25489 (__cpy): Likewise.
25490 (norm): Likewise.
25491 (denorm): Likewise.
25492 (__mp_dbl): Likewise.
25493 (__dbl_mp): Likewise.
25494 (add_magnitudes): Likewise.
25495 (sub_magnitudes): Likewise.
25496 (__add): Likewise.
25497 (__sub): Likewise.
25498 (__mul): Likewise.
25499 (__inv): Likewise.
25500 (__dvd): Likewise.
25501
eede9df9
JM
255022013-01-08 Joseph Myers <joseph@codesourcery.com>
25503
25504 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25505 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25506 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25507 2 && __USE_EXTERN_INLINES]: Likewise.
25508
c40ea3d9
AJ
255092013-01-08 Andreas Jaeger <aj@suse.de>
25510
25511 [BZ# 14985]
25512 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25513 Remove.
25514 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25516
2ccdea26
AB
255172013-01-07 Anton Blanchard <anton@samba.org>
25518
25519 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25520 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25521 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25522 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25523 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25525 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25526 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25528 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25529 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25532 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25534 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25535 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25536 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25537 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25538 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25539 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25540 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25542 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25544 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25549 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25552 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25562
a9708fed
JM
255632013-01-07 Joseph Myers <joseph@codesourcery.com>
25564
375607b9
JM
25565 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25566 (__MALLOC_PMT): Likewise.
25567 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25568 [__GNUC__], only on [_LIBC].
25569 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25570 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25571 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25572 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25573 forward declaration.
25574 (realloc_hook_ini): Likewise.
25575 (memalign_hook_ini): Likewise.
25576 (__libc_memalign): Do not use __MALLOC_PMT in variable
25577 declaration.
25578 (__libc_valloc): Likewise.
25579 (__libc_pvalloc): Likewise.
25580 (__libc_calloc): Likewise.
25581 (__posix_memalign): Likewise.
25582
a9708fed
JM
25583 [BZ #14996]
25584 * math/s_casinh.c: Include <float.h>.
25585 (__casinh): Do not do computation with squaring and square root
25586 for large arguments.
25587 * math/s_casinhf.c: Include <float.h>.
25588 (__casinhf): Do not do computation with squaring and square root
25589 for large arguments.
25590 * math/s_casinhl.c: Include <float.h>.
25591 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25592 (__casinhl): Do not do computation with squaring and square root
25593 for large arguments.
25594 * math/libm-test.inc (casin_test): Add more tests.
25595 (casinh_test): Likewise.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25598
afec409a
L
255992013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25600
25601 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25602 (__x86_64_raw_data_cache_size): Likewise.
25603 (__x86_64_data_cache_size_half): Likewise.
25604 (__x86_64_raw_data_cache_size_half): Likewise.
25605 (__x86_64_shared_cache_size): Likewise.
25606 (__x86_64_raw_shared_cache_size): Likewise.
25607 (__x86_64_shared_cache_size_half): Likewise.
25608 (__x86_64_raw_shared_cache_size_half): Likewise.
25609 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25610 to ...
25611 (__x86_data_cache_size): This.
25612 (__x86_64_raw_data_cache_size): Renamed to ...
25613 (__x86_raw_data_cache_size): This.
25614 (__x86_64_data_cache_size_half): Renamed to ...
25615 (__x86_data_cache_size_half): This.
25616 (__x86_64_raw_data_cache_size_half): Renamed to ...
25617 (__x86_raw_data_cache_size_half): This.
25618 (__x86_64_shared_cache_size): Renamed to ...
25619 (__x86_shared_cache_size): This.
25620 (__x86_64_raw_shared_cache_size): Renamed to ...
25621 (__x86_raw_shared_cache_size): This.
25622 (__x86_64_shared_cache_size_half): Renamed to ...
25623 (__x86_shared_cache_size_half): This.
25624 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25625 (__x86_raw_shared_cache_size_half): This.
25626 * sysdeps/x86_64/memcpy.S: Updated.
25627 * sysdeps/x86_64/memset.S: Likewise.
25628 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25629 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25630 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25631
0b3986d0
DM
256322013-01-04 David S. Miller <davem@davemloft.net>
25633
25634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25635
e47686e9
AS
256362013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25637
d643bac1
AS
25638 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25639 1 to avoid redefinition warning.
25640 (__USE_GNU): Don't define.
25641 (init_signaling_nan): Protoize.
25642
e47686e9
AS
25643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25644
b18decba
SP
256452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25646
fffb407f
SP
25647 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25649 (__cpymn): Likewise.
25650 (norm): Remove commented code.
25651 (denorm): Likewise.
25652 (__mp_dbl): Likewise.
25653 (__inv): Likewise.
25654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25655 (__cpymn): Likewise.
25656 (norm): Remove commented code.
25657 (denorm): Likewise.
25658 (__mp_dbl): Likewise.
25659 (__inv): Likewise.
25660
b18decba
SP
25661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25662 mp_no value for 1.0 and 2.0.
25663 (norm): Use RADIXI instead of radixi.d.
25664 (denorm): Likewise.
25665 (__mul): Use 0.0 instead of zero.d.
25666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25667 mp_no value for 1.0 and 2.0.
25668 (norm): Use RADIXI instead of radixi.d.
25669 (denorm): Likewise.
25670 (__mul): Use 0.0 instead of zero.d.
25671
cdc1c96f
JM
256722013-01-04 Joseph Myers <joseph@codesourcery.com>
25673
25674 [BZ #14994]
25675 * math/s_casinh.c (__casinh): Reduce finite argument to first
25676 quadrant then set signs of results at the end.
25677 * math/s_casinhf.c (__casinhf): Likewise.
25678 * math/s_casinhl.c (__casinhl): Likewise.
25679 * math/libm-test.inc (casin_test): Add more tests.
25680 (casinh_test): Likewise.
25681 * sysdeps/i386/fpu/libm-test-ulps: Update.
25682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25683
302913e1
SP
256842013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25685
6420d207
SP
25686 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25687
a9e48ab4
SP
25688 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25689
b7837264
SP
25690 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25691 declarations.
25692 (denorm): Likewise.
25693 (__mp_dbl): Likewise.
25694 (__inv): Likewise.
25695
f8af25d2
SP
25696 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25697 and adjust the header comment.
25698
302913e1
SP
25699 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25700 variable name from declaration.
25701
5d7dd1ca
L
257022013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25703
25704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25705 Initialize COMMON_CPUID_INDEX_7 element.
25706 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25707 (CPUID_RTM): Likewise.
25708 (HAS_RTM): Likewise.
25709 (COMMON_CPUID_INDEX_7): New enum.
25710
2f5f40f4
AS
257112013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25712
25713 [BZ #14981]
25714 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25715 size is zero, record memory as freed.
25716
4056f4a0
AJ
257172013-01-03 Andreas Jaeger <aj@suse.de>
25718
25719 * po/ia.po: Add new Interlingua translation.
25720
ab15736f 257212012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25722
25723 * locale/programs/localedef.c: Fix description of '--posix' flag.
25724
568035b7
JM
257252013-01-02 Joseph Myers <joseph@codesourcery.com>
25726
e6898b8d
JM
25727 * NEWS: Update dates in second copyright notice.
25728 * README: Update copyright dates in example.
25729 * manual/libc.texinfo: Update copyright dates.
25730 * scripts/test-installation.pl: Update copyright date in --version
25731 output.
25732
0e2f9562
JM
25733 * hurd/ctty-input.c: Fix copyright notice formatting.
25734 * hurd/ctty-output.c: Likewise.
25735 * hurd/dtable.c: Likewise.
25736 * hurd/hurd-raise.c: Likewise.
25737 * hurd/hurdprio.c: Likewise.
25738 * hurd/msgportdemux.c: Likewise.
25739 * misc/sys/file.h: Likewise.
25740 * misc/sys/ioctl.h: Likewise.
25741 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25742 * sysdeps/mach/hurd/chdir.c: Likewise.
25743 * sysdeps/mach/hurd/fchdir.c: Likewise.
25744 * sysdeps/mach/hurd/rename.c: Likewise.
25745 * sysdeps/mach/hurd/rmdir.c: Likewise.
25746 * sysdeps/mach/hurd/seekdir.c: Likewise.
25747 * sysdeps/mach/hurd/setsid.c: Likewise.
25748 * sysdeps/posix/wait3.c: Likewise.
25749
568035b7
JM
25750 * All files with FSF copyright notices: Update copyright dates
25751 using scripts/update-copyrights.
25752 * intl/plural.c: Regenerated.
25753 * locale/programs/charmap-kw.h: Likewise.
25754 * locale/programs/locfile-kw.h: Likewise.
25755
da08f647
SP
257562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25757
0f5477af
SP
25758 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25759 four values.
25760
44e0d4c2
SP
25761 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25762 calculation loop and add branch prediction.
25763
4d55b4e5
SP
25764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25765 check access beyond bounds of m1np.
25766
da08f647
SP
25767 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25768 MPTWO.
25769 (__inv): Remove local variable MPTWO to use the global
25770 constant.
25771 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25773 variable MPTWO.
25774 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25775 MP3HALFS static const.
25776
8e051029
DM
257772013-01-01 David S. Miller <davem@davemloft.net>
25778
25779 * po/ca.po: Update from translation team.
25780
f4cf5f2d
JM
257812013-01-01 Joseph Myers <joseph@codesourcery.com>
25782
25783 * scripts/update-copyrights: New file.
25784 * Makeconfig: Reformat copyright notice.
25785 * ctype/ctype.h: Likewise.
25786 * debug/swprintf_chk.c: Likewise.
25787 * elf/dl-cache.c: Likewise.
25788 * elf/dl-debug.c: Likewise.
25789 * elf/dl-object.c: Likewise.
25790 * grp/initgroups.c: Likewise.
25791 * hurd/Makefile: Likewise.
25792 * hurd/hurd/signal.h: Likewise.
25793 * hurd/hurdfault.c: Likewise.
25794 * hurd/hurdioctl.c: Likewise.
25795 * hurd/hurdlookup.c: Likewise.
25796 * hurd/intr-msg.c: Likewise.
25797 * iconv/gconv_open.c: Likewise.
25798 * libio/swprintf.c: Likewise.
25799 * locale/lc-ctype.c: Likewise.
25800 * locale/nl_langinfo.c: Likewise.
25801 * mach/Machrules: Likewise.
25802 * mach/Makefile: Likewise.
25803 * malloc/obstack.h: Likewise.
25804 * manual/Makefile: Likewise.
25805 * manual/tsort.awk: Likewise.
25806 * misc/bits/stab.def: Likewise.
25807 * nis/nis_print_group_entry.c: Likewise.
25808 * nis/nis_table.c: Likewise.
25809 * nis/nss_compat/compat-pwd.c: Likewise.
25810 * nis/nss_compat/compat-spwd.c: Likewise.
25811 * po/Makefile: Likewise.
25812 * posix/fnmatch.c: Likewise.
25813 * posix/regex.h: Likewise.
25814 * resolv/Makefile: Likewise.
25815 * resolv/nss_dns/dns-network.c: Likewise.
25816 * resolv/res_hconf.c: Likewise.
25817 * scripts/gen-sorted.awk: Likewise.
25818 * soft-fp/soft-fp.h: Likewise.
25819 * stdio-common/printf.h: Likewise.
25820 * stdlib/monetary.h: Likewise.
25821 * stdlib/random.c: Likewise.
25822 * stdlib/random_r.c: Likewise.
25823 * sysdeps/generic/Makefile: Likewise.
25824 * sysdeps/gnu/Makefile: Likewise.
25825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25853 * sysdeps/mach/hurd/errnos.awk: Likewise.
25854 * sysdeps/mach/hurd/fork.c: Likewise.
25855 * sysdeps/mach/hurd/getcwd.c: Likewise.
25856 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25857 * sysdeps/mach/hurd/mmap.c: Likewise.
25858 * sysdeps/mach/hurd/utimes.c: Likewise.
25859 * sysdeps/mach/hurd/xmknod.c: Likewise.
25860 * sysdeps/posix/profil.c: Likewise.
25861 * sysdeps/posix/readdir_r.c: Likewise.
25862 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25863 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25864 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25865 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25867 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25868 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25869 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25873 * sysdeps/pthread/lio_listio.c: Likewise.
25874 * sysdeps/sparc/dl-procinfo.h: Likewise.
25875 * sysdeps/unix/i386/sysdep.S: Likewise.
25876 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25877 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25878 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25879 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25881 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25882 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25883 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25884 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25885 * sysdeps/wordsize-32/divdi3.c: Likewise.
25886 * time/sys/time.h: Likewise.
25887 * wcsmbs/Makefile: Likewise.
25888
0549fbba
DM
258892013-01-01 David S. Miller <davem@davemloft.net>
25890
a141f1a7
DM
25891 * po/fr.po: Update from translation team.
25892
0549fbba
DM
25893 * catgets/gencat.c: Update copyright year.
25894 * csu/version.c: Likewise.
25895 * debug/catchsegv.sh: Likewise.
25896 * debug/pcprofiledump.c: Likewise.
25897 * debug/xtrace.sh: Likewise.
25898 * elf/ldconfig.c: Likewise.
25899 * elf/ldd.bash.in: Likewise.
25900 * elf/pldd.c: Likewise.
25901 * elf/sotruss.ksh: Likewise.
25902 * elf/sprof.c: Likewise.
25903 * iconv/iconv_prog.c: Likewise.
25904 * iconv/iconvconfig.c: Likewise.
25905 * locale/programs/locale.c: Likewise.
25906 * locale/programs/localedef.c: Likewise.
25907 * login/programs/pt_chown.c: Likewise.
25908 * malloc/memusage.sh: Likewise.
25909 * malloc/memusagestat.c: Likewise.
25910 * malloc/mtrace.pl: Likewise.
25911 * nscd/nscd.c: Likewise.
25912 * nss/getent.c: Likewise.
25913 * nss/makedb.c: Likewise.
25914 * posix/getconf.c: Likewise.
25915
18ea052c
SP
259162012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25917
25918 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25919 numbers.
25920
9c89fca6
MF
259212012-12-30 Mike Frysinger <vapier@gentoo.org>
25922
25923 * math/bits/mathcalls.h (modf): Use __nonnull.
25924
085ec079
SP
259252012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25926
25927 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25928 (split): Use macro CN instead of the bare value.
25929 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25930 could be used.
25931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25932 instead of the bare value.
25933 (power1): Likewise.
25934
6d9f97e1
SP
259352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25936
d63f73be
SP
25937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25938 __ATAN_TWOM.
25939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25940
6d9f97e1
SP
25941 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25942 their values.
25943 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25944 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25945 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25946 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25947
4c4febf5
AJ
259482012-12-28 Andreas Jaeger <aj@suse.de>
25949
af5843ef
AJ
25950 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25951 values are from Linux 3.7.
25952
4c4febf5
AJ
25953 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25954 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25955
99136f82
SP
259562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25957
2f216c3c 25958 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25959 TRUE case.
25960
99136f82
SP
25961 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25962 (norm): Likewise.
25963 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25964 variables with preprocessor constants.
25965 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25966 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25967 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25968
7fffbdff
BH
259692012-12-27 Bruno Haible <bruno@clisp.org>
25970
25971 [BZ #14317]
25972 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25973 only if needed.
25974
b76eb5f0
SP
259752012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25976
31a7fe5c
SP
25977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25978 and use variable directly.
25979 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25980
b76eb5f0
SP
25981 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25982 MPONE.
25983 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25985 variable MPONE.
25986 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25988 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25989 include directive. Remove local variable MPONE.
25990 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25991 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25992 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25993
2c8bfe7d
DM
259942012-12-25 David S. Miller <davem@davemloft.net>
25995
25996 * version.h (RELEASE): Set to "development".
25997 (VERSION): Set to "2.17.90".
25998 * NEWS: Add 2.18 section.
25999
147d03b0
DM
260002012-12-21 David S. Miller <davem@davemloft.net>
26001
26002 * po/hr.po: Update from translation team.
26003
a8ebb2b9
AK
260042012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26005
26006 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26007
95b4f1b6
SE
260082012-12-19 Steve Ellcey <sellcey@mips.com>
26009
b2d94007 26010 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26011
cedb2a90
MS
260122012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26013
26014 * manual/contrib.texi (Contributors): Spelling correction.
26015
bbf527d6
DM
260162012-12-15 David S. Miller <davem@davemloft.net>
26017
26018 * po/ru.po: Update from translation team.
26019
bc38c906
DM
260202012-12-13 David S. Miller <davem@davemloft.net>
26021
85429b1a
DM
26022 * NEWS: Mention IFUNC testsuite enhancements.
26023
d283e353
DM
26024 * po/pl.po: Update from translation team.
26025 * po/bg.po: Likewise.
26026
bc38c906
DM
26027 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26028 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26029
a181b0d7
DM
260302012-12-11 David S. Miller <davem@davemloft.net>
26031
4641d57e
DM
26032 * po/sv.po: Update from translation team.
26033
f7bc6495
DM
26034 * po/vi.po: Update from translation team.
26035
6fc9048f
DM
26036 * po/cs.po: Update from translation team.
26037
a181b0d7
DM
26038 * po/de.po: Update from translation team.
26039 * po/eo.po: Likewise.
26040 * po/nl.po: Likewise.
26041
f70bfe80
SP
260422012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26043
3c8b4190
SP
26044 [BZ #14246]
26045 * manual/argp.texi (Argp Helper Functions): Move node to follow
26046 Argp Parsing State.
26047
f70bfe80
SP
26048 [BZ #14872]
26049 * manual/conf.texi (Limits on File System Capacity): Mention if
26050 terminating null is included in the max size.
26051
188f0adf
AJ
260522012-12-10 Andreas Jaeger <aj@suse.de>
26053
26054 * po/cs.po: Update from translation team.
26055
56e7d3ad
SP
260562012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26057
26058 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26059 void pointer and cast to uintptr_t.
26060 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26061 path.
26062 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26063 * sysdeps/s390/s390-64/memset.S: Likewise.
26064
76f2d2ea 260652012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26066
26067 [BZ #14833]
26068 * menual/message.texi (Message Translation): Fix typos.
26069 (Helper programs for gettext): Likewise.
26070
67cbf9a2
AS
260712012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26072
26073 [BZ #14898]
26074 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26075 Change to -1.
26076
682d0e9a
DM
260772012-12-07 David S. Miller <davem@davemloft.net>
26078
26079 * po/libc.pot: Update.
26080
573cd484
RH
260812012-12-07 Richard Henderson <rth@redhat.com>
26082
7e9da188 26083 [BZ #10114]
573cd484
RH
26084 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26085 normal/normal case to before the switch.
26086 (_FP_DIV): Likewise.
26087
e933a943
MF
260882012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26089 Mike Frysinger <vapier@gentoo.org>
26090
26091 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26092 check for __NR_fadvise64_64.
26093
82123268
CM
260942012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26095
26096 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26097 0, not just to plain "0" as a statement.
26098 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26099 with cw.
26100
d9814526
JM
261012012-12-06 Joseph Myers <joseph@codesourcery.com>
26102
26103 * NEWS: Use sourceware.org in Bugzilla URL.
26104
7728c574
SP
261052012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26106
f16946dd
SP
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26108 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26109
5704bbcb
SP
26110 * stdio-common/tst-put-error.c (do_test): Add newline to the
26111 padded test to ensure flush.
26112
17aa0516
JL
261132012-12-05 Jeff Law <law@redhat.com>
26114
26115 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26116
363313b5
JM
261172012-12-05 Joseph Myers <joseph@codesourcery.com>
26118
effbd42a
JM
26119 * README: Don't refer to ports add-on as distributed separately.
26120 Mention AArch64 in list of systems supported in the ports add-on.
26121
87600365
JM
26122 * LICENSES: Add more non-FSF copyright and license notices.
26123
a0d7066a
JM
26124 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26125 ((unused)).
26126
66ca5a5b
JM
26127 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26128
363313b5
JM
26129 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26130 10000 as width of padded output.
26131
b37984ad
JM
261322012-12-04 Joseph Myers <joseph@codesourcery.com>
26133
9003570a
JM
26134 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26135
b37984ad
JM
26136 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26137 variable LX with __attribute__ ((unused)).
26138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26139 Likewise.
26140 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26142 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26143 with __attribute__ ((unused)).
26144
c8df52ec
DM
261452012-12-04 David S. Miller <davem@abraco.davemloft.net>
26146
26147 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26148
b3b099af
JM
261492012-12-04 Joseph Myers <joseph@codesourcery.com>
26150
c33aa6e3
JM
26151 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26152 (CFLAGS-nldbl-acos.c): New variable.
26153 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26154 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26155 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26156 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26157 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26158 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26159 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26160 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26161 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26162 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26163 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26164 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26165 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26166 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26167 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26168 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26169 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26170 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26171 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26172 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26173 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26174 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26175 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26176 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26177 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26178 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26179 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26180 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26181 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26182 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26183 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26184 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26185 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26186 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26187 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26188 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26189 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26190 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26191 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26192 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26193 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26194 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26195 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26196 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26197 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26198 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26199 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26200 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26201 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26202 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26203 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26204 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26205 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26206 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26207 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26208 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26209 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26210 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26211 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26212 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26213 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26214 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26215 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26216 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26217 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26218 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26219 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26220 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26221 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26222 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26223 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26224 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26225 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26226 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26227 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26228 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26229 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26230 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26231 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26232 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26233 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26234 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26235 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26236 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26237 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26238 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26239 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26240 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26241 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26242 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26243 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26244 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26245 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26246 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26247 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26248 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26249 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26250
20f0018d
JM
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26252 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26253
b3b099af
JM
26254 [BZ #14914]
26255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26256 whole low double instead of just low 47 bits when splitting values
26257 into two parts.
26258
029264d1
AM
262592012-12-03 Allan McRae <allan@archlinux.org>
26260
26261 * manual/stdio.texi (Predefined Printf Handlers): Remove
26262 @hsep and @vsep usage.
26263
c9d6789e
MF
262642012-12-03 Mike Frysinger <vapier@gentoo.org>
26265
26266 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26267 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26268
4b7634a5
JL
262692012-12-03 Jeff Law <law@redhat.com>
26270
26271 * time/sys/time.h (settimeofday): Do not mark TV argument
26272 as __nonnull.
26273
eb6cbd24
MF
262742012-12-01 Mike Frysinger <vapier@gentoo.org>
26275
26276 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26277 when currently writing and seek to current position when not.
26278 * libio/Makefile (tests): Remove bug-fclose1.
26279 * libio/bug-fclose1.c: Delete.
26280
f638872a
JM
262812012-12-01 Joseph Myers <joseph@codesourcery.com>
26282
26283 * manual/arith.texi (feenableexcept): Fix typo.
26284 (fedisableexcept): Likewise.
26285
48085d14
RM
262862012-11-30 Roland McGrath <roland@hack.frob.com>
26287
26288 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26289 second, differently-typed declaration, rather than a cast.
26290
1a538b9f
SP
262912012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26292
26293 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26294 * include/rpc/svc.h: ... here.
26295
d07f2ff1 262962012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26297
26298 [BZ #13013]
26299 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26300 depending n and resplen2 to catch cases where answer
26301 equals answerp2.
26302
c93ec1f0
CD
263032012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26304
26305 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26306 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26307
37db69de
MF
263082012-11-29 Mike Frysinger <vapier@gentoo.org>
26309
26310 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26311
e10c4e4f
RM
263122012-11-29 Roland McGrath <roland@hack.frob.com>
26313
26314 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26315
2af1b328
JL
263162012-11-28 Jeff Law <law@redhat.com>
26317
26318 [BZ #13761]
26319 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26320 dataset_temporary. Track alloca usage into alloca_used.
26321 If dataset is large allocate and release it via malloc/free.
26322
111db5b1
FW
263232012-06-04 Florian Weimer <fweimer@redhat.com>
26324
f06cc227 26325 [BZ #14197]
111db5b1
FW
26326 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26327
dd694abd
DM
263282012-11-28 David S. Miller <davem@davemloft.net>
26329
26330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26331
9984dd01
JM
263322012-11-28 Joseph Myers <joseph@codesourcery.com>
26333
26334 [BZ #14803]
26335 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26336 of pi/2 rounded to nearest to 64 bits.
26337 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26338 nearest to 64 bits.
26339 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26340 bits.
26341
14bc93a9
JL
263422012-11-28 Jeff Law <law@redhat.com>
26343 Martin Osvald <mosvald@redhat.com>
26344
26345 [BZ #14889]
26346 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26347 * sunrpc/svc.c: Include time.h.
26348 (__svc_accept_failed): New function.
26349 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26350 any reason other than EINTR, call __svc_accept_failed.
26351 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26352 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26353
e3c6aa3a
AS
263542012-11-28 Andreas Schwab <schwab@suse.de>
26355
26356 * scripts/abilist.awk: Also handle indirect functions in .opd
26357 section.
26358
1bead169
JM
263592012-11-28 Joseph Myers <joseph@codesourcery.com>
26360
26361 [BZ #13881]
26362 * sysdeps/x86/fpu/powl_helper.c: New file.
26363 * sysdeps/x86/fpu/Makefile: Likewise.
26364 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26365 (p3): New object.
26366 (__ieee754_powl): Use __powl_helper for finite arguments except
26367 integer exponents below 8.
26368 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26369 (p3): New object.
26370 (__ieee754_powl): Use __powl_helper for finite arguments except
26371 integer exponents below 8.
26372 * math/libm-test.inc (pow_test): Add more tests and enable some
26373 previously disabled tests.
26374 * sysdeps/i386/fpu/libm-test-ulps: Update.
26375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376
0817d63d
SP
263772012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26378 Carlos O'Donell <carlos_odonell@mentor.com>
26379
26380 * nss/makedb.c (is_prime): Assert that input is odd and greater
26381 than 4. Note that fact in a comment too.
26382 (next_prime): Add 4 to input.
26383
de2fd463
SP
263842012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
26386 [BZ #11741]
26387 * libio/Makefile (tests): Add test case tst-fwrite-error.
26388 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26389 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26390 * libio/tst-fwrite-error.c: New test case.
26391
c515fb51
L
263922012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26395 before casting to void *.
26396 * include/libc-internal.h (__pointer_type): New macro.
26397 (__integer_if_pointer_type_sub): Likewise.
26398 (__integer_if_pointer_type): Likewise.
26399 (cast_to_integer): Likewise.
26400 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26401 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26402 before casting to atomic64_t.
26403 (atomic_exchange_acq): Likewise.
26404 (__arch_exchange_and_add_body): Likewise.
26405 (__arch_add_body): Likewise.
26406 (atomic_add_negative): Likewise.
26407 (atomic_add_zero): Likewise.
26408
4cf77aa9
JM
264092012-11-26 Joseph Myers <joseph@codesourcery.com>
26410
26411 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26412 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26413 (add_fdes): Likewise.
26414 (linear_search_fdes): Likewise.
26415 (binary_search_unencoded_fdes): Likewise.
26416
d260b3b4
AS
264172012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26418
26419 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26420
67060746
AC
264212012-11-24 Adam Conrad <adconrad@0c3.net>
26422
26423 * configure.in: Autodetect C++ header directories.
26424 * configure: Regenerated.
26425
800938a1
MF
264262012-11-23 Mike Frysinger <vapier@gentoo.org>
26427
26428 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26429
4e6e34e6
AS
264302012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26431
26432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26433
7c7feb47
JM
264342012-11-22 Joseph Myers <joseph@codesourcery.com>
26435
7184dcdf
JM
26436 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26437 LDBL_MANT_DIG == 106]: Disable some tests.
26438 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26439 Likewise.
26440 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26441 Likewise.
26442
0a42601f
JM
26443 [BZ #14871]
26444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26445 input for small inputs. Return +/- pi/2 for large inputs.
26446 * math/libm-test.inc (atan_test): Add more tests.
26447
79c9b9fe
JM
26448 * sysdeps/generic/unwind-dw2-fde-glibc.c
26449 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26450 __attribute__ ((unused)).
26451
c60d3bf2
JM
26452 [BZ #14645]
26453 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26454 x * y if x and y are nonzero and z is zero.
26455
ef1e0867
JM
26456 [BZ #14811]
26457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26458 nonzero exponents with absolute value below 0x1p-117 to +/-
26459 0x1p-117.
26460
1468ded3
JM
26461 [BZ #14869]
26462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26463 up arguments below 2**-450, not just those below 2**-500.
26464 * math/libm-test.inc (hypot_test): Add another test.
26465
8e27e3cc
JM
26466 [BZ #14868]
26467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26468 Return a+b for ratio over 2**120, not 2**60.
26469 * math/libm-test.inc (hypot_test): Add another test.
26470
c9c0279b
JM
26471 * math/libm-test.inc (clog_test): Use
26472 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26473 (clog10_test): Likewise.
26474
7c7feb47
JM
26475 [BZ #6778]
26476 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26477
fff1530e
AS
264782012-11-22 Andreas Schwab <schwab@suse.de>
26479
26480 * sysdeps/i386/fpu/libm-test-ulps: Update.
26481
94558d30
PT
264822012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26483
26484 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26485 printf output with newline.
26486
7e1be741
L
264872012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26488
6bfea974
L
26489 [BZ #14865]
26490 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26491 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26492 -z nodlopen, -z initfirst and -z execstack support.
26493 * configure: Regenerated.
26494
7e1be741
L
26495 * elf/elf.h (DF_1_NODIRECT): New macro.
26496 (DF_1_IGNMULDEF): Likewise.
26497 (DF_1_NOKSYMS): Likewise.
26498 (DF_1_NOHDR): Likewise.
26499 (DF_1_EDITED): Likewise.
26500 (DF_1_NORELOC): Likewise.
26501 (DF_1_SYMINTPOSE): Likewise.
26502 (DF_1_GLOBAUDIT): Likewise.
26503 (DF_1_SINGLETON): Likewise.
26504 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26505 DT_1_SUPPORTED_MASK bits.
26506 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26507
105ce2ce
CD
265082012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26509
26510 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26511
123be9de
TS
265122012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26513
d072f3f7
TS
26514 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26515 macro.
26516
123be9de
TS
26517 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26518 (sendmmsg): Move declarations...
26519 * socket/sys/socket.h: ... here.
26520 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26521 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26522 include it from...
26523 * socket/recvmmsg.c: ... this new file.
26524 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26525 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26526 definition of __sendmmsg hidden.
26527 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26528 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26529 Move ENOSYS stub into and include it from...
26530 * socket/sendmmsg.c: ... this new file.
26531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26532 (sysdep_routines): Move recvmmsg and sendmmsg...
26533 * socket/Makefile (routines): ... here.
26534 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26535 (GLIBC_PRIVATE): Add __sendmmsg.
26536 * include/sys/socket.h (__sendmmsg): Add declarations.
26537 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26538 sendmmsg.
26539
cf9a5d18
JM
265402012-11-20 Joseph Myers <joseph@codesourcery.com>
26541
26542 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26543 variable I1 with __attribute__ ((unused)).
26544 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26545
ecd4caf9
JM
265462012-11-19 Joseph Myers <joseph@codesourcery.com>
26547
be14d48f
JM
26548 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26549 DUMMY variables with __attribute__ ((unused)).
26550
ecd4caf9
JM
26551 * bits/byteswap.h: Include <bits/types.h>.
26552 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26553
986cab95
PT
265542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26555
26556 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26557 string_t. Do not manually set errno.
26558 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26559 length with __strnlen. Make sure to both set errno and return it on
26560 failure.
26561
6d33cc9d
DM
265622012-11-19 David S. Miller <davem@davemloft.net>
26563
26564 With help from Joseph Myers.
26565 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26566 very large arguments properly.
26567 * math/libm-test.inc (atan_test): New tests.
26568 (atan2_test): New tests.
26569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26571
ee663277
JM
265722012-11-19 Joseph Myers <joseph@codesourcery.com>
26573
877f2d8e
JM
26574 [BZ #14856]
26575 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26576 Define to 3.
26577
116fc08a
JM
26578 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26579 [POSIX] (EADDRNOTAVAIL): Likewise.
26580 [POSIX] (EAFNOSUPPORT): Likewise.
26581 [POSIX] (EALREADY): Likewise.
26582 [POSIX] (ECONNABORTED): Likewise.
26583 [POSIX] (ECONNREFUSED): Likewise.
26584 [POSIX] (ECONNRESET): Likewise.
26585 [POSIX] (EDESTADDRREQ): Likewise.
26586 [POSIX] (EDQUOT): Likewise.
26587 [POSIX] (EHOSTUNREACH): Likewise.
26588 [POSIX] (EIDRM): Likewise.
26589 [POSIX] (EISCONN): Likewise.
26590 [POSIX] (ELOOP): Likewise.
26591 [POSIX] (EMULTIHOP): Likewise.
26592 [POSIX] (ENETDOWN): Likewise.
26593 [POSIX] (ENETUNREACH): Likewise.
26594 [POSIX] (ENOBUFS): Likewise.
26595 [POSIX] (ENODATA): Likewise.
26596 [POSIX] (ENOLINK): Likewise.
26597 [POSIX] (ENOMSG): Likewise.
26598 [POSIX] (ENOPROTOOPT): Likewise.
26599 [POSIX] (ENOSR): Likewise.
26600 [POSIX] (ENOSTR): Likewise.
26601 [POSIX] (ENOTCONN): Likewise.
26602 [POSIX] (ENOTSOCK): Likewise.
26603 [POSIX] (EOPNOTSUPP): Likewise.
26604 [POSIX] (EOVERFLOW): Likewise.
26605 [POSIX] (EPROTO): Likewise.
26606 [POSIX] (EPROTONOSUPPORT): Likewise.
26607 [POSIX] (EPROTOTYPE): Likewise.
26608 [POSIX] (ESTALE): Likewise.
26609 [POSIX] (ETIME): Likewise.
26610 [POSIX] (ETXTBSY): Likewise.
26611 [POSIX] (EWOULDBLOCK): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26613 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26614 [POSIX] (SEEK_CUR): Likewise.
26615 [POSIX] (SEEK_END): Likewise.
26616 [POSIX || UNIX98] (mode_t): Do not require.
26617 [POSIX] (off_t): Likewise.
26618 [POSIX] (pid_t): Likewise.
26619 [POSIX] (sys/stat.h): Do not allow header.
26620 [POSIX] (unistd.h): Likewise.
26621 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26622 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26623 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26624 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26625 require.
26626 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26627 sigevent): Specify elements.
26628 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26629 entry.
26630 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26631 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26632
a483863f
JM
26633 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26634 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26635 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26636 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26637 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26638 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26639 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26640 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26641 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26642 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26643 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26644 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26645 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26646 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26647 Likewise.
26648 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26649 Likewise.
26650 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26651 Likewise.
26652 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26653 Likewise.
26654 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26655 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26656 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26657 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26659 Specify lower bound on value.
26660 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26666 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26667 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26668 value.
26669 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26670 as optional.
26671 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26676 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26683 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26685 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26687 entry.
26688 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26689 optional.
26690 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26692 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26696 Likewise.
26697 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26702 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26703 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26704 as optional.
26705 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26709 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26710 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26711 specify as optional.
26712 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26715 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26716 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26717 [XPG3] (NL_LANGMAX): Likewise.
26718 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26719 [POSIX || XPG3] (NL_NMAX): Likewise.
26720 [POSIX || XPG3] (NL_SETMAX): Likewise.
26721 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26722 [XPG3] (NZERO): Likewise.
26723 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26724 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26725 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26726 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26727 (REG_ERANGE): Expect.
26728 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26729 optional-constant.
26730 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26731 Use (void) in prototype.
26732 [POSIX] (*_t): Allow.
26733 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26734 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26735 (WRDE_BADVAL): Expect.
26736
5ba924e3
JM
26737 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26738 expect.
26739 [XPG3 || XPG4] (O_RSYNC): Likewise.
26740 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26741 Likewise.
26742 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26743 [XPG3 || XPG4] (sigqueue): Likewise.
26744 [XPG3 || XPG4] (sigtimedwait): Likewise.
26745 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26746 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26747 [XPG3 || XPG4] (vsnprintf): Likewise.
26748 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26749 Likewise.
26750 [XPG3 || XPG4] (blksize_t): Likewise.
26751 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26752 Likewise.
26753 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26754 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26755 [XPG3 || XPG4] (struct itimerspec): Likewise.
26756 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26757 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26758 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26759 [XPG3 || XPG4] (clockid_t): Likewise.
26760 [XPG3 || XPG4] (timer_t): Likewise.
26761 [XPG3 || XPG4] (clock_getres): Likewise.
26762 [XPG3 || XPG4] (clock_gettime): Likewise.
26763 [XPG3 || XPG4] (clock_settime): Likewise.
26764 [XPG3 || XPG4] (nanosleep): Likewise.
26765 [XPG3 || XPG4] (timer_create): Likewise.
26766 [XPG3 || XPG4] (timer_delete): Likewise.
26767 [XPG3 || XPG4] (timer_gettime): Likewise.
26768 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26769 [XPG3 || XPG4] (timer_settime): Likewise.
26770 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26771 [XPG3 || XPG4] (getlogin_r): Likewise.
26772 [XPG3 || XPG4] (pread): Likewise.
26773 [XPG3 || XPG4] (pthread_atfork): Likewise.
26774 [XPG3 || XPG4] (pwrite): Likewise.
26775
ee663277
JM
26776 [BZ #14835]
26777 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26778 <bits/siginfo.h>.
26779
942caa16
PT
267802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26781
e19af380
PT
26782 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26783 finalizing MALLSTREAM.
26784
942caa16
PT
26785 * sysdeps/mach/hurd/syncfs.c: New file.
26786
cfde9b46
SP
267872012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26788
26789 [BZ #14719]
26790 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26791 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26793 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26794 (_nss_dns_gethostbyname4_r): Likewise.
26795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26796 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26797
f6da27e5
PH
267982012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26799
26800 [BZ #13763]
26801 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26802
6665d4a2
SM
268032012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26804
1f51ee92
SM
26805 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26806 * elf/cache.c (print_entry): Print ",AArch64" for
26807 FLAG_AARCH64_LIB64
26808
6665d4a2
SM
26809 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26810 * elf/cache.c (print_entry): Print ",hard-float" for
26811 FLAG_ARM_LIBHF.
26812
05b227bd
DM
268132012-11-18 David S. Miller <davem@davemloft.net>
26814
26815 With help from Joseph Myers.
26816 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26817 cutoff to 2**-13.
26818 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26819 cutoff to 2**-25.
26820 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26821 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26822 small.
26823 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26824 * math/libm-test.inc (y0_test): New tests.
26825 (y1_test): New tests.
26826 * sysdeps/i386/fpu/libm-test-ulps: Update.
26827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26829
786b0b67
AS
268302012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26831
26832 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26833 64-bit targets.
26834 * configure: Regenerated.
26835
8e18b86d
DM
268362012-11-17 David S. Miller <davem@davemloft.net>
26837
26838 [BZ #14811]
26839 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26840 nonzero exponents with absolute value below 0x1p-128 to +/-
26841 0x1p-128.
26842
531f1ae0
JM
268432012-11-17 Joseph Myers <joseph@codesourcery.com>
26844
12df29e2
JM
26845 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26846
150dc1a0
JM
26847 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26848
531f1ae0
JM
26849 * posix/getconf-speclist.c: New file.
26850 * posix/posix-envs.def: Likewise.
26851 * posix/confstr.c (START_ENV_GROUP): New macro.
26852 (END_ENV_GROUP): Likewise.
26853 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26854 (KNOWN_PRESENT_ENV_STRING): Likewise.
26855 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26856 (UNKNOWN_ENVIRONMENT): Likewise.
26857 (confstr): Include posix-envs.def instead of handling
26858 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26859 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26860 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26861 (END_ENV_GROUP): Likewise.
26862 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26863 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26864 (UNKNOWN_ENVIRONMENT): Likewise.
26865 (__sysconf): Include posix-envs.def instead of handling associated
26866 cases directly here.
26867 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26868 preprocessing getconf-speclist.c rather than running getconf or
26869 generating empty file.
26870
a93f9cbc
PT
268712012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26872
26873 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26874
d64d9f87
AL
268752012-11-16 Andrej Lajovic <natrij@gmail.com>
26876
26877 [BZ #14672]
26878 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26879
447885eb
DM
268802012-11-16 David S. Miller <davem@davemloft.net>
26881
26882 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26883 smaller than LDBL_EPSILON/2.0L, just return xm1.
26884
bcbf9830
L
268852012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 * elf/tst-array1.c (init): Set constructor priority to 1000.
26888 (fini): Set destructor priority to 1000.
26889 * elf/tst-array2dep.c: Likewise.
26890
2b766585
SP
268912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26892
26893 [BZ #11741]
26894 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26895 (_IO_new_file_xsputn): Also return EOF if none of the input
26896 data was written when overflow failed.
26897 * libio/iopadn.c (_IO_padn): Likewise.
26898 * libio/iowpadn.c (_IO_wpadn): Likewise.
26899 * stdio-common/tst-put-error.c: Add copyright notice.
26900 (do_test): Add case for printing padded string.
26901 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26902 _IO_padn returned error.
26903 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26904 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26905 return EOF.
26906
b1848fde
SP
269072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26908
26909 * libio/libioP.h: Add comment note that the references to C++
26910 bits are now obsolete.
26911
2fd89785
MS
269122012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26913
26914 * math/libm-test.inc (check_complex): Use asprintf.
26915
e3ea5409
JM
269162012-11-14 Joseph Myers <joseph@codesourcery.com>
26917
26918 * debug/pcprofiledump.c (print_version): Update copyright year.
26919 * malloc/memusagestat.c (print_version): Likewise.
26920
2e64d265
L
269212012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 [BZ #14831]
26924 * elf/Makefile (tests): Add tst-audit8.
26925 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26926 ($(objpfx)tst-audit8.out): New target.
26927 (tst-audit8-ENV): New variable.
26928 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26929 audit if l_reloc_result is NULL.
26930 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26931 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26932 * elf/tst-audit8.c: New file.
26933
c485e4d2
MS
269342012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26935
26936 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26937 * misc/Makefile (CFLAGS-select.c): Define.
26938 * posix/Makefile (CFLAGS-pause.c): Define.
26939
3a0d900a
DM
269402012-11-13 David S. Miller <davem@davemloft.net>
26941
26942 * crypt/Makefile: Move test targets after toplevel Rules
26943 inclusion. Grab any necessary sysdep routines when linking.
26944 * crypt/md5.c (md5_process_block): Remove define, we will always
26945 name it __md5_process_block.
26946 (md5_finish_ctx): Update md5_process_block call.
26947 (md5_stream): Likewise.
26948 (md5_process_bytes): Likewise.
26949 (md5_process_block): Rename to __md5_process_block and move to ...
26950 * crypt/md5-block.c: ... here.
26951 * crypt/sha256.c (sha256_process_block): Move to ...
26952 * crypt/sha256-block.c: ... here.
26953 * crypt/sha512.c (sha512_process_block): Move to ...
26954 * crypt/sha512-block.c: ... here.
26955 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26956 path.
26957 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26958 * sysdeps/sparc/sparc64/multiarch/Makefile
26959 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26960 crypt subdir.
26961 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26962 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26963 multiarch changes.
26964 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26965 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26966 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26967 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26968 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26969 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26970 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26971 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26973 file.
26974 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26975 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26976 file.
26977 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26978
8ca89318
JM
269792012-11-13 Joseph Myers <joseph@codesourcery.com>
26980
e27d476a
JM
26981 * timezone/tzselect.ksh: Update from tzcode git revision
26982 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26983 * timezone/zdump.c: Likewise.
26984 * timezone/zic.c: Likewise.
26985 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26986 in TZVERSION setting, not $(PKGVERSION).
26987 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26988 REPORT_BUGS_TO settings.
26989
8ca89318
JM
26990 [BZ #14838]
26991 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26992 macro.
26993
47594329
MS
269942012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26995
26996 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26997 detection to immediately after _FP_ROUND().
26998 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26999 bits are 0.
27000
640ac3f1
DM
270012012-11-11 David S. Miller <davem@davemloft.net>
27002
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27004 inttypes.h
27005 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27006 __close rather than their public counterparts.
27007
3d2577bb
JM
270082012-11-10 Joseph Myers <joseph@codesourcery.com>
27009
27010 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27011 file.
27012 [UNIX98] (sem_timedwait): Do not expect.
27013 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27014 [XPG4 || UNIX98] (sockatmark): Do not expect.
27015 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27016 (clock_getcpuclockid): Do not expect.
27017 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27018 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27019 Do not expect.
27020 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27021 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27022 [UNIX98] (vwscanf): Likewise.
27023 [UNIX98] (vswscanf): Likewise.
27024
fb1ae1ee
JM
270252012-11-09 Joseph Myers <joseph@codesourcery.com>
27026
9ec6f8bd
JM
27027 * timezone/version.h: Remove file.
27028 * timezone/README: Do not refer to version.h.
27029 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27030 $(objpfx)version.h.
27031 ($(objpfx)zdump.o): Likewise.
c3f81911 27032 ($(objpfx)version.h): New target.
9ec6f8bd 27033
0aa8f8a1
JM
27034 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27035 2012i.
27036 * timezone/README: Don't mention modification to tzselect.ksh.
27037 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27038 work on unmodified tzselect.ksh. Substitute version numbers in
27039 tzselect.ksh.
27040
4e87147f
JM
27041 * Makefile (format-me): Remove.
27042 (INSTALL): Adjust indentation. Use commands directly instead of
27043 using $(format-me).
27044
8b748aed
JM
27045 * aclocal.m4 (ACX_PKGVERSION): New macro.
27046 (ACX_BUGURL): Likewise.
27047 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27048 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27049 (REPORT_BUGS_TO): Likewise.
27050 * configure: Regenerated.
27051 * config.h.in (PKGVERSION): New macro.
27052 (REPORT_BUGS_TO): Likewise.
27053 * config.make.in (PKGVERSION): New variable.
27054 (PKGVERSION_TEXI): Likewise.
27055 (REPORT_BUGS_TO): Likewise.
27056 (REPORT_BUGS_TEXI): Likewise.
27057 * Makefile (format-me): Use -I$(common-objpfx)manual.
27058 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27059 ($(common-objpfx)manual/%): New target.
27060 (manual/%): Remove target.
27061 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27062 (print_version): Use PKGVERSION.
27063 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27064 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27065 and REPORT_BUGS_TO.
27066 ($(objpfx)xtrace): Likewise.
27067 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27068 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27069 (print_version): Use PKGVERSION.
27070 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27071 (do_version): Use PKGVERSION.
27072 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27073 REPORT_BUGS_TO.
27074 (common-ldd-rewrite): Likewise.
27075 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27076 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27077 (print_version): Use PKGVERSION.
27078 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27079 * elf/pldd.c (argp_program_bug_address): Remove variable.
27080 (more_help): New function.
27081 (argp): Use more_help.
27082 (print_version): Use PKGVERSION.
27083 * elf/sln.c (main): Use PKGVERSION.
27084 (usage): Use REPORT_BUGS_TO.
27085 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27086 (top level): Use PKGVERSION.
27087 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27088 (print_version): Use PKGVERSION.
27089 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27090 (print_version): Use PKGVERSION.
27091 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27092 (print_version): Use PKGVERSION.
27093 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27094 (print_version): Use PKGVERSION.
27095 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27096 (print_version): Use PKGVERSION.
27097 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27098 (print_version): Use PKGVERSION.
27099 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27100 and BUGURL.
27101 ($(objpfx)memusage): Likewise.
27102 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27103 (do_version): Use PKGVERSION.
27104 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27105 (print_version): Use PKGVERSION.
27106 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27107 ($PKGVERSION): New variable.
27108 ($REPORT_BUGS_TO): Likewise.
27109 (usage): Use $REPORT_BUGS_TO.
27110 (top level): Use $PKGVERSION.
27111 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27112 ($(objpfx)pkgvers.texi): New rule.
27113 ($(objpfx)stamp-pkgvers): Likewise.
27114 * manual/install.texi: Include pkgvers.texi.
27115 (--with-pkgversion): Document new configure option.
27116 (--with-bugurl): Likewise.
27117 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27118 than necessarily for this particular distribution. Use
27119 REPORT_BUGS_TO for where to report bugs.
27120 * INSTALL: Regenerated.
27121 * manual/libc.texinfo: Include pkgvers.texi.
27122 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27123 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27124 (print_version): Use PKGVERSION.
27125 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27126 (print_version): Use PKGVERSION.
27127 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27128 (print_version): Use PKGVERSION.
27129 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27130 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27131 macro.
27132 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27133 (print_version): Use PKGVERSION.
27134 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27135 (print_version): Use PKGVERSION.
27136 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27137 and PKGVERSION.
27138
92e4b6a9
JM
27139 * timezone/checktab.awk: Update from tzcode 2012i.
27140 * timezone/ialloc.c: Likewise.
27141 * timezone/private.h: Likewise.
27142 * timezone/scheck.c: Likewise.
27143 * timezone/tzfile.h: Likewise.
27144 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27145 (TZVERSION): Hardcode tzcode version number.
27146 * timezone/zdump.c: Update from tzcode 2012i.
27147 * timezone/zic.c: Likewise.
27148 * timezone/version.h: New file.
27149 * timezone/README: Describe version.h. Update upstream location.
27150
9bde902c
JM
27151 [BZ #14824]
27152 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27153 (mktemp): Enable declaration.
27154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27158 Likewise.
27159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27160 Likewise.
27161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27162 Likewise.
27163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27164 Likewise.
27165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27166 Likewise.
27167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27168 Likewise.
27169
fb1ae1ee
JM
27170 [BZ #14821]
27171 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27172 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27173 for copies of such integer values.
27174 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27175 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27176
2c1adbcb
AJ
271772012-11-09 Andreas Jaeger <aj@suse.de>
27178
27179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27180 definitions and declarations that are provided by
27181 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27182
d0f8457e
AK
271832012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27184
3a235abb 27185 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27186 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27187 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27188 definition.
27189
57241e26
MS
271902012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27191
27192 * elf/elf.h: Update comment before AArch64 relocations.
27193
60e8270d
DM
271942012-11-07 David S. Miller <davem@davemloft.net>
27195
27196 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27197 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27198 (__start_context): Declare.
27199 (__makecontext_ret): Delete.
27200 (__makecontext): Hook up __start_context instead of
27201 __makecontext_ret.
27202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27203 (sysdep_routines): Add __start_context when in stdlib.
27204
0fbb0fbc
JM
272052012-11-07 Joseph Myers <joseph@codesourcery.com>
27206
27207 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27208 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27209 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27210 hardcoded "nm".
27211 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27212 (READELF): New variable. Use it instead of hardcoded "readelf".
27213
eb48db7e
L
272142012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27215
27216 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27217 * sysdeps/x86/Makefile: Here.
27218 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27219 * sysdeps/x86/tst-xmmymm.sh: This.
27220
05bcf62a
JM
272212012-11-07 Joseph Myers <joseph@codesourcery.com>
27222
c4b6cf53
JM
27223 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27224 expectations.
27225 [UNIX98] (pthread_barrier_t): Do not expect.
27226 [UNIX98] (pthread_barrierattr_t): Likewise.
27227 [UNIX98] (pthread_spinlock_t): Likewise.
27228 [UNIX98] (pthread_barrier_destroy): Likewise.
27229 [UNIX98] (pthread_barrier_init): Likewise.
27230 [UNIX98] (pthread_barrier_wait): Likewise.
27231 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27232 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27233 [UNIX98] (pthread_barrierattr_init): Likewise.
27234 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27235 [UNIX98] (pthread_getcpuclockid): Likewise.
27236 [UNIX98] (pthread_mutex_timedlock): Likewise.
27237 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27238 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27239 [UNIX98] (pthread_sigmask): Likewise.
27240 [UNIX98] (pthread_spin_destroy): Likewise.
27241 [UNIX98] (pthread_spin_init): Likewise.
27242 [UNIX98] (pthread_spin_lock): Likewise.
27243 [UNIX98] (pthread_spin_trylock): Likewise.
27244 [UNIX98] (pthread_spin_unlock): Likewise.
27245 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27246 Do not expect.
27247 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27248 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27249 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27250 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27251 [XPG3 || XPG4] (pthread_key_t): Likewise.
27252 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27253 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27254 [XPG3 || XPG4] (pthread_once_t): Likewise.
27255 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27256 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27258 [XPG3 || XPG4] (pthread_t): Likewise.
27259
cbe6e120
JM
27260 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27261 not expect.
27262 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27263
1b126443
JM
27264 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27265 Change function return type to int.
27266
b961a573
JM
27267 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27268 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27269 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27270 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27271 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27272 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27273 [!POSIX] (posix_madvise): Likewise.
27274 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27275 && !UNIX98].
27276 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27277 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27278 (mode_t): Likewise.
27279 (posix_mem_offset): Likewise.
27280 (posix_typed_mem_get_info): Likewise.
27281 (posix_typed_mem_open): Likewise.
27282
9e188909
JM
27283 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27284 Change condition to [XOPEN2K8].
27285
05bcf62a
JM
27286 * conform/conformtest.pl: Preprocess allow-header data with -x c
27287 instead of from stdin.
27288 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27289 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27290 [C99-based standards] (cerfc): Likewise.
27291 [C99-based standards] (cexp2): Likewise.
27292 [C99-based standards] (cexpm1): Likewise.
27293 [C99-based standards] (clog10): Likewise.
27294 [C99-based standards] (clog1p): Likewise.
27295 [C99-based standards] (clog2): Likewise.
27296 [C99-based standards] (clgamma): Likewise.
27297 [C99-based standards] (ctgamma): Likewise.
27298 [C99-based standards] (cerff): Likewise.
27299 [C99-based standards] (cerfcf): Likewise.
27300 [C99-based standards] (cexp2f): Likewise.
27301 [C99-based standards] (cexpm1f): Likewise.
27302 [C99-based standards] (clog10f): Likewise.
27303 [C99-based standards] (clog1pf): Likewise.
27304 [C99-based standards] (clog2f): Likewise.
27305 [C99-based standards] (clgammaf): Likewise.
27306 [C99-based standards] (ctgammaf): Likewise.
27307 [C99-based standards] (cerfl): Likewise.
27308 [C99-based standards] (cerfcl): Likewise.
27309 [C99-based standards] (cexp2l): Likewise.
27310 [C99-based standards] (cexpm1l): Likewise.
27311 [C99-based standards] (clog10l): Likewise.
27312 [C99-based standards] (clog1pl): Likewise.
27313 [C99-based standards] (clog2l): Likewise.
27314 [C99-based standards] (clgammal): Likewise.
27315 [C99-based standards] (ctgammal): Likewise.
27316 * conform/data/inttypes.h-data [C99-based standards]: Include
27317 stdint.h-data. Remove all expectations for stdint.h contents.
27318 [C99-based standards] (PRI*): Do not allow.
27319 [C99-based standards] (SCN*): Likewise.
27320 [C99-based standards] (*_t): Likewise.
27321 [C99-based-standards] (PRId8): Expect macro.
27322 [C99-based-standards] (PRIi8): Likewise.
27323 [C99-based-standards] (PRIo8): Likewise.
27324 [C99-based-standards] (PRIu8): Likewise.
27325 [C99-based-standards] (PRIx8): Likewise.
27326 [C99-based-standards] (PRIX8): Likewise.
27327 [C99-based-standards] (SCNd8): Likewise.
27328 [C99-based-standards] (SCNi8): Likewise.
27329 [C99-based-standards] (SCNo8): Likewise.
27330 [C99-based-standards] (SCNu8): Likewise.
27331 [C99-based-standards] (SCNx8): Likewise.
27332 [C99-based-standards] (PRIdLEAST8): Likewise.
27333 [C99-based-standards] (PRIiLEAST8): Likewise.
27334 [C99-based-standards] (PRIoLEAST8): Likewise.
27335 [C99-based-standards] (PRIuLEAST8): Likewise.
27336 [C99-based-standards] (PRIxLEAST8): Likewise.
27337 [C99-based-standards] (PRIXLEAST8): Likewise.
27338 [C99-based-standards] (SCNdLEAST8): Likewise.
27339 [C99-based-standards] (SCNiLEAST8): Likewise.
27340 [C99-based-standards] (SCNoLEAST8): Likewise.
27341 [C99-based-standards] (SCNuLEAST8): Likewise.
27342 [C99-based-standards] (SCNxLEAST8): Likewise.
27343 [C99-based-standards] (PRIdFAST8): Likewise.
27344 [C99-based-standards] (PRIiFAST8): Likewise.
27345 [C99-based-standards] (PRIoFAST8): Likewise.
27346 [C99-based-standards] (PRIuFAST8): Likewise.
27347 [C99-based-standards] (PRIxFAST8): Likewise.
27348 [C99-based-standards] (PRIXFAST8): Likewise.
27349 [C99-based-standards] (SCNdFAST8): Likewise.
27350 [C99-based-standards] (SCNiFAST8): Likewise.
27351 [C99-based-standards] (SCNoFAST8): Likewise.
27352 [C99-based-standards] (SCNuFAST8): Likewise.
27353 [C99-based-standards] (SCNxFAST8): Likewise.
27354 [C99-based-standards] (PRId16): Likewise.
27355 [C99-based-standards] (PRIi16): Likewise.
27356 [C99-based-standards] (PRIo16): Likewise.
27357 [C99-based-standards] (PRIu16): Likewise.
27358 [C99-based-standards] (PRIx16): Likewise.
27359 [C99-based-standards] (PRIX16): Likewise.
27360 [C99-based-standards] (SCNd16): Likewise.
27361 [C99-based-standards] (SCNi16): Likewise.
27362 [C99-based-standards] (SCNo16): Likewise.
27363 [C99-based-standards] (SCNu16): Likewise.
27364 [C99-based-standards] (SCNx16): Likewise.
27365 [C99-based-standards] (PRIdLEAST16): Likewise.
27366 [C99-based-standards] (PRIiLEAST16): Likewise.
27367 [C99-based-standards] (PRIoLEAST16): Likewise.
27368 [C99-based-standards] (PRIuLEAST16): Likewise.
27369 [C99-based-standards] (PRIxLEAST16): Likewise.
27370 [C99-based-standards] (PRIXLEAST16): Likewise.
27371 [C99-based-standards] (SCNdLEAST16): Likewise.
27372 [C99-based-standards] (SCNiLEAST16): Likewise.
27373 [C99-based-standards] (SCNoLEAST16): Likewise.
27374 [C99-based-standards] (SCNuLEAST16): Likewise.
27375 [C99-based-standards] (SCNxLEAST16): Likewise.
27376 [C99-based-standards] (PRIdFAST16): Likewise.
27377 [C99-based-standards] (PRIiFAST16): Likewise.
27378 [C99-based-standards] (PRIoFAST16): Likewise.
27379 [C99-based-standards] (PRIuFAST16): Likewise.
27380 [C99-based-standards] (PRIxFAST16): Likewise.
27381 [C99-based-standards] (PRIXFAST16): Likewise.
27382 [C99-based-standards] (SCNdFAST16): Likewise.
27383 [C99-based-standards] (SCNiFAST16): Likewise.
27384 [C99-based-standards] (SCNoFAST16): Likewise.
27385 [C99-based-standards] (SCNuFAST16): Likewise.
27386 [C99-based-standards] (SCNxFAST16): Likewise.
27387 [C99-based-standards] (PRId32): Likewise.
27388 [C99-based-standards] (PRIi32): Likewise.
27389 [C99-based-standards] (PRIo32): Likewise.
27390 [C99-based-standards] (PRIu32): Likewise.
27391 [C99-based-standards] (PRIx32): Likewise.
27392 [C99-based-standards] (PRIX32): Likewise.
27393 [C99-based-standards] (SCNd32): Likewise.
27394 [C99-based-standards] (SCNi32): Likewise.
27395 [C99-based-standards] (SCNo32): Likewise.
27396 [C99-based-standards] (SCNu32): Likewise.
27397 [C99-based-standards] (SCNx32): Likewise.
27398 [C99-based-standards] (PRIdLEAST32): Likewise.
27399 [C99-based-standards] (PRIiLEAST32): Likewise.
27400 [C99-based-standards] (PRIoLEAST32): Likewise.
27401 [C99-based-standards] (PRIuLEAST32): Likewise.
27402 [C99-based-standards] (PRIxLEAST32): Likewise.
27403 [C99-based-standards] (PRIXLEAST32): Likewise.
27404 [C99-based-standards] (SCNdLEAST32): Likewise.
27405 [C99-based-standards] (SCNiLEAST32): Likewise.
27406 [C99-based-standards] (SCNoLEAST32): Likewise.
27407 [C99-based-standards] (SCNuLEAST32): Likewise.
27408 [C99-based-standards] (SCNxLEAST32): Likewise.
27409 [C99-based-standards] (PRIdFAST32): Likewise.
27410 [C99-based-standards] (PRIiFAST32): Likewise.
27411 [C99-based-standards] (PRIoFAST32): Likewise.
27412 [C99-based-standards] (PRIuFAST32): Likewise.
27413 [C99-based-standards] (PRIxFAST32): Likewise.
27414 [C99-based-standards] (PRIXFAST32): Likewise.
27415 [C99-based-standards] (SCNdFAST32): Likewise.
27416 [C99-based-standards] (SCNiFAST32): Likewise.
27417 [C99-based-standards] (SCNoFAST32): Likewise.
27418 [C99-based-standards] (SCNuFAST32): Likewise.
27419 [C99-based-standards] (SCNxFAST32): Likewise.
27420 [C99-based-standards] (PRId64): Likewise.
27421 [C99-based-standards] (PRIi64): Likewise.
27422 [C99-based-standards] (PRIo64): Likewise.
27423 [C99-based-standards] (PRIu64): Likewise.
27424 [C99-based-standards] (PRIx64): Likewise.
27425 [C99-based-standards] (PRIX64): Likewise.
27426 [C99-based-standards] (SCNd64): Likewise.
27427 [C99-based-standards] (SCNi64): Likewise.
27428 [C99-based-standards] (SCNo64): Likewise.
27429 [C99-based-standards] (SCNu64): Likewise.
27430 [C99-based-standards] (SCNx64): Likewise.
27431 [C99-based-standards] (PRIdLEAST64): Likewise.
27432 [C99-based-standards] (PRIiLEAST64): Likewise.
27433 [C99-based-standards] (PRIoLEAST64): Likewise.
27434 [C99-based-standards] (PRIuLEAST64): Likewise.
27435 [C99-based-standards] (PRIxLEAST64): Likewise.
27436 [C99-based-standards] (PRIXLEAST64): Likewise.
27437 [C99-based-standards] (SCNdLEAST64): Likewise.
27438 [C99-based-standards] (SCNiLEAST64): Likewise.
27439 [C99-based-standards] (SCNoLEAST64): Likewise.
27440 [C99-based-standards] (SCNuLEAST64): Likewise.
27441 [C99-based-standards] (SCNxLEAST64): Likewise.
27442 [C99-based-standards] (PRIdFAST64): Likewise.
27443 [C99-based-standards] (PRIiFAST64): Likewise.
27444 [C99-based-standards] (PRIoFAST64): Likewise.
27445 [C99-based-standards] (PRIuFAST64): Likewise.
27446 [C99-based-standards] (PRIxFAST64): Likewise.
27447 [C99-based-standards] (PRIXFAST64): Likewise.
27448 [C99-based-standards] (SCNdFAST64): Likewise.
27449 [C99-based-standards] (SCNiFAST64): Likewise.
27450 [C99-based-standards] (SCNoFAST64): Likewise.
27451 [C99-based-standards] (SCNuFAST64): Likewise.
27452 [C99-based-standards] (SCNxFAST64): Likewise.
27453 [C99-based-standards] (PRIdMAX): Likewise.
27454 [C99-based-standards] (PRIiMAX): Likewise.
27455 [C99-based-standards] (PRIoMAX): Likewise.
27456 [C99-based-standards] (PRIuMAX): Likewise.
27457 [C99-based-standards] (PRIxMAX): Likewise.
27458 [C99-based-standards] (PRIXMAX): Likewise.
27459 [C99-based-standards] (SCNdMAX): Likewise.
27460 [C99-based-standards] (SCNiMAX): Likewise.
27461 [C99-based-standards] (SCNoMAX): Likewise.
27462 [C99-based-standards] (SCNuMAX): Likewise.
27463 [C99-based-standards] (SCNxMAX): Likewise.
27464 [C99-based-standards] (PRIdPTR): Likewise.
27465 [C99-based-standards] (PRIiPTR): Likewise.
27466 [C99-based-standards] (PRIoPTR): Likewise.
27467 [C99-based-standards] (PRIuPTR): Likewise.
27468 [C99-based-standards] (PRIxPTR): Likewise.
27469 [C99-based-standards] (PRIXPTR): Likewise.
27470 [C99-based-standards] (SCNdPTR): Likewise.
27471 [C99-based-standards] (SCNiPTR): Likewise.
27472 [C99-based-standards] (SCNoPTR): Likewise.
27473 [C99-based-standards] (SCNuPTR): Likewise.
27474 [C99-based-standards] (SCNxPTR): Likewise.
27475 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27476 allow.
27477 * conform/data/stdint.h-data: Update comments to clarify
27478 requirements.
27479 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27480 type.
27481 [C99-based standards] (INT8_MAX): Likewise.
27482 [C99-based standards] (INT16_MIN): Likewise.
27483 [C99-based standards] (INT16_MAX): Likewise.
27484 [C99-based standards] (INT32_MIN): Likewise.
27485 [C99-based standards] (INT32_MAX): Likewise.
27486 [C99-based standards] (INT64_MIN): Likewise.
27487 [C99-based standards] (INT64_MAX): Likewise.
27488 [C99-based standards] (UINT8_MAX): Likewise.
27489 [C99-based standards] (UINT16_MAX): Likewise.
27490 [C99-based standards] (UINT32_MAX): Likewise.
27491 [C99-based standards] (UINT64_MAX): Likewise.
27492 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27493 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27494 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27495 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27496 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27497 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27498 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27499 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27500 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27501 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27502 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27503 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27504 [C99-based standards] (INT_FAST8_MIN): Likewise.
27505 [C99-based standards] (INT_FAST8_MAX): Likewise.
27506 [C99-based standards] (INT_FAST16_MIN): Likewise.
27507 [C99-based standards] (INT_FAST16_MAX): Likewise.
27508 [C99-based standards] (INT_FAST32_MIN): Likewise.
27509 [C99-based standards] (INT_FAST32_MAX): Likewise.
27510 [C99-based standards] (INT_FAST64_MIN): Likewise.
27511 [C99-based standards] (INT_FAST64_MAX): Likewise.
27512 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27513 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27514 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27515 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27516 [C99-based standards] (INTPTR_MIN): Likewise.
27517 [C99-based standards] (INTPTR_MAX): Likewise.
27518 [C99-based standards] (UINTPTR_MAX): Likewise.
27519 [C99-based standards] (INTMAX_MIN): Likewise.
27520 [C99-based standards] (INTMAX_MAX): Likewise.
27521 [C99-based standards] (UINTMAX_MAX): Likewise.
27522 [C99-based standards] (PTRDIFF_MIN): Likewise.
27523 [C99-based standards] (PTRDIFF_MAX): Likewise.
27524 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27525 [C99-based standards] (SIZE_MAX): Likewise.
27526 [C99-based standards] (WCHAR_MAX): Likewise.
27527 [C99-based standards] (WINT_MAX): Likewise.
27528 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27529 constraint on value.
27530 [C99-based standards] (WCHAR_MIN): Likewise.
27531 [C99-based standards] (WINT_MIN): Likewise.
27532 [C99-based standards] (*_t): Allow.
27533 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27534 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27535 Include math.h-data and complex.h-data. Remove all expectations
27536 of math.h and complex.h contents.
27537 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27538 at end of line.
27539 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27540 (struct tm): Expect tag.
27541 [C99-based-standards] (wcstof): Expect function.
27542 [C99-based-standards] (wcstold): Likewise.
27543 [C99-based-standards] (wcstoll): Likewise.
27544 [C99-based-standards] (wcstoull): Likewise.
27545 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27546 macro-int-constant. Specify type.
27547 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27548 constraint on value.
27549 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27550 Specify type.
27551 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27552 Specify value.
27553 [ISO C standards]: Do not allow headers.
27554 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27555 wcs[abcdefghijklmnopqrstuvwxyz]*.
27556 [ISO C standards] (*_t): Do not allow.
27557 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27558 Expect function.
27559 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27560 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27561 Specify type.
27562 [ISO C standards]: Do not allow headers.
27563 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27564 is[abcdefghijklmnopqrstuvwxyz]*.
27565 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27566 to[abcdefghijklmnopqrstuvwxyz]*.
27567 [ISO C standards] (*_t): Do not allow.
27568 * conform/data/stdalign.h-data: New file.
27569 * conform/data/stdbool.h-data: Likewise.
27570 * conform/data/stdnoreturn.h-data: Likewise.
27571
7514feb8
RM
275722012-11-07 Roland McGrath <roland@hack.frob.com>
27573
27574 [BZ #14815]
27575 * manual/filesys.texi (Directory Entries): Typo fix.
27576 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27577
19b2ecfc
MS
275782012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27579
27580 * elf/elf.h (EM_AARCH64): New macro.
27581 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27582 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27583 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27584 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27585 (R_AARCH64_TLSDESC): Likewise.
27586 (NT_ARM_TLS): Likewise.
27587 (NT_ARM_HW_BREAK): Likewise.
27588 (NT_ARM_HW_WATCH): Likewise.
27589
60e235ee
JM
275902012-11-07 Joseph Myers <joseph@codesourcery.com>
27591
27592 [BZ #14811]
27593 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27594 (__ieee754_powl): Saturate nonzero exponents with absolute value
27595 below 0x1p-79 to +/- 0x1p-79.
27596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27597 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27598 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27599 nonzero exponents with absolute value below 0x1p-32 to +/-
27600 0x1p-32.
27601 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27602 (__ieee754_powl): Saturate nonzero exponents with absolute value
27603 below 0x1p-79 to +/- 0x1p-79.
27604 * math/libm-test.inc (pow_test): Add more tests.
27605
0ab234b7
AK
276062012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27607
27608 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27609 _dl_s390_cap_flags with kernel. Increase string length.
27610 (_dl_s390_platforms): Add z196 and zEC12.
27611
45832f74
JM
276122012-11-07 Joseph Myers <joseph@codesourcery.com>
27613
27614 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27615 Change XOPEN21K to XOPEN2K.
27616
19218757
MK
276172012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27618
27619 * string/memmove.c: Use memcpy when possible.
27620
c5f45721
AJ
276212012-11-06 Andreas Jaeger <aj@suse.de>
27622
27623 * po/eo.po: Update from translation team.
27624
82477c28
JM
276252012-11-06 Joseph Myers <joseph@codesourcery.com>
27626
27627 [BZ #14793]
27628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27629 exponent and small x and y exponents, scale x or y up. Increase
27630 by 2 the exponent used in scaling up.
27631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27633 * math/libm-test.inc (fma_test): Add more tests.
27634 (fma_test_towardzero): Likewise.
27635 (fma_test_downward): Likewise.
27636 (fma_test_upward): Likewise.
27637
99252c8c
JM
276382012-11-05 Joseph Myers <joseph@codesourcery.com>
27639
acfa885f
JM
27640 [BZ #14805]
27641 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27642 fenv_t *.
27643
99252c8c
JM
27644 [BZ #14801]
27645 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27646 namespace for names of struct fields.
27647 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27648 fenv_t fields.
27649 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27650 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27651
d6d98dea
ST
276522012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27653
27654 [BZ #3665]
27655 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27656
e10bb107
TS
276572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27658
27659 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27660 PTR_DEMANGLE.
27661
27662 [BZ #5246]
27663 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27664 PTR_DEMANGLE.
27665
a0c2940d
JM
276662012-11-04 Joseph Myers <joseph@codesourcery.com>
27667
27668 [BZ #14797]
27669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27670 definitely overflow as x * y not x * y + z.
27671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27673 * math/libm-test.inc (fma_test): Add more tests.
27674 (fma_test_towardzero): Likewise.
27675 (fma_test_downward): Likewise.
27676 (fma_test_upward): Likewise.
27677
b830319d
TS
276782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27679
27680 [BZ #157]
27681
27682 * include/stub-tag.h: Remove file.
27683 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27684 '#include' of it.
27685 * manual/maint.texi (Porting): Don't reference it.
27686 * Makerules ($(objpfx)stubs): Likewise.
27687 * dirent/closedir.c: Don't include <stub-tag.h>.
27688 * dirent/dirfd.c: Likewise.
27689 * dirent/fdopendir.c: Likewise.
27690 * dirent/getdents.c: Likewise.
27691 * dirent/getdents64.c: Likewise.
27692 * dirent/opendir.c: Likewise.
27693 * dirent/readdir.c: Likewise.
27694 * dirent/readdir64.c: Likewise.
27695 * dirent/readdir64_r.c: Likewise.
27696 * dirent/readdir_r.c: Likewise.
27697 * dirent/rewinddir.c: Likewise.
27698 * dirent/seekdir.c: Likewise.
27699 * dirent/telldir.c: Likewise.
27700 * gmon/profil.c: Likewise.
27701 * grp/setgroups.c: Likewise.
27702 * inet/if_index.c: Likewise.
27703 * io/access.c: Likewise.
27704 * io/chdir.c: Likewise.
27705 * io/chmod.c: Likewise.
27706 * io/chown.c: Likewise.
27707 * io/close.c: Likewise.
27708 * io/dup.c: Likewise.
27709 * io/dup2.c: Likewise.
27710 * io/dup3.c: Likewise.
27711 * io/euidaccess.c: Likewise.
27712 * io/faccessat.c: Likewise.
27713 * io/fchdir.c: Likewise.
27714 * io/fchmod.c: Likewise.
27715 * io/fchmodat.c: Likewise.
27716 * io/fchown.c: Likewise.
27717 * io/fchownat.c: Likewise.
27718 * io/fcntl.c: Likewise.
27719 * io/flock.c: Likewise.
27720 * io/fstatfs.c: Likewise.
27721 * io/fstatfs64.c: Likewise.
27722 * io/fstatvfs.c: Likewise.
27723 * io/fstatvfs64.c: Likewise.
27724 * io/futimens.c: Likewise.
27725 * io/fxstat.c: Likewise.
27726 * io/fxstat64.c: Likewise.
27727 * io/fxstatat.c: Likewise.
27728 * io/fxstatat64.c: Likewise.
27729 * io/getcwd.c: Likewise.
27730 * io/isatty.c: Likewise.
27731 * io/lchmod.c: Likewise.
27732 * io/lchown.c: Likewise.
27733 * io/link.c: Likewise.
27734 * io/linkat.c: Likewise.
27735 * io/lseek.c: Likewise.
27736 * io/lseek64.c: Likewise.
27737 * io/lxstat64.c: Likewise.
27738 * io/mkdir.c: Likewise.
27739 * io/mkdirat.c: Likewise.
27740 * io/mkfifo.c: Likewise.
27741 * io/mkfifoat.c: Likewise.
27742 * io/open.c: Likewise.
27743 * io/open64.c: Likewise.
27744 * io/openat.c: Likewise.
27745 * io/openat64.c: Likewise.
27746 * io/pipe.c: Likewise.
27747 * io/pipe2.c: Likewise.
27748 * io/poll.c: Likewise.
27749 * io/posix_fadvise.c: Likewise.
27750 * io/posix_fadvise64.c: Likewise.
27751 * io/posix_fallocate.c: Likewise.
27752 * io/posix_fallocate64.c: Likewise.
27753 * io/read.c: Likewise.
27754 * io/readlink.c: Likewise.
27755 * io/readlinkat.c: Likewise.
27756 * io/rmdir.c: Likewise.
27757 * io/sendfile.c: Likewise.
27758 * io/sendfile64.c: Likewise.
27759 * io/statfs.c: Likewise.
27760 * io/statfs64.c: Likewise.
27761 * io/statvfs.c: Likewise.
27762 * io/statvfs64.c: Likewise.
27763 * io/symlink.c: Likewise.
27764 * io/symlinkat.c: Likewise.
27765 * io/ttyname.c: Likewise.
27766 * io/ttyname_r.c: Likewise.
27767 * io/umask.c: Likewise.
27768 * io/unlink.c: Likewise.
27769 * io/unlinkat.c: Likewise.
27770 * io/utime.c: Likewise.
27771 * io/utimensat.c: Likewise.
27772 * io/write.c: Likewise.
27773 * io/xmknod.c: Likewise.
27774 * io/xmknodat.c: Likewise.
27775 * io/xstat.c: Likewise.
27776 * io/xstat64.c: Likewise.
27777 * login/getpt.c: Likewise.
27778 * login/grantpt.c: Likewise.
27779 * login/unlockpt.c: Likewise.
27780 * math/e_acoshl.c: Likewise.
27781 * math/e_acosl.c: Likewise.
27782 * math/e_asinl.c: Likewise.
27783 * math/e_atan2l.c: Likewise.
27784 * math/e_atanhl.c: Likewise.
27785 * math/e_coshl.c: Likewise.
27786 * math/e_expl.c: Likewise.
27787 * math/e_fmodl.c: Likewise.
27788 * math/e_gammal_r.c: Likewise.
27789 * math/e_hypotl.c: Likewise.
27790 * math/e_j0l.c: Likewise.
27791 * math/e_j1l.c: Likewise.
27792 * math/e_jnl.c: Likewise.
27793 * math/e_lgammal_r.c: Likewise.
27794 * math/e_log10l.c: Likewise.
27795 * math/e_log2l.c: Likewise.
27796 * math/e_logl.c: Likewise.
27797 * math/e_powl.c: Likewise.
27798 * math/e_rem_pio2l.c: Likewise.
27799 * math/e_sinhl.c: Likewise.
27800 * math/e_sqrtl.c: Likewise.
27801 * math/fclrexcpt.c: Likewise.
27802 * math/fedisblxcpt.c: Likewise.
27803 * math/feenablxcpt.c: Likewise.
27804 * math/fegetenv.c: Likewise.
27805 * math/fegetexcept.c: Likewise.
27806 * math/fegetround.c: Likewise.
27807 * math/feholdexcpt.c: Likewise.
27808 * math/fesetenv.c: Likewise.
27809 * math/fesetround.c: Likewise.
27810 * math/feupdateenv.c: Likewise.
27811 * math/fgetexcptflg.c: Likewise.
27812 * math/fraiseexcpt.c: Likewise.
27813 * math/fsetexcptflg.c: Likewise.
27814 * math/ftestexcept.c: Likewise.
27815 * math/k_cosl.c: Likewise.
27816 * math/k_rem_pio2l.c: Likewise.
27817 * math/k_sinl.c: Likewise.
27818 * math/k_tanl.c: Likewise.
27819 * math/s_asinhl.c: Likewise.
27820 * math/s_atanl.c: Likewise.
27821 * math/s_cbrtl.c: Likewise.
27822 * math/s_erfl.c: Likewise.
27823 * math/s_expm1l.c: Likewise.
27824 * math/s_log1pl.c: Likewise.
27825 * math/s_tanhl.c: Likewise.
27826 * misc/acct.c: Likewise.
27827 * misc/brk.c: Likewise.
27828 * misc/chflags.c: Likewise.
27829 * misc/chroot.c: Likewise.
27830 * misc/fchflags.c: Likewise.
27831 * misc/fgetxattr.c: Likewise.
27832 * misc/flistxattr.c: Likewise.
27833 * misc/fremovexattr.c: Likewise.
27834 * misc/fsetxattr.c: Likewise.
27835 * misc/fsync.c: Likewise.
27836 * misc/ftruncate.c: Likewise.
27837 * misc/futimes.c: Likewise.
27838 * misc/futimesat.c: Likewise.
27839 * misc/getdomain.c: Likewise.
27840 * misc/getdtsz.c: Likewise.
27841 * misc/gethostid.c: Likewise.
27842 * misc/gethostname.c: Likewise.
27843 * misc/getloadavg.c: Likewise.
27844 * misc/getpagesize.c: Likewise.
27845 * misc/getsysstats.c: Likewise.
27846 * misc/getxattr.c: Likewise.
27847 * misc/gtty.c: Likewise.
27848 * misc/ioctl.c: Likewise.
27849 * misc/lgetxattr.c: Likewise.
27850 * misc/listxattr.c: Likewise.
27851 * misc/llistxattr.c: Likewise.
27852 * misc/lremovexattr.c: Likewise.
27853 * misc/lsetxattr.c: Likewise.
27854 * misc/lutimes.c: Likewise.
27855 * misc/madvise.c: Likewise.
27856 * misc/mincore.c: Likewise.
27857 * misc/mlock.c: Likewise.
27858 * misc/mlockall.c: Likewise.
27859 * misc/mmap.c: Likewise.
27860 * misc/mprotect.c: Likewise.
27861 * misc/msync.c: Likewise.
27862 * misc/munlock.c: Likewise.
27863 * misc/munlockall.c: Likewise.
27864 * misc/munmap.c: Likewise.
27865 * misc/preadv.c: Likewise.
27866 * misc/preadv64.c: Likewise.
27867 * misc/ptrace.c: Likewise.
27868 * misc/pwritev.c: Likewise.
27869 * misc/pwritev64.c: Likewise.
27870 * misc/readv.c: Likewise.
27871 * misc/reboot.c: Likewise.
27872 * misc/remap_file_pages.c: Likewise.
27873 * misc/removexattr.c: Likewise.
27874 * misc/revoke.c: Likewise.
27875 * misc/select.c: Likewise.
27876 * misc/setdomain.c: Likewise.
27877 * misc/setegid.c: Likewise.
27878 * misc/seteuid.c: Likewise.
27879 * misc/sethostid.c: Likewise.
27880 * misc/sethostname.c: Likewise.
27881 * misc/setregid.c: Likewise.
27882 * misc/setreuid.c: Likewise.
27883 * misc/setxattr.c: Likewise.
27884 * misc/sstk.c: Likewise.
27885 * misc/stty.c: Likewise.
27886 * misc/swapoff.c: Likewise.
27887 * misc/swapon.c: Likewise.
27888 * misc/sync.c: Likewise.
27889 * misc/syncfs.c: Likewise.
27890 * misc/syscall.c: Likewise.
27891 * misc/truncate.c: Likewise.
27892 * misc/ualarm.c: Likewise.
27893 * misc/usleep.c: Likewise.
27894 * misc/ustat.c: Likewise.
27895 * misc/utimes.c: Likewise.
27896 * misc/vhangup.c: Likewise.
27897 * misc/writev.c: Likewise.
27898 * posix/_exit.c: Likewise.
27899 * posix/alarm.c: Likewise.
27900 * posix/execve.c: Likewise.
27901 * posix/fexecve.c: Likewise.
27902 * posix/fork.c: Likewise.
27903 * posix/fpathconf.c: Likewise.
27904 * posix/getaddrinfo.c: Likewise.
27905 * posix/getegid.c: Likewise.
27906 * posix/geteuid.c: Likewise.
27907 * posix/getgid.c: Likewise.
27908 * posix/getgroups.c: Likewise.
27909 * posix/getlogin.c: Likewise.
27910 * posix/getlogin_r.c: Likewise.
27911 * posix/getpgid.c: Likewise.
27912 * posix/getpid.c: Likewise.
27913 * posix/getppid.c: Likewise.
27914 * posix/getresgid.c: Likewise.
27915 * posix/getresuid.c: Likewise.
27916 * posix/getsid.c: Likewise.
27917 * posix/getuid.c: Likewise.
27918 * posix/glob64.c: Likewise.
27919 * posix/nanosleep.c: Likewise.
27920 * posix/pathconf.c: Likewise.
27921 * posix/pause.c: Likewise.
27922 * posix/posix_madvise.c: Likewise.
27923 * posix/pread.c: Likewise.
27924 * posix/pread64.c: Likewise.
27925 * posix/pwrite.c: Likewise.
27926 * posix/pwrite64.c: Likewise.
27927 * posix/sched_getaffinity.c: Likewise.
27928 * posix/sched_getp.c: Likewise.
27929 * posix/sched_gets.c: Likewise.
27930 * posix/sched_primax.c: Likewise.
27931 * posix/sched_primin.c: Likewise.
27932 * posix/sched_rr_gi.c: Likewise.
27933 * posix/sched_setaffinity.c: Likewise.
27934 * posix/sched_setp.c: Likewise.
27935 * posix/sched_sets.c: Likewise.
27936 * posix/sched_yield.c: Likewise.
27937 * posix/setgid.c: Likewise.
27938 * posix/setlogin.c: Likewise.
27939 * posix/setpgid.c: Likewise.
27940 * posix/setresgid.c: Likewise.
27941 * posix/setresuid.c: Likewise.
27942 * posix/setsid.c: Likewise.
27943 * posix/setuid.c: Likewise.
27944 * posix/sleep.c: Likewise.
27945 * posix/spawni.c: Likewise.
27946 * posix/sysconf.c: Likewise.
27947 * posix/times.c: Likewise.
27948 * posix/wait.c: Likewise.
27949 * posix/wait3.c: Likewise.
27950 * posix/wait4.c: Likewise.
27951 * posix/waitpid.c: Likewise.
27952 * resolv/gai_sigqueue.c: Likewise.
27953 * resource/getpriority.c: Likewise.
27954 * resource/getrlimit.c: Likewise.
27955 * resource/getrusage.c: Likewise.
27956 * resource/nice.c: Likewise.
27957 * resource/setpriority.c: Likewise.
27958 * resource/setrlimit.c: Likewise.
27959 * resource/ulimit.c: Likewise.
27960 * rt/aio_cancel.c: Likewise.
27961 * rt/aio_fsync.c: Likewise.
27962 * rt/aio_read.c: Likewise.
27963 * rt/aio_sigqueue.c: Likewise.
27964 * rt/aio_suspend.c: Likewise.
27965 * rt/aio_write.c: Likewise.
27966 * rt/clock_getres.c: Likewise.
27967 * rt/clock_gettime.c: Likewise.
27968 * rt/clock_nanosleep.c: Likewise.
27969 * rt/clock_settime.c: Likewise.
27970 * rt/lio_listio.c: Likewise.
27971 * rt/mq_close.c: Likewise.
27972 * rt/mq_getattr.c: Likewise.
27973 * rt/mq_notify.c: Likewise.
27974 * rt/mq_open.c: Likewise.
27975 * rt/mq_receive.c: Likewise.
27976 * rt/mq_send.c: Likewise.
27977 * rt/mq_setattr.c: Likewise.
27978 * rt/mq_timedreceive.c: Likewise.
27979 * rt/mq_timedsend.c: Likewise.
27980 * rt/mq_unlink.c: Likewise.
27981 * rt/shm_open.c: Likewise.
27982 * rt/shm_unlink.c: Likewise.
27983 * rt/timer_create.c: Likewise.
27984 * rt/timer_delete.c: Likewise.
27985 * rt/timer_getoverr.c: Likewise.
27986 * rt/timer_gettime.c: Likewise.
27987 * rt/timer_settime.c: Likewise.
27988 * setjmp/__longjmp.c: Likewise.
27989 * setjmp/setjmp.c: Likewise.
27990 * signal/kill.c: Likewise.
27991 * signal/killpg.c: Likewise.
27992 * signal/raise.c: Likewise.
27993 * signal/sigaction.c: Likewise.
27994 * signal/sigaltstack.c: Likewise.
27995 * signal/sigblock.c: Likewise.
27996 * signal/sigignore.c: Likewise.
27997 * signal/sigintr.c: Likewise.
27998 * signal/signal.c: Likewise.
27999 * signal/sigpause.c: Likewise.
28000 * signal/sigpending.c: Likewise.
28001 * signal/sigqueue.c: Likewise.
28002 * signal/sigreturn.c: Likewise.
28003 * signal/sigset.c: Likewise.
28004 * signal/sigsetmask.c: Likewise.
28005 * signal/sigstack.c: Likewise.
28006 * signal/sigsuspend.c: Likewise.
28007 * signal/sigtimedwait.c: Likewise.
28008 * signal/sigvec.c: Likewise.
28009 * signal/sigwait.c: Likewise.
28010 * signal/sigwaitinfo.c: Likewise.
28011 * signal/sysv_signal.c: Likewise.
28012 * socket/accept.c: Likewise.
28013 * socket/accept4.c: Likewise.
28014 * socket/bind.c: Likewise.
28015 * socket/connect.c: Likewise.
28016 * socket/getpeername.c: Likewise.
28017 * socket/getsockname.c: Likewise.
28018 * socket/getsockopt.c: Likewise.
28019 * socket/isfdtype.c: Likewise.
28020 * socket/listen.c: Likewise.
28021 * socket/recv.c: Likewise.
28022 * socket/recvfrom.c: Likewise.
28023 * socket/recvmsg.c: Likewise.
28024 * socket/send.c: Likewise.
28025 * socket/sendmsg.c: Likewise.
28026 * socket/sendto.c: Likewise.
28027 * socket/setsockopt.c: Likewise.
28028 * socket/shutdown.c: Likewise.
28029 * socket/sockatmark.c: Likewise.
28030 * socket/socket.c: Likewise.
28031 * socket/socketpair.c: Likewise.
28032 * stdio-common/ctermid.c: Likewise.
28033 * stdio-common/cuserid.c: Likewise.
28034 * stdio-common/remove.c: Likewise.
28035 * stdio-common/rename.c: Likewise.
28036 * stdio-common/renameat.c: Likewise.
28037 * stdio-common/tempname.c: Likewise.
28038 * stdlib/getcontext.c: Likewise.
28039 * stdlib/makecontext.c: Likewise.
28040 * stdlib/setcontext.c: Likewise.
28041 * stdlib/swapcontext.c: Likewise.
28042 * stdlib/system.c: Likewise.
28043 * streams/fattach.c: Likewise.
28044 * streams/fdetach.c: Likewise.
28045 * streams/getmsg.c: Likewise.
28046 * streams/getpmsg.c: Likewise.
28047 * streams/putmsg.c: Likewise.
28048 * streams/putpmsg.c: Likewise.
28049 * sysdeps/unix/bsd/getpt.c: Likewise.
28050 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28051 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28052 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28054 Likewise.
28055 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28056 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28057 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28058 * sysvipc/msgctl.c: Likewise.
28059 * sysvipc/msgget.c: Likewise.
28060 * sysvipc/msgrcv.c: Likewise.
28061 * sysvipc/msgsnd.c: Likewise.
28062 * sysvipc/semctl.c: Likewise.
28063 * sysvipc/semget.c: Likewise.
28064 * sysvipc/semop.c: Likewise.
28065 * sysvipc/semtimedop.c: Likewise.
28066 * sysvipc/shmat.c: Likewise.
28067 * sysvipc/shmctl.c: Likewise.
28068 * sysvipc/shmdt.c: Likewise.
28069 * sysvipc/shmget.c: Likewise.
28070 * termios/tcdrain.c: Likewise.
28071 * termios/tcflow.c: Likewise.
28072 * termios/tcflush.c: Likewise.
28073 * termios/tcgetattr.c: Likewise.
28074 * termios/tcgetpgrp.c: Likewise.
28075 * termios/tcsendbrk.c: Likewise.
28076 * termios/tcsetattr.c: Likewise.
28077 * termios/tcsetpgrp.c: Likewise.
28078 * time/adjtime.c: Likewise.
28079 * time/clock.c: Likewise.
28080 * time/getitimer.c: Likewise.
28081 * time/gettimeofday.c: Likewise.
28082 * time/setitimer.c: Likewise.
28083 * time/settimeofday.c: Likewise.
28084 * time/stime.c: Likewise.
28085 * time/time.c: Likewise.
28086
280872012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28088
a20492cf
PT
28089 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28090 /usr/old/bin.
28091
72e182e3
PT
28092 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28093 instead of spaces.
28094 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28095
fbeafede
JM
280962012-11-03 Joseph Myers <joseph@codesourcery.com>
28097
5b5b04d6
JM
28098 [BZ #14796]
28099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28100 FE_TONEAREST before applying Dekker multiplication and Knuth
28101 addition. Clear inexact exceptions and check for exact zero
28102 results afterwards.
28103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28104 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28106 * math/libm-test.inc (fma_test): Add more tests.
28107 (fma_test_towardzero): Likewise.
28108 (fma_test_downward): Likewise.
28109 (fma_test_upward): Likewise.
28110 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28111 function.
28112 (libc_fesetround): New macro.
28113 (libc_fesetroundf): Likewise.
28114 (libc_fesetroundl): Likewise.
28115 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28116 function.
28117 (libc_fesetround_387): Likewise.
28118 (libc_fesetroundf): New macro.
28119 (libc_fesetround): Likewise.
28120 (libc_fesetroundl): Likewise.
28121 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28122 function.
28123 (libc_fesetroundf): New macro.
28124 (libc_fesetround): Likewise.
28125 (libc_fesetroundl): Likewise.
28126 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28127 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28128 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28129 libm_hidden_ver.
28130 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28131 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28132 libm_hidden_def.
28133 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28134 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28135 libm_hidden_ver.
28136 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28137 libm_hidden_def.
28138
fbeafede
JM
28139 [BZ #3439]
28140 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28141 integer constant usable in #if and use that to give value to enum
28142 constant.
28143 (FE_DIVBYZERO): Likewise.
28144 (FE_UNDERFLOW): Likewise.
28145 (FE_OVERFLOW): Likewise.
28146 (FE_INVALID): Likewise.
28147 (FE_INVALID_SNAN): Likewise.
28148 (FE_INVALID_ISI): Likewise.
28149 (FE_INVALID_IDI): Likewise.
28150 (FE_INVALID_ZDZ): Likewise.
28151 (FE_INVALID_IMZ): Likewise.
28152 (FE_INVALID_COMPARE): Likewise.
28153 (FE_INVALID_SOFTWARE): Likewise.
28154 (FE_INVALID_SQRT): Likewise.
28155 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28156 (FE_TONEAREST): Likewise.
28157 (FE_TOWARDZERO): Likewise.
28158 (FE_UPWARD): Likewise.
28159 (FE_DOWNWARD): Likewise.
28160 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28161 (FE_DIVBYZERO): Likewise.
28162 (FE_OVERFLOW): Likewise.
28163 (FE_UNDERFLOW): Likewise.
28164 (FE_INEXACT): Likewise.
28165 (FE_TONEAREST): Likewise.
28166 (FE_DOWNWARD): Likewise.
28167 (FE_UPWARD): Likewise.
28168 (FE_TOWARDZERO): Likewise.
28169 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28170 (FE_UNDERFLOW): Likewise.
28171 (FE_OVERFLOW): Likewise.
28172 (FE_DIVBYZERO): Likewise.
28173 (FE_INVALID): Likewise.
28174 (FE_TONEAREST): Likewise.
28175 (FE_TOWARDZERO): Likewise.
28176 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28177 (FE_OVERFLOW): Likewise.
28178 (FE_UNDERFLOW): Likewise.
28179 (FE_DIVBYZERO): Likewise.
28180 (FE_INEXACT): Likewise.
28181 (FE_TONEAREST): Likewise.
28182 (FE_TOWARDZERO): Likewise.
28183 (FE_UPWARD): Likewise.
28184 (FE_DOWNWARD): Likewise.
28185 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28186 (FE_DIVBYZERO): Likewise.
28187 (FE_OVERFLOW): Likewise.
28188 (FE_UNDERFLOW): Likewise.
28189 (FE_INEXACT): Likewise.
28190 (FE_TONEAREST): Likewise.
28191 (FE_DOWNWARD): Likewise.
28192 (FE_UPWARD): Likewise.
28193 (FE_TOWARDZERO): Likewise.
28194
105ca950
CM
281952012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28196
28197 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28198
a542b389
AS
281992012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28200
28201 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28202 commands. Quote $PWD.
28203 (blacklist_exports): Don't use remove_newlines. Replace "declare
28204 -x" by "export".
28205 (remove_newlines): Remove.
28206
f62c8abc
L
282072012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28208
28209 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28210 * stdlib/stdlib.h (atof): Moved to ...
28211 * include/bits/stdlib-float.h: Here. New file.
28212 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28213 * stdlib/bits/stdlib-float.h: New file.
28214 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28215 -mno-sse -mno-mmx.
28216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28217 <xmmintrin.h>.
28218
0155d5b2
JM
282192012-11-02 Joseph Myers <joseph@codesourcery.com>
28220
a68d0680
JM
28221 * conform/conformtest.pl (@headers): Add fenv.h.
28222 * conform/data/fenv.h-data: New file.
28223 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28224 include of <math/fenv.h>.
28225
caf7f573
JM
28226 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28227 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28228 && !UNIX98]. Enables tests for XOPEN2K8.
28229 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28230 POSIX2008]: Likewise.
28231
6c073ad6
JM
28232 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28233 (struct rusage): Do not expect type or its members.
28234
0155d5b2
JM
28235 [BZ #3439]
28236 * math/math.h (FP_NAN): Define macro to integer constant usable in
28237 #if and use that to give value to enum constant.
28238 (FP_INFINITE): Likewise.
28239 (FP_ZERO): Likewise.
28240 (FP_SUBNORMAL): Likewise.
28241 (FP_NORMAL): Likewise.
28242
b5dcacb4
AS
282432012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28244
28245 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28246 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28247 arguments.
28248
f7934be8
RM
282492012-11-02 Roland McGrath <roland@hack.frob.com>
28250
28251 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28252 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28253 autoconf-time if not.
28254 * configure.in: Remove AC_PREREQ.
28255
d7d08bde
TMQMF
282562012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28257
28258 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28259 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28260 of the internal implementation.
28261
dcdae19a
JM
282622012-11-02 Joseph Myers <joseph@codesourcery.com>
28263
28264 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28265 except include of <misc/sys/syslog.h>.
28266
d6cffd3e
AS
282672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28268
28269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28270 function returns with a NULL context exit with zero.
28271
b3563932
TMQMF
282722012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28273
28274 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28275
b288a93d
L
282762012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28277
28278 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28279 (run_program_cmd): This.
28280 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28281 (tst_langinfo): New variable. Use it.
28282
a2421a68
SAS
282832012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28284
28285 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28286 floating point opcodes.
28287
6f796e1b
TS
282882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28289
7402596b
TS
28290 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28291 variable.
28292
d0d4f868
TS
28293 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28294
6f796e1b
TS
28295 * sysdeps/mach/hurd/powerpc: Remove directory.
28296 * sysdeps/mach/powerpc: Likewise.
28297
4da224a2
AS
282982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28299
28300 * scripts/check-local-headers.sh: Ignore c++ headers.
28301
341dd673
TS
283022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28303
28304 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28305 __libc_cleanup_region_start argument.
28306
473611b2
JM
283072012-11-01 Joseph Myers <joseph@codesourcery.com>
28308
28309 [BZ #14784]
28310 [BZ #14785]
28311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28312 x * y using scaling, not as x * y + z.
28313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28315 * math/libm-test.inc (fma_test): Add more tests.
28316 (fma_test_towardzero): Likewise.
28317 (fma_test_downward): Likewise.
28318 (fma_test_upward): Likewise.
28319
4078da3d
TS
283202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28321
28322 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28323
903252aa
JM
283242012-10-31 Joseph Myers <joseph@codesourcery.com>
28325
28326 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28327 New variable.
28328
cbc818d0
TS
283292012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28330
28331 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28332
5a03cb1e
AS
283332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28334
28335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28336 Fix sort order.
28337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28338 Likewise.
28339
90aff2ff
TMQMF
283402012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28341
28342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28343 Fix the order of the list for glibc 2.17.
28344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28345 Likewise.
28346
1818fcb7
AS
283472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28348
28349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28350
ef82f4da
JM
283512012-10-31 Joseph Myers <joseph@codesourcery.com>
28352
16a0e2ec
JM
28353 [BZ #14610]
28354 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28355 for low part of x being zero before using __atanl (y).
28356 * math/libm-test.inc (atan2_test): Add another test.
28357
0eb69512
JM
28358 * manual/install.texi (Configuring and compiling): Document
28359 general use of test-wrapper and test-wrapper-env.
28360 * INSTALL: Regenerated.
28361
ef82f4da
JM
28362 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28363 (__fma): Do not extract and scale down low bits on after-rounding
28364 systems when result rounded to normal precision would have normal
28365 exponent.
28366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28367 (__fmal): Do not extract and scale down low bits on after-rounding
28368 systems when result rounded to normal precision would have normal
28369 exponent.
28370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28371 (__fmal): Do not extract and scale down low bits on after-rounding
28372 systems when result rounded to normal precision would have normal
28373 exponent.
28374 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28375 macro.
28376 (fma_test): Add more tests.
28377 (fma_test_towardzero): Likewise.
28378 (fma_test_downward): Likewise.
28379 (fma_test_upward): Likewise.
28380
954ef0d9
L
283812012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/i386/tininess.h: Renamed to ...
28384 * sysdeps/x86/tininess.h: This.
28385 * sysdeps/x86_64/tininess.h: Removed.
28386
df61ffb2
JM
283872012-10-30 Joseph Myers <joseph@codesourcery.com>
28388
28389 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28390 input. Use $(build-program-cmd).
28391 ($(objpfx)tst-array1-static.out): Likewise.
28392 ($(objpfx)tst-array2.out): Likewise.
28393 ($(objpfx)tst-array3.out): Likewise.
28394 ($(objpfx)tst-array4.out): Likewise.
28395 ($(objpfx)tst-array5.out): Likewise.
28396 ($(objpfx)tst-array5-static.out): Likewise.
28397
01767843
CM
283982012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28399
47cc1490
CM
28400 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28401 if defined.
28402
01767843
CM
28403 * nss/nsswitch.h (nss_interface_function): Provide new
28404 macro for use with NSS functions.
28405 * grp/initgroups.c: Use new macro.
28406 * nss/getXXbyYY.c: Likewise.
28407 * nss/getXXbyYY_r.c: Likewise.
28408 * nss/getXXent.c: Likewise.
28409 * nss/getXXent_r.c: Likewise.
28410 * sysdeps/posix/getaddrinfo.c: Likewise.
28411
8321aa97
AJ
284122012-10-30 Andreas Jaeger <aj@suse.de>
28413
28414 * po/ru.po: Update Russion translation from translation project.
28415
2a27fd6d
JM
284162012-10-30 Joseph Myers <joseph@codesourcery.com>
28417
8627a232
JM
28418 [BZ #14152]
28419 [BZ #14783]
28420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28421 result and shift together with sticky bit instead of replicating
28422 round-to-nearest rounding.
28423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28425 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28426 missing underflow exceptions.
28427 (fma_test_towardzero): Add more tests.
28428 (fma_test_downward): Likewise.
28429 (fma_test_upward): Likewise.
28430
2a27fd6d
JM
28431 [BZ #14047]
28432 * sysdeps/generic/tininess.h: New file.
28433 * sysdeps/i386/tininess.h: Likewise.
28434 * sysdeps/sh/tininess.h: Likewise.
28435 * sysdeps/x86_64/tininess.h: Likewise.
28436 * stdlib/tst-strtod-underflow.c: Likewise.
28437 * stdlib/tst-tininess.c: Likewise.
28438 * stdlib/strtod_l.c: Include <tininess.h>.
28439 (round_and_return): Do not set errno for exact underflow cases.
28440 Force an underflow exception when setting errno for underflow.
28441 Determine underflow based on rounding to normal precision if
28442 TININESS_AFTER_ROUNDING.
28443 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28444 ERANGE for exact underflow cases.
28445 * stdlib/Makefile (tests): Add tst-tininess and
28446 tst-strtod-underflow.
28447 ($(objpfx)tst-tininess): Use $(link-libm).
28448 ($(objpfx)tst-strtod-underflow): Likewise.
28449
e7170363
AJ
284502012-10-30 Andreas Jaeger <aj@suse.de>
28451
e5088dc6
AJ
28452 [BZ#14767]
28453 * elf/Makefile (tests): Remove conditional for have-initfini-array
28454 since this is now always required and the variable does not exist
28455 anymore.
28456 (tests-static): Likewise.
28457 (modules-names): Likewise.
28458
e7170363 28459 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28460
28461 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28462 merged with constructor/destructor.
28463 (init_array): Likewise.
28464 * elf/tst-array2dep.c (fini_array): Likewise.
28465 (init_array): Likewise.
28466
60457d8a
MF
284672012-10-29 Mike Frysinger <vapier@gentoo.org>
28468
28469 * manual/message.texi: Delete @cartouche tags.
28470
8bece752
PT
284712012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28472
94ce799f
PT
28473 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28474 EOPNOTSUPP.
28475 * sysdeps/mach/hurd/fsync.c: Likewise.
28476
8bece752
PT
28477 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28478 [_POSIX_REALTIME_SIGNALS]: Change condition to
28479 [_POSIX_REALTIME_SIGNALS > 0].
28480
86ebe6b1
AJ
284812012-10-27 Andreas Jaeger <aj@suse.de>
28482
28483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28484 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28486 [__WORDSIZE != 64]: Likewise.
28487
54399c08
L
284882012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 * iconvdata/tst-table.sh: Remove ${SHELL}.
28491 * iconvdata/tst-tables.sh: Likewise.
28492
e2211bed
DM
284932012-10-25 David S. Miller <davem@davemloft.net>
28494
28495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28496 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28497 of strtoull.
28498
f303f97c
DM
28499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28500 ifunc-impl-list.c
28501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28502 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28503 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28504 file.
28505
1e9d84cd
RM
285062012-10-25 Roland McGrath <roland@hack.frob.com>
28507
28508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28509 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28510 __getdirentries.
28511
df381762
JM
285122012-10-25 Joseph Myers <joseph@codesourcery.com>
28513 Jim Blandy <jimb@codesourcery.com>
28514
28515 * scripts/cross-test-ssh.sh: New file.
28516 * manual/install.texi (Configuring and compiling): Document use of
28517 cross-test-ssh.sh.
28518 * INSTALL: Regenerated.
28519
bff64913
PT
285202012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28521
28522 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28523 EOPNOTSUPP.
28524
25fe8932
JM
285252012-10-25 Joseph Myers <joseph@codesourcery.com>
28526
28527 * Makeconfig (run-program-prefix): Fix comment.
28528
cc1290d0
JM
285292012-10-24 Joseph Myers <joseph@codesourcery.com>
28530 Jim Blandy <jimb@codesourcery.com>
28531
28532 * Makeconfig (test-wrapper): New variable,
28533 (test-wrapper-env): Likewise.
28534 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28535 (run-built-tests): Define to yes.
28536 (run-program-prefix): Use $(test-wrapper).
28537 (built-program-cmd): Likewise.
28538 * Rules (make-test-out): Use $(test-wrapper-env) and
28539 $(host-built-program-cmd).
28540 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28541 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28542 tst-pathopt.sh.
28543 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28544 $(test-wrapper-env) to tst-rtld-load-self.sh.
28545 ($(objpfx)order2.out): Use $(test-wrapper).
28546 ($(objpfx)tst-initorder.out): Likewise.
28547 ($(objpfx)tst-initorder2.out): Likewise.
28548 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28549 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28550 (test_wrapper_env): New variable. Use it to run ld.so.
28551 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28552 Use it to run ld.so.
28553 (test_wrapper_env): Likewise.
28554 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28555 $(test-wrapper) to run-iconv-test.sh.
28556 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28557 (ICONV): Use $test_wrapper.
28558 * posix/Makefile ($(objpfx)globtest.out): Pass
28559 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28560 globtest.sh, not $(run-program-prefix).
28561 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28562 (test_wrapper): Likewise.
28563 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28564 set together with run_via_rtld_prefix.
28565 (run_program_prefix): Define in terms of test_wrapper and
28566 run_via_rtld_prefix.
28567
6e6249d0
RM
285682012-10-24 Roland McGrath <roland@hack.frob.com>
28569
28570 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28571 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28572 Targets removed.
28573
28574 [BZ #14743]
28575 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28576 Declare __clock_getres, __clock_gettime, __clock_settime,
28577 __clock_nanosleep, and __clock_getcpuclockid.
28578 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28579 Remove librt_hidden_def (clock_gettime).
28580 * sysdeps/unix/clock_gettime.c: Likewise.
28581 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28582 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28583 * rt/clock_getres.c: Define __clock_getres as an alias.
28584 * sysdeps/posix/clock_getres.c: Likewise.
28585 * rt/clock_settime.c: Define __clock_settime as an alias.
28586 * sysdeps/unix/clock_settime.c: Likewise.
28587 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28588 * sysdeps/unix/clock_nanosleep.c: Likewise.
28589 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28590 * rt/clock-compat.c: New file.
28591 * rt/Makefile (librt-routines): Add clock-compat and move
28592 $(clock-routines) to ...
28593 (routines): ... here, new variable.
28594 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28595 Don't add get_clockfreq here.
28596 * rt/Versions (libc: GLIBC_2.17): New version set.
28597 Add clock_* symbols here.
28598 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28600 (GLIBC_2.17): Add clock_* symbols.
28601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28605 Likewise.
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28607 Likewise.
28608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28612 * NEWS: Mention the move.
28613
28614 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28615 Use __open, __read, __close rather than their public counterparts.
28616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28617 (__get_clockfreq_via_cpuinfo): Likewise.
28618 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28619 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28620
28621 * config.h.in (HAVE_IFUNC): New #undef.
28622 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28623 was successful.
28624 * configure: Regenerated.
28625
0cae3f4b
MF
286262012-10-24 Mike Frysinger <vapier@gentoo.org>
28627
28628 * configure.in: Move READELF check to start of file.
28629 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28630 libc_cv_asm_gnu_indirect_function in the process.
28631 * configure: Regenerated.
28632
8175a253
MF
286332012-10-24 Mike Frysinger <vapier@gentoo.org>
28634
28635 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28636 send the output to /dev/null.
28637 (libc_cv_cc_with_libunwind): Likewise.
28638 (libc_cv_as_noexecstack): Likewise.
28639 * configure: Regenerate.
28640
0708a7d1
JM
286412012-10-24 Joseph Myers <joseph@codesourcery.com>
28642
10b40d85
JM
28643 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28644
0708a7d1
JM
28645 * posix/globtest.sh (TMPDIR): Do not set.
28646 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28647 (testout): Likewise.
28648
9fddec1a
AJ
286492012-10-24 Andreas Jaeger <aj@suse.de>
28650
3a8db22f
AJ
28651 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28652 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28653 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28654 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28655 posix_fadvise64, posix_fallocate64.
28656
9fddec1a
AJ
28657 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28658 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28659 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28660 Likewise.
28661 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28662 Likewise.
28663 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28664
28665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28666 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28667 <bits/fcntl-linux.h>.
28668 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28669
28670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28671 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28672 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28673 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28674 [__WORDSIZE != 64]: Likewise.
28675
ebfd1bbd
JM
286762012-10-23 Joseph Myers <joseph@codesourcery.com>
28677
03ac099f
JM
28678 * Makeconfig (run-built-tests): New variable.
28679 * Rules [$(cross-compiling) = yes]: Change condition to
28680 [$(run-built-tests) = no].
28681 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28682 to [$(run-built-tests) = yes].
28683 * elf/Makefile [$(cross-compiling) = no]: Likewise
28684 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28685 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28686 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28687 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28688 * io/Makefile [$(cross-compiling) = no]: Likewise.
28689 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28690 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28691 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28692 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28693 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28694 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28695 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28696 * string/Makefile [$(cross-compiling) = no]: Likewise.
28697
ebfd1bbd
JM
28698 * posix/Makefile ($(objpfx)globtest.out): Pass
28699 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28700 $(rtld-installed-name).
28701 * posix/globtest.sh (elf_objpfx): Remove variable.
28702 (rtld_installed_name): Likewise.
28703 (library_path): Likewise.
28704 (run_program_prefix): New variable. Use for running globtest
28705 binary.
28706
166bca24
JB
287072012-10-23 Jim Blandy <jimb@codesourcery.com>
28708 Joseph Myers <joseph@codesourcery.com>
28709
28710 * Makeconfig (host-built-program-cmd): New variable.
28711 * elf/Makefile (tst-stackguard1-ARGS): Use
28712 $(host-built-program-cmd).
28713 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28714 (tst-spawn-ARGS): Likewise.
28715 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28716
88866099
JM
287172012-10-23 Joseph Myers <joseph@codesourcery.com>
28718 Jim Blandy <jimb@codesourcery.com>
28719
28720 * Makeconfig (run-via-rtld-prefix): New variable.
28721 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28722 (built-program-cmd): Likewise.
28723
b4b4c296
AJ
287242012-10-22 Andreas Jaeger <aj@suse.de>
28725
28726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28727 __O_RSYNC if it exists, otherwise to O_SYNC.
28728
6fb54a22
JB
287292012-10-22 Jim Blandy <jimb@codesourcery.com>
28730 Joseph Myers <joseph@codesourcery.com>
28731
28732 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28733 /dev/null.
28734 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28735 from /dev/null
28736 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28737 /dev/null.
28738
481b90b9
AJ
287392012-10-22 Andreas Jaeger <aj@suse.de>
28740
2a0e2669
AJ
28741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28742 Define always.
28743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28744
76e38f9a
AJ
28745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28746 bits/fcntl-linux.h.
28747
7cd37b43
AJ
28748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28749 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28750
481b90b9
AJ
28751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28752 to __O_LARGEFILE.
28753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28754 to __O_LARGEFILE.
28755
aba75984
JB
287562012-10-21 Jim Blandy <jimb@codesourcery.com>
28757 Joseph Myers <joseph@codesourcery.com>
28758
28759 * config.make.in (NM): New variable.
28760
88d4247f
AJ
287612012-10-21 Andreas Jaeger <aj@suse.de>
28762
28763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28764 definitions and declarations that are provided by
28765 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28766
f2eed205
L
287672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 [BZ #14683]
28770 * elf/Makefile (tests-static): Add tst-leaks1-static.
28771 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28772 ($(objpfx)tst-leaks1-static): New rule.
28773 ($(objpfx)tst-leaks1-static-mem): Likewise.
28774 (tst-leaks1-static-ENV): New macro.
28775 * elf/dl-open.c (dl_open_worker): Check the main application
28776 only if SHARED is defined.
28777 * elf/tst-leaks1-static.c: New file.
28778
335e6931
AJ
287792012-10-20 Andreas Jaeger <aj@suse.de>
28780
28781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28782 generic values for Linux.
28783 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28784 and declarations that are provided by <bits/fcntl-linux.h> and
28785 include <bits/fcntl-linux.h>.
28786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28788
ac5c94d3
RM
287892012-10-20 Roland McGrath <roland@hack.frob.com>
28790
28791 * io/fcntl.h: Move include of <bits/types.h> to the top and
28792 include it unconditionally.
28793
de54b33a
L
287942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28795
228cfb01
L
28796 * wcsmbs/Makefile (tests-ifunc): New variable.
28797 (tests): Add $(tests-ifunc).
28798 * wcsmbs/test-wcschr-ifunc.c: New file.
28799 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28800 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28801 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28802 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28803 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28804
69f07e5f
L
28805 * string/Makefile (tests-ifunc): New variable.
28806 (tests): Add $(tests-ifunc).
28807 * string/test-memccpy.c (TEST_NAME): New macro.
28808 * string/test-memchr.c (TEST_NAME): Likewise.
28809 * string/test-memcmp.c (TEST_NAME): Likewise.
28810 * string/test-memcpy.c (TEST_NAME): Likewise.
28811 * string/test-memmem.c (TEST_NAME): Likewise.
28812 * string/test-memmove.c (TEST_NAME): Likewise.
28813 * string/test-memset.c (TEST_NAME): Likewise.
28814 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28815 * string/test-stpcpy.c (TEST_NAME): Likewise.
28816 * string/test-stpncpy.c (TEST_NAME): Likewise.
28817 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28818 * string/test-strcasestr.c (TEST_NAME): Likewise.
28819 * string/test-strcat.c (TEST_NAME): Likewise.
28820 * string/test-strchr.c (TEST_NAME): Likewise.
28821 * string/test-strcmp.c(TEST_NAME): Likewise.
28822 * string/test-strcpy.c (TEST_NAME): Likewise.
28823 * string/test-strcspn.c (TEST_NAME): Likewise.
28824 * string/test-strlen.c (TEST_NAME): Likewise.
28825 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28826 * string/test-strncmp.c (TEST_NAME): Likewise.
28827 * string/test-strncpy.c (TEST_NAME): Likewise.
28828 * string/test-strnlen.c (TEST_NAME): Likewise.
28829 * string/test-strpbrk.c (TEST_NAME): Likewise.
28830 * string/test-strrchr.c (TEST_NAME): Likewise.
28831 * string/test-strspn.c (TEST_NAME): Likewise.
28832 * string/test-strstr.c (TEST_NAME): Likewise.
28833 * string/test-bcopy-ifunc.c: New file.
28834 * string/test-bzero-ifunc.c: Likewise.
28835 * string/test-memccpy-ifunc.c: Likewise.
28836 * string/test-memchr-ifunc.c: Likewise.
28837 * string/test-memcmp-ifunc.c: Likewise.
28838 * string/test-memcpy-ifunc.c: Likewise.
28839 * string/test-memmem-ifunc.c: Likewise.
28840 * string/test-memmove-ifunc.c: Likewise.
28841 * string/test-mempcpy-ifunc.c: Likewise.
28842 * string/test-memset-ifunc.c: Likewise.
28843 * string/test-rawmemchr-ifunc.c: Likewise.
28844 * string/test-stpcpy-ifunc.c: Likewise.
28845 * string/test-stpncpy-ifunc.c: Likewise.
28846 * string/test-strcasecmp-ifunc.c: Likewise.
28847 * string/test-strcasestr-ifunc.c: Likewise.
28848 * string/test-strcat-ifunc.c: Likewise.
28849 * string/test-strchr-ifunc.c: Likewise.
28850 * string/test-strchrnul-ifunc.c: Likewise.
28851 * string/test-strcmp-ifunc.c: Likewise.
28852 * string/test-strcpy-ifunc.c: Likewise.
28853 * string/test-strcspn-ifunc.c: Likewise.
28854 * string/test-strlen-ifunc.c: Likewise.
28855 * string/test-strncasecmp-ifunc.c: Likewise.
28856 * string/test-strncat-ifunc.c: Likewise.
28857 * string/test-strncmp-ifunc.c: Likewise.
28858 * string/test-strncpy-ifunc.c: Likewise.
28859 * string/test-strnlen-ifunc.c: Likewise.
28860 * string/test-strpbrk-ifunc.c: Likewise.
28861 * string/test-strrchr-ifunc.c: Likewise.
28862 * string/test-strspn-ifunc.c: Likewise.
28863 * string/test-strstr-ifunc.c: Likewise.
28864
de54b33a
L
28865 * debug/Makefile (tests-ifunc): New variable.
28866 (tests): Add $(tests-ifunc).
28867 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28868 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28869 * debug/test-stpcpy_chk-ifunc.c: New file.
28870 * debug/test-strcpy_chk-ifunc.c: Likewise.
28871
88481c16
SP
288722012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28873
28874 [BZ #13601]
28875 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28876 header is not read in.
28877
135948bd
JM
288782012-10-19 Joseph Myers <joseph@codesourcery.com>
28879
89f1c388
JM
28880 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28881 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28882 directly. Pass built executable to script as
28883 $(built-program-cmd).
28884 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28885 $testprogram without using LD_LIBRARY_PATH and $ldso.
28886
e40a0d21
JM
28887 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28888 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28889 $(rtld-installed-name).
28890 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28891 (rtld_installed_name): Likewise.
28892 (library_path): Likewise.
28893 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28894 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28895 $(run-program-prefix) to tst-tables.sh.
28896 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28897 it to run tst-table-from and tst-table-to.
28898 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28899 Pass it to tst-table.sh.
28900 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28901 $(run-program-prefix) to tst-gettext.sh.
28902 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28903 tst-translit.sh.
28904 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28905 tst-gettext2.sh.
28906 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28907 to run tst-gettext.
28908 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28909 to run tst-gettext2.
28910 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28911 to run tst-translit.
28912 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28913 $(run-program-prefix) to tst-mtrace.sh.
28914 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28915 to run tst-mtrace.
28916 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28917 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28918 $(rtld-installed-name).
28919 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28920 (rtld_installed_name): Likewise.
28921 (run_program_prefix): New variable. Use it to run wordexp-test.
28922
728e272a
JM
28923 * Makeconfig (ARCH): Remove all definitions.
28924 (machine): Likewise.
28925 [ARCH]: Remove conditional code.
28926 [!objdir]: Give error.
28927 [!objdir] (objpfx): Remove.
28928 [!objdir] (common-objpfx): Likewise.
28929 [!objdir] (common-objdir): Likewise.
28930 * configure.in (config_makefile): Remove. Hardcode Makefile in
28931 AC_CONFIG_FILES call.
28932 * configure: Regenerated.
28933
d528cdcf
JM
28934 [BZ #13888]
28935 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28936 or TMPDIR.
28937 (testout): Likewise.
28938
135948bd
JM
28939 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28940 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28941 $(rtld-installed-name).
28942 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28943 (rtld_installed_name): Likwise.
28944 (runit): Remove function.
28945 (run_getconf): New variable, Use it for running getconf binary.
28946
38c78296
L
289472012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 [BZ #14716]
28950 * string/test-memmem.c (check_result): New function.
28951 (do_one_test): Use it.
28952 (check1): New function.
28953 (test_main): Use it.
28954
d077f65f
MT
289552012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28956
28957 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28958
ced52c71
JM
289592012-10-18 Joseph Myers <joseph@codesourcery.com>
28960
28961 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28962 (_G_LSEEK64): Likewise.
28963 (_G_MMAP64): Likewise.
28964 (_G_FSTAT64): Likewise.
28965 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28966 (_G_LSEEK64): Likewise.
28967 (_G_MMAP64): Likewise.
28968 (_G_FSTAT64): Likewise.
28969 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28970 unconditional. Call __mmap64 directly.
28971 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28972 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28973 __lseek64 directly.
28974 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28975 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28976 __mmap64 directly.
28977 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28978 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28979 __lseek64 directly.
28980 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28981 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28982 __lseek64 directly.
28983 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28984 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28985 __lseek64 directly.
28986 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28987 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28988 __fxstat64 directly.
28989 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28990 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28991 unconditional.
28992 (freopen64) [!_G_OPEN64]: Remove conditional code.
28993 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28994 unconditional.
28995 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28996 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28997 unconditional.
28998 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28999 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29000 unconditional.
29001 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29002 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29003 unconditional.
29004 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29005 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29006 unconditional.
29007 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29008 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29009 unconditional.
29010 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29011 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29012 unconditional.
29013 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29014
b741de23
SP
290152012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29016
29017 [BZ #12140]
29018 * manual/memory.texi (Malloc Tunable Parameters): Add note
29019 about free list pointers overwriting some perturb bytes.
29020 Wording suggested by Roland McGrath.
29021
f9b9d9c9
JM
290222012-10-17 Joseph Myers <joseph@codesourcery.com>
29023
29024 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29025 (lgamma_test): Likewise.
29026 (tgamma_test): Likewise.
29027
172a631a
FW
290282012-10-16 Florian Weimer <fweimer@redhat.com>
29029
29030 [BZ #14700]
29031 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29032 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29033
e9f37252
MK
290342012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29035
29036 * NEWS: Mention BZ #14716.
29037 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29038 when removing AVAILABLE1_USES_J macro.
29039
d394eb74
L
290402012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29041
29042 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29043 (__bswap_64): __uint64_t for unsigned 64-bit int.
29044
ca38dc17
AS
290452012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29046
29047 * include/string.h (memmem): Declare libc hidden alias.
29048 * string/memmem.c (memmem): Define libc hidden alias.
29049 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29050 __read, __close instead of open, read, close.
29051
9a387d1f
L
290522012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29053
ac49ecaf
L
29054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29055 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29056 global and hidden.
29057 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29058 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29059 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29060 Likewise.
29061 (__rawmemchr_sse2): Likewise.
29062 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29063 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29064 (__strchr_sse2): Likewise.
29065 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29066 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29067 (__strcasecmp_sse2): Likewise.
29068 (__strncasecmp_sse2): Likewise.
29069 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29070 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29071 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29072 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29073 (__strrchr_sse2): Likewise.
29074 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29075 ifunc-impl-list.c.
29076 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29077 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29078 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29080 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29081 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29082 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29083 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29084 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29085 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29086 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29087 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29088 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29089 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29090 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29091 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29092 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29093 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29094 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29095 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29096 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29097 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29098 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29099 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29100 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29101 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29102 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29103 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29104 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29105 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29106
b090e8ea
L
29107 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29108 global and hidden.
29109 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29110 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29111 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29112 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29113 Likewise.
29114 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29115 Likewise.
29116 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29117 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29118 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29119 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29120 ifunc-impl-list.c.
29121 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29122 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29123 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29124 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29125 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29126 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29127 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29128 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29129 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29130 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29131 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29132 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29133 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29134 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29135 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29137 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29138 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29139 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29140 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29141 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29142 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29143 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29144 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29145 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29146 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29147 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29148 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29149 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29150 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29151 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29152 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29153 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29154 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29155 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29156 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29157 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29158 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29159 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29160 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29161 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29162
11dd4af6
L
29163 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29164 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29165 * include/ifunc-impl-list.h: New file.
29166 * misc/ifunc-impl-list.c: Likewise.
29167 * misc/Makefile (routines): Add ifunc-impl-list.
29168 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29169 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29170 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29171 TEST_NAME]: New variables.
11dd4af6
L
29172 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29173 are defined.
29174 (test_init): Call __libc_ifunc_impl_list to initialize
29175 func_list if TEST_IFUNC and TEST_NAME are defined.
29176
9a387d1f
L
29177 * string/Makefile (strop-tests): Add bcopy and bzero.
29178 * string/test-bcopy.c: New file.
29179 * string/test-bzero.c: Likewise.
29180 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29181 defined.
29182 * string/test-memset.c: Support bzero test if TEST_BZERO is
29183 defined.
29184 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29185 __libc_memmove.
29186 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29187 __libc_memset.
29188 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29189 of memset.
29190
472371b9
JM
291912012-10-10 Joseph Myers <joseph@codesourcery.com>
29192
1e4a9536
JM
29193 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29194 * configure: Regenerated.
29195
d173d12e
JM
29196 * Makeconfig (+link-static-before-libc): Don't include
29197 $(link-static-libc).
29198
472371b9
JM
29199 * libio/libio.h (_IO_pos_t): Remove.
29200
89a3ad0b
AO
292012012-10-10 Alexandre Oliva <aoliva@redhat.com>
29202
29203 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29204 McGrath.
29205
e7451425
AO
292062012-10-10 Alexandre Oliva <aoliva@redhat.com>
29207
29208 * crypt/crypt-entry.c: Include fips-private.h.
29209 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29210 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29211 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29212 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29213
4ba74a35
AO
292142012-10-10 Alexandre Oliva <aoliva@redhat.com>
29215
29216 * crypt/crypt-private.h: Include stdbool.h.
29217 (_ufc_setup_salt_r): Return bool.
29218 * crypt/crypt-entry.c: Include errno.h.
29219 (__crypt_r): Return NULL with EINVAL for bad salt.
29220 * crypt/crypt_util.c (bad_for_salt): New.
29221 (_ufc_setup_salt_r): Check that salt is long enough and within
29222 the specified alphabet.
29223 * crypt/badsalttest.c: New file.
29224 * crypt/Makefile (tests): Add it.
29225 ($(objpfx)badsalttest): New.
29226
f96f1242
MK
292272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29228
29229 * NEWS: Add entry for BZ #14602.
29230
0e8e0c1c
JM
292312012-10-09 Joseph Myers <joseph@codesourcery.com>
29232
29233 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29234 type-generic.
29235 * math/libm-test.inc: Update comment listing what functions and
29236 macros are tested.
29237 (isgreater_test): New function.
29238 (isgreaterequal_test): Likewise.
29239 (isless_test): Likewise.
29240 (islessequal_test): Likewise.
29241 (islessgreater_test): Likewise.
29242 (isunordered_test): Likewise.
29243 (main): Call the new functions.
29244
273edc5e
RM
292452012-10-09 Roland McGrath <roland@hack.frob.com>
29246
b8493de0
RM
29247 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29248 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29249 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29250 * sysdeps/i386/configure: Regenerated.
29251 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29252 * sysdeps/mach/configure: Regenerated.
29253 * sysdeps/mach/hurd/configure: Regenerated.
29254 * sysdeps/powerpc/configure: Regenerated.
29255 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29256 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29257 * sysdeps/s390/s390-32/configure: Regenerated.
29258 * sysdeps/s390/s390-64/configure: Regenerated.
29259 * sysdeps/sh/configure: Regenerated.
29260 * sysdeps/sparc/configure: Regenerated.
29261 * sysdeps/unix/sysv/linux/configure: Regenerated.
29262 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29263 * sysdeps/x86_64/configure: Regenerated.
29264
273edc5e
RM
29265 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29266 defined. Don't check if MAP is NULL.
29267
c8450f70
JM
292682012-10-09 Joseph Myers <joseph@codesourcery.com>
29269
29270 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29271 (_G_stat64): Likewise.
29272 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29273 (_G_stat64): Likewise.
29274 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29275 instead of struct _G_stat64.
29276 * libio/fileops.c (mmap_remap_check): Likewise.
29277 (decide_maybe_mmap): Likewise.
29278 (_IO_new_file_seekoff): Likewise.
29279 (_IO_file_stat): Likewise.
29280 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29281 _G_off64_t.
29282 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29283 instead of struct _G_stat64.
29284 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29285
57e605ba
MK
292862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29287
29288 [BZ #14602]
29289 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29290 Replace with ...
29291 (CHECK_EOL): New macro.
29292 (two_way_short_needle): Check beginning of haystack for EOL. Use
29293 CHECK_EOL.
29294 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29295 Replace with CHECK_EOL.
29296 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29297 Replace with CHECK_EOL.
29298
ef1bb361
JM
292992012-10-08 Joseph Myers <joseph@codesourcery.com>
29300
29301 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29302 type-generic.
29303 * math/libm-test.inc: Update comment listing what functions and
29304 macros are tested.
29305 (finite_test): New function.
29306 (isinf_test): Likewise.
29307 (isnan_test): Likewise.
29308 (fpclassify_test): Test subnormal input.
29309 (isfinite_test): Likewise.
29310 (isnormal_test): Likewise.
29311 (main): Call the new functions.
29312
55f11534
JN
293132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29314
29315 [BZ #14660]
29316 * Makerules (%.dynsym): Force C locale when running
29317 $(OBJDUMP) --dynamic-syms.
29318
1ab29350
AS
293192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29320
29321 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29322 <stdint.h>.
29323
f1ecb7ef
DM
293242012-10-06 David S. Miller <davem@davemloft.net>
29325
29326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29327 upper 32-bits of the length value in %o2 since we use branch-on-register
29328 tests which consider the entire 64-bit register.
29329
5d41d91a
L
293302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29331
29332 * string/test-strstr.c (check2): Add a test for page boundary.
29333
3baddb72
DM
293342012-10-05 David S. Miller <davem@davemloft.net>
29335
29336 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29337 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29338 file.
29339 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29340 sysdep_routines.
29341 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29342 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29343 and bzero when HWCAP_SPARC_CRYPTO is present.
29344
9cee5585
L
293452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29346
d7e0dab9
L
29347 [BZ #14602]
29348 * string/test-strstr.c (check2): New function.
29349 (test_main): Call check2.
29350
03759f47
L
29351 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29352 and bug-strchr1.
29353 * string/bug-strcasestr1.c (do_test): Moved to ...
29354 * string/test-strcasestr.c (check1): Here. New function.
29355 (do_one_test): Break out result checking code into ...
29356 (check_result): This. New function.
29357 (do_one_test): Call check_result.
29358 (test_main): Call check1.
29359 * string/bug-strchr1.c (do_test): Moved to ...
29360 * string/test-strchr.c (check1): Here. New function.
29361 (do_one_test): Break out result checking code into ...
29362 (check_result): This. New function.
29363 (do_one_test): Call check_result.
29364 (test_main): Call check1.
29365 * string/bug-strstr1.c (main): Moved to ...
046f153e 29366 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29367 (do_one_test): Break out result checking code into ...
29368 (check_result): This. New function.
29369 (do_one_test): Call check_result.
29370 (test_main): Call check1.
29371 * string/bug-strcasestr1.c: Removed.
29372 * string/bug-strchr1.c: Likewise.
29373 * string/bug-strstr1.c: Likewise.
29374
53cea63e
L
29375 * elf/Makefile (dl-routines): Add hwcaps.
29376 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29377 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29378 (_dl_important_hwcaps): Moved to ...
29379 * elf/dl-hwcaps.c: Here. New file.
29380 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29381
9cee5585 29382 [BZ #14557]
bb859b06
L
29383 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29384 if IS_IN_rtld isn't defined.
29385
9cee5585
L
29386 * elf/dl-support.c (_dl_sysinfo_map): New.
29387 Include "get-dynamic-info.h" and "setup-vdso.h".
29388 (_dl_non_dynamic_init): Call setup_vdso.
29389 * elf/dynamic-link.h: Don't include <assert.h>.
29390 (elf_get_dynamic_info): Moved to ...
29391 * elf/get-dynamic-info.h: Here. New file.
29392 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29393 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29394 * elf/setup-vdso.h: Here. New file.
29395 * elf/rtld.c: Include "setup-vdso.h".
29396 (dl_main): Call setup_vdso.
29397
23c31b76
JM
293982012-10-05 Joseph Myers <joseph@codesourcery.com>
29399
28234b07
JM
29400 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29401 creal in comment listing functions tested. List finite, isinf,
29402 isnan, isless, islessequal, isgreater, isgreaterequal,
29403 islessgreater, isunordered, lgamma_r and pow10 as functions and
29404 macros not tested. Mention which functions not tested are aliases
29405 for other functions. Fix typo. Note that signs of NaNs are not
29406 tested.
29407
23c31b76
JM
29408 * scripts/config.guess: Update from config.git.
29409 * scripts/config.sub: Likewise.
29410
9043e228
RM
294112012-10-04 Roland McGrath <roland@hack.frob.com>
29412
29413 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29414 * misc/madvise.c (madvise): Renamed to __madvise.
29415 Make madvise a weak alias.
29416 * include/sys/mman.h: Declare __madvise.
29417 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29418 * sysdeps/unix/syscalls.list
29419 (madvise): Make __madvise the strong name, and madvise a weak alias.
29420 * sysdeps/unix/sysv/linux/syscalls.list
29421 (madvise, mmap): Remove redundant entries.
29422 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29423 * malloc/malloc.c (mtrim): Likewise.
29424 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29425
f57f8055
RM
294262012-10-03 Roland McGrath <roland@hack.frob.com>
29427
29428 * sysdeps/mach/hurd/dl-cache.c: File removed.
29429 * config.h.in (USE_LDCONFIG): New #undef.
29430 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29431 * configure: Regenerated.
29432 * elf/Makefile (dl-routines): Add dl-cache only under
29433 [$(use-ldconfig) = yes].
29434 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29435 cache on [USE_LDCONFIG].
29436 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29437 [USE_LDCONFIG].
29438 * elf/rtld.c (dl_main): Likewise.
29439
5bb0c10a
PT
294402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29441
29442 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29443 _SC_LEVEL4_CACHE_LINESIZE.
29444
010188c6
RM
294452012-10-03 Roland McGrath <roland@hack.frob.com>
29446
29447 * sysdeps/unix/bsd/confstr.h: File removed.
29448
b6c5ec07
AO
294492012-10-02 Alexandre Oliva <aoliva@redhat.com>
29450
29451 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29452 sys/sdt-config.h.
29453
408223d4
RM
294542012-10-02 Roland McGrath <roland@hack.frob.com>
29455
29456 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29457 Make 'mapoff' field ElfW(Off) rather than off_t.
29458
bb9510dc
DL
294592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29460
fc997c6e
DL
29461 * nscd/Makefile: Remove nscd-cflags and all its users.
29462 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29463 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29464
bb9510dc
DL
29465 [BZ #10631]
29466 * malloc.c (malloc_printerr): Clarify error message.
29467
05699367
L
294682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29469
29470 [BZ #14648]
29471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29472 Set bit_FMA_Usable if FMA is supported.
29473 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29474 macro.
29475 (bit_FMA4_Usable): Updated.
29476 (index_FMA_Usable): New macro.
29477 (CPUID_FMA): Likewise
29478 (HAS_FMA): Defined with bit_FMA_Usable.
29479
51367701
RM
294802012-10-01 Roland McGrath <roland@hack.frob.com>
29481
29482 * bits/types.h (__swblk_t): Type removed.
29483 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29484 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29486 (__SWBLK_T_TYPE): Likewise.
29487 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29488 (__SWBLK_T_TYPE): Likewise.
29489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29490 (__SWBLK_T_TYPE): Likewise.
29491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29492 (__SWBLK_T_TYPE): Likewise.
29493
4d57bf63 294942012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29495 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29496
29497 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29498 (xdr_mapname): Use YPMAXMAP as maxsize.
29499 (xdr_peername): Use YPMAXPEER as maxsize.
29500 (xdr_keydat): Use YPAXRECORD as maxsize.
29501 (xdr_valdat): Use YPMAXRECORD as maxsize.
29502
93c65d43
RM
295032012-10-01 Roland McGrath <roland@hack.frob.com>
29504
497a03d6
RM
29505 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29506
93c65d43
RM
29507 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29508 * csu/init-first.c: ... here.
29509 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29510 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29513 * sysdeps/i386/init-first.c: File removed.
29514 * sysdeps/sh/init-first.c: File removed.
29515
bec749fd
JM
295162012-10-01 Joseph Myers <joseph@codesourcery.com>
29517
29518 [BZ #14645]
29519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29520 if x * y might underflow to zero and z is zero.
29521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29523 * math/libm-test.inc (min_subnorm_value): New variable.
29524 (fma_test): Add more tests.
29525 (fma_test_towardzero): Likewise.
29526 (fma_test_downward): Likewise
29527 (fma_test_upward): Likewise.
29528 (initialize): Set min_subnorm_value.
29529
8ec5b013
JM
295302012-09-29 Joseph Myers <joseph@codesourcery.com>
29531
29532 [BZ #14638]
29533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29534 0 + 0.
29535 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29536 mode for addition resulting in exact zero.
29537 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29539 exact 0 + 0.
29540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29542 * math/libm-test.inc (fma_test): Add more tests.
29543 (fma_test_towardzero): New function.
29544 (fma_test_downward): Likewise.
29545 (fma_test_upward): Likewise.
29546 (main): Call the new functions.
29547
b1fa802e
DM
295482012-09-28 David S. Miller <davem@davemloft.net>
29549
29550 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29551
d3b9fd9e
RM
295522012-09-28 Roland McGrath <roland@hack.frob.com>
29553
ea4d37b3
RM
29554 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29555 instead of SIGALRM.
29556
ac51c949
RM
29557 * sysdeps/gnu/_G_config.h: Moved to ...
29558 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29559 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29560 * sysdeps/generic/_G_config.h: ... here.
29561
28c195f7
RM
29562 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29563
848917f9
RM
29564 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29565
6bacf05b
RM
29566 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29567 Conditionalize target on [libnss_test1.so-version].
29568
91363dbb
RM
29569 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29570
cc87f7d8
RM
29571 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29572 (elfobjdir): Move out of conditionals.
29573
b1c608fe
RM
29574 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29575 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29576 (__nss_lookup_function): Conditionalize label remove_from_tree on
29577 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29578
1d9a6d96
DM
295792012-09-28 David S. Miller <davem@davemloft.net>
29580
29581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29582 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29583 file.
29584 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29585 sysdep_routines.
29586 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29588 when HWCAP_SPARC_CRYPTO is present.
29589
72581615
PT
295902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29591
29592 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29593
715a900c
JL
295942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29595
29596 [BZ #6530]
29597 * stdio-common/vfprintf.c (process_string_arg): Revert
29598 2000-07-22 change.
29599
296002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29601
29602 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29603 for testcase.
29604 * stdio-common/tst-sprintf.c: Include <locale.h>
29605 (main): Test sprintf's handling of incomplete multibyte
29606 characters.
29607
9bac1d86
L
296082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29609
29610 * elf/dl-runtime.c (VERSYMIDX): Removed.
29611 * elf/dl-version.c (VERSYMIDX): Likewise.
29612 * elf/do-rel.h (VERSYMIDX): Likewise.
29613 (VALIDX): Likewise.
29614 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29615 * elf/rtld.c (VALIDX): Likewise.
29616 (ADDRIDX): Likewise.
9bac1d86
L
29617 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29618 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29619 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29620 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29621 (VALIDX): Likewise.
29622 (ADDRIDX): Likewise.
9bac1d86 29623
b31606c0
PT
296242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29625
29626 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29627
11541177
JL
296282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29629
29630 [BZ #11438]
29631 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29632 to global scope.
29633 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29634 addresses are in the same scope as 192.0.2/24.
29635 * posix/gai.conf: Document new scope table defaults.
29636
adb26fae
SP
296372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29638
29639 [BZ #5298]
29640 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29641 for ftell. Compute offsets from write pointers instead.
29642 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29643
4573c6b0
SP
296442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29645
29646 [BZ #14543]
29647 * libio/Makefile (tests): New test case tst-fseek.
29648 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29649 combination works in wide mode.
29650 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29651 state when the external buffer state changes.
29652
aa9bbfe6
DM
296532012-09-27 David S. Miller <davem@davemloft.net>
29654
29655 [BZ #14376]
29656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29657 pass reloc->r_addend in as the 'high' argument to
29658 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29659
784421e7
DM
29660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29661
c39bc8b8
PT
296622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29663
29664 * rt/tst-aio2.c: Include <pthread.h>.
29665 * rt/tst-aio3.c: Likewise.
29666
1ccc2399
SE
296672012-09-27 Steve Ellcey <sellcey@mips.com>
29668
29669 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29670
31ed4153
L
296712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29672
25f5f885
L
29673 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29674 contents on [SHARED].
31ed4153 29675
b7bfe116
MP
296762012-09-26 Marek Polacek <polacek@redhat.com>
29677
29678 [BZ #14530]
29679 [BZ #13741]
29680 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29681 for C++ and GCC <4.3 as well as for non GCC compilers.
29682
43c4edba
MT
296832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29684
29685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29686
6a1bf82f
RM
296872012-09-25 Roland McGrath <roland@hack.frob.com>
29688
29689 * Makefile.in (all, install): Declare with .PHONY.
29690 Reported by Michael Hope <michael.hope@linaro.org>.
29691
8ad11b9a
TMQMF
296922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29693
29694 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29695 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29696 system header.
29697 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29698 Likewise.
29699 (sydep_routines): Add the new and the internal functions.
29700 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29701 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29703 (GLIBC_2.17): Add the new function.
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29705 (GLIBC_2.17): Likewise.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29707 (GLIBC_2.17): Likewise.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29709 (GLIBC_2.17): Likewise.
29710 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29711
7e2fca8d
AM
297122012-09-25 Alan Modra <amodra@gmail.com>
29713
29714 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29715 Add release barrier before setting once_control to say
29716 initialisation is done. Add hints on lwarx. Use macro in
29717 place of isync.
29718 (clear_once_control): Add release barrier.
29719
b87c4b24
JM
297202012-09-25 Joseph Myers <joseph@codesourcery.com>
29721
d032e0d2
JM
29722 [BZ #13629]
29723 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29724 specially.
29725 * math/s_clog10.c (__clog10): Likewise.
29726 * math/s_clog10f.c (__clog10f): Likewise.
29727 * math/s_clog10l.c (__clog10l): Likewise.
29728 * math/s_clogf.c (__clogf): Likewise.
29729 * math/s_clogl.c (__clogl): Likewise.
29730 * math/Makefile (libm-calls): Add x2y2m1.
29731 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29732 (__x2y2m1): Likewise.
29733 (__x2y2m1l): Likewise.
29734 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29735 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29736 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29738 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29739 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29740 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29741 * sysdeps/i386/fpu/libm-test-ulps: Update.
29742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29743
b87c4b24
JM
29744 [BZ #14621]
29745 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29746 int as type of variable DEPTH.
29747 (glob): Use size_t instead of int as type of variables NEWCOUNT
29748 and OLD_PATHC.
29749
6d3bf199
LD
297502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29751
22bf5c17
LD
29752 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29753 Add s_sincosf-sse2.
29754 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29755 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29756 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29757 macros for using routine as __sincosf_ia32.
29758 Use macro for function declaration and weak_alias.
29759 * sysdeps/i386/fpu/libm-test-ulps: Update.
29760
29761 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29763
29764 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29765 subnormal argument.
29766 * math/s_cexpf.c (__cexpf): Likewise.
29767 * math/s_csinf.c (__csinf): Likewise.
29768 * math/s_csinhf.c (__csinhf): Likewise.
29769 * math/s_ctanf.c (__ctanf): Likewise.
29770 * math/s_ctanhf.c (__ctanhf): Likewise.
29771 * math/s_ccosh.c (__ccoshf): Likewise.
29772 * math/s_cexp.c (__cexpl): Likewise.
29773 * math/s_csin.c (__csin): Likewise.
29774 * math/s_csinh.c (__csinh): Likewise.
29775 * math/s_ctan.c (__ctan): Likewise.
29776 * math/s_ctanh.c (ctanh): Likewise.
29777 * math/s_ccoshl.c (__ccoshl): Likewise.
29778 * math/s_cexpl.c (__cexpl): Likewise.
29779 * math/s_csinl.c (__csinl): Likewise.
29780 * math/s_csinhl.c (__csinhl): Likewise.
29781 * math/s_ctanl.c (__ctanl): Likewise.
29782 * math/s_ctanhl.c (__ctanhl): Likewise.
29783
203e5603
JM
297842012-09-25 Joseph Myers <joseph@codesourcery.com>
29785
29786 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29787 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29788 (_IO_off_t): Define to __off_t, not _G_off_t.
29789 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29790 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29791 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29792 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29793 type of __dummy and __dummy2 fields.
29794 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29795 (_G_ssize_t): Likewise.
29796 (_G_off_t): Likewise.
29797 (_G_pid_t): Likewise.
29798 (_G_uid_t): Likewise.
29799 (_G_wchar_t): Likewise.
29800 (_G_wint_t): Likewise.
29801 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29802 (_G_ssize_t): Likewise.
29803 (_G_off_t): Likewise.
29804 (_G_pid_t): Likewise.
29805 (_G_uid_t): Likewise.
29806 (_G_wchar_t): Likewise.
29807 (_G_wint_t): Likewise.
29808 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29809 (_G_ssize_t): Likewise.
29810 (_G_off_t): Likewise.
29811 (_G_pid_t): Likewise.
29812 (_G_uid_t): Likewise.
29813 (_G_wchar_t): Likewise.
29814 (_G_wint_t): Likewise.
29815
9fab36eb
SP
298162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29817
29818 * malloc/arena.c: Include malloc-sysdep.h.
29819 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29820 is sufficient to shrink the heap or an unmap is needed.
29821 * sysdeps/generic/malloc-sysdep.h: New file. Define
29822 new function check_may_shrink_heap.
29823 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29824 new function check_may_shrink_heap.
29825
2b4f00d1
SP
298262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29827
29828 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29829 comments.
29830
9a9028b1
DL
298312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29832
57c69bef
DL
29833 * catgets/test-gencat.sh: Add "set -e".
29834 * elf/tst-pathopt.sh: Likewise.
29835 * grp/tst_fgetgrent.sh: Likewise.
29836 * iconvdata/run-iconv-test.sh: Likewise.
29837 * intl/tst-gettext.sh: Likewise.
29838 * intl/tst-gettext2.sh: Likewise.
29839 * intl/tst-gettext4.sh: Likewise.
29840 * intl/tst-gettext6.sh: Likewise.
29841 * intl/tst-translit.sh: Likewise.
29842 * io/ftwtest-sh: Likewise.
29843 * libio/test-freopen.sh: Likewise.
29844 * malloc/tst-mtrace.sh: Likewise.
29845 * posix/globtest.sh: Likewise.
29846 * posix/tst-getconf.sh: Likewise.
29847 * posix/wordexp-tst.sh: Likewise.
29848 * stdio-common/tst-printf.sh: Likewise.
29849 * stdio-common/tst-unbputc.sh: Likewise.
29850 * stdlib/tst-fmtmsg.sh: Likewise.
29851 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29852 * catgets/Makefile: Do not specify -e option when running
29853 testsuite shell scripts.
29854 * elf/Makefile: Likewise.
29855 * grp/Makefile: Likewise.
29856 * iconvdata/Makefile: Likewise.
29857 * intl/Makefile: Likewise.
29858 * io/Makefile: Likewise.
29859 * libio/Makefile: Likewise.
29860 * malloc/Makefile: Likewise.
29861 * posix/Makefile: Likewise.
29862 * stdio-common/Makefile: Likewise.
29863 * stdlib/Makefile: Likewise.
29864 * sysdeps/x86_64/Makefile: Likewise.
29865
9a9028b1
DL
29866 * io/ftwtest-sh: Add copyright header.
29867 * posix/globtest.sh: Likewise.
29868 * posix/tst-getconf.sh: Likewise.
29869 * posix/wordexp-tst.sh: Likewise.
29870 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29871
ced6f16e
L
298722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29873
94b32c39
L
29874 [BZ #13679]
29875 * Makeconfig (+link): Defined as $(+link-static) if
29876 $(build-shared) isn't yes.
29877 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29878 isn't yes.
29879 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29880
189e935b
L
29881 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29882
ced6f16e
L
29883 [BZ #14562]
29884 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29885 new chunk size with MALLOC_ALIGN_MASK.
29886
a9f8e53a
JM
298872012-09-24 Joseph Myers <joseph@codesourcery.com>
29888
29889 [BZ #5044]
29890 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29891 <rounding-mode.h>.
29892 (__printf_fphex): Determine rounding using get_rounding_mode and
29893 round_away.
29894 * stdio-common/tst-printf-round.c (struct hex_test): New
29895 structure.
29896 (hex_tests): New variable.
29897 (test_hex_in_one_mode): New function.
29898 (do_test): Also run tests for hex float output.
29899
43153109
JM
299002012-09-21 Joseph Myers <joseph@codesourcery.com>
29901
29902 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29903 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29904 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29905 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29906 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29907 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29908 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29909 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29910
8a26625d
JM
299112012-09-20 Joseph Myers <joseph@codesourcery.com>
29912
29913 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29914 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29915 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29916 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29917
f3fd569c
DL
299182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29919
29920 [BZ #14579]
29921 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29922 mode only.
29923 * elf/tst-rtld-load-self.sh: New test.
29924 * elf/Makefile: Run it.
29925
63bbedd4
JM
299262012-09-18 Joseph Myers <joseph@codesourcery.com>
29927
29928 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29929 (tst-writev-ENV): Remove.
29930 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29931
626f8b6a
CM
299322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29933
29934 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29935
b7aaa4d6
JM
299362012-09-17 Joseph Myers <joseph@codesourcery.com>
29937
29938 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29939 unconditional.
29940 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29941 Likewise.
29942 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29943 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29945 Likewise.
29946
65513990
L
299472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29948
29949 [BZ #14587]
29950 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29951 * config.make.in (have-cpp-asm-debuginfo): Removed.
29952 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29953 * configure: Regenerated.
29954
784761be
JM
299552012-09-14 Joseph Myers <joseph@codesourcery.com>
29956
29957 [BZ #5044]
29958 * stdio-common/printf_fp.c: Include <stdbool.h> and
29959 <rounding-mode.h>.
29960 (___printf_fp): Determine rounding using get_rounding_mode and
29961 round_away.
29962 * stdio-common/tst-printf-round.c: New file.
29963 * stdio-common/Makefile (tests): Add tst-printf-round.
29964 (link-libm): New variable.
29965 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29966
9503345f
L
299672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29968
29969 [BZ #14576]
29970 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29971 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29972 Likewise.
29973 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29974 Likewise.
29975
ad35fc00
JM
299762012-09-13 Joseph Myers <joseph@codesourcery.com>
29977
29978 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29979 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29980 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29981 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29982
6c9b0f68
JM
299832012-09-12 Joseph Myers <joseph@codesourcery.com>
29984
29985 [BZ #14518]
29986 * include/rounding-mode.h: New file.
29987 * sysdeps/generic/get-rounding-mode.h: Likewise.
29988 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29989 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29990 (MAX_VALUE): New macro.
29991 (MIN_VALUE): Likewise.
29992 (overflow_value): New function.
29993 (underflow_value): Likewise.
29994 (round_and_return): Use overflow_value and underflow_value to
29995 determine return values in overflow and underflow cases. Use
29996 round_away to determine rounding depending on rounding mode.
29997 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29998 determine return values in overflow and underflow cases.
29999 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30000 (struct test_results): New structure.
30001 (struct test): Use struct test_results to store expected results
30002 for all rounding modes.
30003 (TEST): Include expected results for all rounding modes.
30004 (test_in_one_mode): New function.
30005 (do_test): Use test_in_one_mode to compute and check results.
30006 Check results for all rounding modes.
30007 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30008 $(link-libm).
30009
19fcedd5
AM
300102012-12-09 Allan McRae <allan@archlinux.org>
30011
1e9d84cd 30012 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30013
8bbfd2f1
JM
300142012-09-11 Joseph Myers <joseph@codesourcery.com>
30015
30016 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30017 (_G_int32_t): Likewise.
30018 (_G_uint16_t): Likewise.
30019 (_G_uint32_t): Likewise.
30020 (_G_HAVE_BOOL): Likewise.
30021 (_G_HAVE_ATEXIT): Likewise.
30022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30023 (_G_HAVE_IO_FILE_OPEN): Likewise.
30024 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30025 (_G_int32_t): Likewise.
30026 (_G_uint16_t): Likewise.
30027 (_G_uint32_t): Likewise.
30028 (_G_HAVE_BOOL): Likewise.
30029 (_G_HAVE_ATEXIT): Likewise.
30030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30031 (_G_HAVE_IO_FILE_OPEN): Likewise.
30032 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30033 (_G_int32_t): Likewise.
30034 (_G_uint16_t): Likewise.
30035 (_G_uint32_t): Likewise.
30036 (_G_HAVE_BOOL): Likewise.
30037 (_G_HAVE_ATEXIT): Likewise.
30038 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30039 (_G_HAVE_IO_FILE_OPEN): Likewise.
30040
b1dc5912
L
300412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30042
30043 * csu/libc-tls.c: Update copyright years.
30044
0e886ef9
JM
300452012-09-10 Joseph Myers <joseph@codesourcery.com>
30046
28361c5e
JM
30047 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30048 [!_G_USING_THUNKS]: Remove conditional code.
30049 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30050 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30051
0e886ef9
JM
30052 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30053 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30054 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30055 (_G_VTABLE_LABEL_PREFIX): Likewise.
30056 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30057 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30058 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30059 (_G_VTABLE_LABEL_PREFIX): Likewise.
30060 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30061 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30062 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30063 (_G_VTABLE_LABEL_PREFIX): Likewise.
30064 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30065
bcba7aa2
L
300662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30067
30068 * libio/Makefile: Include ../Makeconfig before tests.
30069 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30070 only if $(build-shared) is yes.
30071
06585ee8
L
30072 * iconv/gconv_db.c: Update copyright years.
30073
80ccd52c
LD
300742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30075
30076 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30077 unwind info if defined PIC. Fix special cases description.
30078 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30079
30080 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30081 DP_HI_MASK entry.
30082 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30083
691bc9c1
L
300842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30085
3d9b46b3
L
30086 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30087
de2139a9
L
30088 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30089 is NULL.
30090
5ca78dd0
L
30091 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30092 (LDLIBS-tst-chk4): This.
30093 (LDFLAGS-tst-chk5): Renamed to ...
30094 (LDLIBS-tst-chk5): This.
30095 (LDFLAGS-tst-chk6): Renamed to ...
30096 (LDLIBS-tst-chk6): This.
30097 (LDFLAGS-tst-lfschk4): Renamed to ...
30098 (LDLIBS-tst-lfschk4): This.
30099 (LDFLAGS-tst-lfschk5): Renamed to ...
30100 (LDLIBS-tst-lfschk5): This.
30101 (LDFLAGS-tst-lfschk6): Renamed to ...
30102 (LDLIBS-tst-lfschk6): This.
30103
691bc9c1
L
30104 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30105 on $(common-objpfx)soversions.mk.
30106
65cafb1c
JM
301072012-09-07 Joseph Myers <joseph@codesourcery.com>
30108
30109 [BZ #10014]
30110 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30111 example host name.
30112
c78ab094
SP
301132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30114
30115 * malloc/arena.c (arena_get_retry): New function that gets
30116 another arena for the caller to try its request on.
30117 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30118 current arena cannot fulfill the request.
30119 (__libc_memalign): Likewise.
30120 (__libc_memalign): Likewise.
30121 (__libc_pvalloc): Likewise.
30122 (__libc_calloc): Likewise.
30123
01f49f59
JT
301242012-09-05 John Tobey <john.tobey@gmail.com>
30125
30126 [BZ #13542]
30127 * manual/arith.texi (Operations on Complex): Fix description
30128 of carg branch cut.
30129
4c23fed5
JM
301302012-09-06 Joseph Myers <joseph@codesourcery.com>
30131
1d3c8572
JM
30132 [BZ #10014]
30133 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30134 host name.
30135
4c23fed5
JM
30136 [BZ #10038]
30137 * manual/memory.texi (Memory): Make order of menu items match
30138 order of sections.
30139
04570aaa
L
301402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30141
30142 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30143 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30144 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30145
b80af2f4
L
301462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30147
30148 * csu/libc-tls.c (static_dtv): Renamed to ...
30149 (_dl_static_dtv): This. Make it global.
30150 (_dl_initial_dtv): Removed.
30151 (__libc_setup_tls): Updated.
30152 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30153 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30154 DL_INITIAL_DTV.
30155
2abe9f15
PM
301562012-09-06 Petr Machata <pmachata@redhat.com>
30157
30158 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30159 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30160 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30161 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30162
0948c3af
L
301632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30164
30165 [BZ #14545]
30166 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30167 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30168 freeing dtv[-1].
30169
a5055ad1
L
301702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30171
30172 [BZ #14544]
30173 * Makeconfig (link-static-before-libc): Replace $(+prector)
30174 with $(+prectorT).
30175 (link-static-after-libc): Replace $(+postctor) with
30176 $(+postctorT).
30177 (link-bounded): Replace $(+prector)/$(+postctor) with
30178 $(+prectorT)/$(+postctorT).
30179 (+prectorT): New macro.
30180 (+postctorT): Likewise.
30181
ed8c2ecd
JM
301822012-09-06 Joseph Myers <joseph@codesourcery.com>
30183
30184 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30185 (round_str): Handle values above the maximum for IBM long double
30186 as inexact.
30187 * stdlib/tst-strtod-round.c (tests): Regenerated.
30188
14c996c8
AK
301892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30190
30191 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30192 assembler flag.
30193 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30194 zarch_nohighgprs around the zarch optimized routines.
30195 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30196 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30198 for zarch.
30199
430d6ce6
DM
302002012-09-05 David S. Miller <davem@davemloft.net>
30201
30202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30203
57f41c40
AS
30204 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30205 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30206 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30207 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30208 entries.
30209
24d4e01b
AO
302102012-09-05 Alexandre Oliva <aoliva@redhat.com>
30211
30212 * malloc/arena.c: Fold copyright years.
30213 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30214
61d58174
AO
302152012-09-05 Alexandre Oliva <aoliva@redhat.com>
30216
30217 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30218
20196a5e
AO
302192012-09-05 Alexandre Oliva <aoliva@redhat.com>
30220
30221 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30222
5c447383
AO
302232012-09-05 Alexandre Oliva <aoliva@redhat.com>
30224
30225 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30226 change internal state upon failure.
30227
fad64255
AO
302282012-09-05 Alexandre Oliva <aoliva@redhat.com>
30229
30230 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30231 * malloc/memusage.c (mmap): Likewise.
30232 (mmap64, mremap): Likewise. Adjust name in comment.
30233
1ffb8c90
SP
302342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30235
30236 * libio/fileops.c: Fix typos in comments.
30237 * libio/oldfileops.c: Likewise.
30238 * libio/wfileops.c: Likewise.
30239
6ef9cc37
SP
302402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30241
30242 [BZ #1349]
30243 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30244 (tst-malloc-usable-ENV): Set environment for test case.
30245 * malloc/hooks.c (malloc_check_get_size): New function to get
30246 requested size.
30247 * malloc/malloc.c (musable): Use malloc_check_get_size.
30248 * malloc/tst-malloc-usable.c: New test case.
30249
4d038ae3
AS
302502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30251
30252 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30253
c4e85184
AM
302542012-09-05 Allan McRae <allan@archlinux.org>
30255
b9dafc56 30256 [BZ #13966]
c4e85184
AM
30257 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30258 determine header location.
30259 * configure: Regenerated.
30260
e1343020
AS
302612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30262
30263 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30264 float format.
30265 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30266 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30267 format.
e1343020
AS
30268 (test): Regenerate.
30269
0a9f1987
DM
302702012-09-04 David S. Miller <davem@davemloft.net>
30271
30272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30274 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30275
29237804
FW
302762012-09-04 Florian Weimer <fweimer@redhat.com>
30277
30278 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30279 failures.
30280
edb3cb88
FW
30281 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30282
60160d83
JM
302832012-09-04 Joseph Myers <joseph@codesourcery.com>
30284
30285 [BZ #9914]
30286 * libio/iogetdelim.c: Include <limits.h>.
30287 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30288 + len + 1 would overflow.
30289
bcd6c8dc
AJ
302902012-09-03 Andreas Jaeger <aj@suse.de>
30291
30292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294
4ffffbd2
LD
302952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30296
30297 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30298 Add s_sinf-sse2, s_conf-sse2.
30299
30300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30301 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30302 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30303 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30304
30305 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30306 for using routine as __sinf_ia32.
30307 Use macro for function declaration and weak_alias.
30308 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30309 for using routine as __cosf_ia32.
30310 Use macro for function declaration and weak_alias.
30311
30312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30313 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30314
30315 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30316 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30318
30319 * math/libm-test.inc (cos_test): Add more test cases.
30320 (sin_test): Likewise.
30321 (sincos_test): Likewise.
30322
511fa286
AK
303232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30324
30325 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30326 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30327 hidden.
30328 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30329
5f30cfec
L
303302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 [BZ #14538]
30333 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30334 first element of the GOT.
30335 (elf_machine_load_address): Return the difference between
30336 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30337
0786794f
AM
303382012-09-01 Allan McRae <allan@archlinux.org>
30339
5f30cfec
L
30340 [BZ #13412]
30341 * configure.in (AWK): Require gawk version 3.0 or later.
30342 * configure: Regenerated.
0786794f 30343
26889eac
JM
303442012-09-01 Joseph Myers <joseph@codesourcery.com>
30345
30346 * sysdeps/unix/sysv/linux/kernel-features.h
30347 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30348 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30349 [__NR_clock_getres]: Make code unconditional.
30350 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30351 (clock_getcpuclockid): Remove code left unreachable by removal of
30352 conditionals.
30353 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30354 code unconditional.
30355 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30356 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30357 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30358 Make code unconditional.
30359 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30360 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30361 * sysdeps/unix/sysv/linux/clock_settime.c
30362 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30363 conditional code.
30364 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30365 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30366
d22e28b0
L
303672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30368
30369 [BZ #14476]
30370 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30371 scripts/test-installation.pl.
30372
30373 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30374 and $ld_so_version if it is set.
30375
050af9c4
SP
303762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30377
30378 [BZ #14516]
30379 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30380 failure if reading from procfs failed.
30381 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30382
ad845c0b
JM
303832012-08-27 Joseph Myers <joseph@codesourcery.com>
30384
30385 * sysdeps/unix/sysv/linux/kernel-features.h
30386 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30387 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30388 Remove conditional code.
30389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30390 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30391 Remove conditional code.
30392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30393 * sysdeps/unix/sysv/linux/i386/fxstat.c
30394 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30396 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30397 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30399 * sysdeps/unix/sysv/linux/i386/lxstat.c
30400 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30402 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30403 Remove conditional code.
30404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30405 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30406 Remove conditional code.
30407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30408 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30409 <kernel-features.h>.
30410 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30411 Remove.
30412 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30413 Remove conditional code.
30414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30415 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30416 Remove conditional.
30417
5dbf56af
MF
304182012-08-27 Mike Frysinger <vapier@gentoo.org>
30419
30420 [BZ #5400]
30421 * NEWS: Add fixed bug number.
30422
d6e70f43
JM
304232012-08-27 Joseph Myers <joseph@codesourcery.com>
30424
7efb4737
JM
30425 [BZ #14519]
30426 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30427 underflowing exponent in case of negative sign.
30428 * stdlib/tst-strtod-round-data: Add more tests.
30429 * stdlib/tst-strtod-round.c (tests): Regenerated.
30430
af92131a
JM
30431 [BZ #3479]
30432 * stdlib/strtod_l.c (NDIG): Remove.
30433 (HEXNDIG): Likewise.
30434 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30435 smallest representable value.
30436 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30437 lie within an exact representation of 1/2 ulp of the result.
30438 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30439 unconditionally.
30440 (TENS_P9_IDX): Define unconditionally.
30441 (TENS_P9_SIZE): Likewise.
30442 (TENS_P10_IDX): Likewise.
30443 (TENS_P10_SIZE): Likewise.
30444 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30445 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30446 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30447 entries for 10^2^13 and 10^2^14.
30448 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30449 (TENS_P13_IDX): Define.
30450 (TENS_P13_SIZE): Likewise.
30451 (TENS_P14_IDX): Likewise.
30452 (TENS_P14_SIZE): Likewise.
30453 (_fpioconst_pow10): Change array size to
30454 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30455 unconditional.
30456 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30457 1024]: Add entries for 10^2^13 and 10^2^14.
30458 [LAST_POW10 > _LAST_POW10]: Remove #error.
30459 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30460 (_fpioconst_pow10): Change array size to
30461 FPIOCONST_POW10_ARRAY_SIZE.
30462 * stdlib/gen-fpioconst.c: New file.
30463 * stdlib/gen-tst-strtod-round.c: Likewise.
30464 * stdlib/tst-strtod-round-data: Likewise.
30465 * stdlib/tst-strtod-round.c: Likewise.
30466 * stdlib/Makefile (tests): Add tst-strtod-round.
30467
d6e70f43
JM
30468 [BZ #14459]
30469 * stdlib/strtod_l.c: Include <stdint.h>.
30470 (NDEBUG): Do not define.
30471 (round_and_return): Change EXPONENT parameter to type intmax_t.
30472 Rearrange calculations to avoid internal overflow possibilities.
30473 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30474 Rearrange calculations to avoid internal overflow possibilities.
30475 Assert that number fits inside MPNSIZE limbs.
30476 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30477 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30478 calculations and add assertions to avoid internal overflow
30479 possibilities. Add casts to avoid signed/unsigned operations.
30480 * stdlib/tst-strtod-overflow.c: New file.
30481 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30482
1f529f7d
MP
304832012-08-25 Marek Polacek <polacek@redhat.com>
30484
30485 * time/time.h: Fix some typos in comments.
30486
59a629f1
RM
304872012-08-23 Roland McGrath <roland@hack.frob.com>
30488
30489 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30490 * posix/tst-rfc3484-2.c: Likewise.
30491 * posix/tst-rfc3484-3.c: Likewise.
30492
d3bafbc9
SM
304932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30494
30495 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30496 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30497
4efcc022
JM
304982012-08-23 Joseph Myers <joseph@codesourcery.com>
30499
30500 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30501 #include of fxstatat64.c.
30502
3cc3ef96
RM
305032012-08-22 Roland McGrath <roland@hack.frob.com>
30504
f04e2132
RM
30505 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30506 * shadow/getspent_r.c: Likewise.
30507 * shadow/getspnam.c: Likewise.
30508 * shadow/getspnam_r.c: Likewise.
30509 * gshadow/getsgent.c: Likewise.
30510 * gshadow/getsgent_r.c: Likewise.
30511 * gshadow/getsgnam.c: Likewise.
30512 * gshadow/getsgnam_r.c: Likewise.
30513 * inet/getnetbyad.c: Likewise.
30514 * inet/getnetbyad_r.c: Likewise.
30515 * inet/getnetbynm.c: Likewise.
30516 * inet/getnetbynm_r.c: Likewise.
30517 * inet/getnetent.c: Likewise.
30518 * inet/getnetent_r.c: Likewise.
30519 * inet/getproto.c: Likewise.
30520 * inet/getproto_r.c: Likewise.
30521 * inet/getprtent.c: Likewise.
30522 * inet/getprtent_r.c: Likewise.
30523 * inet/getprtname.c: Likewise.
30524 * inet/getprtname_r.c: Likewise.
30525 * inet/getrpcbyname.c: Likewise.
30526 * inet/getrpcbyname_r.c: Likewise.
30527 * inet/getrpcbynumber.c: Likewise.
30528 * inet/getrpcbynumber_r.c: Likewise.
30529 * inet/getrpcent.c: Likewise.
30530 * inet/getrpcent_r.c: Likewise.
30531 * inet/getaliasent.c: Likewise.
30532 * inet/getaliasent_r.c: Likewise.
30533 * inet/getaliasname.c: Likewise.
30534 * inet/getaliasname_r.c: Likewise.
30535 * nscd/getgrgid_r.c: Likewise.
30536 * nscd/getgrnam_r.c: Likewise.
30537 * nscd/gethstbyad_r.c: Likewise.
30538 * nscd/gethstbynm3_r.c: Likewise.
30539 * nscd/getpwnam_r.c: Likewise.
30540 * nscd/getpwuid_r.c: Likewise.
30541 * nscd/getsrvbynm_r.c: Likewise.
30542 * nscd/getsrvbypt_r.c: Likewise.
30543 * nscd/gai.c: Likewise.
30544
c53d909c
RM
30545 * configure.in (build_nscd): New substituted variable, set
30546 by --disable-build-nscd and defaults to $use_nscd.
30547 * configure: Regenerated.
30548 * config.make.in (build-nscd): New substituted variable.
30549 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30550 Change conditional to require [$(build-nscd) = yes] as well.
30551 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30552
3cc3ef96
RM
30553 [BZ# 13696]
30554 * configure.in (use_nscd): New substituted variable, set by
30555 --disable-nscd. If enabled, define USE_NSCD.
30556 * configure: Regenerated.
30557 * config.h.in: Add USE_NSCD.
30558 * config.make.in (use-nscd): New substituted variable.
30559 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30560 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30561 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30562 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30563 (CFLAGS-getgrnam_r.c): Likewise.
30564 (CFLAGS-initgroups.c): Likewise.
30565 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30566 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30567 Variables removed.
30568 * inet/getnetgrent_r.c
30569 (nscd_setnetgrent): New function, broken out of ...
30570 (setnetgrent): ... here. Call it.
30571 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30572 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30573 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30574 * nscd/Makefile (routines, aux): Move definitions after include of
30575 Makeconfig. Conditionalize on [$(use-nscd) != no].
30576 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30577 Conditionalize on [USE_NSCD].
30578 (is_nscd, nscd_init_cb): Likewise.
30579 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30580 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30581 * nss/nss_db/db-init.c: Likewise.
30582 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30583 [USE_NSCD].
30584 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30585 (make_request): Use it.
30586 (cache_valid_p): New function.
30587 (__check_pf): Use it.
30588 * NEWS: Add item for --disable-nscd.
30589
07e51550
DL
305902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30591
30592 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30593 to support sed >= 4.2.1-20-ga9bf076.
30594 * configure: Regenerated.
30595
35a5b08b
RM
305962012-08-22 Roland McGrath <roland@hack.frob.com>
30597
30598 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30599 Conditionalize whole body on [IREL].
30600
8479f23a
JL
306012012-08-22 Jeff Law <law@redhat.com>
30602
30603 [BZ #14505]
30604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30605 if the family is PF_UNSPEC.
30606
48da0b21
MF
306072012-08-22 Mike Frysinger <vapier@gentoo.org>
30608
30609 * Makerules (lib-version): Rename from V.
30610 (install-lib-nosubdir): Change V to lib-version.
30611
15d0da8c
WS
306122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30613
30614 [BZ #14252]
30615 * powerpc32/power6/wcschr.c: New file.
30616 * powerpc32/power6/wcscpy.c: New file.
30617 * powerpc32/power6/wcsrchr.c: New file.
30618 * powerpc64/power6/wcschr.c: New file.
30619 * powerpc64/power6/wcscpy.c: New file.
30620 * powerpc64/power6/wcsrchr.c: New file.
30621
bcca0895
MK
306222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30623
30624 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30625 (two_way_short_needle): Use it.
5a4aaa33
RM
30626 * string/strstr.c (AVAILABLE1_USES_J): Define.
30627 * string/strcasestr.c: Likewise.
99677e57
MK
30628
30629 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30630 array references.
30631 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30632
400726de
MK
30633 [BZ #11607]
30634 * NEWS: Add an entry.
30635 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30636 define their defaults.
30637 (two_way_short_needle): Detect end-of-string on-the-fly.
30638 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30639 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30640 * string/bug-strcasestr1.c: New test.
30641 * string/Makefile: Run it.
30642
20a71f2c
MK
306432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30644
30645 [BZ #11607]
30646 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30647 the first character.
30648
21ad0558
RM
306492012-08-21 Roland McGrath <roland@hack.frob.com>
30650
30651 * csu/elf-init.c (__libc_csu_irel): Function removed.
30652 * csu/libc-start.c (apply_irel): New function.
30653 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30654
0e1d9911
JM
306552012-08-21 Joseph Myers <joseph@codesourcery.com>
30656
30657 * sysdeps/unix/sysv/linux/kernel-features.h
30658 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30659 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30660 <kernel-features.h>.
30661 [__NR_fadvise64_64]: Make code unconditional.
30662 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30663 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30664 !__NR_fadvise64_64)]: Likewise.
30665 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30666 !__NR_fadvise64_64))]: Likewise.
30667 [__NR_fadvise64]: Make code unconditional.
30668 [!__NR_fadvise64]: Remove conditional code.
30669 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30670 <kernel-features.h>.
30671 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30672 unconditional.
30673 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30674 conditional code.
30675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30676 not include <kernel-features.h>.
30677 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30678 unconditional.
30679 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30680 conditional code.
30681 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30682 include <kernel-features.h>.
30683 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30684 unconditional.
30685 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30686 conditional code.
30687
14a50c9d
WS
306882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30689
30690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30691 slight instruction rearrangements per scrollpipe analysis.
30692 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30693
c0f4faf0
RM
306942012-08-20 Roland McGrath <roland@hack.frob.com>
30695
696da859
RM
30696 * manual/syslog.texi (syslog; vsyslog, closelog):
30697 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30698 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30699
c0f4faf0
RM
30700 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30701 DSOCAPS to match condition on defining it.
30702
348363b2
JM
307032012-08-20 Joseph Myers <joseph@codesourcery.com>
30704
a35cbf28
JM
30705 * sysdeps/unix/sysv/linux/kernel-features.h
30706 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30708 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30709 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30711 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30712 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30714 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30715 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30716
445f7ecd
JM
30717 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30718 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30719
348363b2
JM
30720 * sysdeps/unix/sysv/linux/kernel-features.h
30721 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30722 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30723 unconditional.
30724 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30725 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30726 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30727 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30728 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30729 Make code unconditional.
30730 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30731 (__mmap64) [!__NR_mmap2]: Likewise.
30732 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30733 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30734 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30735 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30736 [__NR_mmap2]: Make code unconditional.
30737 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30738 (__mmap64) [!__NR_mmap2]: Likewise.
30739
bc5bc0e5
AK
307402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30741
30742 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30743
88d506de
AJ
307442012-08-18 Andreas Jaeger <aj@suse.de>
30745
30746 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30747
493387d2
MF
307482012-08-18 Mike Frysinger <vapier@gentoo.org>
30749
30750 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30751 * include/unistd.h (__have_sock_cloexec): Likewise.
30752 (__have_pipe2): Likewise.
30753 (__have_dup3): Likewise.
30754
a277af22
MF
307552012-08-18 Mike Frysinger <vapier@gentoo.org>
30756
30757 [BZ #9685]
30758 * include/unistd.h (__have_pipe2): Change define into an extern int.
30759 (__have_dup3): Likewise.
30760 * socket/have_sock_cloexec.c: Include fcntl.h.
30761 (__have_pipe2): New variable.
30762 (__have_dup3): Likewise.
30763
fdab8fd3
MF
307642012-08-17 Mike Frysinger <vapier@gentoo.org>
30765
30766 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30767
31035e80
MP
307682012-08-17 Marek Polacek <polacek@redhat.com>
30769
30770 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30771 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30772
3bd9e993
RM
307732012-08-17 Roland McGrath <roland@hack.frob.com>
30774
c91c505f
RM
30775 * configure.in: Add AC_SUBST for sysheaders.
30776 * configure: Regenerated.
30777 * config.make.in (sysheaders): New substituted variable.
30778
7c6f9d53
RM
30779 * sysdeps/unix/mkfifo.c: Moved ...
30780 * sysdeps/posix/mkfifo.c: ... here.
30781 * sysdeps/unix/mkfifoat.c: Moved ...
30782 * sysdeps/posix/mkfifoat.c: ... here.
30783
30784 * sysdeps/unix/utime.c: Moved ...
30785 * sysdeps/posix/utime.c: ... here.
30786
30787 * sysdeps/unix/time.c: Moved ...
30788 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30789 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30790 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30791
30792 * sysdeps/unix/nice.c: Moved ...
30793 * sysdeps/posix/nice.c: ... here.
30794
30795 * sysdeps/unix/alarm.c: Moved ...
30796 * sysdeps/posix/alarm.c: ... here.
30797
3bd9e993
RM
30798 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30799
d1f09384
JL
308002012-08-17 Jeff Law <law@redhat.com>
30801
30802 * intl/Makefile (codeset_mo): New variable.
30803 ($(codeset_mo)): New target.
30804 (tst-codeset.out): Depend on that. Remove explicit rule.
30805 (tst-gettext3.out, tst-gettext5.out): Likewise.
30806 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30807 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30808 * intl/tst-codeset.sh: Remove.
30809 * intl/tst-gettext3.sh: Likewise.
30810 * intl/tst-gettext5.sh: Likewise.
30811
2ae1ae5c
RM
308122012-08-17 Roland McGrath <roland@hack.frob.com>
30813
c31fdb83
RM
30814 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30815 * sysdeps/unix/syscalls.list: ... here.
30816
a0844057
RM
30817 * sysdeps/posix/getaddrinfo.c
30818 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30819 (gaiconf_init, gaiconf_reload): Use them.
30820 [!_STATBUF_ST_NSEC]
30821 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30822 Define using time_t rather than struct timespec.
30823
750c1f2a
RM
30824 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30825 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30826 Macros removed.
30827 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30828 [!NO_THREADS].
30829 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30830 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30831 Likewise.
30832
2ae1ae5c
RM
30833 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30834 __libc_cleanup_push argument.
30835
e66a42f5
RM
30836 * bits/param.h: New file.
30837 * misc/sys/param.h: New file.
30838 * include/sys/param.h: New file.
30839 * misc/Makefile (headers): Add bits/param.h.
30840 * sysdeps/generic/sys/param.h: File removed.
30841 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30842 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30843 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30844 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30845
b7c08a66
RM
30846 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30847 last change.
30848
b2e1c562
RM
30849 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30850 [_IO_MTSAFE_IO].
30851 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30852 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30853 New macros.
30854
c75ccd4c
RM
30855 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30856 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30857 rather than -D_IO_MTSAFE_IO conditionally.
30858 * stdio-common/Makefile (CPPFLAGS): Likewise.
30859 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30860 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30861 Use $(libio-mtsafe).
30862 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30863 of -D_IO_MTSAFE_IO.
30864 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30865 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30866 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30867 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30868 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30869 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30870 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30871 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30872 (CFLAGS-fread_u_chk.c): Likewise.
30873 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30874 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30875 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30876 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30877 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30878 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30879 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30880 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30881 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30882
30883 * libio/Makefile: Test [$(libc-reentrant) = yes]
30884 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30885
30886 * Makeconfig
30887 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30888 * sysdeps/pthread/configure: File removed.
30889 * sysdeps/pthread/Makeconfig: New file.
30890 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30891 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30892
d9195db8
GB
308932012-08-16 Gary Benson <gbenson@redhat.com>
30894
30895 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30896 unmapping the first object in a namespace.
30897
86466cd9
RM
308982012-08-16 Roland McGrath <roland@hack.frob.com>
30899
30900 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30901 (__internal_setnetgrent): ... this. Add internal_function to
30902 definition. Add libc_hidden_def.
30903 (setnetgrent): Update caller.
30904 (internal_endnetgrent): Renamed to ...
30905 (__internal_endnetgrent): ... this. Add internal_function to
30906 definition. Add libc_hidden_def.
30907 (endnetgrent): Update caller.
30908 (internal_getnetgrent_r): Renamed to ...
30909 (__internal_getnetgrent_r): ... this. Add internal_function to
30910 definition. Add libc_hidden_def.
30911 (__getnetgrent_r): Update caller.
30912 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30913
c3c8283c
JM
309142012-08-16 Joseph Myers <joseph@codesourcery.com>
30915
30916 * stdlib/longlong.h: Update from GCC.
30917
db1ee0a8
RM
309182012-08-16 Roland McGrath <roland@hack.frob.com>
30919
30920 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30921 on _QL, which is set by umul_ppmm but never used.
30922 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30923 variables, which are set by GMP macros but never used.
30924 * stdio-common/_itowa.c (_itowa): Likewise.
30925 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30926 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30927
30f69637
CD
309282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30929
30930 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30931 struct La_sh_regs is not constant.
30932 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30933 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30934 and struct La_sparc64_regs are not constant.
30935
93a78ac4
JM
309362012-08-16 Joseph Myers <joseph@codesourcery.com>
30937
30938 * sysdeps/unix/sysv/linux/kernel-features.h
30939 (__ASSUME_POSIX_TIMERS): Remove.
30940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30941 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30942 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30943 Make code unconditional.
30944 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30945 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30946 Make code unconditional.
30947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30948 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30949 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30951 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30952 Make code unconditional.
30953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30954 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30955 (__libc_missing_posix_timers): Remove.
30956
dd924cd7
RM
309572012-08-15 Roland McGrath <roland@hack.frob.com>
30958
4b4f2771
RM
30959 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30960 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30961
601c888b
RM
30962 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30963
176790a7
RM
30964 * elf/dl-sym.c: Include <stdlib.h>.
30965
329bc018
RM
30966 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30967 constants, which avoids warnings in 32-bit builds.
30968
e04e272d
RM
30969 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30970 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30971
952bf94a
RM
30972 * misc/lseek.c: File moved to ...
30973 * io/lseek.c: ... here.
30974
7c99b50a
RM
30975 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30976
dd924cd7
RM
30977 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30978 shifting LEN more than 31 bits at once.
30979
b3f479a8
LD
309802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30981
30982 [BZ #14195]
8c4ae0d4
RM
30983 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30984 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30985 * string/test-strncasecmp.c (check1): Renamed to...
30986 (bz12205): ...this.
30987 (bz14195): Add new testcase for two empty input strings and N > 0.
30988 (test_main): Call new testcase, adapt for renamed function.
30989
9c55864e
AJ
309902012-08-15 Andreas Jaeger <aj@suse.de>
30991
30992 [BZ #14090]
30993 * crypt/md5test2.c: New test, based on test supplied by Serge
30994 Belyshev <belyshev@depni.sinp.msu.ru>.
30995 * crypt/Makefile (xtests): Add md5test-giant..
30996 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30997
02dcb6c5
PE
309982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30999
31000 [BZ #14090]
31001 * crypt/md5.c (md5_process_block): Don't assume the buffer
31002 length is less than 2**32.
31003 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31004 length is less than 2**64.
31005
a3f95dcc
RM
310062012-08-15 Roland McGrath <roland@hack.frob.com>
31007
be75d758
RM
31008 * string/str-two-way.h: Include <sys/param.h>.
31009 (MAX): Macro removed.
31010
7312ca90
RM
31011 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31012 Move #define and #undef of memmove to just before and after
31013 including <string.h>.
31014
9a0a5486
RM
31015 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31016 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31017 and after including <string.h>. Move declarations of
31018 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31019 to before #include "string/memmove.c".
31020
67cc348d
RM
31021 * include/dirent.h: Declare __getdirentries.
31022
a3f95dcc
RM
31023 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31024 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31025
ca98e171
MF
310262012-08-14 Mike Frysinger <vapier@gentoo.org>
31027
31028 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31029 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31030 * sysdeps/i386/configure: Regenerated.
31031 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31032 STABS_CURRENT_FILE, and STABS_FUN.
31033 (END): Remove call to STABS_FUN_END.
31034 (STABS_CURRENT_FILE1): Delete.
31035 (STABS_CURRENT_FILE): Likewise.
31036 (STABS_FUN): Likewise.
31037 (STABS_FUN_END): Likewise.
31038 (STABS_FUN2): Likewise.
31039 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31040 * sysdeps/x86_64/configure: Regenerated.
31041
5908bf46
RM
310422012-08-14 Roland McGrath <roland@hack.frob.com>
31043
31044 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31045 * elf/dl-lookup.c: Likewise.
5908bf46 31046
f2c05b9e
JM
310472012-08-14 Joseph Myers <joseph@codesourcery.com>
31048
31049 * sysdeps/unix/sysv/linux/kernel-features.h
31050 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31051 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31052 unconditionally.
31053 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31054 unconditionally.
31055 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31056 condition on __ASSUME_CLONE_THREAD_FLAGS.
31057
e11f5155
AJ
310582012-08-14 Andreas Jaeger <aj@suse.de>
31059
31060 * sysdeps/i386/fpu/libm-test-ulps: Update.
31061
51a9ba86
MK
310622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31063
2fdd4f78
AJ
31064 * include/atomic.h (atomic_exchange_and_add): Split into ...
31065 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31066 New atomic macros.
51a9ba86 31067
ba6cba9e
MT
310682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31069
31070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31071
42443a47
JL
310722012-08-13 Jeff Law <law@redhat.com>
31073
31074 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31075 null byte in the output string.
31076
121dce05
JM
310772012-08-10 Joseph Myers <joseph@codesourcery.com>
31078
31079 * sysdeps/unix/sysv/linux/kernel-features.h
31080 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31081 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31082 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31083 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31084 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31085 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31086 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31087
bf51f568
JL
310882012-08-09 Jeff Law <law@redhat.com>
31089
31090 [BZ #13939]
31091 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31092 When avoid_arena is set, don't retry in the that arena. Pick the
31093 next one, whatever it might be.
31094 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31095 (arena_lock): Pass in new parameter to arena_get2.
31096 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31097 arena_get2.
31098 (__libc_malloc): Unify retrying after main arena failure with
31099 __libc_memalign version.
31100 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31101
f85fa270
L
311022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31103
31104 [BZ #14166]
31105 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31106 to __redirect_strstr.
31107 (__strstr_sse42): Use typeof __redirect_strstr.
31108 (__strstr_ia32): Likewise.
31109 (__libc_strstr): New prototype.
31110 (strstr): Renamed to ...
31111 (__libc_strstr): This.
31112 (strstr): New strong alias of __libc_strstr.
31113 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31114 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31115 __redirect_time.
31116 Include <time.h>.
31117 (__libc_time): New prototype.
31118 (time_ifunc): Replace time with __libc_time.
31119 (time): New strong alias and hidden definition of __libc_time.
31120 (__GI_time): Remove strong alias.
31121 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31122 Include <stddef.h>.
31123 (memmove): Redefined to __redirect_memmove.
31124 (__memmove_sse2): Use typeof __redirect_memmove.
31125 (__memmove_ssse3): Likewise.
31126 (__memmove_ssse3_back): Likewise.
31127 (__libc_memmove): New prototype.
31128 (memmove): Renamed to ...
31129 (__libc_memmove): This.
31130 (memmove): New strong alias of __libc_memmove.
31131
33b4a91e
MS
311322012-08-08 Mark Salter <msalter@redhat.com>
31133
31134 * elf/elf.h
31135 (R_MN10300_TLS_GD): Define.
31136 (R_MN10300_TLS_LD): Likewise.
31137 (R_MN10300_TLS_LDO): Likewise.
31138 (R_MN10300_TLS_GOTIE): Likewise.
31139 (R_MN10300_TLS_IE): Likewise.
31140 (R_MN10300_TLS_LE): Likewise.
31141 (R_MN10300_TLS_DTPMOD): Likewise.
31142 (R_MN10300_TLS_DTPOFF): Likewise.
31143 (R_MN10300_TLS_TPOFF): Likewise.
31144 (R_MN10300_SYM_DIFF): Likewise.
31145 (R_MN10300_ALIGN): Likewise.
31146 (R_MN10300_NUM): Update.
31147
b36137f1
JM
311482012-08-08 Joseph Myers <joseph@codesourcery.com>
31149
31150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31151 Remove.
31152
cdd915fd
RM
311532012-08-08 Roland McGrath <roland@hack.frob.com>
31154
a2433aac
RM
31155 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31156
cdd915fd
RM
31157 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31158 sysdeps/unix -> sysdeps/posix move.
31159 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31160
bf9b740a
AM
311612012-08-07 Allan McRae <allan@archlinux.org>
31162
31163 [BZ #14303]
31164 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31165 (SUNOS_CPP): Likewise.
31166 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31167 not found.
31168 (open_input): Call CPP using execvp.
31169
93df14ee
JM
311702012-08-07 Joseph Myers <joseph@codesourcery.com>
31171
31172 * sysdeps/unix/sysv/linux/kernel-features.h
31173 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31174 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31175 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31176 (__ASSUME_WAITID_SYSCALL): Likewise.
31177 * sysdeps/unix/sysv/linux/dl-execstack.c
31178 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31179 code unconditional.
31180 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31181 conditional code.
31182 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31183 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31184 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31185 code.
31186 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31187 unconditional.
31188 [__ASSUME_WAITID_SYSCALL]: Likewise.
31189 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31190
d34689de
RM
311912012-08-07 Roland McGrath <roland@hack.frob.com>
31192
a281decc
RM
31193 * sysdeps/unix/closedir.c: Renamed to ...
31194 * sysdeps/posix/closedir.c: ... here.
31195 * sysdeps/unix/dirfd.c: Renamed to ...
31196 * sysdeps/posix/dirfd.c: ... here.
31197 * sysdeps/unix/dirstream.h: Renamed to ...
31198 * sysdeps/posix/dirstream.h: ... here.
31199 * sysdeps/unix/fdopendir.c: Renamed to ...
31200 * sysdeps/posix/fdopendir.c: ... here.
31201 * sysdeps/unix/opendir.c: Renamed to ...
31202 * sysdeps/posix/opendir.c: ... here.
31203 * sysdeps/unix/readdir.c: Renamed to ...
31204 * sysdeps/posix/readdir.c: ... here.
31205 * sysdeps/unix/readdir_r.c: Renamed to ...
31206 * sysdeps/posix/readdir_r.c: ... here.
31207 * sysdeps/unix/rewinddir.c: Renamed to ...
31208 * sysdeps/posix/rewinddir.c: ... here.
31209 * sysdeps/unix/seekdir.c: Renamed to ...
31210 * sysdeps/posix/seekdir.c: ... here.
31211 * sysdeps/unix/telldir.c: Renamed to ...
31212 * sysdeps/posix/telldir.c: ... here.
31213 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31214 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31215 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31216 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31217
22895b47
RM
31218 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31219 * bits/fcntl.h: ... here.
31220
707a53b6
RM
31221 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31222 not 0.
31223 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31224 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31225 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31226 (struct flock): Move l_start, l_len to the beginning.
31227 Use __pid_t for l_pid.
31228 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31229 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31230 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31231 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31232 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31233 [__USE_LARGEFILE64] (struct flock64): New type.
31234 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31235
f0bd3e25
RM
31236 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31237 * bits/dirent.h: ... here.
31238
d34689de
RM
31239 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31240 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31241
6dad2c06
JM
312422012-08-07 Joseph Myers <joseph@codesourcery.com>
31243
31244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31245 Change from 2.6.0 to 2.6.16.
31246 * sysdeps/unix/sysv/linux/configure: Regenerated.
31247 * sysdeps/unix/sysv/linux/kernel-features.h
31248 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31249 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31250 version.
31251 (__ASSUME_UTIMES): Likewise.
31252 (__ASSUME_CLONE_STOPPED): Remove.
31253 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31254 architectures, not kernel version.
31255 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31256 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31257 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31258 (__ASSUME_WAITID_SYSCALL): Likewise.
31259 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31260 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31261 * README: State 2.6.16 as minimum Linux kernel version. Do not
31262 refer to older versions.
31263
03af9520
RM
312642012-08-06 Roland McGrath <roland@hack.frob.com>
31265
8e49df1d
RM
31266 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31267 Define alphasort64 as an alias.
31268 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31269 Define versionsort64 as an alias.
31270 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31271 Define scandir64 as an alias.
31272 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31273 Define scandirat64 as an alias.
31274 * dirent/alphasort64.c (alphasort64):
31275 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31276 * dirent/versionsort64.c: Likewise.
31277 * dirent/scandir64.c: Likewise.
31278 * dirent/scandirat64.c: Likewise.
31279 * sysdeps/wordsize-64/alphasort.c: File removed.
31280 * sysdeps/wordsize-64/alphasort64.c: File removed.
31281 * sysdeps/wordsize-64/scandir.c: File removed.
31282 * sysdeps/wordsize-64/scandir64.c: File removed.
31283 * sysdeps/wordsize-64/scandirat.c: File removed.
31284 * sysdeps/wordsize-64/scandirat64.c: File removed.
31285 * sysdeps/wordsize-64/versionsort.c: File removed.
31286 * sysdeps/wordsize-64/versionsort64.c: File removed.
31287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31289 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31291 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31295
31296 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31298 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31300 [defined __arch64__ || defined __sparcv9]
31301 (__INO_T_MATCHES_INO64_T): New macro.
31302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31303 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31304 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31305 * sysdeps/unix/sysv/linux/bits/dirent.h
31306 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31307 (_DIRENT_MATCHES_DIRENT64): New macro.
31308
03af9520
RM
31309 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31310 Define lockf64 as an alias.
31311 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31312 Define fseeko64 as an alias.
31313 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31314 Define ftello64 as an alias.
31315 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31316 Define _IO_fgetpos64 and fgetpos64 as aliases.
31317 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31318 Define _IO_fsetpos64 and fsetpos64 as aliases.
31319 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31320 Conditionalize body on this.
31321 * libio/fseeko64.c: Likewise.
31322 * libio/ftello64.c: Likewise.
31323 * libio/iofgetpos64.c: Likewise.
31324 * libio/iofsetpos64.c: Likewise.
31325 * sysdeps/wordsize-64/lockf.c: File removed.
31326 * sysdeps/wordsize-64/lockf64.c: File removed.
31327 * sysdeps/wordsize-64/fseeko.c: File removed.
31328 * sysdeps/wordsize-64/fseeko64.c: File removed.
31329 * sysdeps/wordsize-64/ftello.c: File removed.
31330 * sysdeps/wordsize-64/ftello64.c: File removed.
31331 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31332 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31333 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31334 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31335 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31337 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31338 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31339 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31340 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31341 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31343 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31345
31346 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31348 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31350 [defined __arch64__ || defined __sparcv9]
31351 (__OFF_T_MATCHES_OFF64_T): New macro.
31352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31353 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31355 (__OFF_T_MATCHES_OFF64_T): New macro.
31356
c5757acd
L
313572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31358
31359 * stdlib/secure-getenv.c (__secure_getenv): Replace
31360 GLIBC_2_16 with GLIBC_2_17.
31361
3a31811e
L
313622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31366
faa2bccb
DM
313672012-08-03 David S. Miller <davem@davemloft.net>
31368
31369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31370
85fe1997
JM
313712012-08-03 Joseph Myers <joseph@codesourcery.com>
31372
31373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31374 Remove.
31375 (__ASSUME_CORRECT_SI_PID): Likewise.
31376 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31377 (__ASSUME_TMPFS_NAME): Likewise.
31378 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31379 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31380 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31381 (HAVE_AUX_SECURE): Make definition unconditional.
31382 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31383 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31384
4f75b7a0
RM
313852012-08-03 Roland McGrath <roland@hack.frob.com>
31386
31387 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31388 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31389 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31390 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31391 __eloop_threshold instead of SYMLOOP_MAX.
31392
31393 * sysdeps/generic/eloop-threshold.h: New file.
31394 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31395 of MAXSYMLINKS.
31396 * elf/chroot_canon.c (chroot_canon): Likewise.
31397
7aab07e4
JM
313982012-08-03 Joseph Myers <joseph@codesourcery.com>
31399
31400 [BZ #13717]
31401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31402 Change to 2.6.0 everywhere.
31403 * sysdeps/unix/sysv/linux/configure: Regenerated.
31404 * sysdeps/unix/sysv/linux/kernel-features.h
31405 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31406 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31407 kernel versions.
31408 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31409 (__ASSUME_FUTEX_REQUEUE): Remove.
31410 (__ASSUME_STATFS64): Define unconditionally.
31411 (__ASSUME_AT_SECURE): Likewise.
31412 (__ASSUME_CORRECT_SI_PID): Likewise.
31413 (__ASSUME_TGKILL): Define without depending on kernel version for
31414 i386.
31415 (__ASSUME_UTIMES): Likewise.
31416 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31417 kernel version.
31418 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31419 (__ASSUME_TMPFS_NAME): Likewise.
31420 * README: Update reference to Linux kernel versions.
31421
b67e9372
MP
314222012-08-02 Marek Polacek <polacek@redhat.com>
31423
1f529f7d 31424 [BZ# 14150]
b67e9372
MP
31425 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31426 libc_cv_asm_type_prefix with %.
31427 * configure: Regenerated.
d2441631
RM
31428 * include/libc-symbols.h: Remove comment about
31429 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31430 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31431 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31432 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31433 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31434 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31435 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31436 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31437 * elf/tst-unique2mod1.c: Likewise.
31438 * elf/tst-unique1mod2.c: Likewise.
31439 * elf/tst-unique1mod1.c: Likewise.
31440 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31441 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31442 Replace ASM_TYPE_DIRECTIVE with .type.
31443 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31444 * sysdeps/i386/sysdep.h: Likewise.
31445 * sysdeps/x86_64/sysdep.h: Likewise.
31446 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31448 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31449 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31450 * sysdeps/powerpc/powerpc32/sysdep.h:
31451 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31452 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31453 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31454 * sysdeps/i386/fpu/e_powf.S: Likewise.
31455 * sysdeps/i386/fpu/e_expl.S: Likewise.
31456 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31457 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31458 * sysdeps/i386/fpu/e_pow.S: Likewise.
31459 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31460 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31461 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31462 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31463 * sysdeps/i386/fpu/e_log2.S: Likewise.
31464 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31465 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31466 * sysdeps/i386/fpu/e_powl.S: Likewise.
31467 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31468 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31469 * sysdeps/i386/fpu/e_logl.S: Likewise.
31470 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31471 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31472 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31473 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31474 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31475 * sysdeps/i386/fpu/e_log.S: Likewise.
31476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31477 * sysdeps/i386/fpu/e_logf.S: Likewise.
31478 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31480 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31481 * sysdeps/i386/fpu/e_log10.S: Likewise.
31482 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31483 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31484 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31485 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31487 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31488 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31489 * sysdeps/i386/i686/strtok.S: Likewise.
31490 * sysdeps/i386/i386-mcount.S: Likewise.
31491 * sysdeps/i386/strtok.S: Likewise.
31492 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31493 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31494 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31495 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31496 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31501 * sysdeps/x86_64/_mcount.S: Likewise.
31502 * sysdeps/x86_64/strtok.S: Likewise.
31503 * sysdeps/sh/_mcount.S: Likewise.
31504
2747bf9a
RM
315052012-08-01 Roland McGrath <roland@hack.frob.com>
31506
31507 * libio/iofopen.c: Include <fcntl.h>.
31508 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31509 (_IO_fopen64, fopen64): Define as aliases.
31510 * libio/iofopen64.c: Include <fcntl.h>.
31511 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31512 Conditionalize body on this.
31513 * sysdeps/wordsize-64/iofopen.c: File removed.
31514 * sysdeps/wordsize-64/iofopen64.c: File removed.
31515
3fb791b8
MP
315162012-08-01 Marek Polacek <polacek@redhat.com>
31517
31518 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31519 Use dlfcn directly instead of a variable.
31520 (binfmt-subdir): Do not define.
31521 (dlfcn): Likewise.
31522
a9f1039f
JM
315232012-08-01 Joseph Myers <joseph@codesourcery.com>
31524
23bddc06
JM
31525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31526 Remove all definitions.
31527 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31528 <kernel-features.h>.
31529 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31530 (miss_F_GETOWN_EX): Remove all definitions.
31531 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31532 macro definition.
31533 [!__ASSUME_FCNTL64]: Remove conditional code.
31534 [__ASSUME_FCNTL64]: Make code unconditional.
31535 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31536 <kernel-features.h>.
31537 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31538 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31539 (lockf64) [__NR_fcntl64]: Make code unconditional.
31540 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31541
a9f1039f
JM
31542 * sysdeps/unix/sysv/linux/kernel-features.h
31543 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31544 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31545 Make code unconditional.
31546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31549 [__NR_vfork]: Make code unconditional.
31550 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31551 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31553 [__NR_vfork]: Make code unconditional.
31554 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31555 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31556
09c0ee5f
RM
315572012-08-01 Roland McGrath <roland@hack.frob.com>
31558
48aec5b9
RM
31559 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31560 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31561
cd97c966
RM
31562 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31563 Define mkstemp64 as an alias.
3f55550c
RM
31564 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31565 Define mkstemps64 as an alias.
cd97c966
RM
31566 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31567 Define mkostemp64 as an alias.
b8625cfc
RM
31568 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31569 Define mkostemps64 as an alias.
cd97c966
RM
31570 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31571 Conditionalize body on this.
31572 * misc/mkostemp64.c: Likewise.
b8625cfc 31573 * misc/mkostemps64.c: Likewise.
3f55550c 31574 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31575 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31576 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31577 * sysdeps/wordsize-64/mkostemp.c: File removed.
31578 * sysdeps/wordsize-64/mkstemp.c: File removed.
31579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31580 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31582 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31583
09c0ee5f
RM
31584 [BZ #14138]
31585 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31586 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31587 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31588 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31589
31590 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31591 compat_symbol macros from <shlib-compat.h> rather than the underlying
31592 default_symbol_version and symbol_version macros, so that DEFAULT
31593 lines in shlib-versions are respected.
31594 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31595
7e66ee51
FW
315962012-08-01 Florian Weimer <fweimer@redhat.com>
31597
31598 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31599 Declare with warn_unused_result.
31600 (setgid, setregid, setegid, setresgid): Likewise.
31601 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31602 Likewise.
31603 * WUR-REPORT: Remove set*id functions.
31604
d2a54255
PT
316052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31606
31607 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31608
7ecdb005
RM
316092012-07-31 Roland McGrath <roland@hack.frob.com>
31610
b4180a5e 31611 [BZ #10191]
789bd351
RM
31612 * include/sys/socket.h (__libc_accept, __libc_accept4):
31613 Add attribute_hidden.
31614 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31615
40ce302d
RM
31616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31617 use of PTR_MANGLE.
31618 * inet/getnetgrent_r.c (setup): Likewise.
31619
7ecdb005
RM
31620 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31621
e2eabb2c
DM
316222012-07-31 David S. Miller <davem@davemloft.net>
31623
31624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31625
d0419dbf
JM
316262012-07-31 Joseph Myers <joseph@codesourcery.com>
31627
31628 [BZ #13629]
31629 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31630 value between 1.0 and 2.0 and smaller part has absolute value less
31631 than 1.0.
31632 * math/s_clog10.c (__clog10): Likewise.
31633 * math/s_clog10f.c (__clog10f): Likewise.
31634 * math/s_clog10l.c (__clog10l): Likewise.
31635 * math/s_clogf.c (__clogf): Likewise.
31636 * math/s_clogl.c (__clogl): Likewise.
31637 * math/libm-test.inc (clog_test): Add more tests.
31638 (clog10_test): Likewise.
31639 * sysdeps/i386/fpu/libm-test-ulps: Update.
31640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31641
2bc13872
FW
316422012-07-31 Florian Weimer <fweimer@redhat.com>
31643
31644 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31645 Exit with zero in case no suitable GID is found, and write a
31646 message to standard error.
31647
bea9b193
RM
316482012-07-30 Roland McGrath <roland@hack.frob.com>
31649
31650 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31651 rather than to 1.
31652 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31653 (MAXPATHLEN): Removed.
31654 (NOGROUP, NODEV): New macros.
31655 (setbit, clrbit, isset, isclr): New macros.
31656 (howmany, roundup, powerof2): New macros.
31657 (DEV_BSIZE): New macro.
31658
31659 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31660 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31661
31662 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31663 definition on [!__NO_LONG_DOUBLE_MATH].
31664
31665 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31666 PTR_MANGLE and PTR_DEMANGLE.
31667
31668 * socket/accept4.c (accept4): Rename to __libc_accept4.
31669 Define accept4 as a weak alias.
31670
31671 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31672 on [_DIRENT_HAVE_D_TYPE].
31673 * io/ftw.c (ftw_dir): Likewise.
31674
31675 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31676
31677 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31678
31679 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31680 Use the BSD numbers rather than the arbitrary ones we had.
31681 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31682 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31683 (SIGXCPU, SIGXFSZ): New macros.
31684 (_NSIG): Now 32.
31685
31686 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31687 initializer on [_LIBC_REENTRANT].
31688
31689 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31690 definitions inside [_POSIX_MAPPED_FILES].
31691
31692 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31693
31694 * dirent/opendir.c: Include <fcntl.h>.
31695
31696 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31697 (__libc_getspecific): Likewise.
31698 (__libc_key_create): Likewise.
31699
31700 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31701 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31702 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31703 (tmpfile64): Define as alias.
31704 * sysdeps/wordsize-64/tmpfile.c: File removed.
31705 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31708
31709 * stdio-common/vfscanf.c: Include <stdbool.h>.
31710 * nss/makedb.c: Likewise.
31711 * stdio-common/_i18n_number.h: Likewise.
31712 * argp/argp-help.c: Likewise.
31713 * posix/wordexp.c: Likewise.
31714 * sysdeps/posix/spawni.c: Likewise.
31715 * nss/nss_files/files-initgroups.c: Likewise.
31716 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31717 * nss/nss_files/files-initgroups.c: Likewise.
31718 * nss/nss_db/db-netgrp.c: Likewise.
31719 * nss/nss_db/db-initgroups.c: Likewise.
31720 * io/fchmodat.c: Include <sys/stat.h>.
31721
31722 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31723 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31724
31725 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31726 [HAVE_MMAP].
31727
31728 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31729 Add multiple inclusion protection.
31730
e5abc686
DM
317312012-07-27 David S. Miller <davem@davemloft.net>
31732
31733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31734
815e6fa3
GB
317352012-07-27 Gary Benson <gbenson@redhat.com>
31736
31737 [BZ #14298]
31738 * elf/rtld.c: Include <stap-probe.h>.
31739 (dl_main): Added static probes "init_start" and "init_complete".
31740 * elf/dl-load.c: Include <stap-probe.h>.
31741 (lose): Take new parameter "nsid".
31742 Added static probe "map_failed".
31743 (_dl_map_object_from_fd): Pass namespace id to lose.
31744 Added static probe "map_start".
31745 (open_verify): Pass namespace id to lose.
31746 * elf/dl-open.c: Include <stap-probe.h>.
31747 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31748 and "reloc_complete".
31749 * elf/dl-close.c: Include <stap-probe.h>.
31750 (_dl_close_worker): Added static probes "unmap_start" and
31751 "unmap_complete".
31752 * elf/rtld-debugger-interface.txt: New file documenting the above.
31753
9f98c16c
RM
317542012-07-26 Roland McGrath <roland@hack.frob.com>
31755
31756 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31757 rather than a string variable.
31758 * sunrpc/rpc_main.c (h_output): Likewise.
31759 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31760
f3c22df3
PT
317612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31762
31763 * inet/check_native.c: New file.
31764
3129cfc6
JM
317652012-07-26 Joseph Myers <joseph@codesourcery.com>
31766
da865e95
JM
31767 [BZ #13629]
31768 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31769 if larger part has absolute value 1.0.
31770 * math/s_clog10.c (__clog10): Likewise.
31771 * math/s_clog10f.c (__clog10f): Likewise.
31772 * math/s_clog10l.c (__clog10l): Likewise.
31773 * math/s_clogf.c (__clogf): Likewise.
31774 * math/s_clogl.c (__clogl): Likewise.
31775 * math/libm-test.inc (clog_test): Add more tests.
31776 (clog10_test): Likewise.
31777 * sysdeps/i386/fpu/libm-test-ulps: Update.
31778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31779
3129cfc6
JM
31780 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31781 (pltexit): Likewise.
31782 (La_regs): Likewise.
31783 (La_retval): Likewise.
31784 (int_retval): Likewise.
31785 Update #error for removed macros to refer only to definitions in
31786 tst-audit.h.
31787 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31788 macro.
31789 (pltexit): Likewise.
31790 (La_regs): Likewise.
31791 (La_retval): Likewise.
31792 (int_retval): Likewise.
31793 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31794 macro.
31795 (pltexit): Likewise.
31796 (La_regs): Likewise.
31797 (La_retval): Likewise.
31798 (int_retval): Likewise.
31799 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31800 macro.
31801 (pltexit): Likewise.
31802 (La_regs): Likewise.
31803 (La_retval): Likewise.
31804 (int_retval): Likewise.
31805 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31806 macro.
31807 (pltexit): Likewise.
31808 (La_regs): Likewise.
31809 (La_retval): Likewise.
31810 (int_retval): Likewise.
31811 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31812 macro.
31813 (pltexit): Likewise.
31814 (La_regs): Likewise.
31815 (La_retval): Likewise.
31816 (int_retval): Likewise.
31817 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31818 macro.
31819 (pltexit): Likewise.
31820 (La_regs): Likewise.
31821 (La_retval): Likewise.
31822 (int_retval): Likewise.
31823 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31824 macro definitions in tst-audit.h.
31825 * sysdeps/i386/tst-audit.h: New file.
31826 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31827 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31828 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31829 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31830 * sysdeps/sh/tst-audit.h: Likewise.
31831 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31832 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31833 * sysdeps/x86_64/tst-audit.h: Likewise.
31834
bfc07087
AJ
318352012-07-26 Andreas Jaeger <aj@suse.de>
31836
b1b2aaf8
AJ
31837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31838 ptrace.
31839
31840 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31841 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31842 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31843 PTRACE_O_MASK.
31844 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31845 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31846 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31847
bfc07087
AJ
31848 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31849 value.
31850
31851 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31852 _sigsys.
31853 (si_call_addr, si_syscall, si_arch): Define new macro.
31854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31855 _sigsys.
31856 (si_call_addr, si_syscall, si_arch): Define new marcro.
31857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31858 _sigsys.
31859 (si_call_addr, si_syscall, si_arch): Define new macro.
31860 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31861 _sigsys.
31862 (si_call_addr, si_syscall, si_arch): Define new macro.
31863
89b4b02f
JM
318642012-07-25 Joseph Myers <joseph@codesourcery.com>
31865
31866 [BZ #13717]
31867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31868 Change to 2.4.21 where previously 2.4.1.
31869 * sysdeps/unix/sysv/linux/configure: Regenerated.
31870 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31871 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31872 Linux kernel version.
31873 (__ASSUME_STD_AUXV): Remove.
31874 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31875 kernel version.
31876 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31877 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31878 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31879 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31880 (__ASSUME_NETLINK_SUPPORT): Likewise.
31881 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31882 (__no_netlink_support): Remove conditional definition.
31883 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31884 Remove.
31885 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31886 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31887 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31888 (if_nameindex_ioctl): Remove.
31889 (if_nameindex_netlink): Do not handle __no_netlink_support.
31890 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31891 code.
31892 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31893 Remove conditional code.
31894 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31895 code.
31896 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31897 unconditional.
31898 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31899 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31900 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31901 Remove.
31902 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31903 [!__ASSUME_STD_AUXV]: Remove conditional code.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31905 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31906 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31909 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31910 code.
31911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31913 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31914 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31915 conditional code.
31916 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31918 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31919 code.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31921 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31922 conditional code.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31924 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31925 code unconditional.
31926 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31927 conditional code.
31928 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31929 unconditional.
31930 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31931 conditional code.
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31933 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31934 unconditional.
31935 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31936 conditional code.
31937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31938 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31939 code unconditional.
31940 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31941 conditional code.
31942 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31943 unconditional.
31944 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31945 conditional code.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31947 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31948 code unconditional.
31949 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31950 conditional code.
31951 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31952 unconditional.
31953 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31954 conditional code.
31955
842a39cd
AS
319562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31957
31958 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31959 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31960 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31961 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31962 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31963 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31964 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31965 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31966 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31967 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31968 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31969 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31970 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31971 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31973 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31976 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31978 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31979 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31980 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31981
84b3fd84
FW
319822012-07-25 Florian Weimer <fweimer@redhat.com>
31983
31984 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31985 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31986 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31987 Introduce __libc_secure_getenv.
0c7936d5
FW
31988 * stdlib/Versions (2.17): Add secure_getenv
31989 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31990 * stdlib/secure-getenv.c: Rename __secure_getenv to
31991 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31992 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31993 * stdlib/tst-secure-getenv.c: New.
31994 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31995 * manual/startup.texi (Environment Access): Document
31996 secure_getenv.
84b3fd84
FW
31997 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31998 __libc_secure_getenv.
31999 * inet/ruserpass.c (ruserpass): Likewise.
32000 * malloc/mtrace.c (mtrace): Likewise.
32001 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32002 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32003 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32004 * sysdeps/posix/tempname.c: Likewise. Evaluate
32005 HAVE_SECURE_GETENV.
32006 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32007 __secure_getenv to __libc_secure_getenv.
84b3fd84 32008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32010 Likewise.
32011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32012 Likewise.
32013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32020
56e49b71
JM
320212012-07-25 Joseph Myers <joseph@codesourcery.com>
32022
32023 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32024 (struct La_i86_retval): Likewise.
32025 (struct La_x86_64_regs): Likewise.
32026 (struct La_x86_64_retval): Likewise.
32027 (struct La_x32_regs): Likewise.
32028 (struct La_x32_retval): Likewise.
32029 (struct La_ppc32_regs): Likewise.
32030 (struct La_ppc32_retval): Likewise.
32031 (struct La_ppc64_regs): Likewise.
32032 (struct La_ppc64_retval): Likewise.
32033 (struct La_sh_regs): Likewise.
32034 (struct La_sh_retval): Likewise.
32035 (struct La_s390_32_regs): Likewise.
32036 (struct La_s390_32_retval): Likewise.
32037 (struct La_s390_64_regs): Likewise.
32038 (struct La_s390_64_retval): Likewise.
32039 (struct La_sparc32_regs): Likewise.
32040 (struct La_sparc32_retval): Likewise.
32041 (struct La_sparc64_regs): Likewise.
32042 (struct La_sparc64_retval): Likewise.
32043 (struct audit_ifaces): Remove architecture-specific pltenter and
32044 pltexit members.
32045 * sysdeps/i386/ldsodefs.h: New file.
32046 * sysdeps/powerpc/ldsodefs.h: Likewise.
32047 * sysdeps/s390/ldsodefs.h: Likewise.
32048 * sysdeps/sh/ldsodefs.h: Likewise.
32049 * sysdeps/sparc/ldsodefs.h: Likewise.
32050 * sysdeps/x86_64/ldsodefs.h: Likewise.
32051
354691b7
MP
320522012-07-25 Marek Polacek <polacek@redhat.com>
32053
32054 [BZ #6808]
32055 * math/libm-test.inc (yn_test): Add another test.
32056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32057 to ERANGE when the result is +-Inf.
32058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32059 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32060 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32061 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32062
bf9e2071
JM
320632012-07-24 Joseph Myers <joseph@codesourcery.com>
32064
32065 * conform/data/time.h-data (NULL): Use macro-constant. Require
32066 equal to 0.
32067 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32068 clock_t.
32069 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32070
57633811
TS
320712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32072
32073 * configure.in <sysdeps resolving>: Correct printing
32074 Implies_before.
32075 * configure: Regenerate.
32076
c23c33b0
TS
320772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32078
32079 * math/w_ilogb.c: Include <limits.h>.
32080 * math/w_ilogbl.c: Likewise.
32081
b5982523
JM
320822012-07-20 Joseph Myers <joseph@codesourcery.com>
32083
32084 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32085 va_copy. Document allowing for unavailable va_copy only as
32086 pre-C99 compatibility.
32087 * manual/string.texi (Copying and Concatenation): Use va_copy
32088 instead of __va_copy in concat example.
32089
ac4ea442
PT
320902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32091
32092 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32093 (__sendto): Use create_address_port. Initialize APORT and deallocate
32094 it if not null.
32095
f98eafbd
PT
32096 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32097 with O_NOLINK passed to __file_name_lookup.
32098
898c7aab
PT
32099 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32100 with O_NOLINK passed to __file_name_lookup.
32101
0ced335a
PT
32102 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32103 negative N or less than NGIDS.
32104
b3404dbd
PT
32105 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32106 type to string_t. Set ERANGE as errno and return it if NAME is not big
32107 enough. Use memcpy instead of strncpy.
32108
0f48659e
JM
321092012-07-20 Joseph Myers <joseph@codesourcery.com>
32110
32111 * elf/Makefile (check-data): Remove.
32112 (localplt.data): New vpath directive.
32113 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32114 instead of $(check-data).
32115 * scripts/data/localplt-generic.data: Move to ...
32116 * sysdeps/generic/localplt.data: ... here.
32117 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32118 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32119 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32121 ... here.
32122 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32124 ... here.
32125 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32127 ... here.
32128 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32130 ... here.
32131 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32133 ... here.
32134 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32136 ... here.
32137
d37cbdaa
AZ
321382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32139
32140 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32141 PPC32 and PPC64 files.
32142 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32143 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32144
46f85fc2
AK
321452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32146
32147 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32148 __makecontext_ret to ...
32149 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32150 ... here and call exit if uc_link is NULL. New file.
32151 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32152 __makecontext_ret.S.
32153 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32154 __makecontext_ret to ...
32155 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32156 ... here and call exit if uc_link is NULL. New file.
32157 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32158 __makecontext_ret.S.
32159
08f43f9b
AK
321602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32161
32162 * elf/elf.h (R_390_IRELATIVE): New definition.
32163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32164 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32165 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32167 (elf_machine_lazy_rel): Likewise.
32168 * sysdeps/s390/dl-irel.h: New file.
32169 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32170 * sysdeps/s390/s390-64/memset.S: New asm code.
32171 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32172 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32173 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32174 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32175 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32176 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32178 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32179 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32180 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32181 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32182 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32183 * sysdeps/s390/s390-32/memset.S: New asm code.
32184 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32185
3b05db33
MP
321862012-07-17 Marek Polacek <polacek@redhat.com>
32187
32188 [BZ #14349]
32189 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32190 * sysdeps/s390/s390-64/configure.in: Likewise.
32191 * sysdeps/sparc/configure.in: Likewise.
32192 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32193 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32194 * sysdeps/i386/configure.in: Likewise.
32195 * sysdeps/x86_64/configure.in: Likewise.
32196 * sysdeps/sh/configure.in: Likewise.
32197 * sysdeps/s390/s390-32/configure: Regenerated.
32198 * sysdeps/s390/s390-64/configure: Likewise.
32199 * sysdeps/x86_64/configure: Likewise.
32200 * sysdeps/sh/configure: Likewise.
32201 * sysdeps/powerpc/powerpc64/configure: Likewise.
32202 * sysdeps/powerpc/powerpc32/configure: Likewise.
32203 * sysdeps/sparc/configure: Likwise.
32204 * sysdeps/i386/configure: Likewise.
32205
a66877c6
MP
32206 * elf/dl-open.c: Comment fixes.
32207
cfc82fd8
JM
322082012-07-17 Joseph Myers <joseph@codesourcery.com>
32209
bd29910a
JM
32210 * Makefile [CXX] (check-data): Remove.
32211 [CXX] (c++-types.data): New vpath directive.
32212 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32213 vpath. Do not allow for C++ type data being missing.
32214 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32215 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32216 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32217 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32218 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32219 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32220 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32222 ... here.
32223 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32225 ... here.
32226 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32228 ... here.
32229 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32231 ... here.
32232 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32234 ... here.
32235 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32237 ... here.
32238 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32240 ... here.
32241 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32243
cfc82fd8
JM
32244 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32245 definitions to architecture-specific files.
32246 (TLS_IE): Likewise.
32247 (TLS_LD): Likewise.
32248 (TLS_GD): Likewise.
32249 * sysdeps/i386/tls-macros.h: New file.
32250 * sysdeps/powerpc/tls-macros.h: Likewise.
32251 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32252 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32253 * sysdeps/sh/tls-macros.h: Likewise.
32254 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32255 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32256 * sysdeps/x86_64/tls-macros.h: Likewise.
32257
f7db3170
TS
322582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32259
07cbfc23
TS
32260 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32261 zero value for regular exit case.
32262
f7db3170
TS
32263 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32264 (__start_context): Preserve zero value for regular exit case.
32265
dc97c227
TS
322662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32267 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32268
32269 * manual/setjmp.texi (setcontext): Clarify normal process
32270 termination when uc_link is the null pointer.
32271 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32272 exit call.
32273
d0cd7d02
AS
322742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32275
32276 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32277 preprocessor. Test for each exception mask separately.
32278
dd318934
AJ
322792012-07-16 Andreas Jaeger <aj@suse.de>
32280
32281 * po/ru.po: Update from translation team.
32282
8048311a
JM
322832012-07-15 Joseph Myers <joseph@codesourcery.com>
32284
32285 * conform/data/string.h-data (NULL): Use macro-constant. Require
32286 equal to 0.
32287 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32289 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32290 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32292
b637d46e
AJ
322932012-07-13 Andreas Jaeger <aj@suse.de>
32294
32295 * po/fr.po: Update from translation team.
32296
541428fe
MP
322972012-07-12 Marek Polacek <polacek@redhat.com>
32298
32299 [BZ #14173]
32300 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32301 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32302 loop condition.
32303
ec332e94
JM
323042012-07-12 Joseph Myers <joseph@codesourcery.com>
32305
32306 [BZ #13717]
32307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32308 Change to 2.4.1 where previously 2.4.0.
32309 * sysdeps/unix/sysv/linux/configure: Regenerated.
32310 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32311 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32312 version.
32313 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32314 (__ASSUME_AT_CLKTCK): Remove.
32315 (__ASSUME_AT_PAGESIZE): Likewise.
32316 (__ASSUME_AT_XID): Likewise.
32317 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32318 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32319 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32320 unconditionally.
32321 (HAVE_AUX_PAGESIZE): Likewise.
32322 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32323 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32324 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32325
7b6e99be
JB
323262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32327
32328 [BZ #14307]
32329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32330 the temporary buffer used to invoke __gethostbyname2_r,
32331 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32332 host_data / struct gaih_addrtuple.
32333 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32334 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32335 header file nss/nsswitch.h.
32336 * nss/nsswitch.h (global scope): Add definition of implementation
32337 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32338 resolv/nss_dns/dns-host.c).
32339
608404eb
AJ
323402012-07-11 Andreas Jaeger <aj@suse.de>
32341
32342 * po/fr.po: Update from translation team.
32343
71220aca
AJ
32344 * po/sv.po: Update from translation team
32345 * po/fr.po: Another update from translation team.
32346
28cfe843
AZ
323472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32348
32349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32350 for subnormals or multiply small sinh result by itself.
32351 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32353
6b90f981
DM
323542012-07-11 David S. Miller <davem@davemloft.net>
32355
32356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32357
c6825772
AS
323582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32359
32360 [BZ #14347]
32361 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32362 (INTERNAL_MARK): Shift it here.
32363
7b8e0d49
MP
323642012-07-10 Marek Polacek <polacek@redhat.com>
32365
32366 [BZ #14151]
32367 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32368 libc_cv_asm_global_directive with .globl.
32369 * configure: Regenerated.
32370 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32371 with .globl.
32372 * sysdeps/i386/configure: Regenerated.
32373 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32374 with .globl.
32375 * sysdeps/x86_64/configure: Regenerated.
32376 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32377 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32378 * elf/tst-unique2mod2.c: Likewise.
32379 * elf/tst-unique2mod1.c: Likewise.
32380 * elf/tst-unique1mod2.c: Likewise.
32381 * elf/tst-unique1mod1.c: Likewise.
32382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32383 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32384 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32385 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32386 * sysdeps/mach/sysdep.h: Likewise.
32387 * sysdeps/i386/sysdep.h: Likewise.
32388 * sysdeps/i386/i386-mcount.S: Likewise.
32389 * sysdeps/x86_64/_mcount.S: Likewise.
32390 * sysdeps/x86_64/sysdep.h: Likewise.
32391 * sysdeps/sh/_mcount.S: Likewise.
32392 * sysdeps/sh/sysdep.h: Likewise.
32393 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32394 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32395 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32397 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32398 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32399 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32400 * locale/localeinfo.h: Likewise.
32401 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32402 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32403
6c55cda3
RM
324042012-07-09 Roland McGrath <roland@hack.frob.com>
32405
32406 [BZ #14336]
32407 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32408 system".
32409 * manual/message.texi (The Uniforum approach): Likewise.
32410 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32411 (glibc iconv Implementation): Likewise.
32412
638a572e
JM
324132012-07-09 Joseph Myers <joseph@codesourcery.com>
32414
32415 [BZ #14337]
32416 * math/s_clog.c (__clog): Avoid scaling a value down where that
32417 could result in underflow.
32418 * math/s_clog10.c (__clog10): Likewise.
32419 * math/s_clog10f.c (__clog10f): Likewise.
32420 * math/s_clog10l.c (__clog10l): Likewise.
32421 * math/s_clogf.c (__clogf): Likewise.
32422 * math/s_clogl.c (__clogl): Likewise.
32423 * math/libm-test.inc (clog_test): Add more tests.
32424 (clog10_test): Likewise.
32425 * sysdeps/i386/fpu/libm-test-ulps: Update.
32426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32427
261f4859
AS
324282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32429
0abaf3e4
AS
32430 [BZ #14283]
32431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32432 by 7 not 8 to examine high bit of fractional part.
32433
261f4859
AS
32434 [BZ #14042]
32435 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32436 for call to __mcount_internal.
32437 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32438 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32439 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32440
f17ac40d
JM
324412012-07-06 Joseph Myers <joseph@codesourcery.com>
32442
9ad63c23
JM
32443 [BZ #14154]
32444 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32445 approximation for values within 0x1p-13f of an odd multiple of
32446 pi/4.
32447 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32448 exception. Add more tests.
32449 * sysdeps/i386/fpu/libm-test-ulps: Update.
32450
f17ac40d
JM
32451 [BZ #6778]
32452 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32453 inputs and return -1 for them. Do not check for +Inf in case not
32454 reachable for +Inf.
32455 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32456 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32458 and return -1 for them. Do not check for +Inf in case not
32459 reachable for +Inf.
32460 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32461 define.
32462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32463 and return -1 for them. Do not check for +Inf in case not
32464 reachable for +Inf.
32465 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32466 spurious underflow.
32467 * sysdeps/i386/fpu/libm-test-ulps: Update.
32468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32469
fb21f89b
MF
324702012-07-06 Mike Frysinger <vapier@gentoo.org>
32471
32472 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32473
cdfe2c5e
JM
324742012-07-05 Joseph Myers <joseph@codesourcery.com>
32475
32476 [BZ #14157]
32477 [BZ #14331]
32478 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32479 could result in spurious underflow. Scale down values above
32480 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32481 * math/s_csqrtf.c (__csqrtf): Likewise.
32482 * math/s_csqrtl.c (__csqrtl): Likewise.
32483 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32484 spurious underflow.
32485 * sysdeps/i386/fpu/libm-test-ulps: Update.
32486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32487
70d35b67
AS
324882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32489
704bc459
AS
32490 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32491 xopen-msg.sed.
32492 * catgets/xopen-msg.awk: New file.
32493 * catgets/xopen-msg.sed: Removed.
32494
70d35b67
AS
32495 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32496 po2text.sed.
32497 * intl/po2test.awk: New file.
32498 * intl/po2test.sed: Removed.
32499
ca61cf32
JM
325002012-07-04 Joseph Myers <joseph@codesourcery.com>
32501
32502 [BZ #14328]
32503 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32504 or multiply small sinh result by itself.
32505 * math/s_ctanf.c (__ctanf): Likewise.
32506 * math/s_ctanh.c (__ctanh): Likewise.
32507 * math/s_ctanhf.c (__ctanhf): Likewise.
32508 * math/s_ctanhl.c (__ctanhl): Likewise.
32509 * math/s_ctanl.c (__ctanl): Likewise.
32510 * math/libm-test.inc (ctan_test_tonearest): New function.
32511 (ctan_test_towardzero): Likewise.
32512 (ctan_test_downward): Likewise.
32513 (ctan_test_upward): Likewise.
32514 (ctanh_test_tonearest): Likewise.
32515 (ctanh_test_towardzero): Likewise.
32516 (ctanh_test_downward): Likewise.
32517 (ctanh_test_upward): Likewise.
32518 (main): Call these new functions.
32519 * sysdeps/i386/fpu/libm-test-ulps: Update.
32520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32521
ca48a46a
MF
325222012-07-03 Mike Frysinger <vapier@gentoo.org>
32523
32524 * .gitignore: Delete /ports entry.
32525
9d63d37d
AJ
325262012-07-03 Andreas Jaeger <aj@suse.de>
32527
32528 * po/bg.po: Update from translation team.
32529 * po/cs.po: Likewise.
32530 * po/de.po: Likewise.
32531 * po/hr.po: Likewise.
32532 * po/nl.pl: Likewise.
32533 * po/pl.po: Likewise.
32534 * po/vi.po: Likewise.
32535
370ca3d2
JM
325362012-07-03 Joseph Myers <joseph@codesourcery.com>
32537
95f5a9a8
JM
32538 * Makeconfig [!+link] (+link-before-libc): New variable.
32539 [!+link] (+link-after-libc): Likewise.
32540 [!+link] (+link-tests): Likewise.
32541 [!+link] (+link): Define in terms of $(+link-before-libc) and
32542 $(+link-after-libc).
32543 [!+link-static] (+link-static-before-libc): New variable.
32544 [!+link-static] (+link-static-after-libc): Likewise.
32545 [!+link-static] (+link-static-tests): Likewise.
32546 [!+link-static] (+link-static): Define in terms of
32547 $(+link-static-before-libc) and $(+link-static-after-libc).
32548 [build-shared] (link-libc-before-gnulib): New variable.
32549 [build-shared] (link-libc-tests): Likewise.
32550 [build-shared] (link-libc): Define in terms of
32551 $(link-libc-before-gnulib).
32552 [!build-shared] (link-libc-tests): New variable.
32553 (link-libc-static-tests): New variable.
32554 [!gnulib] (gnulib-arch): New variable.
32555 [!gnulib] (gnulib-tests): Likewise.
32556 [!gnulib] (static-gnulib-arch): Likewise.
32557 [!gnulib] (static-gnulib-tests): Likewise.
32558 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32559 Define with "=" instead of ":=".
32560 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32561 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32562 * Rules (binaries-all-notests): New variable.
32563 (binaries-all-tests): Likewise.
32564 (binaries-static-notests): Likewise.
32565 (binaries-static-tests): Likewise.
32566 (binaries-all): Define using $(binaries-all-notests) and
32567 $(binaries-all-tests).
32568 (binaries-static): Define using $(binaries-static-notests) and
32569 $(binaries-static-tests).
32570 (binaries-shared-tests): New variable.
32571 (binaries-shared-notests): Likewise.
32572 (binaries-shared): Remove variable.
32573 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32574 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32575 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32576 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32577 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32578 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32579 * elf/Makefile (sln-modules): New variable.
32580 (extra-objs): Add $(sln-modules:=.o).
32581 (ldconfig-modules): Add static-stubs.
32582 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32583 * elf/static-stubs.c: New file.
32584
7a845b2c
JM
32585 [BZ #14283]
32586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32587 by 7 not 8 to examine high bit of fractional part. Use volatile
32588 variables when splitting into final array of floats if
32589 __FLT_EVAL_METHOD__ != 0.
32590 * math/libm-test.inc (cos_test): Add another test.
32591 (sin_test): Likewise.
32592 * sysdeps/i386/fpu/libm-test-ulps: Update.
32593
e2283f38
JM
32594 [BZ #14273]
32595 * math/libm-test.inc (cosh_test): Add more tests.
32596
370ca3d2
JM
32597 * version.h (RELEASE): Set to "development".
32598 (VERSION): Set to "2.16.90".
32599
ee9247c3
CD
326002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32601
32602 * NEWS: Update copyright. Remove last-updated date.
32603 Mention math library bug fixes and timezone data changes.
32604 * README: Mention GNU/Hurd, x32, and HPPA support status.
32605
4648c381
TS
326062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32607
32608 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32609
aac78a43
AJ
326102012-06-27 Andreas Jaeger <aj@suse.de>
32611
32612 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32613
ed3dbfad
AJ
326142012-06-25 Andreas Jaeger <aj@suse.de>
32615
32616 * sysdeps/s390/fpu/libm-test-ulps: Update.
32617
4d0ee855
AS
326182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32619 Thomas Schwinge <thomas@codesourcery.com>
32620
32621 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32622 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32624 fanotify_mark.
32625
af1bce34
TS
326262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32627
a9fa33ba
TS
32628 * sysdeps/mach/start.c: Remove file.
32629 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32630 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32631 * sysdeps/sh/init-first.c: Likewise.
32632
58f902b8
TS
32633 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32634 registers for frame unwinding purposes, add CFI directives.
32635 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32637 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32638 Likewise.
32639
1518f58b
TS
32640 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32641 __fortify_fail returning.
32642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32643
db9b5059
TS
32644 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32645 sysdeps/sh/____longjmp_chk.S.
32646 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32647 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32648 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32649 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32650
967705fe
TS
32651 * sysdeps/sh/abort-instr.h: New file.
32652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32653 process in case exit returns.
32654
a9def8c4
TS
32655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32656 initialize the GOT register before use.
32657
2a649725
TS
32658 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32659 calculation of ARGC > 4.
32660
af1bce34
TS
32661 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32662 meaningful names to some local labels.
32663
d230f50a
KK
326642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32665 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32666
32667 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32668 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32669 (__arch_compare_and_exchange_val_16_acq): Likewise.
32670 (__arch_compare_and_exchange_val_32_acq): Likewise.
32671 (atomic_exchange_and_add): Fix gUSA sequence.
32672 (atomic_add): Likewise.
32673 (atomic_add_negative): Likewise.
32674 (atomic_add_zero): Likewise.
32675 (atomic_bit_test_set): Likewise.
32676
0479b305
AS
326772012-06-22 Andreas Schwab <schwab@redhat.com>
32678
32679 [BZ #13579]
32680 * include/link.h (struct link_map): Add l_free_initfini.
32681 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32682 l_initfini.
32683 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32684 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32685 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32686 set.
32687
0e3933b9
CD
326882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32689
32690 * configure.in: Use AC_LANG_SOURCE.
32691 * configure: Regenerate.
32692
4248b1b1
RM
326932012-06-22 Roland McGrath <roland@hack.frob.com>
32694
32695 * configure.in (libc_cv_localstatedir): New substituted variable.
32696 * configure: Regenerated.
32697 * config.make.in (localstatedir): New variable, substituted from
32698 libc_cv_localstatedir.
32699 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32700 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32701 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32702 * sysdeps/gnu/configure: Regenerated.
32703
006dd861
JL
327042012-06-21 Jeff Law <law@redhat.com>
32705
32706 [BZ #14277]
32707 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32708 free. Simplify list management for _LIBC case.
32709
79662d42
JM
327102012-06-21 Joseph Myers <joseph@codesourcery.com>
32711
b7abb4bf
JM
32712 [BZ #14273]
32713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32714 Clear sign bit of 64-bit integer value before comparing against
32715 overflow value.
32716
79662d42
JM
32717 * sysdeps/mach/configure: Regenerated.
32718
1f150908
L
327192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32720
32721 [BZ #14278]
32722 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32723
28363bbf
JL
327242012-06-21 Jeff Law <law@redhat.com>
32725
32726 [BZ #13882]
32727 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32728 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32729 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32730 * elf/dl-open.c (dl_open_worker): Likewise.
32731
09615db4
CD
327322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32733
32734 * scripts/list-sources.sh: Scan PORTS for translations.
32735 * po/libc.pot: Regenerated.
32736
2174c6dd
AJ
327372012-06-21 Andreas Jaeger <aj@suse.de>
32738
32739 [BZ #12194]
32740 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32741 warning.
32742 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32743 * bits/byteswap-16.h (__bswap_16): Likewise.
32744 * bits/byteswap.h (__bswap_constant_16): Likewise.
32745
3ee947b1
L
327462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 [BZ #14117]
a2f34833
L
32749 * sysdeps/i386/fpu_control.h: Removed.
32750 * sysdeps/x86_64/fpu_control.h: Moved to ...
32751 * sysdeps/x86/fpu_control.h: Here.
32752
3ee947b1
L
32753 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32754 (_FPU_SETCW): Likewise.
32755
ed1825f8
L
327562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32757
25f1282a
L
32758 [BZ #14117]
32759 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32760 * sysdeps/x86/fpu/bits/mathinline.h: This.
32761 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32762
ed1825f8
L
32763 [BZ #14050]
32764 [BZ #14117]
32765 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32766 functions if __x86_64__ is defined.
32767
36d54b74
CLT
327682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32769
32770 * string/endian.h: Add !__ASSEMBLER__ condition for including
32771 conversion interfaces.
32772
10285c21
JM
327732012-06-15 Joseph Myers <joseph@codesourcery.com>
32774
32775 [BZ #14241]
32776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32777 of ABS(x) in calculating zero to negative powers other than odd
32778 integers.
32779 * math/libm-test.inc (pow_test): Add more tests.
32780
06c5abbd
AJ
327812012-06-15 Andreas Jaeger <aj@suse.de>
32782
32783 * manual/contrib.texi (Contributors): Update entry of Liubov
32784 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32785 Machado Filho.
32786
a3aeac40
CH
327872012-06-15 Cyril Hrubis <metan@ucw.cz>
32788
32789 * string/string.h: Add __wur to GNU version of strerror_r.
32790
49bdf4c1
L
327912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32792
32793 [BZ #14229]
32794 * string/Makefile (tests): Add tst-strtok_r.
32795 * string/tst-strtok_r.c: New file.
32796 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32797 RAX_LP/RDX_LP on SAVE_PTR.
32798
834f9b8d
RM
327992012-06-14 Roland McGrath <roland@hack.frob.com>
32800
32801 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32802
75fa1921
JM
328032012-06-14 Joseph Myers <joseph@codesourcery.com>
32804
32805 * libm_test.inc (csqrt_test): Allow more spurious underflow
32806 exceptions.
32807 (j0_test): Likewise.
32808 (j1_test): Likewise.
32809 (y0_test): Likewise.
32810 (y1_test): Likewise.
32811
771766df
CD
328122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32813
32814 * po/Makefile (libc.pot): Use UTF-8 charset.
32815
ceb9e56b
PP
328162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32817
32818 [BZ #14210]
32819 Suppress sign-conversion warning from FD_SET.
32820 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32821 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32822 not unsigned long int.
32823 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32824
ddb28975
L
328252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32826
32827 [BZ #14050]
32828 [BZ #14117]
32829 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32830 __extern_always_inline instead of __extern_inline.
32831 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32832 (__signbit): Likewise.
32833 (__signbitl): Support C++ namespace.
32834 (lrintf): New inline function.
32835 (lrint): Likewise.
32836 (llrintf): Likewise.
32837 (llrint): Likewise.
32838 (fmaxf): Likewise.
32839 (fmax): Likewise.
32840 (fminf): Likewise.
32841 (fmin): Likewise.
32842 (rint): Likewise.
32843 (rintf): Likewise.
32844 (ceil): Likewise.
32845 (ceilf): Likewise.
32846 (floor): Likewise.
32847 (floorf): Likewise.
32848 (nearbyint): Likewise.
32849 (nearbyintf): Likewise.
32850
d7b4fb26
TS
328512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32852
32853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32854 non-default versions.
32855
eb55f5c2
RM
328562012-06-11 Roland McGrath <roland@hack.frob.com>
32857
32858 [BZ #14218]
32859 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32860
366af02c
TS
328612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32862
99ff6e5c
TS
32863 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32864 (FE_UPWARD, FE_DOWNWARD): Don't define.
32865 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32866 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32867
366af02c
TS
32868 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32869 reading it.
32870 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32872
793ea851
KK
328732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32874
32875 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32878 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32879
a728a38f
L
328802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32881
32882 [BZ #14117]
c08010c7
L
32883 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32884 * sysdeps/i386/fpu/Implies: New file.
32885 * sysdeps/x86_64/fpu/Implies: Likewise.
32886 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32887 * sysdeps/x86/fpu/bits/fenv.h: This.
32888
a728a38f
L
32889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32890 __SSE_MATH__.
32891
6e230d11
SP
328922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32893
32894 [BZ #14134]
32895 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32896 character 0xffff that matches the last element of the
32897 conversion table.
32898
1b671feb
AZ
328992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32900
32901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32902 fmodl commit.
32903
6043738b
AZ
329042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32905
32906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32907 values higher than 25.6283.
32908
34ae0b32
AZ
329092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32910
32911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32912 subnormal exponent extraction and add some __builtin_expect.
32913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32914 Fix for subnormal mantissa calculation.
32915
1214ec8f
MF
329162012-06-04 Mike Frysinger <vapier@gentoo.org>
32917
32918 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32919 cpu2 is -1 and errno is not ENOSYS.
32920
f3d1f93c
L
329212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32922
32923 [BZ #14117]
0e4a3cd7
L
32924 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32925 * sysdeps/x86/bits/string.h: This.
32926 * sysdeps/x86_64/bits/string.h: Removed.
32927
6704c645
L
32928 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32929 if not compiling for x86-64, but compiling for >= i486.
32930
48495318
L
32931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32932 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32933
14adcbfc
L
32934 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32935 New macro from Linux kernel 3.4.0.
32936 (FP_XSTATE_MAGIC2): Likewise.
32937 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32938 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32939 (struct _fpx_sw_bytes): New struct.
32940 (struct _xsave_hdr): Likewise.
32941 (struct _ymmh_state): Likewise.
32942 (struct _xstate): Likewise.
32943
68e408ab
L
32944 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32945 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32947 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32949 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32950
f3d1f93c
L
32951 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32953 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32954 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32955 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32956 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32957
d9dc34cd
TMQMF
329582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32959
32960 [BZ #13743]
32961 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32962 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32963 (sysdep_headers): Include sys/platform/ppc.h.
32964 * sysdeps/powerpc/test-gettimebase.c: Test for
32965 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32966 * manual/Makefile (appendices): Include platform.texi.
32967 * manual/contrib.texi (Contributors): Update @node pointers.
32968 * manual/maint.texi (Maintenance): Likewise.
32969 (Platform): New node.
32970 * manual/platform.texi: New file. Document the new features.
32971
4af3879c
SP
329722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32973 Jakub Jelinek <jakub@redhat.com>
32974
32975 [BZ #14188]
32976 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32977 where __builtin_expect is unavailable.
32978
2fd6ff13
DM
329792012-06-03 David S. Miller <davem@davemloft.net>
32980
32981 * stdlib/longlong.h: Updated from GCC.
32982
173f7220
AS
329832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32984
32985 [BZ #14042]
32986 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32987 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32988 __mcount_internal.
32989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32990 (GLIBC_2.16): Likewise.
32991
f34a1c6f
L
329922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32993
32994 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32995
88a4576f
JM
329962012-06-01 Joseph Myers <joseph@codesourcery.com>
32997
ea32bcdd
JM
32998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32999 (default-abi): New variable.
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33001 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33002 variable.
33003 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33004 Likewise.
33005 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33006 Likewise.
33007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33008 Likewise.
33009
88a4576f
JM
33010 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33011 definition. Document in comment.
33012
402fe938
DM
330132012-06-01 David S. Miller <davem@davemloft.net>
33014
33015 * stdlib/longlong.h: Updated from GCC.
33016
3553723f
L
330172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33018
33019 [BZ #14117]
3bd872c4
L
33020 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33021 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33022 sys/debugreg.h sys/io.h here.
33023 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33024 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33025 sys/io.h.
33026 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33027 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33028 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33029 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33030 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33031 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33032
3553723f
L
33033 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33034 Define only if __x86_64__ is defined.
33035
4842e4fe
JM
330362012-06-01 Joseph Myers <joseph@codesourcery.com>
33037
c5bfe3d5
JM
33038 [BZ #14048]
33039 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33040 Use int64_t for variable i.
33041 * math/libm-test.inc (fmod_test): Add more tests.
33042
4842e4fe
JM
33043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33044 z computation is not scheduled after fetestexcept.
33045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33046 Use math_force_eval instead of asm to ensure calculation scheduled
33047 before exception test.
33048 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33049 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33050
efb73488
AJ
330512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33052
33053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33054 computation is not scheduled after fetestexcept.
33055
29bcce7c
L
330562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33057
33058 [BZ #14117]
33059 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33060 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33061
73a68f94
AZ
330622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33063
33064 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33065 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33066
67b6df78
L
330672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33068
edf2933a 33069 [BZ #14117]
ebc64a18
L
33070 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33071 <bits/wordsize.h>.
33072 (__WCHAR_MIN): Support __WORDSIZE == 64.
33073 (__WCHAR_MAX): Likewise.
33074
edf2933a
L
33075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33076 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33077
57c6cf40
L
33078 [BZ #14183]
33079 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33080 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33081
67b6df78 33082 [BZ #14117]
8eb6281e
L
33083 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33085
aac639f4
L
33086 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33087 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33088
67b6df78
L
33089 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33090 Defined to 1 if __x86_64__ isn't defined.
33091 (_STAT_VER_LINUX_OLD): New.
33092 (st_atime): Remove duplicate.
33093 (st_mtime): Likewise.
33094 (st_ctime): Likewise.
33095
1c2cfe81
DM
330962012-05-31 David S. Miller <davem@davemloft.net>
33097
33098 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33099 entries.
33100
5be8418c
AS
331012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33102
e7725326
AS
33103 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33104 gen-libm-test.pl.
33105
5be8418c
AS
33106 [BZ #14132]
33107 * elf/dl-reloc.c: Include <_itoa.h>.
33108 (_dl_reloc_bad_type): Remove use of INTUSE.
33109 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33110 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33111 * stdio-common/psiginfo.c (psiginfo): Likewise.
33112 * stdio-common/psignal.c (psignal): Likewise.
33113 * string/strsignal.c (strsignal): Likewise.
33114 * include/signal.h (_sys_siglist): Declare hidden proto.
33115 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33116 INTVARDEF with libc_hidden_data_def.
33117 * stdio-common/itoa-udigits.c: Likewise.
33118 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33119 (_itoa_lower_digits_internal): Remove declaration.
33120 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33121 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33122 (_sys_sigabbrev_internal): Remove aliases.
33123 (_sys_siglist): Define hidden alias.
33124
507352f1
MT
331252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33126
33127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33128 bits/sysctl.h.
33129
42bbb1c3
L
331302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 [BZ #14117]
6bd784b6
L
33133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33134 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33135
8bca20f0
L
33136 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33137 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33138 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33139 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33141 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33142
f9e890a9
L
33143 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33144 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33145 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33146
471101a1
L
33147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33148 with __addr.
33149 (insw): Likewise.
33150 (insl): Likewise.
33151 (outsb): Likewise.
33152 (outsw): Likewise.
33153 (outsl): Likewise.
33154
6451c862
L
33155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33158
a254b8c9
L
33159 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33160 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33163 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33164 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33165
b8dfdd92
L
33166 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33167 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33168
578cd270
L
33169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33170 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33171
de662f5f
L
33172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33173 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33175
25653439
L
33176 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33177 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33178 to ...
33179 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33180
6bad24a0
L
33181 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33182 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33183 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33184
42bbb1c3
L
33185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33186 for x86-64.
33187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33188
2d10d547
JM
331892012-05-31 Joseph Myers <joseph@codesourcery.com>
33190
33191 * math/math.h (M_El): Use two more decimal places.
33192 (M_LOG2El): Likewise.
33193 (M_LOG10El): Likewise.
33194 (M_LN2l): Likewise.
33195 (M_LN10l): Likewise.
33196 (M_PIl): Likewise.
33197 (M_PI_2l): Likewise.
33198 (M_PI_4l): Likewise.
33199 (M_1_PIl): Likewise.
33200 (M_2_PIl): Likewise.
33201 (M_2_SQRTPIl): Likewise.
33202 (M_SQRT2l): Likewise.
33203 (M_SQRT1_2l): Likewise.
33204
f230c29b
DM
332052012-05-31 David S. Miller <davem@davemloft.net>
33206
33207 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33208 values between float registers.
33209 * sysdeps/sparc/sparc64/memset.S: Likewise.
33210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33211
fed806c3
MF
332122012-05-31 Mike Frysinger <vapier@gentoo.org>
33213
33214 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33215 -D_FORTIFY_SOURCE=1.
33216 (CPPFLAGS-tst-longjmp_chk.c): Define.
33217 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33218 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33219 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33220 CFLAGS-tst-wchar-h.c.
33221
30917259
MP
332222012-05-31 Marek Polacek <polacek@redhat.com>
33223
33224 [BZ #14132]
33225 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33226 __endmntent_internal): Remove declaration.
33227 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33228 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33229 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33230
1c58d5dc
DM
332312012-05-30 David S. Miller <davem@davemloft.net>
33232
33233 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33234 (___Q_simulate_exceptions): Use real FP ops rather than writing
33235 into the %fsr.
33236 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33237 Likewise.
33238
7dc00e0d
L
332392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 [BZ #14117]
0bd53985
L
33242 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33243 * sysdeps/x86/bits/xtitypes.h: This.
33244
3a257e66
L
33245 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33246 * sysdeps/x86/bits/wordsize.h: This.
33247
62f62904
L
33248 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33249 * sysdeps/x86/bits/huge_vall.h: This.
33250
404fe9d9
L
33251 * sysdeps/i386/bits/select.h: Removed.
33252 * sysdeps/x86_64/bits/select.h: Renamed to ...
33253 * sysdeps/x86/bits/select.h: This.
33254
d48d0446
L
33255 * sysdeps/i386/bits/setjmp.h: Removed.
33256 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33257 * sysdeps/x86/bits/setjmp.h: This.
33258
7dc00e0d
L
33259 * sysdeps/i386/bits/mathdef.h: Removed.
33260 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33261 * sysdeps/x86/bits/mathdef.h: This.
33262
03277f8f
AS
332632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33264
33265 [BZ #14132]
33266 * include/sys/socket.h (__connect_internal)
33267 (__libc_sa_len_internal): Remove declaration.
33268 (__connect, __libc_sa_len): Declare hidden_proto.
33269 (SA_LEN): Remove use of INTUSE.
33270 * socket/connect.c: Add libc_hidden_def.
33271 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33272 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33273 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33274 alias.
33275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33277 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33278 of adding _internal alias.
33279
13764867
L
332802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33281
33282 [BZ #14117]
6bd97696
L
33283 * sysdeps/i386/bits/link.h: Removed.
33284 * sysdeps/i386/bits/linkmap.h: Likewise.
33285 * sysdeps/x86_64/bits/link.h: Renamed to ...
33286 * sysdeps/x86/bits/link.h: This.
33287 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33288 * sysdeps/x86/bits/linkmap.h: This.
33289
f726f0bb
L
33290 * sysdeps/i386/bits/endian.h: Removed.
33291 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33292 * sysdeps/x86/bits/endian.h: This.
33293
13764867
L
33294 * sysdeps/i386/bits/byteswap.h: Removed.
33295 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33296 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33297 * sysdeps/x86/bits/byteswap.h: This.
33298 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33299 * sysdeps/x86/bits/byteswap-16.h: This.
33300 * sysdeps/i386/Implies: Add x86.
33301 * sysdeps/x86_64/Implies: Likewise.
33302
ae251b0b
DM
333032012-05-30 David S. Miller <davem@davemloft.net>
33304
33305 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33306 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33307 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33308 (FP_TRAPPING_EXCEPTIONS): Define.
33309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33310 (FP_TRAPPING_EXCEPTIONS): Define.
33311 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33312 subnormals only when inexact has been signalled or underflow
33313 exceptions are enabled.
33314 (_FP_PACK_CANONICAL): Likewise.
33315
d5c90867
L
333162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 [BZ #14183]
33319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33320 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33321
63f1549e
RH
333222012-05-30 Richard Henderson <rth@twiddle.net>
33323
8d8f2279
RH
33324 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33325 with #ifndef NOT_IN_libc.
33326
63f1549e
RH
33327 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33328 marked to avoid plt entry.
33329
0ab0291b
L
333302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33331
33332 [BZ #14112]
33333 * Makeconfig (default-abi): New macro.
33334 (abi-includes): Likewise.
33335 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33336 $(abi-$(default-abi)-lib-soname) for soname if defined.
33337 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33338 abi-variants.
33339 * Makefile (installed-stubs): Likewise.
33340 * include/stubs-biarch.h: Removed.
33341 * scripts/lib-names.awk: Only handle one library at a time.
33342 * scripts/soversions.awk: Remove WORDSIZE support.
33343 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33344 entries.
33345 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33346 Removed.
33347 (syscall-list-default-condition): Likewise.
33348 (syscall-list-default-condition): Likewise.
33349 (syscall-list-includes): Likewise.
33350 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33351 syscall-list-* with abi-*. Handle undefined abi-variants.
33352 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33353 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33354 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33355 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33356 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33357 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33358 Removed.
33359 (syscall-list-32-options): Likewise.
33360 (syscall-list-32-condition): Likewise.
33361 (syscall-list-64-options): Likewise.
33362 (syscall-list-64-condition): Likewise.
33363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33364 macro.
33365 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33366 Renamed to ...
33367 (abi-*): This.
33368 (abi-64-ld-soname): New macro.
33369 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33370 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33371 Renamed to ...
33372 (abi-*): This.
33373 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33374 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33375
4da0431d
JM
333762012-05-30 Joseph Myers <joseph@codesourcery.com>
33377
3a85279c
JM
33378 * sysdeps/unix/sysv/linux/kernel-features.h
33379 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33380 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33381 include <kernel-features.h>.
33382 [!__NR_ftruncate64]: Remove conditional code.
33383 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33384 [__NR_ftruncate64]: Make code unconditional.
33385 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33386 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33387 include <kernel-features.h>.
33388 [!__NR_ftruncate64]: Remove conditional code.
33389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33390 [__NR_ftruncate64]: Make code unconditional.
33391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33393 include <kernel-features.h>.
33394 [!__NR_ftruncate64]: Remove conditional code.
33395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33396 [__NR_ftruncate64]: Make code unconditional.
33397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33399 include <kernel-features.h>.
33400 [!__NR_ftruncate64]: Remove conditional code.
33401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33402 [__NR_ftruncate64]: Make code unconditional.
33403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33404
4da0431d
JM
33405 * configure.in (libc_cv_fpie): Weaken to a compile test using
33406 LIBC_TRY_CC_OPTION.
33407 * configure: Regenerated.
33408
11ef492c
AK
334092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33410
33411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33415 Refreshed.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33422 Refreshed.
33423
d66ef399
DM
334242012-05-27 David S. Miller <davem@davemloft.net>
33425
33426 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33427 (___Q_zero): New.
33428 (__Q_simulate_exceptions): Return void. Change to simulate
33429 exceptions by writing into the %fsr.
33430 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33431 (__Qp_handle_exceptions): Likewise.
33432 (numbers): Delete.
33433 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33434 __Qp_handle_exceptions.
33435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33436 __Qp_handle_exceptions.
33437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33438 as unused and give dummy FP_RND_NEAREST initializer.
33439 (FP_INHIBIT_RESULTS): Define.
33440 (___Q_simulate_exceptions): Update declaration.
33441 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33442 formatting.
33443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33444 as unused and give dummy FP_RND_NEAREST initializer.
33445 (__Qp_handle_exceptions): Update declaration.
33446 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33447 formatting.
33448
04fb54b5
TS
334492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33450
33451 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33452 the temporary FPU control word.
33453 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33454 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33456 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33457 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33458 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33459 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33460 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33461 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33462 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33464
3f99608f
KK
334652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33466
33467 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33468 fields.
33469
65a4de4e
CLT
334702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33471
33472 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33473 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33474 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33475 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33476 Likewise.
33477 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33478 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33479 Likewise.
33480
15749d40
UD
334812012-05-27 Ulrich Drepper <drepper@gmail.com>
33482
33483 * po/h.po: Update from translation team.
33484
25dbcb27
AS
334852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33486
3d3f8e55
AS
33487 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33488
25dbcb27
AS
33489 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33490 handling of denormals.
33491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33492 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33493 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33494 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33498 Likewise.
33499
7ad47a80 335002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33501
33502 [BZ #14152]
33503 * math/libm-test.inc (fma_test): Don't always expect underflow
33504 exception.
33505
9c6ea9fa
SP
335062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33507
33508 [BZ #12416]
33509 * elf/tst-execstack.c: Include stackinfo.h.
33510 (do_test): Adjust test case to ensure that pthread_getattr_np
33511 behaviour remains the same after marking stack executable.
33512
a8239222
JM
335132012-05-25 Joseph Myers <joseph@codesourcery.com>
33514
33515 * sysdeps/unix/sysv/linux/kernel-features.h
33516 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33517 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33518 kernel-features.h.
33519 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33520 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33521 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33522 kernel-features.h.
33523 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33524 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33525
918b5606
L
335262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33527
33528 * configure.in: Define the default includes to being none.
33529 * configure: Regenerated.
33530
3a097cc7
RM
335312012-05-25 Roland McGrath <roland@hack.frob.com>
33532
8422c9a5
RM
33533 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33534 * sysdeps/x86_64/setjmp.S: Likewise.
33535 * sysdeps/i386/bsd-setjmp.S: Likewise.
33536 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33537 * sysdeps/i386/setjmp.S: Likewise.
33538 * sysdeps/i386/__longjmp.S: Likewise.
33539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33540 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33541
3a097cc7
RM
33542 * include/stap-probe.h: New file.
33543 * configure.in: Handle --enable-systemtap.
33544 * configure: Regenerated.
33545 * config.h.in (USE_STAP_PROBE): New #undef.
33546 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33547 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33548 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33549
21708942
JM
335502012-05-25 Joseph Myers <joseph@codesourcery.com>
33551
33552 [BZ #13717]
33553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33554 to 2.4.0 where earlier.
33555 * sysdeps/unix/sysv/linux/configure: Regenerated.
33556 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33557 <kernel-features.h>.
33558 [__ASSUME_32BITUIDS]: Make code unconditional.
33559 [!__ASSUME_32BITUIDS]: Remove conditional code.
33560 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33561 <kernel-features.h>.
33562 [__ASSUME_32BITUIDS]: Make code unconditional.
33563 [!__ASSUME_32BITUIDS]: Remove conditional code.
33564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33565 [__ASSUME_32BITUIDS]: Make code unconditional.
33566 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33567 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33568 <kernel-features.h>.
33569 [__ASSUME_32BITUIDS]: Make code unconditional.
33570 [!__ASSUME_32BITUIDS]: Remove conditional code.
33571 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33572 <kernel-features.h>.
33573 [__ASSUME_32BITUIDS]: Make code unconditional.
33574 [!__ASSUME_32BITUIDS]: Remove conditional code.
33575 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33576 <kernel-features.h>.
33577 [__ASSUME_32BITUIDS]: Make code unconditional.
33578 [!__ASSUME_32BITUIDS]: Remove conditional code.
33579 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33580 <kernel-features.h>.
33581 [__ASSUME_32BITUIDS]: Make code unconditional.
33582 [!__ASSUME_32BITUIDS]: Remove conditional code.
33583 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33584 <kernel-features.h>.
33585 [__ASSUME_32BITUIDS]: Make code unconditional.
33586 [!__ASSUME_32BITUIDS]: Remove conditional code.
33587 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33588 <kernel-features.h>.
33589 [__ASSUME_32BITUIDS]: Make code unconditional.
33590 [!__ASSUME_32BITUIDS]: Remove conditional code.
33591 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33592 <kernel-features.h>.
33593 [__ASSUME_32BITUIDS]: Make code unconditional.
33594 [!__ASSUME_32BITUIDS]: Remove conditional code.
33595 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33596 <kernel-features.h>.
33597 [__ASSUME_32BITUIDS]: Make code unconditional.
33598 [!__ASSUME_32BITUIDS]: Remove conditional code.
33599 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33600 <kernel-features.h>.
33601 [__ASSUME_32BITUIDS]: Make code unconditional.
33602 [!__ASSUME_32BITUIDS]: Remove conditional code.
33603 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33604 <kernel-features.h>.
33605 [__ASSUME_32BITUIDS]: Make code unconditional.
33606 [!__ASSUME_32BITUIDS]: Remove conditional code.
33607 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33608 <kernel-features.h>.
33609 [__NR_setresgid] (__setresgid): Do not declare.
33610 [__ASSUME_32BITUIDS]: Make code unconditional.
33611 [!__ASSUME_32BITUIDS]: Remove conditional code.
33612 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33613 <kernel-features.h>.
33614 [__NR_setresuid] (__setresuid): Do not declare.
33615 [__ASSUME_32BITUIDS]: Make code unconditional.
33616 [!__ASSUME_32BITUIDS]: Remove conditional code.
33617 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
33626 <kernel-features.h>.
33627 [__ASSUME_32BITUIDS]: Make code unconditional.
33628 [!__ASSUME_32BITUIDS]: Remove conditional code.
33629 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33630 <kernel-features.h>.
33631 [__ASSUME_32BITUIDS]: Make code unconditional.
33632 [!__ASSUME_32BITUIDS]: Remove conditional code.
33633 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33634 <kernel-features.h>.
33635 [__ASSUME_32BITUIDS]: Make code unconditional.
33636 [!__ASSUME_32BITUIDS]: Remove conditional code.
33637 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33638 <kernel-features.h>.
33639 [__ASSUME_32BITUIDS]: Make code unconditional.
33640 [!__ASSUME_32BITUIDS]: Remove conditional code.
33641 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33642 <kernel-features.h>.
33643 [__ASSUME_32BITUIDS]: Make code unconditional.
33644 [!__ASSUME_32BITUIDS]: Remove conditional code.
33645 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33646 <kernel-features.h>.
33647 [__ASSUME_32BITUIDS]: Make code unconditional.
33648 [!__ASSUME_32BITUIDS]: Remove conditional code.
33649 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33650 <kernel-features.h>.
33651 [__ASSUME_32BITUIDS]: Make code unconditional.
33652 [!__ASSUME_32BITUIDS]: Remove conditional code.
33653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33654 <kernel-features.h>.
33655 [__ASSUME_32BITUIDS]: Make code unconditional.
33656 [!__ASSUME_32BITUIDS]: Remove conditional code.
33657 * sysdeps/unix/sysv/linux/kernel-features.h
33658 (__ASSUME_SETRESUID_SYSCALL): Remove.
33659 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33660 (__ASSUME_32BITUIDS): Likewise.
33661 (__ASSUME_LDT_WORKS): Likewise.
33662 (__ASSUME_O_DIRECTORY): Likewise.
33663 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33664 architecture but not kernel version.
33665 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33666 (__ASSUME_MMAP2_SYSCALL): Likewise.
33667 (__ASSUME_STAT64_SYSCALL): Likewise.
33668 (__ASSUME_IPC64): Likewise.
33669 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33670 <kernel-features.h>.
33671 [__ASSUME_32BITUIDS]: Make code unconditional.
33672 [!__ASSUME_32BITUIDS]: Remove conditional code.
33673 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33674 <kernel-features.h>.
33675 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33676 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33677 132096]: Remove conditional code.
33678 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33679 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33680 <kernel-features.h>.
33681 [__ASSUME_32BITUIDS]: Make code unconditional.
33682 [!__ASSUME_32BITUIDS]: Remove conditional code.
33683 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33684 <kernel-features.h>.
33685 [__ASSUME_32BITUIDS]: Make code unconditional.
33686 [!__ASSUME_32BITUIDS]: Remove conditional code.
33687 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33688 <kernel-features.h>.
33689 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33690 unconditional.
33691 (__setresgid): Do not declare.
33692 [__ASSUME_32BITUIDS]: Make code unconditional.
33693 [!__ASSUME_32BITUIDS]: Remove conditional code.
33694 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33695 <kernel-features.h>.
33696 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33697 unconditional.
33698 (__setresuid): Do not declare.
33699 [__ASSUME_32BITUIDS]: Make code unconditional.
33700 [!__ASSUME_32BITUIDS]: Remove conditional code.
33701 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33702 <kernel-features.h>.
33703 [__ASSUME_32BITUIDS]: Make code unconditional.
33704 [!__ASSUME_32BITUIDS]: Remove conditional code.
33705 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33706 <kernel-features.h>.
33707 [__ASSUME_32BITUIDS]: Make code unconditional.
33708 [!__ASSUME_32BITUIDS]: Remove conditional code.
33709
a386f1cc
RH
337102012-05-25 Richard Henderson <rth@twiddle.net>
33711
33712 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33713 dl_hwcap to ifunc resolver.
33714 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33715 elf_ifunc_invoke.
33716 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33717 dl_hwcap to ifunc resolver.
33718 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33719
b6550497
JM
337202012-05-24 Joseph Myers <joseph@codesourcery.com>
33721
33722 [BZ #14153]
33723 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33724 for |x| <= 2**-26, not 2**-57.
33725 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33726 exception.
33727
b0bc23a1
JL
337282012-05-24 Jeff Law <law@redhat.com>
33729
33730 * stdio-common/Makefile (tests): Add bug25.
33731 * stdio-common/bug25.c: New test.
33732
347c92e9
L
337332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33734
33735 [BZ #13576]
33736 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33737 multiple of MALLOC_ALIGNMENT in size.
33738 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33739
6bcc8b3f
JM
337402012-05-24 Joseph Myers <joseph@codesourcery.com>
33741
33742 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33743 Require >= 256.
33744 (FILENAME_MAX): Use macro-int-constant.
33745 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33746 (_IOFBF): Use macro-int-constant.
33747 (_IOLBF): Likewise.
33748 (_IONBF): Likewise.
33749 (SEEK_CUR): Likewise.
33750 (SEEK_END): Likewise.
33751 (SEEK_SET): Likewise.
33752 (TMP_MAX): Likewise.
33753 (EOF): Use macro-int-constant. Require < 0.
33754 (NULL): Use macro-constant. Require == 0.
33755 (stdin): Require type to be FILE *.
33756 (stdout): Likewise.
33757 (stderr): Likewise.
33758 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33759 macro-int-constant.
33760 (EXIT_SUCCESS): Likewise.
33761 (NULL): Use macro-constant. Require == 0.
33762 (RAND_MAX): Use macro-int-constant.
33763 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33764 [C99-based standards] (strtof): Require function.
33765 [C99-based standards] (strtold): Likewise.
33766 [C99-based standards] (strtoll): Likewise.
33767 [C99-based standards] (strtoull): Likewise.
33768 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33769 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33770 [ISO || ISO99 || ISO11] (math.h): Likewise.
33771 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33772 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33774
d18ea0c5
AS
337752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33776
33777 [BZ #14132]
56d25bb8
AS
33778 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33779 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33780 * intl/dgettext.c (DCGETTEXT): Likewise.
33781 * intl/gettext.c (DCGETTEXT): Likewise.
33782 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33783 * posix/regex_internal.h (gettext): Likewise.
33784 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33785 Remove declaration.
33786 * include/argz.h (__argz_count_internal)
33787 (__argz_stringify_internal): Remove declaration.
33788 (__argz_count, __argz_stringify): Declare hidden proto.
33789 * intl/dcgettext.c: Remove use of INTDEF.
33790 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33791 * string/argz-stringify.c: Likewise.
33792 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33793 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33794 Declare hidden proto.
d18ea0c5
AS
33795 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33796 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33797 Declare hidden proto.
33798 * include/stdio.h (__asprintf_internal): Don't declare.
33799 (__asprintf): Don't define as macro. Declare hidden proto.
33800 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33801 (__fsetlocking): Declare hidden proto.
33802 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33803 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33804 hidden proto.
33805 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33806 (_IO_setlinebuf): Remove use of INTUSE.
33807 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33808 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33809 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33810 Remove declaration.
33811 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33812 (_IO_do_flush): Remove use of INTUSE.
33813 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33814 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33815 (_IO_adjust_column, _IO_least_wmarker)
33816 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33817 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33818 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33819 (_IO_default_doallocate, _IO_wdefault_doallocate)
33820 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33821 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33822 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33823 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33824 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33825 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33826 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33827 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33828 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33829 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33830 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33831 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33832 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33833 proto.
33834 (_IO_flush_all_internal, _IO_adjust_column_internal)
33835 (_IO_default_uflow_internal, _IO_default_finish_internal)
33836 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33837 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33838 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33839 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33840 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33841 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33842 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33843 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33844 (_IO_file_close_internal, _IO_file_close_it_internal)
33845 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33846 (_IO_file_init_internal, _IO_file_attach_internal)
33847 (_IO_file_fopen_internal, _IO_file_read_internal)
33848 (_IO_file_sync_internal, _IO_file_seek_internal)
33849 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33850 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33851 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33852 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33853 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33854 (_IO_list_all_internal, _IO_link_in_internal)
33855 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33856 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33857 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33858 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33859 (_IO_do_write_internal, _IO_padn_internal)
33860 (_IO_getline_info_internal, _IO_getline_internal)
33861 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33862 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33863 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33864 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33865 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33866 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33867 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33868 with libc_hidden_ver, remove use of INTUSE.
33869 * libio/genops.c: Likewise.
33870 * libio/freopen.c: Likewise.
33871 * libio/freopen64.c: Likewise.
33872 * libio/iofclose.c: Likewise.
33873 * libio/iofdopen.c: Likewise.
33874 * libio/iofflush.c: Likewise.
33875 * libio/iofflush_u.c: Likewise.
33876 * libio/iofgets.c: Likewise.
33877 * libio/iofgets_u.c: Likewise.
33878 * libio/iofopen.c: Likewise.
33879 * libio/iofopncook.c: Likewise.
33880 * libio/iofread.c: Likewise.
33881 * libio/iofread_u.c: Likewise.
33882 * libio/ioftell.c: Likewise.
33883 * libio/iofwrite.c: Likewise.
33884 * libio/iogetline.c: Likewise.
33885 * libio/iogets.c: Likewise.
33886 * libio/iogetwline.c: Likewise.
33887 * libio/iopadn.c: Likewise.
33888 * libio/iopopen.c: Likewise.
33889 * libio/ioseekoff.c: Likewise.
33890 * libio/ioseekpos.c: Likewise.
33891 * libio/iosetbuffer.c: Likewise.
33892 * libio/iosetvbuf.c: Likewise.
33893 * libio/ioungetc.c: Likewise.
33894 * libio/ioungetwc.c: Likewise.
33895 * libio/iovdprintf.c: Likewise.
33896 * libio/iovsprintf.c: Likewise.
33897 * libio/iovsscanf.c: Likewise.
33898 * libio/memstream.c: Likewise.
33899 * libio/obprintf.c: Likewise.
33900 * libio/oldfileops.c: Likewise.
33901 * libio/oldiofclose.c: Likewise.
33902 * libio/oldiofdopen.c: Likewise.
33903 * libio/oldiofopen.c: Likewise.
33904 * libio/oldiopopen.c: Likewise.
33905 * libio/oldstdfiles.c: Likewise.
33906 * libio/putc.c: Likewise.
33907 * libio/setbuf.c: Likewise.
33908 * libio/setlinebuf.c: Likewise.
33909 * libio/stdfiles.c: Likewise.
33910 * libio/strops.c: Likewise.
33911 * libio/vasprintf.c: Likewise.
33912 * libio/vscanf.c: Likewise.
33913 * libio/vsnprintf.c: Likewise.
33914 * libio/vswprintf.c: Likewise.
33915 * libio/wfiledoalloc.c: Likewise.
33916 * libio/wfileops.c: Likewise.
33917 * libio/wgenops.c: Likewise.
33918 * libio/wmemstream.c: Likewise.
33919 * libio/wstrops.c: Likewise.
33920 * libio/__fpurge.c: Likewise.
33921 * libio/__fsetlocking.c: Likewise.
33922 * assert/assert.c: Likewise.
33923 * debug/fgets_chk.c: Likewise.
33924 * debug/fgets_u_chk.c: Likewise.
33925 * debug/fread_chk.c: Likewise.
33926 * debug/fread_u_chk.c: Likewise.
33927 * debug/gets_chk.c: Likewise.
33928 * debug/obprintf_chk.c: Likewise.
33929 * debug/vasprintf_chk.c: Likewise.
33930 * debug/vdprintf_chk.c: Likewise.
33931 * debug/vsnprintf_chk.c: Likewise.
33932 * debug/vsprintf_chk.c: Likewise.
33933 * malloc/mtrace.c: Likewise.
33934 * misc/error.c: Likewise.
33935 * misc/syslog.c: Likewise.
33936 * stdio-common/asprintf.c: Likewise.
33937 * stdio-common/fxprintf.c: Likewise.
33938 * stdio-common/getw.c: Likewise.
33939 * stdio-common/isoc99_fscanf.c: Likewise.
33940 * stdio-common/isoc99_scanf.c: Likewise.
33941 * stdio-common/isoc99_vfscanf.c: Likewise.
33942 * stdio-common/isoc99_vscanf.c: Likewise.
33943 * stdio-common/isoc99_vsscanf.c: Likewise.
33944 * stdio-common/printf-prs.c: Likewise.
33945 * stdio-common/printf_fp.c: Likewise.
33946 * stdio-common/printf_fphex.c: Likewise.
33947 * stdio-common/printf_size.c: Likewise.
33948 * stdio-common/putw.c: Likewise.
33949 * stdio-common/scanf.c: Likewise.
33950 * stdio-common/sprintf.c: Likewise.
33951 * stdio-common/tmpfile.c: Likewise.
33952 * stdio-common/vfprintf.c: Likewise.
33953 * stdio-common/vfscanf.c: Likewise.
33954 * stdlib/strfmon_l.c: Likewise.
33955 * sunrpc/openchild.c: Likewise.
33956 * sunrpc/xdr_stdio.c: Likewise.
33957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33958 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33959
d6c33fda
RM
339602012-05-24 Roland McGrath <roland@hack.frob.com>
33961
c1487492
RM
33962 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33963
33964 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33965 in the third column, to generate for the shared library an IFUNC
33966 that uses _dl_vdso_vsym.
33967 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33968 * Makeconfig (object-suffixes-noshared): New variable.
33969
33970 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33971 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33972 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33973 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33974
d6c33fda
RM
33975 [BZ #14132]
33976 * include/sys/time.h (__gettimeofday): Remove macro.
33977 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33978 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33979 Remove INTDEF.
33980 (__gettimeofday): Add libc_hidden_def.
33981 (gettimeofday): Add libc_hidden_weak.
33982 * sysdeps/mach/gettimeofday.c: Likewise.
33983 * sysdeps/posix/gettimeofday.c: Likewise.
33984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33985 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33987 (__gettimeofday_internal): Remove strong_alias.
33988 (__gettimeofday): Add libc_hidden_def.
33989 (gettimeofday): Add libc_hidden_weak.
33990 * sysdeps/unix/syscalls.list (gettimeofday):
33991 Remove __gettimeofday_internal alias.
33992
b5a2bbe6
L
339932012-05-24 Daniel Jacobowitz <drow@false.org>
33994 H.J. Lu <hongjiu.lu@intel.com>
33995
33996 [BZ #12495]
33997 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33998 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33999 (largebin_index_32_big): New.
34000 (largebin_index): Use it for 16-byte alignment.
34001 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34002 correction with front_misalign.
34003
cfba4fda
L
340042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34005
7f907421
L
34006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34008 Likewise.
34009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34010 Likewise.
34011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34012 Likewise.
34013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34014 Likewise.
34015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34016 Likewise.
34017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34018 Likewise.
34019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34020 Likewise.
34021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34022 Likewise.
34023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34024 Likewise.
34025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34026 Likewise.
34027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34028 Likewise.
34029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34030 Likewise.
34031
cfba4fda
L
34032 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34033 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34034
80bad0cc
JM
340352012-05-24 Joseph Myers <joseph@codesourcery.com>
34036
7a25eb06
JM
34037 [BZ #10846]
34038 [BZ #14036]
34039 * math/libm-test.inc (exp_test): Add test from bug 14036.
34040 (pow_test): Add test from bug 10846.
34041
795405f9
JM
34042 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34043 and other flags.
34044 (special_function): Do not include flags in test name.
34045 (parse_args): Likewise.
34046 * sysdeps/i386/fpu/libm-test-ulps: Update.
34047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34049 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34051
80bad0cc
JM
34052 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34053 exceptions.
34054 * math/libm-test.inc ("Philosophy"): Update comment about
34055 exception testing.
34056 (UNDERFLOW_EXCEPTION): New macro.
34057 (UNDERFLOW_EXCEPTION_OK): Likewise.
34058 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34059 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34060 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34061 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34062 (INVALID_EXCEPTION_OK): Update value.
34063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34064 (OVERFLOW_EXCEPTION_OK): Likewise.
34065 (IGNORE_ZERO_INF_SIGN): Likewise.
34066 (test_exceptions): Handle underflow exceptions.
34067 (acos_test): Update for underflow exception expectations.
34068 (cexp_test): Likewise.
34069 (clog_test): Likewise.
34070 (clog10_test): Likewise.
34071 (csqrt_test): Likewise.
34072 (ctan_test): Likewise.
34073 (ctanh_test): Likewise.
34074 (exp_test): Likewise.
34075 (exp10_test): Likewise.
34076 (exp2_test): Likewise.
34077 (expm1_test): Likewise.
34078 (fma_test): Likewise.
34079 (j0_test): Likewise.
34080 (jn_test): Likewise.
34081 (nexttoward_test): Likewise.
34082 (pow_test): Likewise.
34083 (scalbn_test): Likewise.
34084 (scalbln_test): Likewise.
34085 (tan_test): Likewise.
34086 (y1_test): Likewise.
34087 * sysdeps/i386/fpu/libm-test-ulps: Update.
34088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34089
9e0e3d0b
DM
340902012-05-23 David S. Miller <davem@davemloft.net>
34091
34092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34093 (__libc_sigaction): Remove unused local variables.
34094
ccd0a08f
L
340952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34096
34097 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34098
62bdf9a6
PE
340992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34100
f8591f80
PE
34101 mktime: avoid signed integer overflow
34102 * time/mktime.c (__mktime_internal): Do not mishandle the case
34103 where diff == INT_MIN.
34104
94c7d826
PE
34105 mktime: simplify computation of average
34106 * time/mktime.c (ranged_convert): Use new time_t_avg function
34107 instead of rolling our own (probably-slower) code.
34108
ce73d683
PE
34109 mktime: do not assume signed right shift propagates sign bit
34110 * time/mktime.c (isdst_differ): New static function.
34111 (__mktime_internal): No need to normalize tm_isdst now.
34112 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34113 tm_isdst values.
34114
72a22e59
PE
34115 mktime: merge another wrapv change from gnulib
34116 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34117 from some compilers.
34118
68605433
PE
34119 mktime: remove incorrect attempt at unusual arithmetics
34120 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34121 The code didn't really work on such machines anyway.
34122 (TYPE_MINIMUM): Assume two's complement.
34123 (twos_complement_arithmetic): Verify that long_int and time_t
34124 are two's complement (or unsigned, in the latter case).
34125
03cf7fe3
PE
34126 mktime: check signed shifts on long_int and time_t, too
34127 * time/mktime.c (SHR): Check that shifts work as desired
34128 on the types long_int and time_t too, as SHR is used on
34129 such types.
34130
f04dfbc2
PE
34131 mktime: do not assume 'long' is wide enough
34132 * time/mktime.c (verify): Move decl up.
34133 (long_int): New type.
34134 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34135 to remove assumption in the code that 'long' is wide enough to
34136 store year values. This assumption is not true on x32 and on
34137 some non-glibc platforms.
34138
62bdf9a6
PE
34139 mktime: merge wrapv change from gnulib
34140 * time/mktime.c (WRAPV): New macro.
34141 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34142 (guess_time_tm, __mktime_internal): Do not assume that signed
34143 integer overflow wraps around; modern compilers generate code
34144 where this assumption is no longer valid.
34145
5e292e4f
L
341462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34147
34148 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34149 Replace "jmp L(pseudo_end)" with "ret".
34150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34151 Likewise.
34152
8caf8c87
AJ
341532012-05-23 Andreas Jaeger <aj@suse.de>
34154
34155 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34156 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34157
1a09dc56
AJ
341582012-05-23 Andreas Jaeger <aj@suse.de>
34159 Maximilian Attems <max@stro.at>
34160
34161 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34162 New macros.
34163
1c87aba0
L
341642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34167 code so that pseudo_end is just ret and the stack pointer is
34168 correct also for static library in error case.
34169
40e45bd5
JM
341702012-05-23 Joseph Myers <joseph@codesourcery.com>
34171
c2670533
JM
34172 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34173 move to syscalls.list.
34174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34178
40e45bd5
JM
34179 * manual/install.texi (Running make install): Do not mention Linux
34180 kernel version for which pt_chown is not needed.
34181 (Linux): Do not mention problems with nscd with 2.0 kernels.
34182 * INSTALL: Regenerated.
34183
be08eda5
AJ
341842012-05-23 Andreas Jaeger <aj@suse.de>
34185
34186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34187 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34188 macro.
34189 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34191 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34193 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34199 * sysdeps/unix/sysv/linux/bits/in.h
34200 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34201
a6a056bb
RM
342022012-05-22 Roland McGrath <roland@hack.frob.com>
34203
34204 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34205 (PREPARE_VERSION): Just use assert instead, it will be elided
34206 under [NDEBUG] anyway.
34207
c9009328
L
342082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34209
34210 * sysdeps/unix/sysv/linux/Makefile: Include
34211 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34212 (sysdep_routines): Remove sysctl.
c9009328
L
34213 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34214 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34215 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34216 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34217 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34218
73338355
AJ
342192012-05-22 Andreas Jaeger <aj@suse.de>
34220
34221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34222 that pseudo_end is just ret and the stack pointer is correct also
34223 for static library in error case.
34224
d44638b0
PP
342252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34226
34227 [BZ #14122]
34228 * nss/nsswitch.c (defconfig_entries): New variable.
34229 (__nss_database_lookup): Don't leak defconfig entries.
34230 (nss_parse_service_list): Don't leak on error paths.
34231 (free_database_entries): New function.
34232 (free_defconfig): New function.
34233 (free_mem): Move common code to free_database_entries.
34234
31a39bd8
L
342352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34236
da0331a8
L
34237 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34238 Add arch_prctl.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34240
31a39bd8
L
34241 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34242 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34244 New macro.
34245 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34246 (INTERNAL_SYSCALL_TYPES): Likewise.
34247 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34248 (LOAD_REGS_TYPES_[1-6]): Likewise.
34249 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34250 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34251
45470df3
AZ
342522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34253
34254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34255 copysignl for GLIBC_2_0.
34256 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34257 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34259 logbl for GLIBC_2_0.
34260 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34261 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34262
98a61bcb
L
342632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34264
a4f6e481
L
34265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34267
f63d5db6
L
34268 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34269 Use "neg %eax".
34270
98a61bcb
L
34271 * time/mktime.c: Update copyright years.
34272
95770f14
PE
342732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34274
6226efbd
PE
34275 mktime: merge comment-quoting-style change from gnulib
34276 * time/mktime.c: Quote 'like this' in comments.
34277 The GNU coding standards suggest that we no longer quote `like this',
34278 as "`" and "'" are typically rendered asymmetrically nowadays.
34279 The typical gnulib style is to quote 'like this' when quoting
34280 code, and "like this" when quoting English.
34281
b99e4f78
PE
34282 * time/mktime.c (compile-command): Add "-I.".
34283
643e01e6
PE
34284 mktime: merge mktime-internal.h change from gnulib
34285 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34286
2554247d
PE
34287 mktime: merge time_r change from gnulib
34288 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34289
826dd0ab
PE
34290 mktime: merge DEBUG change from gnulib
34291 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34292 case system <time.h> has a #define.
34293
bd83aabe
PE
34294 mktime: merge <sys/types.h> change from gnulib
34295 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34296 since <time.t> is now guaranteed to define time_t.
34297
95770f14
PE
34298 mktime: merge HAVE_CONFIG_H change from gnulib
34299 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34300
5e1a27a9
L
343012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34302
0e44a77e
L
34303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34304 Use "neg %eax".
34305
5e1a27a9
L
34306 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34307 __rlim_t cast.
34308 (struct rusage): Use anonymous union to pad each field to
34309 __syscall_slong_t.
34310
46259bec
DM
343112012-05-21 David S. Miller <davem@davemloft.net>
34312
34313 * Makefules (o-iterator): Remove .s cases.
34314 (compile-command.s): Delete.
34315 (COMPILE.s): Delete.
34316 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34317
59f0c22e
JM
343182012-05-21 Joseph Myers <joseph@codesourcery.com>
34319
34320 * configure.in (libc_cv_predef_stack_protector): Only consider
34321 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34322 * configure: Regenerated.
34323
20c07380
L
343242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34325
bbb3154b
L
34326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34327 New macro. Use R*LP on int and pointer.
34328 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34329 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34330 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34331 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34332
20c07380
L
34333 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34334 [__WORDSIZE_TIME64_COMPAT32] instead of
34335 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34336 (struct utmp): Likewise.
34337 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34338 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34339 Renamed to ...
34340 (__WORDSIZE_TIME64_COMPAT32): This.
34341 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34342 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34343 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34344 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34345 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34346 (__WORDSIZE_TIME64_COMPAT32): New macro.
34347
d8d1017e
AJ
343482012-05-21 Andreas Jaeger <aj@suse.de>
34349
34350 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34351 only if [SHARED]. Add prototype for __wcschr_ia32.
34352
6c7fb145
RM
343532012-05-21 Roland McGrath <roland@hack.frob.com>
34354
34355 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34356 of %rbp unmolested in the jmp_buf while mangling the low bits.
34357 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34358 unmolested high bits of %rbp while demangling the low bits.
34359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34360
66274218
AJ
343612012-05-21 Andreas Jaeger <aj@suse.de>
34362
07c58f8f
AJ
34363 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34364 * sunrpc/svc_simple.c: Use it for registerrpc.
34365 * sunrpc/xcrypt.c: Use it for passwd2des.
34366
66274218
AJ
34367 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34368
61f65140
L
343692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34370
34371 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34372 Don't define if [__SYSCALL_WORDSIZE != 32].
34373 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34374 New macro.
34375
5fefb436
AJ
343762012-05-21 Bruno Haible <bruno@clisp.org>
34377 Andreas Jaeger <aj@suse.de>
34378
34379 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34380 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34381 inptr and inend for must_buffer_ch.
34382 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34383 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34384 * stdio-common/Makefile (tests): Remove bug15.
34385 (bug15-ENV): Remove macro.
34386 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34387 anymore.
34388
d8e272ab
AJ
343892012-05-19 Andreas Jaeger <aj@suse.de>
34390 Roland McGrath <roland@hack.frob.com>
34391
34392 * manual/contrib.texi: Completely rewritten. It contains now an
34393 alphabetical list of contributors and their contributions.
34394
4a56a162
RH
343952012-05-21 Richard Henderson <rth@twiddle.net>
34396
34397 * misc/getauxval.c (__getauxval): Use unsigned long int.
34398 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34399 (getauxval): Use unsigned long int.
34400
d024d23c
L
344012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34402
34403 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34404
cbc00a03
RM
344052012-05-21 Roland McGrath <roland@hack.frob.com>
34406
34407 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34408 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34409 __alignof__ (long double).
34410
478143fa
AZ
344112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34412
34413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34414
c7683a6d
RH
344152012-05-20 Richard Henderson <rth@twiddle.net>
34416
34417 * misc/getauxval.c: New file.
34418 * misc/sys/auxv.h: New file.
34419 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34420 (routines): Add getauxval.
34421 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34423 * elf/dl-sysdep.c (_dl_auxv): Remove.
34424 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34425 * elf/dl-support.c (_dl_auxv): New variable.
34426 (_dl_aux_init): Initialize it.
34427 * manual/startup.texi (Auxiliary Vector): New node.
34428 * sysdeps/generic/bits/hwcap.h: New file.
34429 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34430 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34431 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34432 * sysdeps/sparc/sysdep.h: ... here. Include it.
34433 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34436 Update.
c7683a6d
RH
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34445
a6f1845d
AZ
344462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34447
34448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34449
cbcbe830
DM
344502012-05-19 David S. Miller <davem@davemloft.net>
34451
34452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34453
e0b16cc2
JM
344542012-05-19 Joseph Myers <joseph@codesourcery.com>
34455
34456 [BZ #14123]
34457 * math/s_ccosh.c: Include <float.h>
34458 (__ccosh): Avoid internal overflow calculating sinh and cosh
34459 values before multiplying by sin and cos values.
34460 * math/s_ccoshf.c: Likewise.
34461 * math/s_ccoshl.c: Likewise.
34462 * math/s_csin.c: Likewise.
34463 * math/s_csinf.c: Likewise.
34464 * math/s_csinl.c: Likewise.
34465 * math/s_csinh.c: Likewise.
34466 * math/s_csinhf.c: Likewise.
34467 * math/s_csinhl.c: Likewise.
34468 * math/libm-test.inc (ccos_test): Add more tests.
34469 (ccosh_test): Likewise.
34470 (csin_test): Likewise.
34471 (csinh_test): Likewise.
34472 * sysdeps/i386/fpu/libm-test-ulps: Update.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34474
6ad13e08
L
344752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34476
f66f0ce8
L
34477 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34478 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34479
6ad13e08
L
34480 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34481
b1d072a7
JM
344822012-05-19 Joseph Myers <joseph@codesourcery.com>
34483
34484 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34485 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34486 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34487 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34488 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34489 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34490 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34491 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34492 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34493 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34494 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34495 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34496 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34497 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34498 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34499 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34500 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34501 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34502 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34503 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34504 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34505 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34506 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34507 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34508 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34509 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34510 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34511 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34512 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34513 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34514 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34515
9eae47cb
AJ
345162012-05-18 Andreas Jaeger <aj@suse.de>
34517
34518 * csu/.gitignore: Delete.
34519
bb07f69f
L
345202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34523 (timex): Use __syscall_slong_t.
34524
e6bdb741
AJ
345252012-05-18 Andreas Jaeger <aj@suse.de>
34526 Carlos O'Donell <carlos_odonell@mentor.com>
34527
34528 * manual/install.texi (Configuring and compiling): Update
34529 description about files modified in the source directory.
d6c33fda 34530 * INSTALL: Regenerated.
e6bdb741 34531
1b74487e
L
345322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34535 value. Use "or" to set return value to -1.
34536 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34537 negate return value.
34538
a88b64b9
TMQMF
345392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34540
57f41c40
AS
34541 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34542 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34543 failure if the compiler has Graphite support disabled.
34544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34545 Likewise.
57f41c40
AS
34546 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34547 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34548 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34549 Likewise.
34550
3707636e
L
345512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34552
610b8622
L
34553 * sysdeps/x86_64/x32/_itoa.h: New file.
34554
7cd195df
L
34555 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34556 getdents system call only if kernel and user dirents have the
34557 same d_ino and d_off.
34558
94b07d20
L
34559 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34560 LLONG_MAX != LONG_MAX.
34561 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34562 (_fitoa_word): Likewise.
34563
18298070
L
34564 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34565 years.
34566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34568 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34569
553c7ea4
L
34570 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34571 include <bits/wordsize.h>. Check __x86_64__ instead of
34572 __WORDSIZE.
34573 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34574 if __x86_64__ is defined. Use anonymous union on fpstate.
34575
3707636e
L
34576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34577 anonymous union.
34578
b53ef01a
AS
345792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34580
37fb1dc0
AS
34581 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34582 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34583 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34584 Refer to _rtld_local_ro instead of _rtld_global_ro.
34585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34586 Likewise.
34587 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34588 Likewise.
34589 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34590 Likewise.
34591 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34592 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34593 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34594
b53ef01a
AS
34595 * sysdeps/powerpc/powerpc32/dl-machine.c
34596 (__elf_machine_runtime_setup) [PROF]: Don't reference
34597 _dl_prof_resolve.
34598
7a185db2
AJ
345992012-05-18 Andreas Jaeger <aj@suse.de>
34600
34601 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34602 function only available for GCCs before 3.4 since GCC 3.4
34603 introduced a builtin.
34604 (lrint): Likewise.
34605 (llrintf): Likewise.
34606 (llrint): Likewise.
34607 (fmaxf): Likewise.
34608 (fmax): Likewise.
34609 (fminf): Likewise.
34610 (fmin): Likewise.
34611 (rint): Likewise.
34612 (rintf): Likewise.
34613 (nearbyint): Likewise.
34614 (nearbyintf): Likewise.
34615 (ceil): Likewise.
34616 (ceilf): Likewise.
34617 (floor): Likewise.
34618 (floorf): Likewise.
34619
3e5aef87
L
346202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34621
428bd707
L
34622 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34623 on both fields and cast pointer to __syscall_ulong_t.
34624
3e5aef87
L
34625 * bits/types.h (__fsword_t): New type.
34626 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34627 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34629 (__FSWORD_T_TYPE): Likewise.
34630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34631 (__FSWORD_T_TYPE): Likewise.
34632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34633 (__FSWORD_T_TYPE): Likewise.
34634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34635 (__FSWORD_T_TYPE): Likewise.
34636 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34637 __SWORD_TYPE with __fsword_t.
34638 (statfs64): Likewise.
34639
1ba7c3dc
DM
346402012-05-17 David S. Miller <davem@davemloft.net>
34641
34642 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34643
59910343
AJ
346442012-05-17 Andreas Jaeger <aj@suse.de>
34645
34646 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34647 warning.
34648
2e4c1e9e
L
346492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34650
34651 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34652
de7f5ce7
AJ
346532012-05-17 Andreas Jaeger <aj@suse.de>
34654
34655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34656 when it is used.
34657
286abc3d
CM
346582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34659
34660 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34661
477cc68e
L
346622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34663
34664 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34665 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34666
1a0994f5
CD
346672012-05-17 Andreas Jaeger <aj@suse.de>
34668 Carlos O'Donell <carlos_odonell@mentor.com>
34669
34670 [BZ #14059]
34671 * sysdeps/x86_64/multiarch/init-arch.h
34672 (bit_YMM_Usable): Rename to...
34673 (bit_AVX_Usable): ... this.
34674 (bit_FMA4_Usable): New macro.
34675 (bit_XMM_state): New macro.
34676 (bit_YMM_state): New macro.
34677 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34678 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34679 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34680 (CPUID_OSXSAVE): New macro.
34681 (CPUID_AVX): New macro.
34682 (CPUID_FMA4): New macro.
34683 (index_YMM_Usable): Rename to...
34684 (index_AVX_Usable): ... this.
34685 (HAS_AVX): Use HAS_ARCH_FEATURE.
34686 (HAS_FMA4): Likewise.
34687 (HAS_YMM_USABLE): Remove.
34688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34689 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34690 are present.
34691 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34692 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34693 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34694 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34695 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34696
0af797de
CM
346972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34698
34699 * math/libm-test.c: Support platforms without multiple rounding modes.
34700 * math/bug-nextafter.c: Support platforms without FP exceptions.
34701 * math/bug-nexttoward.c: Likewise.
34702 * math/test-fenv.c: Likewise.
34703 * math/test-misc.c: Likewise.
34704 * stdlib/bug-getcontext.c: Likewise.
34705
e39745ff
AJ
347062012-05-17 Andreas Jaeger <aj@suse.de>
34707
34708 * manual/examples/search.c (critter_cmp): Change signature to
34709 avoid warnings.
34710 * manual/string.texi (Collation Functions): Likewise.
34711
48970aba
L
347122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34713
34714 * bits/types.h: Fold copyright years.
34715 * bits/typesizes.h: Likewise.
34716 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34720 * time/time.h: Likewise.
34721
bedee953
PP
347222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34723
34724 [BZ #208]
34725 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34726 in instead of returning them. Return void.
34727 (__libc_mallinfo): Accumulate over all arenas.
34728 (__malloc_stats): Adjust for change in int_mallinfo interface.
34729
61653dfb
RM
347302012-05-16 Roland McGrath <roland@hack.frob.com>
34731
30b99d79
RM
34732 [BZ #10375]
34733 * configure.in (NM): Add AC_CHECK_TOOL for it.
34734 (libc_extra_cflags): New substituted variable.
34735 Check for -fstack-protector being used implicitly.
34736 * configure: Regenerated.
34737 * config.make.in (config-extra-cflags): New variable,
34738 gets @libc_extra_cflags@.
34739 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34740
61653dfb
RM
34741 [BZ #10375]
34742 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34743 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34744 * configure: Regenerated.
34745 * config.make.in (CPPUNDEFS): New substituted variable.
34746 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34747 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34748 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34749
661768bb
L
347502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34753 (mq_attr): Use __syscall_slong_t.
34754
d4261567
L
347552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34756
34757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34758 Check __x86_64__ instead of __WORDSIZE.
34759 (_STAT_VER_LINUX): Likewise.
34760 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34761 __syscall_ulong_t and __syscall_slong_t.
34762 (stat64): Likewise.
34763
cf3ff365
L
347642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34765
34766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34767
76cf3e4d
L
347682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34769
34770 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34771
a637753a
L
347722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34773
34774 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34775 __syscall_ulong_t.
34776
d5e05119
L
34777 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34778 include <bits/wordsize.h>. Check __x86_64__ instead of
34779 __WORDSIZE.
34780 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34781 defined.
34782 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34783
f62ee380
L
34784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34785 include <bits/wordsize.h>. Check __x86_64__ instead of
34786 __WORDSIZE.
34787 (user_regs_struct): Use "__extension__ unsigned long long"
34788 instead of "unsigned long" if __x86_64__ is defined.
34789 (user): Likewise. Pad after pointer field if __ILP32__ is
34790 defined.
34791
4e124ced
JM
347922012-05-16 Joseph Myers <joseph@codesourcery.com>
34793
6a3951a0
JM
34794 * configure.in (makeinfo): Require version 4.5 or later. Allow
34795 versions 5 to 9.
34796 * configure: Regenerated.
34797 * manual/install.texi (texinfo): Increase version requirement to
34798 4.5 or later.
34799 * INSTALL: Regenerated.
34800
4e124ced
JM
34801 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34802
953ca31a
L
348032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34804
34805 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34806
617aca05
L
34807 * sysdeps/x86_64/x32/ffs.c: New file.
34808
5762f7ae
L
34809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34810 __syscall_ulong_t.
34811 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34812 defined. Use __syscall_ulong_t.
34813 (shminfo): Use __syscall_ulong_t.
34814 (shm_info): Likewise.
34815
a26b6856
L
34816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34817 __syscall_ulong_t.
34818
cb2b9ef7
L
34819 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34820 <bits/wordsize.h>.
34821 (msgqnum_t): Use __syscall_ulong_t.
34822 (msglen_t): Likewise.
34823 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34824 __syscall_ulong_t.
34825
34683bb0
L
34826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34828
84a68786
L
34829 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34830
48baa5f1
L
34831 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34832 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34833
180be88b
L
34834 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34835 __syscall_slong_t.
34836
5e90c8ad
L
34837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34838 include <bits/wordsize.h>. Check __x86_64__ instead of
34839 __WORDSIZE.
34840
23dfb58b
L
34841 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34842 "unsigned long long int" if __x86_64__ is defined.
34843 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34844
ce5d54b0
L
34845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34847 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34848
13dc9eac
L
34849 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34850 <stdint.h>.
34851 (GET_PC): Cast to uintptr_t first.
34852 (GET_FRAME): Likewise.
34853 (GET_STACK): Likewise.
34854
a7895d15
L
34855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34856 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34857 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34858 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34859 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34860 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34861 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34862 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34863 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34871 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34873 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34874 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34875 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34877 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34879 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34880 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34882 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34883 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34884
656416c9
AS
348852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34886
5bd66283
AS
34887 * Makerules (+depfiles): Also collect depfiles from .oS in
34888 $(extra-objs).
34889 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34890 .oS, $(libnldbl-routines)).
34891
656416c9
AS
34892 * Makerules (native-compile-mkdep-flags): Define.
34893 * sunrpc/Makefile (extra-objs): Add $(addprefix
34894 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34895 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34896 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34897 calling $(make-target-directory).
34898
a46f2169
L
348992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34900
34901 * bits/types.h (__snseconds_t): Removed.
34902 * time/time.h (struct timespec): Replace __snseconds_t with
34903 __syscall_slong_t.
34904 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34905 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34906 Likewise.
34907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34908 (__SNSECONDS_T_TYPE): Likewise.
34909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34910 (__SNSECONDS_T_TYPE): Likewise.
34911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34912 (__SNSECONDS_T_TYPE): Likewise.
34913
6af6528b
L
349142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34915
34916 * sysdeps/mach/hurd/bits/typesizes.h
34917 (__SYSCALL_SLONG_TYPE): New macro.
34918 (__SYSCALL_ULONG_TYPE): Likewise.
34919
de986b56
L
349202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34921
34922 * bits/types.h (__syscall_slong_t): New type.
34923 (__syscall_ulong_t): Likewise.
34924
34925 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34926 (__SYSCALL_ULONG_TYPE): Likewise.
34927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34928 (__SYSCALL_SLONG_TYPE): Likewise.
34929 (__SYSCALL_ULONG_TYPE): Likewise.
34930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34931 (__SYSCALL_SLONG_TYPE): Likewise.
34932 (__SYSCALL_ULONG_TYPE): Likewise.
34933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34934 (__SYSCALL_SLONG_TYPE): Likewise.
34935 (__SYSCALL_ULONG_TYPE): Likewise.
34936
85736dc7
L
349372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34938
34939 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34940 Add sigaltstack-offsets.sym.
34941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34942 <sigaltstack-offsets.h>.
34943 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34944 longjmp_msg pointer.
34945 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34946 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34947 signal stack.
34948 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34949
cc03b296
JM
349502012-05-15 Joseph Myers <joseph@codesourcery.com>
34951
a9538892
JM
34952 * elf/stackguard-macros.h: Remove file.
34953 * sysdeps/generic/stackguard-macros.h: New file.
34954 * sysdeps/i386/stackguard-macros.h: Likewise.
34955 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34956 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34957 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34959 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34960 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34961 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34962 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34963 <elf/stackguard-macros.h>.
34964
cc03b296
JM
34965 [BZ #14109]
34966 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34967 __aligned__ in attribute.
34968 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34969 (gregset_t): Likewise.
34970
93171016
L
349712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34972
34973 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34974 * sysdeps/x86_64/64/Implies-after: Here. New file.
34975 * sysdeps/x86_64/x32/Implies-after: New file.
34976
d86813a0
L
349772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34978
34979 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34980 and access return value for _dl_profile_fixup. Use R10_LP to
34981 load frame size.
34982
2953ec75
L
349832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34984
34985 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34986
3b550e9e
L
349872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34988
34989 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34990 * sysdeps/x86_64/x32/sysdep.h: New file.
34991
eda41706
L
349922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34995 * sysdeps/x86_64/setjmp.S: Likewise.
34996
9ea01d93
AZ
349972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34998
34999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35000 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35001 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35003 remove unused global constant.
35004
02a91938
CM
350052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35006
35007 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35008 include of <not-cancel.h>.
35009
6540185f
RM
350102012-05-15 Roland McGrath <roland@hack.frob.com>
35011
35012 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35013
509072a0
AJ
350142012-05-15 Jeff Law <law@redhat.com>
35015 Andreas Jaeger <aj@suse.de>
35016
35017 [BZ #13594]
35018 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35019 out from...
35020 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35021 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35022 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35023 code changing __hst_map_handle.map.
35024
ba75122d
RM
350252012-05-15 Roland McGrath <roland@hack.frob.com>
35026
35027 * configure.in (sysnames): Look for Implies-before and Implies-after
35028 files.
35029 * configure: Regenerated.
35030
890d8bd8
L
350312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35032
35033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35034 8-byte data alignment with LP_SIZE alignment.
35035
f6ee6623
L
350362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35037
35038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35039 into R10_LP.
35040
ea2626f6
L
350412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35042
35043 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35044
085f715e
L
350452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35046
35047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35048 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35050 Likewise.
35051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35052
be8498fc
L
350532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35056 (stackinfo_sub_sp): Likewise.
35057
70bc83b9
L
350582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35059
35060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35061 RAX_LP.
35062
9bc0b730
L
350632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35064
35065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35066 into R*_LP.
35067
6d2850e7
L
350682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35069
35070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35071 sizes into R*_LP.
35072
3cb84561
L
350732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35074
35075 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35076
54e2ed81
L
350772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35078
35079 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35080 into R11_LP and load __x86_64_shared_cache_size_half into
35081 R8_LP.
35082
8a17f349
L
350832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35084
35085 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35086 R8_LP.
35087
777b1eea
AZ
350882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35089
35090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35091 logb for POWER7.
35092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35093 logbf for POWER7.
35094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35095 logbl for POWER7.
35096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35097 powerpc32/power7/fpu/s_logb.c via #include.
35098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35099 powerpc32/power7/fpu/s_logbf.c via #include.
35100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35101 powerpc32/power7/fpu/s_logbl.c via #include.
35102
d20d4ac2
JM
351032012-05-15 Joseph Myers <joseph@codesourcery.com>
35104
35105 * README.libm: Remove file.
35106
6cdef1ab
L
351072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35108
35109 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35110 count for x32. Use R*_LP and omit operand-size suffix.
35111
0b254d8f
L
351122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35113
35114 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35115 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35116 * sysdeps/x86_64/x32/shlib-versions: New file.
35117
ceb809dc
RM
351182012-05-14 Roland McGrath <roland@hack.frob.com>
35119
35120 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35121 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35122 Use _dl_fatal_printf instead.
35123
37f1abd4
JM
351242012-05-14 Joseph Myers <joseph@codesourcery.com>
35125
35126 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35127 set if not set by the user. Do not allow for being unset.
35128 * sysdeps/unix/sysv/linux/configure: Regenerated.
35129
11de3a33
L
351302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35131
35132 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35133 the `q' suffix from lea and replace .quad with ASM_ADDR.
35134
e02f153a
L
351352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35136
35137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35138 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35139 instead of $17.
35140 (PTR_DEMANGLE): Likewise.
35141
520ae0fd
L
351422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35143
35144 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35145 (LP_OP): Likewise.
35146 (ASM_ADDR): Likewise.
35147 (RAX_LP): Likewise.
35148 (RBP_LP): Likewise.
35149 (RBX_LP): Likewise.
35150 (RCX_LP): Likewise.
35151 (RDI_LP): Likewise.
35152 (RSI_LP): Likewise.
35153 (RSP_LP): Likewise.
35154 (R8_LP): Likewise.
35155 (R9_LP): Likewise.
35156 (R10_LP): Likewise.
35157 (R10_LP): Likewise.
35158 (R11_LP): Likewise.
35159 (R12_LP): Likewise.
35160 (R13_LP): Likewise.
35161 (R14_LP): Likewise.
35162 (R15_LP): Likewise.
35163
b985be81
L
351642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35165
35166 * sysdeps/x86_64/x32/dl-machine.h: New file.
35167
6a4888ff
AJ
351682012-05-14 Andreas Jaeger <aj@suse.de>
35169
35170 * manual/Makefile (subdir): Remove export of subdir.
35171 (all): Remove target.
35172 (.PHONY): Remove all from list.
35173 (mkinstalldirs): Remove.
35174 (.PHONY): Remove installdirs from list.
35175 ($(inst_infodir)/libc.info): Use make-target-directory.
35176 (installdirs): Remove.
35177 (subdir_%): Remove.
35178 (glibc-targets): Remove.
35179 (lib): Remove.
35180 (stubs): Remove.
35181 ($(objpfx)stubs ../po/manual.pot): Remove.
35182 ($(objpfx)stamp%): Remove.
35183 (make-target-directory): Remove.
35184 (subdir_install): Remove.
35185 (routines): Remove.
35186 (aux): Remove.
35187 (sources): Remove.
35188 (objects): Remove.
35189 (headers): Remove.
35190
35191 [BZ #13750]
35192 * manual/.gitignore: Remove, it's not needed anymore.
35193 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35194 all files in it.
35195 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35196 directory.
35197 (texis): Renamed to $(objpfx)texis.
35198 (texis-path): New, contains path to generated files.
35199 (chapters.%): Use texis-path for complete path, add extra argument
35200 libc-texinfo.sh.
35201 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35202 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35203 (summary,texi, stamp-summary): Use complete path of
35204 files. Generate files in build dir.
35205 (dir-add.texi): Build in build dir.
35206 (libm-err.texi,stamp-libm-err): Likewise.
35207 (version.texi, stamp-version): Likewise.
35208 (.%c.texi): Likewise.
35209 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35210 (mostlyclean): Remove target.
35211 (realclean): Remove target.
35212 (generated): Add new variable with contents from mostlyclean and
35213 realclean, remove entries duplicated in common-mostlyclean, add
35214 stamp-libm-err and stamp-version.
35215 (generated-dirs): Add libc directory.
35216 ($(inst_infodir)/libc.info): Install files from build dir.
35217
35218 * manual/install.texi (Configuring and compiling): Adjust since
35219 the info files are not part of the tar ball anymore.
35220
7ac77294
AJ
352212012-05-14 Andreas Jaeger <aj@suse.de>
35222
35223 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35224 variable.
35225
ffb7875d
JM
352262012-05-14 Joseph Myers <joseph@codesourcery.com>
35227
35228 [BZ #13717]
35229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35230 to 2.2.0 where earlier.
35231 * sysdeps/unix/sysv/linux/configure: Regenerated.
35232 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35233 Remove conditional code.
35234 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35235 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35236 Remove conditional code.
35237 [!__NR_lchown]: Likewise.
35238 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35239 [__NR_lchown]: Likewise.
35240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35241 comment referencing __ASSUME_LCHOWN_SYSCALL.
35242 * sysdeps/unix/sysv/linux/i386/sigaction.c
35243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35246 Remove conditional code.
35247 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35248 (__protocol_available): Remove #if 0 code.
35249 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35250 conditional code.
35251 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35252 * sysdeps/unix/sysv/linux/kernel-features.h
35253 (__ASSUME_GETCWD_SYSCALL): Don't define.
35254 (__ASSUME_REALTIME_SIGNALS): Likewise.
35255 (__ASSUME_PREAD_SYSCALL): Likewise.
35256 (__ASSUME_PWRITE_SYSCALL): Likewise.
35257 (__ASSUME_POLL_SYSCALL): Likewise.
35258 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35259 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35260 non-SPARC.
35261 (__ASSUME_SIOCGIFNAME): Don't define.
35262 (__ASSUME_MSG_NOSIGNAL): Likewise.
35263 (__ASSUME_SENDFILE): Define unconditionally.
35264 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35265 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35266 conditional code.
35267 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35268 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35269 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35270 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35271 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35272 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35273 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35298 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35299 Remove conditional code.
35300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35301 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35302 Remove conditional code.
35303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35304 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35305 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35306 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35307 Remove conditional code.
35308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35309 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35310 Remove conditional code.
35311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35312 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35313 Remove conditional code.
35314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35315 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35316 Remove conditional code.
35317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35318 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35319 Remove conditional code.
35320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35321 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35324 * sysdeps/unix/sysv/linux/sigaction.c
35325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35327 * sysdeps/unix/sysv/linux/sigpending.c
35328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35330 * sysdeps/unix/sysv/linux/sigprocmask.c
35331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35333 * sysdeps/unix/sysv/linux/sigsuspend.c
35334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35337 (__libc_missing_rt_sigs): Remove.
35338 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35339 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35340 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35341 Remove conditional code.
35342 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35343 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35344 return 1.
35345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35348 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35349
1bfb7291
AJ
353502012-05-14 Andreas Jaeger <aj@suse.de>
35351
caae5a81
AJ
35352 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35353 it's not used in glibc.
35354 (__coshm1): Likewise.
35355 (__acosh1p): Likewise.
35356 (__sgn): Likewise.
35357
1bfb7291
AJ
35358 * manual/string.texi (Copying and Concatenation): Add missing
35359 variable in concat example.
35360 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35361
c044d724
L
353622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35363
144c5467 35364 [BZ #14103]
c044d724
L
35365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35366 __builtin_clzl with __builtin_clzll.
35367
2523c62b
L
353682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35369
35370 [BZ #14104]
35371 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35372 libc_freeres_ptr.
35373
d7bb4c42
LD
353742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35375
35376 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35377 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35378 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35379 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35380
9dc4e1fb
MF
353812012-05-14 Mike Frysinger <vapier@gentoo.org>
35382
35383 * NEWS: Update ia64 info.
35384
c7df0112
AS
353852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35386
35387 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35388 used as bcopy.
35389
dc70356c
TS
353902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35391
35392 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35393 * sysdeps/unix/syscalls.list (dup3): Likewise.
35394 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35395 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35396
9fb1a21f
L
353972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35398
35399 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35400 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35401
4822a2a5
L
354022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35403
35404 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35405 thread pointer.
35406 (TLS_IE): Use mov/add instead of movq/addq to load thread
35407 pointer.
35408 (TLS_GD_PREFIX): New.
35409 (TLS_GD): Use it.
35410
842b81d6
DM
354112012-05-11 David S. Miller <davem@davemloft.net>
35412
35413 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35414 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35415 (_FPU_SETCW): Likewise.
35416
1cf463cd
L
354172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35418
35419 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35420 is 32-byte aligned.
35421
60cc4a18
AS
354222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35423
35424 [BZ #11837]
35425 * iconvdata/gb18030.c: Update tables.
35426 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35427 characters specially.
35428 (BODY for TO_LOOP): Add encoding of missing ranges.
35429
febb44a4
TS
354302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35431
35432 [BZ #13673]
35433 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35434 * sysdeps/mach/hurd/dup3.c: Likewise.
35435 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35436 * sysdeps/powerpc/memmove.c:: Likewise.
35437
0a10fb9e
L
354382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35439
35440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35441 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35442
df8a552f
L
354432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35444
35445 * elf/elf.h (R_X86_64_RELATIVE64): New.
35446 (R_X86_64_NUM): Updated.
35447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35448 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35449 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35450 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35451 tst-quad1pie tst-quad2pie
35452 (modules-names): Add tst-quadmod1 tst-quadmod2.
35453 ($(objpfx)tst-quad1): New dependency.
35454 ($(objpfx)tst-quad2): Likewise.
35455 ($(objpfx)tst-quad1pie): Likewise.
35456 ($(objpfx)tst-quad2pie): Likewise.
35457 * sysdeps/x86_64/tst-quad1.c: New file.
35458 * sysdeps/x86_64/tst-quad1pie.c: New file.
35459 * sysdeps/x86_64/tst-quad2.c: Likewise.
35460 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35461 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35462 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35463 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35464 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35465
f34d6f84
ST
354662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35467
f42d41d1
ST
35468 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35469 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35470 * streams/stropts.h (t_scalar_t): Define type.
35471
3c3571fc
ST
35472 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35473 (_PATH_PRESERVE): Set to "/var/lib".
35474 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35475
61f06bd3
ST
35476 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35477 instead of int.
35478
918d4d71
ST
35479 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35480 if __dir_mkfile succeeded.
35481
f34d6f84
ST
35482 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35483 checking for _hurd_dtablesize. Unlock it right after having
35484 finished _hurd_dtable allocation.
35485
10589b4a
TS
354862012-05-10 Thomas Schwinge <thomas@schwinge.name>
35487
674cdbc7
TS
35488 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35489 * sysdeps/mach/hurd/configure: Regenerated.
35490 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35491 special-casing to...
35492 * sysdeps/gnu/configure.in: ... this new file.
35493 * sysdeps/unix/sysv/linux/configure: Regenerated.
35494 * sysdeps/gnu/configure: New generated file.
35495
8e41b99f
TS
35496 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35497 for Linux: use nsec instead of usec, as well as:
35498 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35499 members of type struct timespec.
35500 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35501 New macros.
35502 (struct stat64): Likewise.
35503 (_STATBUF_ST_NSEC): New macro.
35504 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35505
10589b4a
TS
35506 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35507 __strtoul_internal rather than strtoul.
35508
63643c85
PT
355092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35510
35511 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35512 and reject them.
35513
3faebe6a
ST
355142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35515
35516 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35517 which preserves existing values.
35518 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35519
c6474b07
PT
355202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35521
35522 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35523 TIMEOUT values. Return EINVAL for NFDS values either negative or
35524 greater than FD_SETSIZE.
35525
1043890b
ST
355262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35527
35528 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35529 allocated, call __vm_protect to finish enabling the existing space, and
35530 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35531 allocate the remainder.
35532
37ed8b9b
PT
355332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35534
35535 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35536 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35537
db653660
ST
355382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35539
37ed8b9b
PT
35540 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35541 sysdeps/mach/hurd/readlink.c.
b29d4053 35542
db653660
ST
35543 * posix/tst-sysconf.c (posix_options): Only use
35544 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35545 _POSIX_SYNCHRONIZED_IO when they are defined
35546 * sysdeps/mach/hurd/bits/posix_opt.h:
35547 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35548 (_XOPEN_REALTIME): Undefine macro.
35549 (_XOPEN_REALTIME_THREADS): Undefine macro.
35550 (_XOPEN_SHM): Undefine macro.
35551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35552 macro to -1.
35553 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35554 macro to -1.
35555 (_POSIX_ASYNC_IO): Undefine macro.
35556 (_POSIX_PRIORITIZED_IO): Undefine macro.
35557 (_POSIX_SPIN_LOCKS): Define macro to -1.
35558
ee16e894
ST
35559 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35560 SA_NODEFER, SA_RESETHAND.
35561 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35562 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35563 F_DUPFD_CLOEXEC.
35564
6103ae3b
TS
355652012-05-10 Thomas Schwinge <thomas@schwinge.name>
35566
35567 * elf/Makefile (pldd-modules): Define unconditionally.
35568
80b4e5f3
TS
355692012-05-10 Thomas Schwinge <thomas@schwinge.name>
35570
35571 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35572
edadcbd6
ST
355732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35574
35575 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35576 Return ENOENT when name is empty.
35577 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35578
80694780
TS
355792012-05-10 Thomas Schwinge <thomas@schwinge.name>
35580
1792c087
TS
35581 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35582
80694780
TS
35583 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35584
6b645f0d
ST
355852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35586
80694780
TS
35587 Fix mlock in all cases except non-readable pages.
35588 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35589 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35590
6b645f0d
ST
35591 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35592 (__mkdir): When path is `/', just fail with EEXIST.
35593 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35594
e468f8a3
TS
355952012-05-10 Thomas Schwinge <thomas@schwinge.name>
35596
35597 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35598 <sys/uio.h> (for writev).
35599 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35600 and <sys/param.h> (for MIN).
35601
a4186cff
PT
356022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35603
35604 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35605 REQUESTED_TIME. Properly set the remaining time and return EINTR
35606 if interrupted.
35607
510bbf14
TS
356082012-05-10 Thomas Schwinge <thomas@schwinge.name>
35609
35610 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35611 Depend on against $(link-rpcuserlibs).
35612
5d5722e8
ST
356132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35614
a4186cff
PT
35615 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35616 (__libc_stack_end): Do not use attribute_relro.
35617 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35618 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35619 to libthread-provided value.
a4186cff
PT
35620 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35621 attribute_relro.
5d5722e8 35622
37233df9
TS
356232012-05-10 Thomas Schwinge <thomas@schwinge.name>
35624
be971a2b
TS
35625 [BZ #3748]
35626 * bits/libc-lock.h (__libc_once_get): New macro.
35627 * sysdeps/mach/bits/libc-lock.h: Likewise.
35628 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35630 instead of using implementation details.
35631
37233df9
TS
35632 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35633 * libio/freopen.c: Likewise.
35634 * libio/freopen64.c: Likewise.
35635 * misc/syslog.c: Likewise.
35636 * nscd/connections.c: Likewise.
35637 * nscd/netgroupcache.c: Likewise.
35638 * sysdeps/posix/getcwd.c: Likewise.
35639
38de94a5
RM
356402012-05-10 Roland McGrath <roland@hack.frob.com>
35641
35642 * math/w_ilogbf.c: Add #include <limits.h>.
35643
67530489
ST
356442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35645
a4186cff 35646 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35647 path instead of returning without unlocking.
35648
67530489
ST
35649 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35650 immediate-write ioctls.
35651 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35652
5aa3a74a
TS
356532012-05-10 Thomas Schwinge <thomas@schwinge.name>
35654
18bad2ae
TS
35655 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35656 __builtin_frame_address instead of making assumptions about the
35657 location of the return address relative to DATA. Force early load of
35658 the return address.
35659 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35660 __builtin_frame_address.
35661
5aa3a74a
TS
35662 dup3 for GNU Hurd.
35663 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35664 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35665 implement dup3 and do some further code clean-ups.
35666 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35667 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35668
ecd0de9a
ST
356692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35670
cd9fa985
ST
35671 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35672
a4186cff
PT
35673 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35674 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35675 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35676 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35677 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35678 d->port.lock.
802ca5a5 35679
a4186cff
PT
35680 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35681 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35682 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35683
bcf55240
TS
356842012-05-10 Thomas Schwinge <thomas@schwinge.name>
35685
6960eb42
TS
35686 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35687 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35688 definitions.
35689
eb43375f
TS
35690 accept4 for GNU Hurd.
35691 * include/sys/socket.h (__libc_accept4): New prototype.
35692 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35693 to implement __libc_accept4.
35694 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35695 __libc_accept4.
35696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35697
bcf55240
TS
35698 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35699 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35700 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35701 signal-defines.sym.
35702
6178c55b
ST
357032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35704
a4186cff 35705 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35706
6f080c2f
TS
357072012-05-10 Thomas Schwinge <thomas@schwinge.name>
35708
35709 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35710 assertion on O_CLOEXEC flag.
35711 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35712 * hurd/intern-fd.c: Likewise.
35713 * hurd/port2fd.c: Likewise.
35714
bcfe3a54
ST
357152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35716
35717 [BZ #3906]
35718 * bits/in.h (IPV6_PKTINFO): Define new macro.
35719 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35720
89c9aa49
AZ
357212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35722
35723 [BZ #13954]
35724 [BZ #13955]
35725 [BZ #13956]
35726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35728 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35732 * math/libm-test.inc (logb_test) : Additional logb tests.
35733
021db4be
AJ
357342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35735 Andreas Jaeger <aj@suse.de>
35736
35737 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35738 * configure: Regenerated.
35739 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35740 * config.make.in (link-obsolete-rpc): New substituted variable.
35741 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35742 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35743 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35744 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35745 so that libc.a contains the symbols.
35746 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35747 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35748 * sunrpc/auth_none.c: Likewise.
35749 * sunrpc/auth_unix.c: Likewise.
35750 * sunrpc/authdes_prot.c: Likewise.
35751 * sunrpc/authuxprot.c: Likewise.
35752 * sunrpc/clnt_gen.c: Likewise.
35753 * sunrpc/clnt_perr.c: Likewise.
35754 * sunrpc/clnt_raw.c: Likewise.
35755 * sunrpc/clnt_simp.c: Likewise.
35756 * sunrpc/clnt_tcp.c: Likewise.
35757 * sunrpc/clnt_udp.c: Likewise.
35758 * sunrpc/clnt_unix.c: Likewise.
35759 * sunrpc/des_crypt.c: Likewise.
35760 * sunrpc/des_soft.c: Likewise.
35761 * sunrpc/get_myaddr.c: Likewise.
35762 * sunrpc/key_call.c: Likewise.
35763 * sunrpc/key_prot.c: Likewise.
35764 * sunrpc/netname.c: Likewise.
35765 * sunrpc/pm_getmaps.c: Likewise.
35766 * sunrpc/pm_getport.c: Likewise.
35767 * sunrpc/pmap_clnt.c: Likewise.
35768 * sunrpc/pmap_prot.c: Likewise.
35769 * sunrpc/pmap_prot2.c: Likewise.
35770 * sunrpc/pmap_rmt.c: Likewise.
35771 * sunrpc/publickey.c: Likewise.
35772 * sunrpc/rpc_cmsg.c: Likewise.
35773 * sunrpc/rpc_common.c: Likewise.
35774 * sunrpc/rpc_dtable.c: Likewise.
35775 * sunrpc/rpc_prot.c: Likewise.
35776 * sunrpc/rpc_thread.c: Likewise.
35777 * sunrpc/rtime.c: Likewise.
35778 * sunrpc/svc.c: Likewise.
35779 * sunrpc/svc_auth.c: Likewise.
35780 * sunrpc/svc_raw.c: Likewise.
35781 * sunrpc/svc_run.c: Likewise.
35782 * sunrpc/svc_tcp.c: Likewise.
35783 * sunrpc/svc_udp.c: Likewise.
35784 * sunrpc/svc_unix.c: Likewise.
35785 * sunrpc/svcauth_des.c: Likewise.
35786 * sunrpc/xcrypt.c: Likewise.
35787 * sunrpc/xdr.c: Likewise.
35788 * sunrpc/xdr_array.c: Likewise.
35789 * sunrpc/xdr_float.c: Likewise.
35790 * sunrpc/xdr_intXX_t.c: Likewise.
35791 * sunrpc/xdr_mem.c: Likewise.
35792 * sunrpc/xdr_rec.c: Likewise.
35793 * sunrpc/xdr_ref.c: Likewise.
35794 * sunrpc/xdr_sizeof.c: Likewise.
35795 * sunrpc/xdr_stdio.c: Likewise.
35796
b5c086a2
RM
357972012-05-10 Roland McGrath <roland@hack.frob.com>
35798
35799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35800 change. Update copyright years.
35801
6d74dd09
JM
358022012-05-10 Joseph Myers <joseph@codesourcery.com>
35803
35804 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35805
28e72501
MK
358062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35807 Joseph Myers <joseph@codesourcery.com>
35808 Paul Pluzhnikov <ppluzhnikov@google.com>
35809
35810 [BZ #14012]
35811 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35812 requiring rpcgen.
35813 [cross-compiling] (extra-libs): Likewise.
35814 [cross-compiling] (extra-libs-others): Likewise.
35815 [cross-compiling] (librpcsvc-routines): Likewise.
35816 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35817 [cross-compiling] (omit-deps): Likewise.
35818 (sunrpc-CPPFLAGS): New variable.
35819 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35820 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35821 (cross-rpcgen-objs): New variable.
35822 (extra-objs): Append $(cross-rpcgen-objs).
35823 ($(cross-rpcgen-objs)): New rule.
35824 ($(objpfx)cross-rpcgen): Likewise.
35825 (rpcgen-cmd): Define to use $(built-program-file). Expand
35826 comment.
35827 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35828 ($(objpfx)x%.stmp): Likewise.
35829 * sunrpc/proto.h [IS_IN_build] (_): Define.
35830 [IS_IN_build] (_libc_intl_domainname): Likewise.
35831
c8c59454
L
358322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35833
35834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35835 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35836 and R_X86_64_TPOFF64.
35837
6f27cd16
JM
358382012-05-10 Joseph Myers <joseph@codesourcery.com>
35839
35840 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35841 sysdeps/unix/sysv/syscalls.list.
35842 (stime): Likewise.
35843 (utime): Likewise.
35844 * sysdeps/unix/sysv/syscalls.list: Remove file.
35845
02467e1c
PE
358462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35847
35848 [BZ #3440]
35849 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35850 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35851 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35852 (__LC_IDENTIFICATION): Make these macros useful in #if
35853 expressions, as required by C99.
35854
da392631
AS
358552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35856
35857 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35858 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35859 after this.
35860
8115f29b
L
358612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35862
35863 * stdlib/longlong.h: Updated from GCC.
35864
bdd74070
AJ
358652012-05-09 Andreas Jaeger <aj@suse.de>
35866
edfe0dbe
AJ
35867 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35868 default is first entry.
35869 (run_mode): Set type.
35870 (main): Remove informal message about syslog.
35871 (options): Fix typo.
35872
bcfe3a54
ST
35873 [BZ #14053]
35874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35875 to asm.
bcfe3a54
ST
35876 (lrint): Likewise.
35877 (llrintf): Likewise.
35878 (llrint): Likewise.
35879 (rint): Likewise.
35880 (rintf): Likewise.
35881 (nearbyint): Likewise.
35882 (nearbyintf): Likewise.
bdd74070 35883
91d8d69e
AJ
358842012-05-09 Andreas Jaeger <aj@suse.de>
35885 Pedro Alves <palves@redhat.com>
35886
35887 * nscd/nscd.c (run_mode): Use enum.
35888 (main): Cleanup coding style issue.
35889
bb90b80b
AJ
358902012-05-09 Alexandre Oliva <aoliva@redhat.com>
35891 Andreas Jaeger <aj@suse.de>
35892
bcfe3a54
ST
35893 * nscd/nscd.c (go_background): Replaced with...
35894 (run_mode): ... this.
bb90b80b 35895 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35896 (options): Add -F --foreground.
35897 (main): Implement it.
35898 (parse_opt): Parse it.
bb90b80b 35899
1a4b75a1
AJ
359002012-05-09 Andreas Jaeger <aj@suse.de>
35901
35902 [BZ #14083]
35903 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35904 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35905 -Wconversion warning.
35906 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35907 Likewise.
35908
b1cc2472
JM
359092012-05-09 Joseph Myers <joseph@codesourcery.com>
35910
35911 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35912 == 0.
35913 (LC_ALL): Use macro-int-constant.
35914 (LC_COLLATE): Likewise.
35915 (LC_CTYPE): Likewise.
35916 (LC_MESSAGES): Likewise.
35917 (LC_MONETARY): Likewise.
35918 (LC_NUMERIC): Likewise.
35919 (LC_TIME): Likewise.
35920 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35921 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35923 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35924 Specify type.
35925 [C99-based standards] (float_t): Expect type.
35926 [C99-based standards] (double_t): Expect type.
35927 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35928 type.
35929 [C99-based standards] (HUGE_VALL): Likewise.
35930 [C99-based standards] (INFINITY): Likewise.
35931 [C99-based standards] (NAN): Likewise.
35932 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35933 [C99-based standards] (FP_NAN): Likewise.
35934 [C99-based standards] (FP_NORMAL): Likewise.
35935 [C99-based standards] (FP_SUBNORMAL): Likewise.
35936 [C99-based standards] (FP_ZERO): Likewise.
35937 [C99-based standards] (FP_FAST_FMA): Use
35938 optional-macro-int-constant. Specify type. Require == 1.
35939 [C99-based standards] (FP_FAST_FMAF): Likewise.
35940 [C99-based standards] (FP_FAST_FMAL): Likewise.
35941 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35942 [C99-based standards] (FP_ILOGBNAN): Likewise.
35943 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35944 Specify type.
35945 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35946 [C99-based standards] (math_errhandling): Specify type.
35947 [ISO99 || ISO11] (signgam): Do not allow.
35948 [non-C99-based standards] (copysignf): Do not allow.
35949 [non-C99-based standards] (exp2f): Likewise.
35950 [non-C99-based standards] (log2f): Likewise.
35951 [non-C99-based standards] (modff): Allow.
35952 [non-C99-based standards] (erff): Do not allow.
35953 [non-C99-based standards] (erfcf): Likewise.
35954 [non-C99-based standards] (gammaf): Likewise.
35955 [non-C99-based standards] (hypotf): Likewise.
35956 [non-C99-based standards] (j0f): Likewise.
35957 [non-C99-based standards] (j1f): Likewise.
35958 [non-C99-based standards] (jnf): Likewise.
35959 [non-C99-based standards] (lgammaf): Likewise.
35960 [non-C99-based standards] (tgammaf): Likewise.
35961 [non-C99-based standards] (y0f): Likewise.
35962 [non-C99-based standards] (y1f): Likewise.
35963 [non-C99-based standards] (ynf): Likewise.
35964 [non-C99-based standards] (isnanf): Likewise.
35965 [non-C99-based standards] (acoshf): Likewise.
35966 [non-C99-based standards] (asinhf): Likewise.
35967 [non-C99-based standards] (atanhf): Likewise.
35968 [non-C99-based standards] (cbrtf): Likewise.
35969 [non-C99-based standards] (expm1f): Likewise.
35970 [non-C99-based standards] (ilogbf): Likewise.
35971 [non-C99-based standards] (log1pf): Likewise.
35972 [non-C99-based standards] (logbf): Likewise.
35973 [non-C99-based standards] (nextafterf): Likewise.
35974 [non-C99-based standards] (remainderf): Likewise.
35975 [non-C99-based standards] (rintf): Likewise.
35976 [non-C99-based standards] (scalbf): Likewise.
35977 [non-C99-based standards] (copysignl): Likewise.
35978 [non-C99-based standards] (exp2l): Likewise.
35979 [non-C99-based standards] (log2l): Likewise.
35980 [non-C99-based standards] (modfl): Allow.
35981 [non-C99-based standards] (erfl): Do not allow.
35982 [non-C99-based standards] (erfcl): Likewise.
35983 [non-C99-based standards] (gammal): Likewise.
35984 [non-C99-based standards] (hypotl): Likewise.
35985 [non-C99-based standards] (j0l): Likewise.
35986 [non-C99-based standards] (j1l): Likewise.
35987 [non-C99-based standards] (jnl): Likewise.
35988 [non-C99-based standards] (lgammal): Likewise.
35989 [non-C99-based standards] (tgammal): Likewise.
35990 [non-C99-based standards] (y0l): Likewise.
35991 [non-C99-based standards] (y1l): Likewise.
35992 [non-C99-based standards] (ynl): Likewise.
35993 [non-C99-based standards] (isnanl): Likewise.
35994 [non-C99-based standards] (acoshl): Likewise.
35995 [non-C99-based standards] (asinhl): Likewise.
35996 [non-C99-based standards] (atanhl): Likewise.
35997 [non-C99-based standards] (cbrtl): Likewise.
35998 [non-C99-based standards] (expm1l): Likewise.
35999 [non-C99-based standards] (ilogbl): Likewise.
36000 [non-C99-based standards] (log1pl): Likewise.
36001 [non-C99-based standards] (logbl): Likewise.
36002 [non-C99-based standards] (nextafterl): Likewise.
36003 [non-C99-based standards] (remainderl): Likewise.
36004 [non-C99-based standards] (rintl): Likewise.
36005 [non-C99-based standards] (scalbl): Likewise.
36006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36007 [non-C99-based standards] (FP_*): Do not allow.
36008 [C99-based standards] (FP_*): Change to
36009 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36010 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36011 allow.
36012 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36013 (SIG_ERR): Likewise.
36014 [X/Open-based standards] (SIG_HOLD): Likewise.
36015 (SIG_IGN): Likewise.
36016 (SIGABRT): Use macro-int-constant. Specify type. Require
36017 positive value.
36018 (SIGFPE): Likewise.
36019 (SIGILL): Likewise.
36020 (SIGINT): Likewise.
36021 (SIGSEGV): Likewise.
36022 (SIGTER): Likewise.
36023 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36024 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36025 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36026 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36027 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36028 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36029 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36030 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36031 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36032 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36033 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36034 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36035 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36036 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36037 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36038 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36039 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36040 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36041 [X/Open-based standards] (SIGTRAP): Likewise.
36042 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36043 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36044 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36045 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36046 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36047 allow.
36048
b9f1922d
IW
360492012-05-08 Ian Wienand <ianw@vmware.com>
36050
36051 [BZ #14080]
36052 * time/tzset.c (__tzset_parse_tz): Update default rules for
36053 daylight time changes in the Energy Policy Act of 2005.
36054
1db86e88
AJ
360552012-05-09 Andreas Jaeger <aj@suse.de>
36056
36057 [BZ #13983]
36058 * elf/ldconfig.c (parse_conf): Change string to make clear that
36059 ldconfig only issued a warning if ld.so.conf does not exist.
36060
dee4a4e3
DM
360612012-05-08 David S. Miller <davem@davemloft.net>
36062
ee0db190
DM
36063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36064 movxtod instead of popping the value on the stack.
36065
dee4a4e3
DM
36066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36067
6a43ec98
CD
360682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36069
36070 * config.h.in: Add HAVE_ARM_PCS_VFP.
36071
05c2c961
RMG
360722012-05-08 Roland Mc Grath <roland@hack.frob.com>
36073
bcfe3a54
ST
36074 [BZ #13979]
36075 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36076 checking but the checks are disabled for any reason.
05c2c961 36077
4b30f61a
L
360782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36079
36080 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36081 and ELF64_R_TYPE with ELFW(R_TYPE).
36082
eee2bc67
JM
360832012-05-08 Joseph Myers <joseph@codesourcery.com>
36084
7ea5391a
JM
36085 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36086 (ulimit): Likewise.
36087
eee2bc67
JM
36088 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36089 (settimeofday): Likewise.
36090
abb66a67
MF
360912012-05-08 Mike Frysinger <vapier@gentoo.org>
36092
36093 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36094 a struct th_u2 inside the union, and move tu_block/tu_code into
36095 a new th_u3 union of tu_block/tu_code inside of that. Move
36096 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36097 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36098 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36099 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36100 (th_stuff): Change to th_u1.tu_stuff.
36101 (th_data): Define.
36102 (th_msg): Change to th_u1.th_u2.tu_data.
36103
7f18b530
DM
361042012-05-07 David S. Miller <davem@davemloft.net>
36105
05760585
DM
36106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36107
7f18b530
DM
36108 [BZ #14074]
36109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36110 (SETUP_PIC_REG): Use it.
36111 (SETUP_PIC_REG_LEAF): Use it.
36112
495fd99f
JM
361132012-05-07 Joseph Myers <joseph@codesourcery.com>
36114
36115 [BZ #13885]
36116 [BZ #13923]
36117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36118 USE_AS_EXPM1L.
36119 (EXPL_FINITE): Likewise.
36120 (FLDLOG): Likewise.
36121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36122 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36123 e_expl.S.
36124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36125 USE_AS_EXPM1L.
36126 (EXPL_FINITE): Likewise.
36127 (FLDLOG): Likewise.
36128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36129 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36130 e_expl.S.
36131 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36132 test of -max_value argument for long double.
36133 * sysdeps/i386/fpu/libm-test-ulps: Update.
36134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36135
6693d694
DM
361362012-05-06 David S. Miller <davem@davemloft.net>
36137
36138 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36139 quad soft-float symbols whose references which are compiler
36140 generated.
36141 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36142
6c23e11c
JM
361432012-05-06 Joseph Myers <joseph@codesourcery.com>
36144
d8b82cad
JM
36145 [BZ #13884]
36146 [BZ #13914]
36147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36148 USE_AS_EXP10L.
36149 (EXPL_FINITE): Likewise.
36150 (FLDLOG): Likewise.
36151 (c0): Likewise.
36152 (c1): Likewise.
36153 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36154 Adjust comments for base varying.
36155 (__expl_finite): Change alias to EXPL_FINITE.
36156 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36157 e_expl.S.
36158 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36159 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36161 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36163 USE_AS_EXP10L.
36164 (EXPL_FINITE): Likewise.
36165 (FLDLOG): Likewise.
36166 (c0): Likewise.
36167 (c1): Likewise.
36168 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36169 Adjust comments for base varying.
36170 (__expl_finite): Change alias to EXPL_FINITE.
36171 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36172 tests for bugs.
36173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36174
6c23e11c
JM
36175 [BZ #14064]
36176 * math/libm-test.inc (check_float_internal): Correct ulp
36177 calculation for subnormal expected results.
36178
29ba805c
AJ
361792012-05-06 Andreas Jaeger <aj@suse.de>
36180
36181 * Makeconfig (+math-flags): New, set to -frounding-math.
36182 (+cflags): Add +math-flags so that all of glibc gets compiled with
36183 it.
36184
36185 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36186
7b17aeda
JM
361872012-05-05 Joseph Myers <joseph@codesourcery.com>
36188
5779f134
JM
36189 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36190 Disable one test.
36191
41498f4d
JM
36192 [BZ #13787]
36193 [BZ #13922]
36194 [BZ #14036]
36195 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36196 (__ieee754_expl): Allow for and saturate large arguments.
36197 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36198 (u_threshold): Likewise.
36199 (__exp): Call __ieee754_exp before checking for overflow and
36200 underflow.
36201 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36202 (u_threshold): Likewise.
36203 (__expf): Call __ieee754_expf before checking for overflow and
36204 underflow.
36205 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36206 (u_threshold): Likewise.
36207 (__expl): Call __ieee754_expl before checking for overflow and
36208 underflow.
36209 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36210 (__ieee754_expl): Allow for and saturate large arguments.
36211 * math/libm-test.inc (exp_test): Add another test. Do not allow
36212 missing overflow exception on overflow.
36213 (expm1_test): Do not allow missing overflow exception on overflow.
36214
6698b8bf
JM
36215 * sysdeps/i386/fpu/e_expl.c: Move to ...
36216 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36217 rather than using inline asm.
36218 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36219 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36220 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36221
7b17aeda
JM
36222 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36223 (nice): Likewise.
36224 (poll): Likewise.
36225 (signal): Likewise.
36226 (time): Likewise.
36227 (times): Likewise.
36228
f7c85819
JM
362292012-05-04 Joseph Myers <joseph@codesourcery.com>
36230
36231 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36232 sysdeps/unix/common/syscalls.list.
36233 (fchmod): Likewise.
36234 (fchown): Likewise.
36235 (ftruncate): Likewise.
36236 (getrusage): Likewise.
36237 (gettimeofday): Likewise.
36238 (setpgid): Likewise.
36239 (setregid): Likewise.
36240 (setreuid): Likewise.
36241 (sigaction): Likewise.
36242 (truncate): Likewise.
36243 (vhangup): Likewise.
36244 * sysdeps/unix/common/syscalls.list: Remove file.
36245 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36246 * sysdeps/unix/sysv/linux/Implies: Likewise.
36247
336270d0
L
362482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36249
36250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36253 Moved to ...
36254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36255 Here.
36256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36257 to ...
36258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36260 to ...
36261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36262 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36263 to ...
36264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36266 to ...
36267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36268 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36269 to ...
36270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36271 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36272 to ...
36273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36274 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36275 to ...
36276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36277 Here.
36278 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36279 to ...
36280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36281 Here.
36282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36283 to ...
36284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36285 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36286 Moved to ...
36287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36288 Here.
36289 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36290 to ...
36291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36292
d128e450
JM
362932012-05-04 Joseph Myers <joseph@codesourcery.com>
36294
fa8ee516
JM
36295 * sysdeps/unix/common/bits/dirent.h: Remove file.
36296 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36297
d128e450
JM
36298 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36299 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36300 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36301 * sysdeps/unix/bsd/isatty.c: Likewise.
36302 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36303 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36304 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36305
ff8faaf0 363062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36307
62881be4 36308 [BZ #13563]
31dc8730
AZ
36309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36310 long double comparison inaccuracies.
36311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36313
6fef930c
AS
363142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36315
36316 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36318
8f203e6c
JM
363192012-05-04 Joseph Myers <joseph@codesourcery.com>
36320
36321 [BZ #14049]
36322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36323 nonzero digits before rounding a hex value.
36324 * stdlib/tst-strtod.c (tests): Add another test.
36325
5197d9c2
AK
363262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36327
36328 * sysdeps/s390/fpu/libm-test-ulps: Update.
36329
f0c1dedf
AJ
363302012-05-03 Andreas Jaeger <aj@suse.de>
36331
36332 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36333 does not get optimized out.
36334 (malloc_opt_barrier): New.
36335
a65ef2ae 363362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36337 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36338
2b942cb7 36339 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36340 intermediate file deletion.
2b942cb7 36341 (generated): Add .symlist files.
a65ef2ae 36342
54b71e02
JM
363432012-05-03 Joseph Myers <joseph@codesourcery.com>
36344
36345 [BZ #13775]
36346 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36347 Redirect under this condition.
36348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36349 [__USE_GNU] (__dprintf_chk): Not under this condition.
36350 [__USE_GNU] (__vdprintf_chk): Likewise.
36351 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36352 under this condition.
36353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36354 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36355 [__USE_XOPEN2K8] (vdprintf): Likewise.
36356 [__USE_GNU] (__dprintf_chk): Not under this condition.
36357 [__USE_GNU] (__vdprintf_chk): Likewise.
36358 [__USE_GNU] (dprintf): Likewise.
36359 [__USE_GNU] (vdprintf): Likewise.
36360
d3dfcc41
RM
363612012-05-03 Roland McGrath <roland@hack.frob.com>
36362
36363 * elf/Makefile (common-generated): Set this instead of generated for
36364 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36365 $(all-built-dso)-derived lists.
36366
7ac30cc5
AJ
363672012-05-03 Andreas Jaeger <aj@suse.de>
36368
0c51e550
AJ
36369 * sysdeps/i386/fpu/libm-test-ulps: Update.
36370
7ac30cc5
AJ
36371 * FAQ: Removed.
36372 * FAQ.in: Likewise.
36373 * scripts/gen-FAQ.pl: Likewise.
36374 * manual/install.texi (Installation): Point to online location of
36375 FAQ.
36376 * Makefile (files-for-dist): Remove FAQ.
36377 (FAQ): Remove.
36378
d4c2917f
AM
363792012-05-02 Allan McRae <allan@archlinux.org>
36380
36381 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36382 (LDFLAGS-reldepmod5.so): Likewise.
36383 (LDFLAGS-reldep6mod1.so): Likewise.
36384 (LDFLAGS-reldep6mod4.so): Likewise.
36385 (LDFLAGS-reldep8mod3.so): Likewise.
36386 (LDFLAGS-unload4mod1.so): Likewise.
36387 (LDFLAGS-unload4mod2.so): Likewise.
36388 (LDFLAGS-tst-initorder): Likewise.
36389 (LDFLAGS-tst-initordera2.so): Likewise.
36390 (LDFLAGS-tst-initordera3.so): Likewise.
36391 (LDFLAGS-tst-initordera4.so): Likewise.
36392 (LDFLAGS-tst-initorderb2.so): Likewise.
36393 (LDFLAGS-noload): Likewise.
36394 (LDFLAGS-next): Likewise.
36395 (LDFLAGS-order2mod1.so): Likewise.
36396 (LDFLAGS-order2mod2.so): Likewise.
36397 (LDFLAGS-tst-initorder2): Likewise.
36398 (LDFLAGS-tst-initorder2a.so): Likewise.
36399 (LDFLAGS-tst-initorder2b.so): Likewise.
36400 (LDFLAGS-tst-initorder2c.so): Likewise.
36401 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36402
d77f993f
DM
364032012-05-02 David S. Miller <davem@davemloft.net>
36404
36405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36406
171a70b4
PP
364072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36408
36409 [BZ #14055]
36410 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36411
0be196ad
AJ
364122012-05-02 Andreas Jaeger <aj@suse.de>
36413
36414 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36415 since we manipulate rounding mode.
36416 (CPPFLAGS-test-idouble.c): Likewise.
36417 (CPPFLAGS-test-ifloat.c): Likewise.
36418 (CFLAGS-test-ldouble.c): Likewise.
36419 (CFLAGS-test-double.c): Likewise.
36420 (CFLAGS-test-float.c): Likewise.
36421 (CFLAGS-test-misc.c): Likewise.
36422 (CFLAGS-test-test-fenv.c): Likewise.
36423
4f9d04aa
AZ
364242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36425
2b942cb7
RM
36426 [BZ #2550]
36427 [BZ #2570]
36428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36429 comparisons to determine direction to adjust input.
4f9d04aa 36430
82a79e7d
RM
364312012-05-01 Roland McGrath <roland@hack.frob.com>
36432
f5a01ca9
RM
36433 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36434 output to the target.
36435
90fe4186
RM
36436 * scripts/localplt.awk: New file.
36437 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36438 (check-localplt-CFLAGS): Variable removed.
36439 ($(all-built-dso:=.jmprel)): New static pattern rule.
36440 (generated): Add those targets.
36441 (localplt-built-dso): New variable.
36442 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36443
36444 * elf/check-localplt.c: File removed.
36445
82397ed6
RM
36446 * scripts/check-execstack.awk: New file.
36447 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36448 (check-execstack-CFLAGS): Variable removed.
36449 ($(objpfx)check-execstack.h): Target removed.
36450 ($(objpfx)execstack-default): New target.
36451 (generated): Add that instead of check-execstack.h.
36452 ($(all-built-dso:=.phdr)): New static pattern rule.
36453 (generated): Add those targets.
36454 * elf/check-execstack.c: File removed.
36455
82a79e7d
RM
36456 * scripts/check-textrel.awk: New file.
36457 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36458 (check-textrel-CFLAGS): Variable removed.
36459 (all-built-dso): Use := to define.o
36460 ($(all-built-dso:=.dyn)): New static pattern rule.
36461 (generated): Add those targets.
36462 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36463 * config.make.in (READELF): New substituted variable.
36464 * elf/check-textrel.c: File removed.
36465
62fde54f 364662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36467
615605c9
JM
36468 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36469 allow.
36470 * conform/data/ctype.h-data [C99-based standards] (isblank):
36471 Expect function.
36472 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36473 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36475 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36476 Specify type. Require positive value.
36477 (EILSEQ): Likewise.
36478 (ERANGE): Likewise.
36479 [ISO || POSIX] (EILSEQ): Do not expect.
36480 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36481 Specify type. Require positive value.
36482 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36483 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36484 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36485 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36486 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36487 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36488 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36489 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36490 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36491 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36492 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36493 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36494 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36495 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36496 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36497 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36498 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36499 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36500 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36501 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36502 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36503 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36504 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36505 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36506 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36507 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36508 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36509 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36510 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36511 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36512 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36513 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36514 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36515 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36516 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36517 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36518 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36519 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36520 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36521 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36522 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36523 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36524 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36525 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36526 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36527 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36528 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36529 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36530 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36531 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36532 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36533 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36534 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36535 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36536 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36537 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36538 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36539 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36540 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36541 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36542 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36543 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36545 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36547 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36548 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36550 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36551 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36552 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36553 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36556 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36557 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36558 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36559 Require >= 2.
36560 (FLT_ROUNDS): Expect as macro, not constant.
36561 (FLT_MANT_DIG): Use macro-int-constant.
36562 (DBL_MANT_DIG): Likewise.
36563 (LDBL_MANT_DIG): Likewise.
36564 (FLT_DIG): Likewise.
36565 (DBL_DIG): Likewise.
36566 (LDBL_DIG): Likewise.
36567 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36568 (DBL_MIN_EXP): Likewise.
36569 (LDBL_MIN_EXP): Likewise.
36570 (FLT_MAX_EXP): Use macro-int-constant.
36571 (DBL_MAX_EXP): Likewise.
36572 (LDBL_MAX_EXP): Likewise.
36573 (FLT_MAX_10_EXP): Likewise.
36574 (DBL_MAX_10_EXP): Likewise.
36575 (LDBL_MAX_10_EXP): Likewise.
36576 (FLT_MAX): Use macro-constant.
36577 (DBL_MAX): Likewise.
36578 (LDBL_MAX): Likewise.
36579 (FLT_EPSILON): Use macro-constant. Give upper bound.
36580 (DBL_EPSILON): Likewise.
36581 (LDBL_EPSILON): Likewise.
36582 (FLT_MIN): Likewise.
36583 (DBL_MIN): Likewise.
36584 (LDBL_MIN): Likewise.
36585 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36586 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36587 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36588 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36589 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36590 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36591 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36592 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36593 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36594 [ISO11] (FLT_TRUE_MIN): Likewise.
36595 [ISO11] (LDBL_TRUE_MIN): Likewise.
36596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36597 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36598 (SCHAR_MIN): Use macro-int-constant. Specify type.
36599 (SCHAR_MAX): Likewise.
36600 (UCHAR_MAX): Likewise.
36601 (CHAR_MIN): Likewise.
36602 (CHAR_MAX): Likewise.
36603 (MB_LEN_MAX): Use macro-int-constant.
36604 (SHRT_MIN): Use macro-int-constant. Specify type.
36605 (SHRT_MAX): Likewise.
36606 (USHRT_MAX): Likewise.
36607 (INT_MAX): Likewise.
36608 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36609 bound negative.
36610 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36611 bound with "U".
36612 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36613 bound with "L".
36614 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36615 bound negative. Suffix upper bound with "L".
36616 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36617 bound with "UL".
36618 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36619 Specify type.
36620 [C99-based standards] (LLONG_MAX): Likewise.
36621 [C99-based standards] (ULLONG_MAX): Likewise.
36622 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36623 == 0.
36624 [ISO11] (max_align_t): Require type.
36625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36626
c9140a62
JM
36627 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36628 from $CFLAGS, without defining away __attribute__ calls.
36629 (checknamespace): Use $CFLAGS_namespace.
36630
9af0bf29
JM
36631 * conform/conformtest.pl (@keywords): Only include C99 keywords
36632 for standards based on C99 or C11.
36633
343222a2
JM
36634 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36635 Disable tests.
36636 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36637 UNIX98]: Likewise.
36638
661f8cf0
JM
36639 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36640 usability of symbols in #if.
36641
ee74b9cb
JM
36642 * conform/conformtest.pl: If macro or constant types start
36643 "promoted:", expect the symbol to be of the following type
36644 promoted by the integer promotions.
62fde54f 36645
aafc49b3
JM
36646 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36647 in one place. Also handle "macro-constant".
36648
fefdf574
JM
36649 * conform/conformtest.pl: Only accept expected macro values with
36650 "==". Parse all "macro" lines in one place.
36651 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36652
f2d922fe
JM
36653 * conform/conformtest.pl: Handle braced types on "constant" lines
36654 instead of handling "typed-constant".
36655 * conform/data/signal.h-data: Use "constant" instead of
36656 "typed-constant".
36657
d22956c9
JM
36658 * conform/conformtest.pl: Handle "optional-" at start of lines in
36659 one place rather than duplicating several cases. Handle each
36660 format of "macro" line with initial "optional-".
36661
028e2e38
JM
36662 * conform/conformtest.pl: Only accept expected constant or
36663 optional-constant values with "==". Parse all "constant" lines in
36664 one place. Parse all "optional-constant" lines in one place.
36665 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36666 * conform/data/fmtmsg.h-data: Likewise.
36667 * conform/data/netinet/in.h-data: Likewise.
36668 * conform/data/tar.h-data: Likewise.
36669 * conform/data/limits.h-data: Use "==" form on "constant" and
36670 "optional-constant" lines.
36671
1b8f2850
JM
36672 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36673 Use -std=c99 for XOPEN2K.
36674 (@knownproblems): Remove.
36675 (newtoken): Don't check %isknown.
36676
a05a144b
JM
36677 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36678 Do not expect macro.
36679 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36691 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36692 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36693 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36694 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36695 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36696 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36697 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36698 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36699 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36701 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36702 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36703 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36704 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36705 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36706 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36707 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36708 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36709 [XPG3] (acosh): Likewise.
36710 [XPG3] (asinh): Likewise.
36711 [XPG3] (atanh): Likewise.
36712 [XPG3] (cbrt): Likewise.
36713 [XPG3] (expm1): Likewise.
36714 [XPG3] (ilogb): Likewise.
36715 [XPG3] (log1p): Likewise.
36716 [XPG3] (logb): Likewise.
36717 [XPG3] (nextafter): Likewise.
36718 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36719 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36720 [XPG3] (remainder): Likewise.
36721 [XPG3] (rint): Likewise.
36722 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36723 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36724 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36725 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36726 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36727 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36728 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36729 [UNIX98 || XOPEN2K] (scalb): Expect.
36730 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36731 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36732 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36733 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36734 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36735 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36736 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36737 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36738 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36739 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36740 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36741 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36742 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36743 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36744 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36745 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36747 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36748 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36749 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36752 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36753 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36770 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36771 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36772 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36773 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36774 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36775 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36776 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36777 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36778 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36779 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36780 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36781 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36782 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36783 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36784 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36785 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36786 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36787 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36788 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36789 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36790 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36791 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36792 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36793 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36794 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36795 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36796 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36797 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36799 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36800 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36801 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36808 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36809 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36810 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36814 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36815 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36816 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36817 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36818 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36819 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36820 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36821 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36822 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36825 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36826 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36834 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36835 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36836 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36847 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36848 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36850 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36851 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36852 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36853 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36854 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36855 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36856 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36857 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36858 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36859 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36860 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36861 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36862 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36863 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36864 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36865 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36866 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36867
73c5ebe3
JM
36868 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36869 _XOPEN_SOURCE_EXTENDED for XPG4.
36870
39c33b6c
JM
36871 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36872
62fde54f
JM
36873 * Makeconfig (localtime): Remove variable.
36874 (inst_localtime-file): Likewise.
36875
0741d64c
AS
368762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36877
36878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36879 Update.
36880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36881 Update.
36882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36883 Update.
36884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36885 Update.
36886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36887 Update.
36888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36889 Update.
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36891 Update.
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36893 Update.
36894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36895 Update.
36896
7cb029ee
JM
368972012-05-01 Joseph Myers <joseph@codesourcery.com>
36898
36899 [BZ #2550]
36900 [BZ #2570]
36901 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36902 comparisons to determine direction to adjust input.
36903 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36904 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36906 Likewise.
36907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36908 Likewise.
36909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36910 Likewise.
36911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36913 Likewise.
36914 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36915 Likewise.
36916 * math/libm-test.inc (nexttoward_test): Add more tests.
36917
412bd966
AS
369182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36919
36920 [BZ #14040]
36921 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36922 in version GLIBC_2.1, not GLIBC_2.0.
36923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36924 Likewise.
36925
9568c0c2
JM
369262012-04-30 Joseph Myers <joseph@codesourcery.com>
36927
adfbc8ac
JM
36928 [BZ #13942]
36929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36930 (1 - x) * (1 + x).
36931 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36932 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36933 * math/libm-test.inc (acos_test): Add more tests.
36934 (asin_test): Likewise.
36935 * sysdeps/i386/fpu/libm-test-ulps: Update.
36936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36937
5ba3cc69
JM
36938 [BZ #14034]
36939 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36940 of square root.
36941 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36942 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36943 * math/libm-test.inc (acos_test_tonearest): New function.
36944 (acos_test_towardzero): Likewise.
36945 (acos_test_downward): Likewise.
36946 (acos_test_upward): Likewise.
36947 (asin_test_tonearest): Likewise.
36948 (asin_test_towardzero): Likewise.
36949 (asin_test_downward): Likewise.
36950 (asin_test_upward): Likewise.
36951 (main): Call the new functions.
36952 * sysdeps/i386/fpu/libm-test-ulps: Update.
36953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36954
9568c0c2
JM
36955 [BZ #13884]
36956 [BZ #13924]
36957 * math/e_exp10.c: Include <float.h>.
36958 (__ieee754_exp10): Handle underflow here rather than multiplying
36959 large negative argument by M_LN10.
36960 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36961 of __ieee754_expf.
36962 * math/e_exp10l.c: Include <float.h>.
36963 (__ieee754_exp10l): Handle underflow here rather than multiplying
36964 large negative argument by M_LN10l.
36965 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36966 spurious overflow exception on underflow.
36967
5ac3ea17
MP
369682012-04-29 Marek Polacek <polacek@redhat.com>
36969
36970 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36971 (__fortify_function): New macro.
36972 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36973 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36974 __extern_always_inline.
36975 * libio/bits/stdio2.h: Likewise.
36976 * libio/bits/stdio.h: Likewise.
36977 * string/string.h: Likewise.
36978 * string/bits/string3.h: Likewise.
36979 * include/stdio.h: Likewise.
36980 * stdlib/bits/stdlib.h: Likewise.
36981 * stdlib/stdlib.h: Likewise.
36982 * rt/bits/mqueue2.h: Likewise.
36983 * rt/mqueue.h: Likewise.
36984 * posix/bits/unistd.h: Likewise.
36985 * posix/unistd.h: Likewise.
36986 * io/bits/poll2.h: Likewise.
36987 * io/bits/fcntl2.h: Likewise.
36988 * io/fcntl.h: Likewise.
36989 * io/sys/poll.h: Likewise.
36990 * misc/bits/syslog.h: Likewise.
36991 * misc/bits/syslog-ldbl.h: Likewise.
36992 * misc/sys/syslog.h: Likewise.
36993 * socket/bits/socket2.h: Likewise.
36994 * socket/sys/socket.h: Likewise.
36995 * debug/tst-chk1.c: Likewise.
36996 * wcsmbs/bits/wchar2.h: Likewise.
36997 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36998 * wcsmbs/wchar.h: Likewise.
36999
ecf0ebfb
AJ
370002012-04-29 Andreas Jaeger <aj@suse.de>
37001
37002 * Makerules (tests): Remove enable-check-abi protection.
37003 (check-abi-warn): Remove.
37004 (check-abi-%): Remove check-abi-warn usage.
37005
37006 * configure.in: Remove check-abi configure option.
37007 * configure: Regenerated.
37008 * config.make.in (enable-check-abi): Remove.
37009
6d5c57fa
AS
370102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37011
24c5d07e 37012 [BZ #14033]
ded5180a
AS
37013 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37014 double functions to double *_finite functions.
37015
7e0d315d
AS
37016 [BZ #13941]
37017 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37018 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37019 LDBL_MIN_EXP.
37020 * stdio-common/Makefile (tests): Add tst-sprintf3.
37021 * stdio-common/tst-sprintf3.c: New file.
37022
6d5c57fa
AS
37023 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37024 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37025
0749ff8b
JM
370262012-04-28 Joseph Myers <joseph@codesourcery.com>
37027
37028 * conform/conformtest.pl: Remove duplicate typed-constant
37029 handling.
37030
8dbd5d7b
DM
370312012-04-28 David S. Miller <davem@davemloft.net>
37032
37033 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37034 (check-abi-%): Remove AWK script prerequisite and explicit
37035 abilist directory.
37036 (check-abi): Rewrite to just diff the symlist with the abilist.
37037 (config-tls, config-abi-config): Delete, no longer used.
37038 (update-abi-%): Remove AWK script and explicit abilist directory.
37039 (update-abi): Rewrite to simply compare and conditionally copy the
37040 symlist and the sysdep abilist file. Remove update-abi-config
37041 checks.
37042 * abilist/ld.abilist: Remove.
37043 * abilist/libBrokenLocale.abilist: Remove.
37044 * abilist/libanl.abilist: Remove.
37045 * abilist/libcrypt.abilist: Remove.
37046 * abilist/libdl.abilist: Remove.
37047 * abilist/librt.abilist: Remove.
37048 * abilist/libthread_db.abilist: Remove.
37049 * abilist/libutil.abilist: Remove.
37050 * scripts/extract-abilist.awk: Remove.
37051 * scripts/merge-abilist.awk: Remove.
37052 * sysdeps/generic/libcidn.abilist: New file.
37053 * sysdeps/generic/libnss_compat.abilist: New file.
37054 * sysdeps/generic/libnss_db.abilist: New file.
37055 * sysdeps/generic/libnss_dns.abilist: New file.
37056 * sysdeps/generic/libnss_files.abilist: New file.
37057 * sysdeps/generic/libnss_hesiod.abilist: New file.
37058 * sysdeps/generic/libnss_nis.abilist: New file.
37059 * sysdeps/generic/libnss_nisplus.abilist: New file.
37060 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37062 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37063 file.
37064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37066 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37067 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37068 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37069 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37070 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37071 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37072 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37073 file.
37074 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37076 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37078 file.
37079 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37081 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37082 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37083 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37084 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37085 file.
37086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37088 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37089 file.
37090 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37092 New file.
37093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37094 New file.
37095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37096 New file.
37097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37098 New file.
37099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37100 New file.
37101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37102 New file.
37103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37104 New file.
37105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37106 New file.
37107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37108 New file.
37109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37110 New file.
37111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37112 New file.
37113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37114 New file.
37115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37116 New file.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37118 file.
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37120 New file.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37122 New file.
37123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37124 file.
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37126 New file.
37127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37128 New file.
37129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37130 file.
37131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37132 New file.
37133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37134 New file.
37135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37136 New file.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37138 New file.
37139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37140 New file.
37141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37142 New file.
37143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37145 file.
37146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37147 New file.
37148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37149 file.
37150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37151 file.
37152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37153 file.
37154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37155 file.
37156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37157 file.
37158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37159 New file.
37160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37161 file.
37162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37163 file.
37164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37165 New file.
37166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37167 file.
37168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37170 file.
37171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37172 New file.
37173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37174 file.
37175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37176 file.
37177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37178 file.
37179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37180 file.
37181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37182 file.
37183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37184 New file.
37185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37186 file.
37187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37188 file.
37189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37190 New file.
37191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37192 file.
37193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37194 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37195 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37196 file.
37197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37198 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37201 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37203 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37205 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37206 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37209 file.
37210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37211 New file.
37212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37213 file.
37214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37215 file.
37216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37217 file.
37218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37219 file.
37220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37221 file.
37222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37223 New file.
37224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37225 New file.
37226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37227 file.
37228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37229 New file.
37230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37231 file.
37232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37234 file.
37235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37236 New file.
37237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37238 file.
37239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37240 file.
37241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37242 file.
37243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37244 file.
37245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37246 file.
37247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37248 New file.
37249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37250 New file.
37251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37252 file.
37253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37254 New file.
37255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37256 file.
37257
41d73a1b
JM
372582012-04-28 Joseph Myers <joseph@codesourcery.com>
37259
37260 * conform/conformtest.pl: Fix typo in handling typed-constant from
37261 allow-header.
37262
28aeeda4
JM
372632012-04-27 Joseph Myers <joseph@codesourcery.com>
37264
adae8f5e
JM
37265 * README: Cut down references to pre-2.6 Linux kernels and
37266 Linuxthreads. Update lists of configurations in libc and ports
37267 and sort alphabetically. Say "or newer" with Linux kernel version
37268 requirements.
37269
28aeeda4
JM
37270 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37271
a462cb63
RA
372722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37273
37274 [BZ #887]
37275 * math/libm-test.inc (logb_test_downward): New test to expose
37276 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37277 rounding mode.
37278
6ad3493e
JM
372792012-04-27 Joseph Myers <joseph@codesourcery.com>
37280
37281 [BZ #14027]
37282 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37283 to be done.
37284 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37285 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37286
2ce4f015
JM
372872012-04-26 Joseph Myers <joseph@codesourcery.com>
37288
5aeb141a
JM
37289 * sysdeps/unix/i386/brk.S: Remove file.
37290 * sysdeps/unix/i386/dl-brk.S: Likewise.
37291 * sysdeps/unix/i386/pipe.S: Likewise.
37292 * sysdeps/unix/i386/sigreturn.S: Likewise.
37293 * sysdeps/unix/i386/syscall.S: Likewise.
37294 * sysdeps/unix/i386/vfork.S: Likewise.
37295 * sysdeps/unix/i386/wait.S: Likewise.
37296
7143acae
JM
37297 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37298 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37299
2ce4f015
JM
37300 * configure.in (arm*-none*): Do not allow without
37301 --enable-hacker-mode.
37302 (netbsd*): Remove case setting base_os.
37303 (386bsd*): Likewise.
37304 (freebsd*): Likewise.
37305 (bsdi*): Likewise.
37306 (osf*): Likewise.
37307 (sunos*): Likewise.
37308 (ultrix*): Likewise.
37309 (newsos*): Likewise.
37310 (dynix*): Likewise.
37311 (*bsd*): Likewise.
37312 (sysv*): Likewise.
37313 (isc*): Likewise.
37314 (esix*): Likewise.
37315 (sco*): Likewise.
37316 (minix*): Likewise.
37317 (irix4*): Likewise.
37318 (irix6*): Likewise.
37319 (solaris[2-9]*): Likewise.
37320 (none): Likewise.
37321 * configure: Regenerated.
37322
0ac229c8
AZ
373232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37324
37325 [BZ #11521]
37326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37327 overflow or cancellation in calculating denominator.
37328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37330 down expression to avoid unexpected rounding in newer GCCs.
37331 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37332
33f244f4
DM
373332012-04-26 David S. Miller <davem@davemloft.net>
37334
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37336 long-double compat symbols.
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37350
cfa1f3e8
DM
373512012-04-25 David S. Miller <davem@davemloft.net>
37352
37353 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37354 HWCAP_* values only after the memory barriers have been defined.
37355 (atomic_full_barrier): Define.
37356 (atomic_read_barrier): Define.
37357 (atomic_write_barrier): Define.
37358
6e236b92
SP
373592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37360
37361 * shlib-versions: Add libgcc_s version information.
37362 * sysdeps/generic/libgcc_s.h: Remove.
37363 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37364 libgcc_s.h.
37365 * sysdeps/gnu/unwind-resume.c: Likewise.
37366 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37367
aab39a09
DM
373682012-04-25 David S. Miller <davem@davemloft.net>
37369
37370 * sysdeps/unix/sparc/brk.S: Delete.
37371 * sysdeps/unix/sparc/dl-brk.S: Delete.
37372 * sysdeps/unix/sparc/pipe.S: Delete.
37373 * sysdeps/unix/sparc/sysdep.S: Delete.
37374 * sysdeps/unix/sparc/sysdep.h: Delete.
37375 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37377 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37379 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37380 (JUMPTARGET): Remove.
37381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37382 sysdeps/unix/sparc/sysdep.h
37383 (ENTRY, END): Remove.
37384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37385
a3cc4f48
JM
373862012-04-25 Joseph Myers <joseph@codesourcery.com>
37387
2ed8cda2
JM
37388 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37389 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37390 -DIS_IN_build.
37391
35d76d59
JM
37392 * timezone/README: Update upstream location and email address for
37393 tzcode and tzdata.
37394 * timezone/zdump.c: Update from tzcode 2012b.
37395 * timezone/zic.c: Likewise.
37396
a3cc4f48
JM
37397 * configure.in (libc_cv_as_needed): Remove test.
37398 * configure: Regenerated.
37399 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37400 conditional definition.
37401 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37402 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37403 * config.make.in (have-as-needed): Remove variable.
37404
ceab42c3
SP
374052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37406 Paul Pluzhnikov <ppluzhnikov@google.com>
37407
37408 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37409 strings correctly.
37410
3ce2865f
CLT
374112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37412
37413 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37414 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37415 * sysdeps/sh/strlen.S: Likewise.
37416
f37e0d68
JM
374172012-04-24 Joseph Myers <joseph@codesourcery.com>
37418
ae186e9a
JM
37419 * sysdeps/unix/fork.S: Remove file.
37420 * sysdeps/unix/i386/fork.S: Likewise.
37421 * sysdeps/unix/sparc/fork.S: Likewise.
37422
b96914af
JM
37423 * sysdeps/unix/system.c: Remove file.
37424 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37425
f37e0d68
JM
37426 * sysdeps/unix/getegid.S: Remove file.
37427 * sysdeps/unix/geteuid.S: Likewise.
37428
87ef29ca
RM
374292012-04-24 Roland McGrath <roland@hack.frob.com>
37430
83bcd236
RM
37431 * scripts/check-localplt.awk: New file.
37432 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37433 of diff.
37434 * scripts/data/localplt-generic.data: Add a comment.
37435
87ef29ca
RM
37436 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37437 NODE when __dir_mkfile failed.
37438 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37439 Reported by Ludovic Courtès <ludo@gnu.org>.
37440
e5a6e567
AJ
374412012-04-24 Andreas Jaeger <aj@suse.de>
37442
37443 * Makerules (common-clean): Also remove gen-as-const-headers
37444 files.
37445
c1820385
JM
374462012-04-24 Joseph Myers <joseph@codesourcery.com>
37447
37448 * Makerules (native-compile): Do not change working directory for
37449 build. Use $(OUTPUT_OPTION) in command.
37450 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37451
94e02fc4
AZ
374522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37453
37454 [BZ #13886]
37455 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37456 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37457 * math/libm-test.inc (floor_test): Add more tests.
37458 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37459
3a533ca3
JM
374602012-04-24 Joseph Myers <joseph@codesourcery.com>
37461
940ab4b3
JM
37462 * sysdeps/unix/getdents.c: Remove file.
37463 * sysdeps/unix/sysv/getdents.c: Likewise.
37464 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37465
90e037bd
JM
37466 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37467 sysdeps/unix/mman/syscalls.list.
37468 (mmap): Likewise.
37469 (mprotect): Likewise.
37470 (msync): Likewise.
37471 (munmap): Likewise.
37472 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37473 * sysdeps/unix/mman/syscalls.list: Remove.
37474 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37475
3a533ca3
JM
37476 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37477 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37478 * configure: Regenerated.
37479 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37480 $(libgcc_s_suffix).
37481 * config.make.in (libgcc_s_suffix): Remove variable.
37482
1ad743de
JM
374832012-04-23 Joseph Myers <joseph@codesourcery.com>
37484
4ad451e2
JM
37485 * sysdeps/unix/sysv/gethostname.c: Move to ...
37486 * sysdeps/posix/gethostname.c: ... here.
37487
5e37ce39
JM
37488 * sysdeps/unix/execve.S: Remove file.
37489
1ad743de
JM
37490 * sysdeps/unix/_exit.S: Remove file.
37491
4e681b5b
AJ
374922012-04-23 Andreas Jaeger <aj@suse.de>
37493
37494 [BZ #13739]
37495 * manual/Makefile: Remove make dist support, there's no
37496 need for a stand-alone documentation tar ball.
37497 (TEXI2DVI): Define always, it's not in Makeconfig.
37498 (dist): Removed.
37499 (tar-it): Removed.
37500 (edition): Removed.
37501 (glibc-doc-$(edition).tar): Removed
37502 (%.Z): Removed.
37503 (%.gz): Removed.
37504 (%.uu): Removed.
37505 (ETAGS): Remove, it's in Makeconfig.
37506 (move-if-change): Remove, it's in Makeconfig.
37507
38686a03 375082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37509
37510 [BZ #13970]
37511 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37512 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37513 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37514 (strtod_l, strtof_l, strtold_l): Remove __wur.
37515 It is not necessarily an error to ignore strtol's return value.
37516 One can reliably look at the stored endptr to decide whether
37517 the number had valid syntax.
37518
7c0616fa
AJ
375192012-04-21 Andreas Jaeger <aj@suse.de>
37520
803cb6b7 37521 [BZ #13739]
7c0616fa
AJ
37522 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37523
b0fe253f
JM
375242012-04-21 Joseph Myers <joseph@codesourcery.com>
37525
37526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37527 * sysdeps/unix/sysv/Versions: Remove file.
37528
8280f22d
MT
375292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37530
37531 [BZ #13927]
37532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37533
75ce411f 375342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37535
37536 [BZ #7064]
37537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37538 version from __vm86.
37539
097d59fa
JM
375402012-04-20 Joseph Myers <joseph@codesourcery.com>
37541
a90f3bcb
JM
37542 * sysdeps/unix/common/lxstat.c: Remove file.
37543 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37544
edc7ea78
JM
37545 * sysdeps/unix/sysv/Makefile: Remove file.
37546
cb78c221
JM
37547 * sysdeps/unix/sysv/direct.h: Remove file.
37548
efa6a45f
JM
37549 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37550 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37551 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37552 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37553 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37554 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37555 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37556
9c9f2d0c
JM
37557 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37558
4541c83b
JM
37559 * sysdeps/unix/xmknod.c: Remove file.
37560 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37561
f5d153a0
JM
37562 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37563
aa746595
JM
37564 * sysdeps/unix/sysv/i386/time.S: Remove file.
37565
cce5905e
JM
37566 * sysdeps/unix/fxstat.c: Remove file.
37567 * sysdeps/unix/xstat.c: Likewise.
37568 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37569
37fa3841
JM
37570 * sysdeps/unix/sysv/sigaction.c: Remove file.
37571
ff1962a3
JM
37572 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37573 (sysdep_headers): Remove variable.
37574 [termio.h not in sysdep_headers] (generated): Likewise.
37575 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37576 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37577 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37578 * sysdeps/unix/sysv/tcflow.c: Likewise.
37579 * sysdeps/unix/sysv/tcflush.c: Likewise.
37580 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37581 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37582 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37583 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37584 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37585
e7740d31
JM
37586 * sysdeps/unix/siglist.c: Remove file.
37587
ee06f18b
JM
37588 * sysdeps/unix/getppid.S: Remove file.
37589
097d59fa
JM
37590 * sysdeps/unix/mkdir.c: Remove file.
37591 * sysdeps/unix/rmdir.c: Likewise.
37592
ff3d51ec
AS
375932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37594
37595 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37596 ERR_MAX value.
37597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37598 errlist-compat value.
37599
50f81fd7
DM
376002012-04-18 David S. Miller <davem@davemloft.net>
37601
37602 * sysdeps/generic/memcopy.h (reg_char): Delete.
37603 * debug/strcat_chk.c: Use char, not reg_char.
37604 * debug/strcpy_chk.c: Likewise.
37605 * debug/strncat_chk.c: Likewise.
37606 * debug/strncpy_chk.c: Likewise.
37607 * string/memchr.c: Likewise.
37608 * string/memrchr.c: Likewise.
37609 * string/rawmemchr.c: Likewise.
37610 * string/strcat.c: Likewise.
37611 * string/strchr.c: Likewise.
37612 * string/strchrnul.c: Likewise.
37613 * string/strcmp.c: Likewise.
37614 * string/strcpy.c: Likewise.
37615 * string/strncat.c: Likewise.
37616 * string/strncmp.c: Likewise.
37617 * string/strncpy.c: Likewise.
37618
8ff41c46
WS
376192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37620
37621 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37622 __builtin_memcopy is called when src and dest ranges are known to not
37623 overlap.
37624
6b652f46
WS
376252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37626
37627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37628 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37629 fwd_align_merge macro call.
37630 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37631 bwd_align_merge macro call.
37632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37633
b282631e
WS
376342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37635
37636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37637 bwd_align_merge macros.
37638 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37639 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37641
95aa737c
DM
376422012-04-18 David S. Miller <davem@davemloft.net>
37643
37644 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37645
7a99a614
AJ
376462012-04-18 Andreas Jaeger <aj@suse.de>
37647
37648 [BZ# 6794]
37649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37652
37653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37654 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37656
37657 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37658 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37659 Adjust for changed ldbl-128 files.
37660
37661 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37662 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37664
e5270c23
DM
376652012-04-17 David S. Miller <davem@davemloft.net>
37666
37667 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37668
fb5e92c9
AS
376692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37670
37671 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37672 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37673 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37674 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37676 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37677
76da7265
AZ
376782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37679
37680 [BZ #6794]
37681 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37682 * math/libm-test.inc: Add ilogb errno and exception tests.
37683 * math/w_ilogb.c: New file: ilogb wrapper.
37684 * math/w_ilogbf.c: New file: ilogbf wrapper.
37685 * math/w_ilogbl.c: New file: ilogbl wrapper.
37686 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37687 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37688 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37689 exception being thrown with 0.0 as argument.
37690 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37691 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37692 exception being thrown with 0.0 as argument.
37693 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37694 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37695 exception being thrown with 0.0 as argument.
37696 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37697 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37698 exception being thrown with 0.0 as argument.
37699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37700 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37702 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37705 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37706 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37707 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37708
0396e69d
PB
377092012-04-17 Petr Baudis <pasky@ucw.cz>
37710
37711 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37712 with altivec.
37713
750b5926
MP
377142012-04-16 Marek Polacek <polacek@redhat.com>
37715
37716 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37717
751728a1
MP
377182012-04-16 Marek Polacek <polacek@redhat.com>
37719
37720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37721 operands of fdivp instruction.
37722
34a27407
L
377232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37724
37725 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37726 * elf/tst-auditmod3b.c: Likewise.
37727 * elf/tst-auditmod4b.c: Likewise.
37728 * elf/tst-auditmod5b.c: Likewise.
37729 * elf/tst-auditmod6b.c: Likewise.
37730 * elf/tst-auditmod6c.c: Likewise.
37731 * elf/tst-auditmod7b.c: Likewise.
37732 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37733 * sysdeps/x86_64/preconfigure.in: Likewise.
37734 * sysdeps/x86_64/preconfigure: Regenerated.
37735
7e73e17d
L
377362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37737
37738 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37739 __ILP32__.
37740
c7a6ab72
AB
377412012-04-13 Antoine Balestrat <merkil33@gmail.com>
37742
37743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37744 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37745
a9e8e0e0
CL
377462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37747
37748 [BZ #13973]
37749 * locale/iso-639.def: Fix gl language name. Spotted by
37750 Yaron Shahrabani.
37751
ec98af7d
RM
377522012-04-12 Roland McGrath <roland@hack.frob.com>
37753
37754 [BZ #2074]
37755 * libio/libio.h (__io_write_fn): Update comment.
37756
247c3ede
PB
377572012-04-12 Petr Baudis <pasky@ucw.cz>
37758
37759 [BZ #2074]
37760 * stdio.texi (Hook Functions): The user provided writer function
37761 is not allowed to return -1.
37762
55939d6d
DM
377632012-04-11 David S. Miller <davem@davemloft.net>
37764
37765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37766
90020f5a
MF
377672012-04-11 Mike Frysinger <vapier@gentoo.org>
37768
37769 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37770 Add a leading slash to rtkaio.
37771
288f9098
JM
377722012-04-11 Jim Meyering <meyering@redhat.com>
37773
90020f5a
MF
37774 [BZ #11959]
37775 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37776 It is not necessarily an error to ignore fwrite's return
37777 value. One can reliably use ferror to test for errors after
37778 the fact.
288f9098 37779
4be2b570
L
377802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37781
37782 * bits/types.h (__snseconds_t): New type.
37783 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37784
37785 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37787 (__SNSECONDS_T_TYPE): Likewise.
37788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37789 (__SNSECONDS_T_TYPE): Likewise.
37790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37791 (__SNSECONDS_T_TYPE): Likewise.
37792
288f9098 377932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37794
37795 [BZ #2636]
37796 * manual/time.texi (Processor Time): Return type of times is
37797 elapsed real time since an arbitrary point in the past.
37798 (CPU Time): Move CLK_TCK from here...
37799 (Processor Time): ...to here. Correct description.
37800 * manual/conf.texi (Constants for Sysconf): Correct description of
37801 _SC_CLK_TCK.
37802
d7dd4413
DM
378032012-04-10 David S. Miller <davem@davemloft.net>
37804
37805 [BZ #13967]
37806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37807 where the is a gap between DT_REL(A) and DT_JMPREL.
37808
b46068fc
L
378092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37810
37811 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37814
73d65cc3
SP
378152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37816
37817 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37818 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37819 (dl_main): Handle --inhibit-cache.
37820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37821 _dl_inhibit_cache.
37822 * elf/dl-load.c (_dl_map_object): Use it.
37823 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37824
bcc8d661
JM
378252012-04-09 Joseph Myers <joseph@codesourcery.com>
37826
8f9a2fae
JM
37827 [BZ #13872]
37828 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37829 (__ieee754_powl): Saturate large exponents rather than testing for
37830 overflow of y*log2(x).
37831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37832 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37833 exceptions.
37834
bcc8d661
JM
37835 [BZ #11521]
37836 * math/s_ctan.c: Include <float.h>.
37837 (__ctan): Avoid internal overflow or cancellation in calculating
37838 denominator.
37839 * math/s_ctanf.c: Likewise.
37840 * math/s_ctanl.c: Likewise.
37841 * math/s_ctanh.c: Likewise.
37842 * math/s_ctanhf.c: Likewise.
37843 * math/s_ctanhl.c: Likewise.
37844 * math/libm-test.inc (ctan_test): Add more tests.
37845 (ctanh_test): Likewise.
37846 * sysdeps/i386/fpu/libm-test-ulps: Update.
37847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37848
823fbbb4
AJ
378492012-04-09 Andreas Jaeger <aj@suse.de>
37850
03879793
AJ
37851 [BZ #6894]
37852 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37853 is an optional BSD extension.
37854
823fbbb4
AJ
37855 [BZ #10254]
37856 * manual/stdio.texi (Opening Streams): Document additional fopen
37857 parameters.
37858
8de131cb
RM
378592012-04-09 Roland McGrath <roland@hack.frob.com>
37860
37861 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37862 %eax without telling the compiler.
37863
c0ed9d7d
CD
378642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37865
37866 [BZ # 13963]
37867 * manual/install.texi: Use sourceware.org.
37868
c483f6b4
JM
378692012-04-09 Joseph Myers <joseph@codesourcery.com>
37870
d7dd9453
JM
37871 [BZ #13873]
37872 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37873 (__ieee754_pow): Generate overflow and underflow using huge*huge
37874 and tiny*tiny rather than just returning constant infinity or zero
37875 for large exponents.
37876 * math/libm-test.inc (pow_test): Require overflow exceptions for
37877 applicable cases of large exponents.
37878
c483f6b4
JM
37879 [BZ #706]
37880 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37881 (__ieee754_pow): Use iterative multiplication algorithm only for
37882 integer exponents with absolute value below 1024. Check for odd
37883 integer exponents when using algorithm for real exponents.
37884 * math/libm-test.inc (pow_test): Add more tests.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37886
d2de7579
JM
378872012-04-08 Joseph Myers <joseph@codesourcery.com>
37888
37889 [BZ #13705]
37890 * math/libm-test.inc (exp_test): Do not allow overflow exception
37891 on underflow test.
37892
f77f1232
AJ
378932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37894
37895 [BZ #13705]
37896 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37897 instead of __kernel_standard_f.
37898
3884932b
MF
378992012-04-08 Mike Frysinger <vapier@gentoo.org>
37900
37901 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37902 * sysdeps/x86_64/memset_chk.S: Likewise.
37903
54472e9c
AJ
379042012-04-08 Andreas Jaeger <aj@suse.de>
37905
6ab0fbfc
AJ
37906 [BZ #10153]
37907 * manual/startup.texi (Environment Access): Describe return value
37908 for putenv and setenv.
37909
61efba8c
AJ
37910 [BZ #6895]
37911 * manual/filesys.texi (Directory Entries): Add description for
37912 DT_LNK.
37913
95c3f29a
AJ
37914 [BZ #6890]
37915 * manual/filesys.texi (Directory Entries): Clarify that it's file
37916 system not operating system in the description of DT_UNKNOWN.
37917
54472e9c
AJ
37918 [BZ #6578]
37919 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37920
624254b1
SC
379212012-04-08 Stephen Compall <s11@member.fsf.org>
37922
37923 [BZ #6649]
37924 * manual/llio.texi (Opening and Closing Files): Add cross
37925 reference to explain mode argument.
37926
1e4920e0
MF
379272012-04-07 Mike Frysinger <vapier@gentoo.org>
37928
37929 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37930 * sysdeps/x86_64/memset_chk.S: Likewise.
37931
5ed848f3
DM
379322012-04-07 David S. Miller <davem@davemloft.net>
37933
37934 * elf/elf.h (R_SPARC_WDISP10): Define.
37935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37936 R_SPARC_SIZE32.
37937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37938 R_SPARC_SIZE64 and R_SPARC_H34.
37939
96154cd8
CD
379402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37941
37942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37943 conditions and remove no longer applicable assertion.
37944
9904dc47
L
379452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37946
37947 * bits/byteswap.h: Include <features.h>.
37948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37950
f8887d0a
L
379512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37952
37953 * bits/byteswap.h (__bswap_16): Removed.
37954 Include <bits/byteswap-16.h> to get __bswap_16.
37955 * sysdeps/i386/bits/byteswap.h: Likewise.
37956 * sysdeps/s390/bits/byteswap.h: Likewise.
37957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37958 * bits/byteswap-16.h: New file.
37959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37960 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37961 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37962 * string/Makefile (headers): Add bits/byteswap-16.h.
37963
62470f60
PP
379642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37965
37966 [BZ #13895]
37967 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37968 extra indirection.
37969 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37970 * nss/tst-nss-static.c: New.
37971
4dad7bab
RM
379722012-04-06 Robert Millan <rmh@gnu.org>
37973
37974 [BZ #6486]
37975 * manual/llio.texi (File Position Primitive): lseek
37976 refers to WHENCE when it really means OFFSET.
37977
e9142a17
AJ
379782012-04-06 Andreas Jaeger <aj@suse.de>
37979
2c040eff
AJ
37980 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37981 strncmp declarations.
37982
e9142a17
AJ
37983 * abilist/libc.abilist: Add __poll and __ppoll.
37984
ff9f1c5f
DM
379852012-04-05 David S. Miller <davem@davemloft.net>
37986
dcd2ae90
DM
37987 * scripts/check-local-headers.sh: Accept a host triplet in the
37988 path matched by the exclude regexp.
37989
993eb054
DM
37990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37991 definition.
37992 * sysdeps/powerpc/powerpc32/dl-machine.h
37993 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37994 * sysdeps/s390/s390-32/dl-machine.h
37995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37996 * sysdeps/sparc/sparc32/dl-machine.h
37997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37998 * sysdeps/sparc/sparc64/dl-machine.h
37999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38000
ff9f1c5f
DM
38001 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38002 lazy binding.
48e2e132 38003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38004 undefined symbol errors.
38005
48e2e132 38006 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38007 DT_NEEDED entries.
38008
e80d6f94
MM
380092012-04-05 Michael Matz <matz@suse.de>
38010
38011 [BZ #13592]
38012 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38013
349fa79f
AJ
380142012-04-05 Andreas Jaeger <aj@suse.de>
38015
38016 [BZ #13908]
38017 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38018 comment.
38019
f402708f
KK
380202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38021
38022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38023 which ROUND is no valid rounding mode.
38024
2ecccfc9
KK
380252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38026
38027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38028 read again.
38029 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38030
8a53f50f
KK
380312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38032
38033 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38034 an exception using FPU order intentionally.
38035
380362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38037
38038 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38039 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38040 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38041 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38042
d653abb7
SJ
380432012-04-05 Simon Josefsson <simon@josefsson.org>
38044
38045 [BZ #12340]
38046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38047 EINVAL when BUFLEN is too smal.
38048
c3b1bf7d
TS
380492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38050
38051 [BZ #13553]
38052 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38053 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38054
b1aa60f3
AJ
380552012-04-03 Andreas Jaeger <aj@suse.de>
38056
c3b1bf7d 38057 [BZ #13938]
67f60a26
AJ
38058 * manual/setjmp.texi (System V contexts): Fix sentence.
38059
b1aa60f3
AJ
38060 [BZ #13926]
38061 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38062 New macro for this case.
38063 [!__GNUC__] (__bswap_64): New inline function for this case.
38064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38065 * bits/byteswap.h: Likewise.
38066 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38067 ull, guard with __GLIBC_HAVE_LONG_LONG.
38068
38069 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38070 __GLIBC_HAVE_LONG_LONG.
38071
38072 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38073 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38074
39c59c35
TMQMF
380752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38076
38077 [BZ #13691]
38078 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38079 inptr and inend, rather than using last_ch.
38080
135ffda8
DM
380812012-04-02 David S. Miller <davem@davemloft.net>
38082
38083 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38084 * stdio-common/printf-parse.h (read_int): Change return type to
38085 'int', return -1 on INT_MAX overflow.
38086 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38087 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38088 overflows INT_MAX. Check for overflow of in-format-string precision
38089 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38090 SIZE_MAX not INT_MAX for integer overflow test.
38091 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38092 skip the construct in the format string but do not record anything.
38093 * stdio-common/bug22.c: Adjust to test both width/prevision
38094 INT_MAX overflow as well as total length INT_MAX overflow. Check
38095 explicitly for proper errno values.
38096
228c019e
TS
380972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38098
302cadd3
TS
38099 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38100 CHAR_MAX.
38101 * string/test-strcmp.c [! WIDE]: Likewise.
38102 * time/tst-mktime2.c: Likewise for INT_MAX.
38103 * string/test-string.h: #include <sys/param.h> for MIN.
38104
228c019e
TS
38105 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38106 * sysdeps/i386/init-first.c (init): Likewise.
38107 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38108 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38109 * sysdeps/sh/init-first.c (init): Likewise.
38110
cfa633f5
UD
381112012-04-01 Ulrich Drepper <drepper@gmail.com>
38112
38113 * po/ru.po: Update from translation team.
d1635ef8 38114 * po/vi.po: Likewise.
cfa633f5 38115
6cd0a5ea
SP
381162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38117
38118 * resolv/nss_dns/dns-host.c: Merge copyright years.
38119
4b43400f
LD
381202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38121
38122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38123 Optimize memcpy with prefetch if
38124 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38125 src, dst pointers have unequal 16 byte alignments.
38126
48c41d04
SP
381272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38128
38129 [BZ #13928]
38130 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38131 from a CNAME entry and return the minimum ttl for the query.
38132 (gaih_getanswer_slice): Likewise.
38133
b8dc394d
JL
381342012-03-30 Jeff Law <law@redhat.com>
38135
38136 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38137 due to long keys.
38138 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38139 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38140
2f5a5ed0
JL
38141 * resolv/nss_dns/dns-host.c: Update copyright year.
38142
1d39e359
UD
381432012-03-30 Ulrich Drepper <drepper@gmail.com>
38144
c030f70c 38145 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38146 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38147
1d39e359
UD
38148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38149 comments for sendmmsg.
38150
381512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38152
38153 [BZ #13691]
38154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38155 with only 1 character between 0x0041 and 0x01b0.
38156 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38157 * wcsmbs/tst-mbsnrtowcs.c: New file.
38158
20fde227
DM
381592012-03-29 David S. Miller <davem@davemloft.net>
38160
38161 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38162 small copies by hand.
38163
984a4237
JL
381642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38165
38166 [BZ #13761]
57f41c40
AS
38167 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38168 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38169 group memberships.
984a4237 38170
18c9d62b
DM
381712012-03-28 David S. Miller <davem@davemloft.net>
38172
88d85d4f
DM
38173 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38174 that branches into memcpy.
38175 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38180 bits.
38181 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38182 implementation too.
38183 * sysdeps/sparc/mempcpy.S: New file.
38184
e5aa83e1
DM
38185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38186 the IFUNC routine in the libc case.
38187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38188
88570753
DM
38189 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38191 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38192 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38193 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38194 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38195 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38196 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38197
249d7567
DM
38198 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38199 loop to 256 bytes instead of 64 bytes and fix test signedness.
38200
18c9d62b
DM
38201 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38202 * sysdeps/sparc/sparc32/Makefile: rather than here...
38203 * sysdeps/sparc/sparc64/Makefile: and here.
38204
05f3d1f6
UD
382052012-03-28 Ulrich Drepper <drepper@gmail.com>
38206
38207 * malloc/mallocbug.c: Avoid warnings about unused variables.
38208
86ae07a8
JL
382092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38210
38211 [BZ #13760]
38212 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38213 in the right place. Discard and retry query if response is
38214 larger than input buffer size.
38215
41bf21a1
JM
382162012-03-28 Joseph Myers <joseph@codesourcery.com>
38217
d6270972
JM
38218 [BZ #369]
38219 [BZ #2678]
38220 [BZ #3866]
38221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38222 x for large integer exponent.
38223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38225 sign of result as needed afterwards.
38226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38228 result for underflowing pow the same as for overflow.
38229 (__kernel_standard_l): Handle powl overflow and underflow here
38230 rather than calling __kernel_standard.
38231 * math/libm-test.inc (pow_test): Add more tests.
38232
414fca03 38233 [BZ #3868]
41bf21a1
JM
38234 [BZ #13879]
38235 [BZ #13910]
38236 [BZ #13911]
38237 [BZ #13912]
38238 [BZ #13913]
38239 [BZ #13915]
38240 [BZ #13916]
38241 [BZ #13917]
38242 [BZ #13918]
38243 [BZ #13919]
38244 [BZ #13920]
38245 [BZ #13921]
38246 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38247 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38248 (__kernel_standard_l): New function.
38249 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38250 __kernel_standard.
38251 * math/w_acosl.c (__acosl): Likewise.
38252 * math/w_asinl.c (__asinl): Likewise.
38253 * math/w_atan2l.c (__atan2l): Likewise.
38254 * math/w_atanhl.c (__atanhl): Likewise.
38255 * math/w_coshl.c (__coshl): Likewise.
38256 * math/w_exp10l.c (__exp10l): Likewise.
38257 * math/w_exp2l.c (__exp2l): Likewise.
38258 * math/w_fmodl.c (__fmodl): Likewise.
38259 * math/w_hypotl.c (__hypotl): Likewise.
38260 * math/w_j0l.c (__j0l, __y0l): Likewise.
38261 * math/w_j1l.c (__j1l, __y1l): Likewise.
38262 * math/w_jnl.c (__jnl, __ynl): Likewise.
38263 * math/w_lgammal.c (__lgammal): Likewise.
38264 * math/w_log10l.c (__log10l): Likewise.
38265 * math/w_log2l.c (__log2l): Likewise.
38266 * math/w_logl.c (__logl): Likewise.
38267 * math/w_powl.c (__powl): Likewise.
38268 * math/w_remainderl.c (__remainderl): Likewise.
38269 * math/w_scalbl.c (sysv_scalbl): Likewise.
38270 * math/w_sinhl.c (__sinhl): Likewise.
38271 * math/w_sqrtl.c (__sqrtl): Likewise.
38272 * math/w_tgammal.c (__tgammal): Likewise.
38273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38274 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38275 * math/libm-test.inc (acos_test): Add more tests.
38276 (acosh_test): Likewise.
38277 (asin_test): Likewise.
38278 (atanh_test): Likewise.
38279 (exp_test): Likewise.
38280 (exp10_test): Likewise.
38281 (exp2_test): Likewise.
38282 (expm1_test): Likewise.
38283 (lgamma_test): Likewise.
38284 (log_test): Likewise.
38285 (log10_test): Likewise.
38286 (log1p_test): Likewise.
38287 (log2_test): Likewise.
38288 (pow_test): Do not allow some spurious overflow exceptions.
38289 (sqrt_test): Add more tests.
38290 (tgamma_test): Likewise.
38291 (y0_test): Likewise.
38292 (y1_test): Likewise.
38293 (yn_test): Likewise.
38294
dd62fda6
AB
382952012-03-27 Anton Blanchard <anton@samba.org>
38296
38297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38298 MAP_HUGETLB.
38299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38302
1e3cdfda
AJ
383032012-03-27 David S. Miller <davem@davemloft.net>
38304
b855ab85
DM
38305 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38306
1e3cdfda
AJ
38307 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38308 have-as-vis3 check.
38309
383102012-03-27 Andreas Jaeger <aj@suse.de>
38311
38312 * sysdeps/x86_64/elf/configure.in: Moved to ...
38313 * sysdeps/x86_64/configure.in: ... here.
38314 * sysdeps/x86_64/elf/start.S: Moved to ...
38315 * sysdeps/x86_64/start.S: ... here.
38316 * sysdeps/x86_64/elf/configure: Delete.
38317
38318 * sysdeps/x86_64/configure.in: Merge contents from
38319 sysdeps/i386/configure.in (without i686 check).
38320
38321 * sysdeps/i386/elf/Versions: Merge into ...
38322 * sysdeps/i386/Versions: ... this.
38323 * sysdeps/i386/elf/Versions: Delete file.
38324 * sysdeps/i386/elf/start.S: Moved to ...
38325 * sysdeps/i386/start.S: ...here.
38326 * sysdeps/i386/elf/configure.in: Merge into...
38327 * sysdeps/i386/configure.in: ...here.
38328 * sysdeps/i386/elf/configure.in: Delete file.
38329 * sysdeps/i386/elf/configure: Delete file.
38330
38331 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38332 * debug/backtracesyms.c: ... here.
38333 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38334 * debug/backtracesymsfd.c: ... here.
38335 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38336 * sysdeps/generic/ifunc-sel.h: ... here.
38337
38338 * sysdeps/unix/i386/start.c: Delete file.
38339 * sysdeps/unix/sparc/start.c: Delete file.
38340 * sysdeps/unix/start.c: Delete file.
38341
38342 * sysdeps/sh/elf/configure.in: Moved to ...
38343 * sysdeps/sh/configure.in: ... here.
38344 * sysdeps/sh/elf/start.S: Moved to ...
38345 * sysdeps/sh/start.S: ... here.
38346 * sysdeps/sh/elf/configure: Delete file.
38347
38348 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38349 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38350 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38351 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38352 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38353 * sysdeps/powerpc/powerpc64/start.S: here.
38354 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38355 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38356 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38357 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38358 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38359
38360 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38361 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38362 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38363 * sysdeps/powerpc/powerpc32/start.S: ... here.
38364 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38365 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38366 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38367
38368 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38369 * sysdeps/powerpc/ifunc-sel.h: ... here.
38370 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38371 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38372
38373 * sysdeps/sparc/elf/configure.in: Moved to ...
38374 * sysdeps/sparc/configure.in: ... here.
38375 * sysdeps/sparc/elf/configure: Delete file.
38376 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38377 * sysdeps/sparc/sparc32/start.S: ... here.
38378 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38379 * sysdeps/sparc/sparc64/start.S: ... here.
38380 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38381 * sysdeps/sparc/sparc32/Makefile: ... this.
38382 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38383 * sysdeps/sparc/sparc64/Makefile: ... this.
38384
38385 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38386 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38387 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38388 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38389 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38390 * sysdeps/s390/s390-32/setjmp.S: ... here.
38391 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38392 * sysdeps/s390/s390-32/configure.in: ... here.
38393 * sysdeps/s390/s390-32/elf/configure: Delete file.
38394 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38395 * sysdeps/s390/s390-32/start.S: ... here.
38396
38397 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38398 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38399 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38400 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38401 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38402 * sysdeps/s390/s390-64/setjmp.S: ... here.
38403 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38404 * sysdeps/s390/s390-64/configure.in: ... here
38405 * sysdeps/s390/s390-64/elf/configure: Delete file.
38406 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38407 * sysdeps/s390/s390-64/start.S: ... here.
38408 * sysdeps/s390/s390-64/elf/configure: Delete.
38409
38410 * configure.in: Remove support for elf directories in sysdeps.
38411
38412 * configure: Regenerated.
38413 * sysdeps/i386/configure: Regenerated.
38414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38416 * sysdeps/s390/s390-32/configure: Regenerated.
38417 * sysdeps/s390/s390-64/configure: Regenerated.
38418 * sysdeps/sh/configure: Regenerated.
38419 * sysdeps/sparc/configure: Regenerated.
38420 * sysdeps/x86_64/configure: Regenerated.
38421
a3f61311
AS
384222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38423
c876e002
AS
38424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38425
a3f61311
AS
38426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38427 denormal result into account.
38428
ac4c54f0
RM
384292012-03-25 Roland McGrath <roland@hack.frob.com>
38430
38431 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38432 Reported by Allan McRae <allan@archlinux.org>.
38433
6a9b9c02
JL
384342012-03-23 Jeff Law <law@redhat.com>
38435
38436 * nss/getnssent.c (__nss_getent): Fix typo.
38437
4c42a0c1
DM
384382012-03-23 David S. Miller <davem@davemloft.net>
38439
38440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38441
1532c7ac
L
384422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38443
38444 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38445 to pad to uint64_t for each field.
38446 (dl_tls_index): Replace unsigned long with uint64_t.
38447
3ff42526
PP
384482012-03-23 Daniel Jacobowitz <dmj@google.com>
38449 Paul Pluzhnikov <ppluzhnikov@google.com>
38450
38451 [BZ #6528]
38452 * grp/Makefile (otherlibs): Don't set it.
38453 * inet/Makefile (otherlibs): Likewise.
38454 * login/Makefile (otherlibs): Likewise.
38455 * nscd/Makefile (otherlibs): Likewise.
38456 * posix/Makefile (otherlibs): Likewise.
38457 * pwd/Makefile (otherlibs): Likewise.
38458 * rt/Makefile (otherlibs): Likewise.
38459 * sunrpc/Makefile (otherlibs): Likewise.
38460 * nss/Makefile (otherlibs): Likewise.
38461 Add libnss_files to routines and static-only-routines.
38462 ($(objpfx)getent): Remove rule.
38463 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38464 static-only-routines.
38465
7c69cd14
JM
384662012-03-22 Joseph Myers <joseph@codesourcery.com>
38467
38468 [BZ #13892]
38469 * math/s_cexp.c: Include <float.h>.
38470 (__cexp): Handle exp result overflowing not necessarily
38471 overflowing both real and imaginary parts of result.
38472 * math/s_cexpf.c: Likewise.
38473 * math/s_cexpl.c: Likewise.
38474 * math/libm-test.inc (cexp_test): Add more tests.
38475 * sysdeps/i386/fpu/libm-test-ulps: Update.
38476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38477
81b035fe
L
384782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38479
38480 * include/link.h (ELFW): New macro.
38481 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38482 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38483
1da7940c
L
384842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38485
38486 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38487 with uint64_t.
38488
b749dbb9
L
384892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38490
38491 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38492 declaration.
38493 (struct La_x32_retval): Likewise.
38494
2ff87f3f
L
384952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38496
38497 * sysdeps/x86_64/preconfigure.in: New file.
38498 * sysdeps/x86_64/preconfigure: New generated file.
38499
c0df8e69
JM
385002012-03-22 Joseph Myers <joseph@codesourcery.com>
38501
48e44791
JM
38502 [BZ #13824]
38503 * math/e_exp2l.c: Include <float.h>.
38504 (__ieee754_exp2l): Handle overflow and underflow cases
38505 separately. Only pass fractional part of argument to
38506 __ieee754_expl.
38507 * math/libm-test.inc (exp2_test): Add more tests.
38508
c0df8e69
JM
38509 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38510 negating x to take absolute value.
38511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38512 Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38515 Likewise.
38516 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38517 computing low part if x was negated.
38518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38519
c8e43ba7
L
385202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38521
38522 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38523 la_x32_gnu_pltexit.
38524 (pltexit): Cast int_retval to ptrdiff_t.
38525 * elf/tst-auditmod3b.c: Likewise.
38526 * elf/tst-auditmod4b.c: Likewise.
38527 * elf/tst-auditmod5b.c: Likewise.
38528 * elf/tst-auditmod6b.c: Likewise.
38529 * elf/tst-auditmod6c.c: Likewise.
38530 * elf/tst-auditmod7b.c: Likewise.
38531
38532 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38533 and x32_gnu_pltexit.
38534
38535 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38536 __ELF_NATIVE_CLASS.
38537 (La_x32_regs): New macro.
38538 (La_x32_retval): Likewise.
38539 (la_x32_gnu_pltenter): New function prototype.
38540 (la_x32_gnu_pltexit): Likewise.
38541
7998fa78
AS
385422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38543
dcb33988
AS
38544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38545 exponent.
38546
233fc563
AS
38547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38548
7998fa78
AS
38549 * configure.in (libc_cv_cc_nofma): Check for option to disable
38550 generation of FMA instructions.
38551 * configure: Regenerate.
38552 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38553 * sysdeps/ieee754/dbl-64/Makefile: New file.
38554 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38555 Remove brandred-fma4.
38556 (CFLAGS-brandred-fma4.c): Remove.
38557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38559 define.
38560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38561 define.
38562
8e95c99a
L
385632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38564
38565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38566 LLONG_MAX != LONG_MAX.
38567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38568 (_fitoa_word): Likewise.
38569 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38570 LLONG_MAX != LONG_MAX.
38571 * stdio-common/_itowa.h: Include <_itoa.h>.
38572 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38573 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38574 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38575 only if not defined.
38576 (_ITOA_WORD_TYPE): Likewise.
38577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38578 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38579
6f4db457
DM
385802012-03-21 David S. Miller <davem@davemloft.net>
38581
38582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38583
7785fe5a
L
385842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38585
38586 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38587 of x86_64 when setting libc_cv_slibdir, libdir and
38588 libc_cv_localedir.
38589 * sysdeps/unix/sysv/linux/configure: Regenerated.
38590
4535cd55
JM
385912012-03-21 Joseph Myers <joseph@codesourcery.com>
38592
38593 * manual/lang.texi (Old Varargs): Remove section.
38594 (How Variadic): Update menu.
38595 (va_start): Do not mention varargs.h.
38596
17228132
TS
385972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38598 Joseph Myers <joseph@codesourcery.com>
38599
38600 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38601 link test.
38602 * configure: Regenerated.
38603
8149f976
TS
386042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38605
05f3d1f6
UD
38606 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38607 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38608 conformtest.pl
8149f976 38609
1a4ac776
JM
386102012-03-21 Joseph Myers <joseph@codesourcery.com>
38611
be22ce65
JM
38612 * NOTES: Remove.
38613 * Makefile (files-for-dist): Remove NOTES.
38614 (NOTES): Remove rule.
38615 * README: Don't refer to NOTES.
38616 * manual/creature.texi: Don't include macros.texi.
38617 * manual/intro.texi (creature.texi): Remove comment referring to
38618 NOTES.
38619
40b601fb
JM
38620 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38621 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38622 * configure: Regenerated.
38623 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38624 LIBC_TRY_CC_OPTION.
38625 (libc_cv_as_i686): Likewise.
38626 (libc_cv_cc_avx): Likewise.
38627 (libc_cv_cc_sse2avx): Likewise.
38628 (libc_cv_cc_fma4): Likewise.
38629 (libc_cv_cc_novzeroupper): Likewise.
38630 * sysdeps/i386/configure: Regenerated.
38631
1a4ac776
JM
38632 [BZ #13883]
38633 * sysdeps/i386/fpu/s_cexp.S: Remove.
38634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38635 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38636 * math/libm-test.inc (cexp_test): Add more tests.
38637 * sysdeps/i386/fpu/libm-test-ulps: Update.
38638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38639
a458e7fe
AM
386402012-03-21 Allan McRae <allan@archlinux.org>
38641
38642 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38643
0cb7efc5
JM
386442012-03-21 Joseph Myers <joseph@codesourcery.com>
38645
38646 [BZ #13871]
38647 * math/w_exp2.c: Do not include <float.h>.
38648 (o_threshold, u_threshold): Remove.
38649 (__exp2): Calculate result before checking finiteness and calling
38650 __kernel_standard.
38651 * math/w_exp2f.c: Likewise.
38652 * math/w_exp2l.c: Likewise.
38653 * math/libm-test.inc (exp2_test): Require overflow exception for
38654 1e6 input.
2460d3aa
JM
38655
38656 [BZ #3866]
38657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38658 range of signed 64-bit integers before using fistpll. Remove
38659 checks for whether integers fit in mantissa bits.
38660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38661 the range of signed 32-bit integers before using fistpl. Remove
38662 checks for whether integers fit in mantissa bits.
38663 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38664 (__ieee754_powl): Test for y outside the range of signed 64-bit
38665 integers before using fistpll. Reduce 64-bit values to 63-bit
38666 ones as needed.
38667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38668 divide-by-zero is raised for zero to large negative powers.
38669 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38670 (__ieee754_powl): Test for y outside the range of signed 64-bit
38671 integers before using fistpll. Reduce 64-bit values to 63-bit
38672 ones as needed.
38673 * math/libm-test.inc (pow_test): Add more tests.
38674
eb96ffb0
L
386752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38676
38677 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38678 <stdio-common/_itoa.h>.
38679 * debug/segfault.c: Likewise.
38680 * elf/dl-cache.c: Likewise.
38681 * elf/dl-minimal.c: Likewise.
38682 * elf/dl-misc.c: Likewise.
38683 * elf/dl-sysdep.c: Likewise.
38684 * elf/dl-version.c: Likewise.
38685 * elf/rtld.c: Likewise.
38686 * hurd/hurdsock.c: Likewise.
38687 * hurd/lookup-retry.c: Likewise.
38688 * malloc/malloc.c: Likewise.
38689 * malloc/mtrace.c: Likewise.
38690 * nscd/nscd_getgr_r.c: Likewise.
38691 * nscd/nscd_getpw_r.c: Likewise.
38692 * nscd/nscd_getserv_r.c: Likewise.
38693 * posix/getopt_init.c: Likewise.
38694 * posix/wordexp.c: Likewise.
38695 * stdio-common/_itoa.c: Likewise.
38696 * stdio-common/printf_fphex.c: Likewise.
38697 * stdio-common/vfprintf.c: Likewise.
38698 * string/_strerror.c: Likewise.
38699 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38700 * sysdeps/i386/i686/hp-timing.h: Likewise.
38701 * sysdeps/mach/_strerror.c: Likewise.
38702 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38703 * sysdeps/mach/hurd/sethostid.c: Likewise.
38704 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38705 * sysdeps/mach/xpg-strerror.c: Likewise.
38706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38708 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38709 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38711 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38713 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38714 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38715 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38716 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38717 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38718 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38720 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38722 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38723 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38726 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38727
38728 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38729
38730 * stdio-common/_itoa.h: Moved to ...
38731 * sysdeps/generic/_itoa.h: Here.
38732
38733 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38734
38735 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38736 instead of "_itoa.h" and "_itowa.h".
38737 * stdio-common/vfprintf.: Likewise.
38738
d1af992d
L
387392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38740
38741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38742 <bits/wordsize.h>.
38743 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38744 (__signbit): Likwise.
38745 (llrintf): Likwise.
38746 (llrint): Likwise.
38747
114883e0
L
387482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38749
38750 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38751 __WORDSIZE != 64.
38752
c135cc1b
JM
387532012-03-20 Joseph Myers <joseph@codesourcery.com>
38754
38755 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38756 OVERFLOW_EXCEPTION_OK.
38757 * math/libm-test.inc ("Philosophy"): Update comment about
38758 exception testing.
38759 (OVERFLOW_EXCEPTION): Define.
38760 (OVERFLOW_EXCEPTION_OK): Likewise.
38761 (INVALID_EXCEPTION_OK): Renumber.
38762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38763 (IGNORE_ZERO_INF_SIGN): Likewise.
38764 (test_exceptions): Handle FE_OVERFLOW.
38765 (exp10_test): Expect overflow exceptions.
38766 (exp2_test): Likewise.
38767 (expm1_test): Likewise.
38768 (nextafter_test): Likewise.
38769 (pow_test): Likewise.
38770 (scalbn_test): Likewise.
38771 (scalbln_test): Likewise.
38772
95443d88
L
387732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38774
38775 * sysdeps/x86_64/bits/atomic.h
38776 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38777 64bit integer.
38778 (atomic_exchange_acq): Likewise.
38779 (__arch_exchange_and_add_body): Likewise.
38780 (__arch_add_body): Likewise.
38781 (atomic_add_negative): Likewise.
38782 (atomic_add_zero): Likewise.
38783
490df6c4
L
387842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38785
c2722551 38786 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38787 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38788
5e52b189
L
387892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38790
38791 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38792 Check __x86_64__ instead of __WORDSIZE.
38793
a9879d4c
L
387942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38795
38796 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38797
5df98260
DM
387982012-03-19 David S. Miller <davem@davemloft.net>
38799
e1497744
DM
38800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38801
5df98260
DM
38802 * sysdeps/sparc/fpu/fenv_private.h: New file.
38803 * sysdeps/sparc/fpu/math_private.h: Use it.
38804 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38805 Remove.
57f41c40 38806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38807 (libc_feholdexcept_setroundl): Remove.
38808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38809 Remove.
38810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38812
b4c35121
L
388132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38814
38815 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38816 int64_t instead of long int.
38817 (INSERT_WORDS64): Likwise.
38818
56965fd7
L
388192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38820
38821 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38822 _Unwind_GetCFA return to _Unwind_Ptr first.
38823
83d1aec8
JM
388242012-03-19 Joseph Myers <joseph@codesourcery.com>
38825
1897ad44
JM
38826 [BZ #13629]
38827 * math/s_clog.c: Include <float.h>.
38828 (__clog): Scale large or subnormal inputs.
38829 * math/s_clogf.c: Likewise.
38830 * math/s_clogl.c: Likewise.
38831 * math/s_clog10.c: Include <float.h>.
38832 (M_LOG10_2): Define.
38833 (__clog10): Scale large or subnormal inputs.
38834 * math/s_clog10f.c: Likewise.
38835 * math/s_clog10l.c: Likewise.
38836 * math/libm-test.inc (clog_test): Add more tests.
38837 (clog10_test): Likewise.
38838 * sysdeps/i386/fpu/libm-test-ulps: Update.
38839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38840
7726d6a9
JM
38841 [BZ #11451]
38842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38843 x and y.
38844 * math/libm-test.inc (atan2_test): Add another test.
38845
83d1aec8
JM
38846 * Makerules (common-objdir-compile): Remove.
38847 * sysdeps/unix/Makefile (config-generated): Do not add
38848 $(unix-generated) to variable.
38849 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38850 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38851 Remove rule.
38852 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38853 Likewise.
38854 [generic bits/local_lim.h] (before-compile): Do not append to
38855 variable.
38856 [generic bits/local_lim.h] (common-generated): Likewise.
38857 [generic sys/param.h] (before-compile): Do not append to variable.
38858 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38859 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38860 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38861 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38862 include.
38863 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38864 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38865 [generic sys/param.h] ($(addprefix
38866 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38867 [generic sys/param.h] (common-generated): Do not append to
38868 variable.
38869 [generic sys/param.h] (sysdep_headers): Likewise.
38870 [generic bits/errno.h] (before-compile): Do not append to
38871 variable.
38872 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38873 rule.
38874 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38875 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38876 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38877 [generic bits/errno.h] (common-generated): Do not append to
38878 variable.
38879 [generic bits/ioctls.h] (before-compile): Do not append to
38880 variable.
38881 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38882 rule.
38883 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38884 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38886 rule.
38887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38888 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38889 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38890 [generic bits/ioctls.h] (common-generated): Do not append to
38891 variable.
38892 [generic sys/syscall.h] (syscall.h): Remove variable.
38893 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38894 rule.
38895 [generic sys/syscall.h] (before-compile): Do not append to
38896 variable.
38897 [generic sys/syscall.h] (common-generated): Likewise.
38898 * sysdeps/unix/errnos-tmpl.c: Remove file.
38899 * sysdeps/unix/errnos.awk: Likewise.
38900 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38901 * sysdeps/unix/ioctls.awk: Likewise.
38902 * sysdeps/unix/mk-local_lim.c: Likewise.
38903 * sysdeps/unix/snarf-ioctls: Likewise.
38904
4851a949
RH
389052012-03-19 Richard Henderson <rth@twiddle.net>
38906
bd37f2ee
RH
38907 * sysdeps/i386/fpu/fenv_private.h: New file.
38908 * sysdeps/i386/fpu/math_private.h: Use it.
38909 (math_opt_barrier, math_force_eval): Remove.
38910 (libc_feholdexcept_setround_53bit): Remove.
38911 (libc_feupdateenv_53bit): Remove.
38912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38913 (math_opt_barrier, math_force_eval): Remove.
38914 (libc_feholdexcept): Remove.
38915 (libc_feholdexcept_setround): Remove.
38916 (libc_fetestexcept, libc_fesetenv): Remove.
38917 (libc_feupdateenv_test): Remove.
38918 (libc_feupdateenv, libc_feholdsetround): Remove.
38919 (libc_feresetround): Remove.
38920
d0adc922
RH
38921 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38922 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38923
0fe0f1f8
RH
38924 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38925 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38926 (libc_feupdateenv_testl): New.
38927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38928 (libc_feupdateenv_testf): New.
38929 (libc_feupdateenv): Use libc_feupdateenv_test.
38930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38931 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38932
eb92c487
RH
38933 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38934 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38935 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38936 (libc_feresetround_noex): New.
38937 (libc_feresetround_noexf): New.
38938 (libc_feresetround_noexl): New.
38939 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38940 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38941 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38943 SET_RESTORE_ROUND.
38944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38946 (__cos): Likewise.
38947 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38949 SET_RESTORE_ROUND_NOEX.
38950 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38951 SET_RESTORE_ROUND_NOEXF.
38952 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38953 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38954 (libc_feholdsetroundf): New.
38955 (libc_feresetround, libc_feresetroundf): New.
38956
7d2e8012
RH
38957 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38958 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38959 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38960
b4dabbb4
RH
38961 * sysdeps/generic/math_private.h: Include <fenv.h>.
38962 (default_libc_feholdexcept): New.
38963 (default_libc_feholdexcept_setround): New.
38964 (default_libc_fesetenv, default_libc_feupdateenv): New.
38965 (libc_feholdexcept): Only define if undefined.
38966 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38968 (libc_feholdexcept_setroundl): Likewise.
38969 (libc_feholdexcept_setround_53bit): Likewise.
38970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38973 (libc_feupdateenv_53bit): Likewise.
38974 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38975 (libc_feholdexcept): Convert from macro to inline function.
38976 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38977 (libc_fesetenv, libc_feupdateenv): Likewise.
38978
4851a949
RH
38979 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38980 not previously defined.
38981 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38982 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38983 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38984 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38985 * sysdeps/ieee754/flt-32/math_private.h: New file.
38986 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38987 math_private.h below SET_FLOAT_WORD.
38988 (__isnan, __isinf_ns, __finite): Remove.
38989 (__isnanf, __isinf_nsf, __finitef): Remove.
38990
e79d442e
AS
389912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38992
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38994
90b80344
DM
389952012-03-17 David S. Miller <davem@davemloft.net>
38996
38997 [BZ #6471]
38998 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38999 for 2.16.
39000
edc21804
DM
390012012-03-16 David S. Miller <davem@davemloft.net>
39002
77e927af
DM
39003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39004 warnings.
39005
374976dd
DM
39006 [BZ #6471]
39007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39008 properly.
39009 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39010 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39011 sysdep_routines when subdir is sysvipc.
39012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39013 __getshmlba helper.
39014
edc21804
DM
39015 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39016
473c3ef3
L
390172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39018
39019 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39020 [__LP64__].
39021
eb0f39b6
L
390222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39023
39024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39025 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39026 (__lround): Renamed to ...
39027 (__llround): This. Replace long int with long long int.
39028 Define lround functions as aliases of llround functions.
39029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39030
6b6cd74b
L
390312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39032
39033 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39034 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39035 adresses to uintptr_t. Replace "long int" and "unsigned long
39036 int" with "greg_t" on va_arg.
39037
f1a77b01
L
390382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39039
39040 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39041 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39042
39043 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39044 Move e_machine check before EI_CLASS check. Handle x32
39045 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39046 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39047 SKIP_EM_IA_64 and include
39048 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39049
39050 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39051 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39052 (add_system_dir): New macro.
39053
39054 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39055 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39056
11b90b9f
JM
390572012-03-16 Joseph Myers <joseph@codesourcery.com>
39058
c36e1d23
JM
39059 [BZ #2551]
39060 [BZ #2552]
39061 [BZ #2553]
39062 [BZ #2554]
39063 [BZ #2562]
39064 [BZ #2563]
39065 [BZ #2565]
39066 [BZ #2566]
39067 [BZ #2576]
39068 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39069 (y0): Likewise.
39070 * math/w_j0f.c (j0f): Likewise.
39071 (y0f): Likewise.
39072 * math/w_j0l.c (__j0l): Likewise.
39073 (__y0l): Likewise.
39074 * math/w_j1.c (j1): Likewise.
39075 (y1): Likewise.
39076 * math/w_j1f.c (j1f): Likewise.
39077 (y1f): Likewise.
39078 * math/w_j1l.c (__j1l): Likewise.
39079 (__y1l): Likewise.
39080 * math/w_jn.c (jn): Likewise.
39081 (yn): Likewise.
39082 * math/w_jnf.c (jnf): Likewise.
39083 (ynf): Likewise.
39084 * math/w_jnl.c (__jnl): Likewise.
39085 (__ynl): Likewise.
39086 * math/libm-test.inc (j0_test): Add more tests.
39087 (j1_test): Likewise.
39088 (jn_test): Likewise. Add trailing semicolon to existing test.
39089 (y0_test): Likewise.
39090 (y1_test): Likewise.
39091 * sysdeps/i386/fpu/libm-test-ulps: Update.
39092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39093
11b90b9f
JM
39094 [BZ #13851]
39095 [BZ #13854]
39096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39097 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39098 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39100 (__tanl): Set errno for infinite argument.
39101 * sysdeps/i386/fpu/mptan.c: Remove.
39102 * sysdeps/i386/fpu/s_tan.S: Likewise.
39103 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39104 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39105 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39106 * math/libm-test.inc (tan_test): Add more tests and enable more
39107 tests for double and long double.
39108 * sysdeps/i386/fpu/libm-test-ulps: Update.
39109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39110
6a1bd2a1
JK
391112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39112
39113 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39114 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39115
10a803e0
RM
391162012-03-16 Roland McGrath <roland@hack.frob.com>
39117
39118 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39119 * configure.in: Use it for both main tree and add-ons.
39120 * configure: Regenerated.
39121
f196c7f7
L
391222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39123
39124 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39125
8848d99d
JM
391262012-03-16 Joseph Myers <joseph@codesourcery.com>
39127
96cbe7f4
JM
39128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39129 in comment.
39130
8848d99d
JM
39131 [BZ #13851]
39132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39133 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39137 infinite argument.
39138 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39140 != 0 for prec == 2.
39141 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39142 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39143 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39144 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39145 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39146 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39147 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39148 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39149 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39150 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39151 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39152 * math/libm-test.inc (cos_test): Add more tests and enable more
39153 tests for long double.
39154 (sin_test): Likewise.
39155 (sincos_test): Likewise.
39156 * sysdeps/i386/fpu/libm-test-ulps: Update.
39157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39158
dd7f4703
DM
391592012-03-16 David S. Miller <davem@davemloft.net>
39160
39161 * sysdeps/sparc/fpu/math_private.h: New file.
39162
006f1daa
DM
391632012-03-15 David S. Miller <davem@davemloft.net>
39164
c0c83bc8
DM
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39166 file.
e6a62e18 39167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39169 file.
e6a62e18
DM
39170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39176 sysdep routines.
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39178
88cb87d9
DM
39179 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39180 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39181
006f1daa 39182 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39184 sparc-ifunc.h
006f1daa 39185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39187 Likewise.
39188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39189 Likewise.
006f1daa
DM
39190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39194 Likewise.
006f1daa
DM
39195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39200 Likewise.
39201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39202 Likewise.
006f1daa
DM
39203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39227
11e0098e
AS
392282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39229
39230 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39231 scaling.
39232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39233
e85b09d0
AJ
392342012-03-15 Andreas Jaeger <aj@suse.de>
39235
39236 [BZ #13852]
39237 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39238 ieee754/flt-32 implementation for sin, cos and sincos.
39239 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39240 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39241 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39242 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39243 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39244 ieee754/flt-32 implementation for tan.
39245
39246 * math/libm-test.inc (cos_test): Enable some large input tests for
39247 float as well
39248 (sin_test): Likewise.
39249 (sincos_test): Likewise.
39250 (tan_test): Add tests for large input.
39251
39252 * sysdeps/i386/fpu/libm-test-ulps: Update.
39253
81c64153
AJ
392542012-03-15 Andreas Jaeger <aj@suse.de>
39255
39256 [BZ #13658]
39257 * math/libm-test.inc (cos_test): Add more test cases.
39258 (sin_test): Likewise.
39259 (sincos_test): Likewise.
39260
7bbfa5c6
AJ
392612012-03-15 Andreas Jaeger <aj@suse.de>
39262
39263 [BZ #13837]
39264 * math/libm-test.inc (cos_test): Add a test case for large input
39265 value.
39266 (sin_test): Likewise.
39267 (sincos_test): Likewise.
39268
57f41c40
AS
392692012-03-15 Andreas Jaeger <aj@suse.de>
39270 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39271
39272 [BZ #13658]
0671f479 39273 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39274 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39275 * sysdeps/i386/fpu/branred.c: Likewise.
39276 * sysdeps/i386/fpu/dosincos.c: Likewise.
39277 * sysdeps/i386/fpu/mpa.c: Likewise.
39278 * sysdeps/i386/fpu/s_cos.S: Likewise.
39279 * sysdeps/i386/fpu/s_sin.S: Likewise.
39280 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39281 * sysdeps/i386/fpu/sincos32.c: Likewise.
39282
39283 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39284 Define.
39285 (libc_feupdateenv_53bit): Define.
39286 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39287 Define.
39288 (libc_feupdateenv_53bit): Define.
39289
39290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39291 53 bit (without extend i386 double precision).
39292
39293 * math/libm-test.inc (sincos_test): Add tests for large input.
39294 (sin): Likewise.
39295 (cos): Likewise.
39296
39297 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39298
9cad04ea
AS
392992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39300
39301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39302
f7062b9a
DM
393032012-03-15 David S. Miller <davem@davemloft.net>
39304
39305 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39306 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39307 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39308 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39321 file.
f7062b9a 39322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39324 file.
f7062b9a 39325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39327 file.
f7062b9a 39328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39330 file.
f7062b9a
DM
39331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39333 fmin/fmax sysdep routines.
39334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39335
7bd951ff
DM
393362012-03-14 David S. Miller <davem@davemloft.net>
39337
559398ab
DM
39338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39367 routines.
39368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39369 file.
559398ab 39370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39372 file.
559398ab 39373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39375 file.
559398ab 39376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39378 file.
559398ab 39379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39381 file.
559398ab 39382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39384 file.
39385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39386 file.
39387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39388 file.
39389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39390 file.
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39392 New file.
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39394 file.
39395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39396 file.
559398ab 39397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39399 file.
559398ab 39400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39402 file.
559398ab 39403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39405 file.
559398ab 39406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39408 VIS3 routines.
559398ab
DM
39409
39410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39411 New file.
39412
5a1c1e32
DM
39413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39414
eae47a36
DM
39415 * sysdeps/sparc/configure.in: New file.
39416 * sysdeps/sparc/configure: Generate.
39417 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39418 * configure: Regenerate.
39419 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39420 * config.make.in (have-as-vis3): New.
39421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39422 available use -Av9d instead of -Av9a.
39423 * sysdeps/sparc/sparc64/Makefile: Likewise.
39424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39426 New file.
39427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39428 file.
39429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39430 New file.
39431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39432 file.
eae47a36
DM
39433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39438
c0c83bc8
DM
39439 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39440 fzeros/fnegs to load 0x80000000 into a float register instead of
39441 using the stack.
7bd951ff
DM
39442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39443
bd951ccb
JM
394442012-03-14 Joseph Myers <joseph@codesourcery.com>
39445
39446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39447 bits/syscall.h.
39448 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39449 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39450 ($(inst_includedir)/bits/syscall.h): Remove rule.
39451 ($(objpfx)bits/syscall.d): Include instead of
39452 $(objpfx)syscall-list.d.
39453 (generated): Change syscall-list.h and syscall-list.d to
39454 bits/syscall.h and bits/syscall.d.
39455
bb4e6db2
RM
394562012-03-14 Roland McGrath <roland@hack.frob.com>
39457
39458 [BZ #13846]
39459 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39460
aa4a2ae1
JM
394612012-03-14 Joseph Myers <joseph@codesourcery.com>
39462
e456826d
JM
39463 [BZ #13841]
39464 * math/s_csqrt.c: Include <float.h>.
39465 (__csqrt): Scale large or subnormal inputs.
39466 * math/s_csqrtf.c: Likewise.
39467 * math/s_csqrtl.c: Likewise.
39468 * math/libm-test.inc (csqrt_test): Add more tests.
39469 * sysdeps/i386/fpu/libm-test-ulps: Update.
39470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39471
aa4a2ae1
JM
39472 [BZ #13840]
39473 * math/libm-test.inc (hypot_test): Add more tests.
39474
7c10fd35
DM
394752012-03-13 David S. Miller <davem@davemloft.net>
39476
39477 [BZ #13840]
39478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39479 double-precision for the calculation instead of scaling.
39480
f453b98b
JM
394812012-03-13 Joseph Myers <joseph@codesourcery.com>
39482
39483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39484 manipulate bits before adding and subtracting TWO52[sx].
39485 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39486 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39487 Likewise.
39488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39489
09a3453f
DM
394902012-03-13 David S. Miller <davem@davemloft.net>
39491
8e59da90
DM
39492 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39493 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39495 rtld-global-offsets.h
39496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39497
2a8ab7f2
DM
39498 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39499 large parameters.
39500
10f62770
DM
39501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39502
5f0bdb18
DM
39503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39504 'err' in the ifdef scope in which it is actually used.
39505
09a3453f
DM
39506 * nss/nss_db/db-init.c: Include string.h
39507
b4b2eb5e
DM
395082012-03-12 David S. Miller <davem@davemloft.net>
39509
98bb2f1c
DM
39510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39511 masking out of the most significant byte of random value used.
39512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39513 Fix coding style in previous change.
39514
b4b2eb5e
DM
39515 * sysdeps/unix/sysv/linux/kernel-features.h
39516 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39517 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39518 expression.
39519 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39520 later.
39521
6e226b09
DM
395222012-03-11 David S. Miller <davem@davemloft.net>
39523
a1bcbd40
DM
39524 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39525 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39527 for 'resultvar' otherwise things get truncated on 64-bit.
39528
cb9d6174
DM
39529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39530 Fix masking out of the most significant byte of random value used.
39531
6e226b09
DM
39532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39533
058c132d
AS
395342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39535
39536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39537
2d2cd515
DM
395382012-03-09 David S. Miller <davem@davemloft.net>
39539
39540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39541 variables with appropriate CPP guards.
57f41c40
AS
39542 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39543 from the frame pointer, not the stack pointer. Correct layout
39544 comments. Fix test on resulting framesize and the management of
39545 the outregs buffer for pltexit. Preserve floating point return
39546 values across _dl_call_pltexit call.
2d2cd515
DM
39547 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39548 framesize and the management of the outregs buffer for pltexit.
39549 Preserve floating point return values across _dl_call_pltexit
39550 call.
57f41c40
AS
39551 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39552 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39553 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39554 (print_exit): Fix format string for return register value.
39555
9a07f9d0
JM
395562012-03-10 Joseph Myers <joseph@codesourcery.com>
39557
39558 * sunrpc/Makefile (others): Add rpcgen.
39559 ($(objpfx)rpcgen): Remove special build rule and dependency on
39560 libc.
39561 * sunrpc/rpcgen.c: New file.
39562
547b5e30
PE
395632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39564
c524201a
PE
39565 [BZ #13673]
39566 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39567 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39568 * sysdeps/i386/crti.S: Likewise.
39569 * sysdeps/i386/crtn.S: Likewise.
39570 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39571 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39572 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39573 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39574 * sysdeps/sh/crti.S: Likewise.
39575 * sysdeps/sh/crtn.S: Likewise.
39576 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39577
7b6235f2
PE
39578 [BZ #13673]
39579 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39580 with URL.
39581 * locale/programs/locfile-kw.gperf: Likewise.
39582 * locale/programs/charmap-kw.h: Regenerated.
39583 * locale/programs/locfile-kw.h: Likewise.
39584
547b5e30
PE
39585 [BZ #13673]
39586 * intl/plural.y: Replace FSF snail mail address with URL.
39587 * intl/plural.c: Regenerated.
39588
5f0a5dae
RH
395892012-03-09 Richard Henderson <rth@twiddle.net>
39590
39591 * include/math_private.h: Remove file.
39592 * math/math_private.h: Move file ...
39593 * sysdeps/generic/math_private.h: ... here.
39594
b8c03620
RH
39595 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39596 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39597 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39598
4e234f5d 39599 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39600 and <math_private.h>.
39601 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39602 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39603 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39604 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39605 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39633 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39641 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39644 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39645 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39646 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39647 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39648 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39649 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39650 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39651 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39652 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39653 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39655 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39656 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39657 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39658 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39659 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39660 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39665 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39666 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39667 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39670 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39694 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39696 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39700 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39701 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39702 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39703 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39704 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39709 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39711 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39712 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39713 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39715 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39717 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39718 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39719 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39720 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39721 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39722 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39724 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39727 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39728 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39729 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39730 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39731 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39734 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39735 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39736 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39739 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39741 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39742 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39744 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39745 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39749 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39750 * sysdeps/ieee754/k_standard.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39866 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39900 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39911 * sysdeps/ieee754/s_lib_version.c: Likewise.
39912 * sysdeps/ieee754/s_matherr.c: Likewise.
39913 * sysdeps/ieee754/s_signgam.c: Likewise.
39914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39916 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39917 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39918 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39919 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39920 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39921 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39922 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39923 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39924 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39925 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39926 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39927 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39928 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39929 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39931 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39935
1991fa03
JM
399362012-03-09 Joseph Myers <joseph@codesourcery.com>
39937
39938 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39939 * sunrpc/rpc_main.c: Likewise.
39940 * sunrpc/rpc_svcout.c: Likewise.
39941
60d6f5a6
DM
399422012-03-09 David S. Miller <davem@davemloft.net>
39943
39944 * include/math_private.h: New file.
39945
4962050e
JM
399462012-03-09 Joseph Myers <joseph@codesourcery.com>
39947
02a6f887
JM
39948 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39949 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39950 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39951 from <bits/socket_type.h>.
39952 (enum __socket_type): Don't define here.
39953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39955 bits/socket_type.h.
39956
c6e013c1
JM
39957 [BZ #13566]
39958 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39959 checking __USE_GNU.
39960
4962050e
JM
39961 * Makerules ($(inst_includedir)/%.h): New rule.
39962 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39963 (install-others): Remove variable setting.
39964 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39965
38842f45
RH
399662012-03-08 Richard Henderson <rth@twiddle.net>
39967
67bb6da6
RH
39968 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39969 from macro to inline function; merge with the
39970 !__LIBC_INTERNAL_MATH_INLINES version.
39971 (__ieee754_sqrtf): Likewise.
39972
15194b4b
RH
39973 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39974 to inline function.
39975 (__rintf, __floor, __floorf): Likewise.
39976
64e21ede
RH
39977 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39978 macro to inline function.
39979 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39980
38842f45
RH
39981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39982 not <math/math_private.h>.
39983
c64bf5fe
DM
399842012-03-08 David S. Miller <davem@davemloft.net>
39985
39986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39987 copyright year.
39988 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39989
82d86f28
TS
399902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39991
39992 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39993 normalization.
39994 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39995 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39996
aea5d727
UD
399972012-03-08 Ulrich Drepper <drepper@gmail.com>
39998
39999 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40000 be defined individually, they must be defined as a block. Define
40001 S for printing a string instead of hidint the different by using a
40002 macro for adding the 'l'.
40003 * stdio-common/tst-fphex-wide.c: Adjust.
40004
70bca0a3
MP
400052012-03-07 Marek Polacek <polacek@redhat.com>
40006
40007 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40008
65b81130
MP
400092012-03-08 Marek Polacek <polacek@redhat.com>
40010
40011 [BZ #13806]
40012 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40013 * stdio-common/tst-fphex.c: Define a few macros to make the
40014 test reusable. Use them.
40015 * stdio-common/tst-fphex-wide.c: New file.
40016
07037eeb
JM
400172012-03-08 Joseph Myers <joseph@codesourcery.com>
40018
a7a93d50
JM
40019 [BZ #6911]
40020 * manual/macros.texi (gnusystems): New macro.
40021 (nongnusystems): Likewise.
40022 (gnulinuxhurdsystems): Likewise.
40023 (gnuhurdsystems): Likewise..
40024 (gnulinuxsystems): Likewise.
40025 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40026 variants of the GNU system, not "GNU system".
40027 * manual/conf.texi: Likewise.
40028 * manual/errno.texi: Likewise. Update example of errno macro
40029 expansion.
40030 * manual/filesys.texi: Likewise.
40031 (getumask): Document as specific to GNU/Hurd.
40032 * manual/install.texi: Likewise. Reword some references to
40033 GNU/Linux.
40034 * manual/intro.texi: Likewise.
40035 * manual/io.texi: Likewise.
40036 (File Name Portability): Detail which constraints are inapplicable
40037 to all GNU systems and which are only inapplicable to GNU/Hurd.
40038 * manual/job.texi: Likewise.
40039 * manual/llio.texi: Likewise.
40040 (O_NOCTTY): Document as present on GNU/Linux.
40041 * manual/maint.texi: Likewise.
40042 * manual/memory.texi: Likewise.
40043 * manual/pattern.texi: Likewise.
40044 * manual/pipe.texi: Likewise.
40045 * manual/process.texi: Likewise.
40046 * manual/resource.texi: Likewise.
40047 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40048 child on GNU/Hurd.
40049 * manual/setjmp.texi: Likewise.
40050 * manual/signal.texi: Likewise.
40051 * manual/startup.texi: Likewise.
40052 * manual/stdio.texi: Likewise.
40053 * manual/terminal.texi: Likewise.
40054 (ONLCR): Document as POSIX.
40055 (OXTABS): Document availability on GNU/Linux as XTABS.
40056 (ONOEOT): Document availability separately from other bits.
40057 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40058 * manual/time.texi: Likewise.
40059 * manual/users.texi: Likewise.
40060 * INSTALL: Regenerated.
40061 * sysdeps/gnu/errlist.c: Regenerated.
40062
07037eeb
JM
40063 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40064 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40065 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40066 puts.
40067 * configure: Regenerated.
40068
d1d3431a
JM
400692012-03-07 Joseph Myers <joseph@codesourcery.com>
40070
af6a1e37
JM
40071 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40072 default includes instead of AC_HEADER_CHECK.
40073 * sysdeps/i386/configure: Regenerated.
40074
d1d3431a
JM
40075 [BZ #10716]
40076 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40077 * math/s_cacoshf.c (__cacoshf): Likewise.
40078 * math/s_cacoshl.c (__cacoshl): Likewise.
40079 * math/s_casinh.c (__casinh): Set signs of result from argument.
40080 * math/s_casinhf.c (__casinhf): Likewise.
40081 * math/s_casinhl.c (__casinhl): Likewise.
40082 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40083 (casinh_test): Add more tests.
40084 * sysdeps/i386/fpu/libm-test-ulps: Update.
40085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40086
482ff4da
UD
400872012-03-07 Ulrich Drepper <drepper@gmail.com>
40088
872fda05
UD
40089 * po/zh_TW.po: Update from translation team.
40090
a4300c7a
UD
40091 * login/Makefile (distribute): Remove variable.
40092 * catgets/Makefile: Likewise.
40093 * mach/Makefile: Likewise.
40094 * malloc/Makefile: Likewise.
40095 * misc/Makefile: Likewise.
40096 * iconv/Makefile: Likewise.
40097 * nscd/Makefile: Likewise.
40098 * hurd/Makefile: Likewise.
40099 * manual/Makefile: Likewise.
40100 * locale/Makefile: Likewise.
40101 * intl/Makefile: Likewise.
40102 * conform/Makefile: Likewise.
40103 * nss/Makefile: Likewise.
40104 * time/Makefile: Likewise.
40105 * soft-fp/Makefile: Likewise.
40106 * dirent/Makefile: Likewise.
40107 * gmon/Makefile: Likewise.
40108 * po/Makefile: Likewise.
40109 * rt/Makefile: Likewise.
40110 * socket/Makefile: Likewise.
40111 * math/Makefile: Likewise.
40112 * signal/Makefile: Likewise.
40113 * debug/Makefile: Likewise.
40114 * elf/Makefile: Likewise.
40115 * timezone/Makefile: Likewise.
40116 * stdlib/Makefile: Likewise.
40117 * iconvdata/Makefile: Likewise.
40118 * sunrpc/Makefile: Likewise.
40119 * io/Makefile: Likewise.
40120 * argp/Makefile: Likewise.
40121 * inet/Makefile: Likewise.
40122 * hesiod/Makefile: Likewise.
40123 * grp/Makefile: Likewise.
40124 * csu/Makefile: Likewise.
40125 * wctype/Makefile: Likewise.
40126 * crypt/Makefile: Likewise.
40127 * libio/Makefile: Likewise.
40128 * string/Makefile: Likewise.
40129 * nis/Makefile: Likewise.
40130 * resolv/Makefile: Likewise.
40131 * stdio-common/Makefile: Likewise.
40132 * wcsmbs/Makefile: Likewise.
40133 * dlfcn/Makefile: Likewise.
40134 * posix/Makefile: Likewise.
40135
3b7c4e74 40136 [BZ #6959]
482ff4da
UD
40137 * timezone/Makefile: Don't install timezone files, just the programs
40138 and scripts.
40139
f72ed77d
UD
401402012-03-06 Ulrich Drepper <drepper@gmail.com>
40141
a000466f
UD
40142 * nss/databases.def: Add missing gshadow entry.
40143
f72ed77d
UD
40144 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40145
a53b7a4e
MP
401462012-03-06 Marek Polacek <polacek@redhat.com>
40147
40148 [BZ #13726]
40149 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40150 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40151 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40152 * stdio-common/tst-long-dbl-fphex.c: New file.
40153
e9258400
DM
401542012-03-06 David S. Miller <davem@davemloft.net>
40155
40156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40157 (set_obp_int): New function.
40158 (get_obp_int): New function.
40159 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40160 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40161 Avoid unused variable warnings on 'val' and use builtin_expect.
40162 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40163 __builtin_expect.
e9258400
DM
40164 (INLINE_CLONE_SYSCALL): Likewise.
40165
3bd2c723
DM
401662012-03-05 David S. Miller <davem@davemloft.net>
40167
40168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40169
bbb78d03
AS
401702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40171
884c5db4
AS
40172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40173
bbb78d03
AS
40174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40175 only for |x| >= 40.
40176 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40177
1c9f702a 401782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40179
40180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40181 Replace gettimeofday with __vdso_gettimeofday.
40182
7be16f82
RM
40183 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40184 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40185 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40186
40187 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40188 time with __vdso_time.
40189
ed58a00f
JM
401902012-03-05 Joseph Myers <joseph@codesourcery.com>
40191
40192 * manual/lang.texi (size_t): Note types to which size_t may be
40193 equivalent with the GNU C Library, but do not describe when
40194 differences between them are significant.
40195
30ee4ced
AJ
401962012-03-05 Andreas Jaeger <aj@suse.de>
40197
40198 * sysdeps/i386/fpu/libm-test-ulps: Update.
40199
b7cd39e8
JM
402002012-03-05 Joseph Myers <joseph@codesourcery.com>
40201
40202 [BZ #3976]
40203 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40204 (__ieee754_pow): Save and restore rounding mode and use
40205 round-to-nearest for main computations.
40206 * math/libm-test.inc (pow_test_tonearest): New function.
40207 (pow_test_towardzero): Likewise.
40208 (pow_test_downward): Likewise.
40209 (pow_test_upward): Likewise.
40210 (main): Call the new functions.
40211 * sysdeps/i386/fpu/libm-test-ulps: Update.
40212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40213
40214 [BZ #3976]
40215 * math/libm-test.inc (cosh_test_tonearest): New function.
40216 (cosh_test_towardzero): Likewise.
40217 (cosh_test_downward): Likewise.
40218 (cosh_test_upward): Likewise.
40219 (sinh_test_tonearest): Likewise.
40220 (sinh_test_towardzero): Likewise.
40221 (sinh_test_downward): Likewise.
40222 (sinh_test_upward): Likewise.
40223 (main): Call the new functions.
40224 * sysdeps/i386/fpu/libm-test-ulps: Update.
40225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40226
6c6a98c9
TV
402272012-03-05 Tom de Vries <tom@codesourcery.com>
40228
40229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40230 default stack guard is set in last bytes.
40231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40232
21bb2d2e 402332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40234
21bb2d2e 40235 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40236
21bb2d2e
AJ
40237 [BZ #13656]
40238 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40239 possibly allocate from heap instead of stack.
40240 * stdio-common/bug-vfprintf-nargs.c: New file.
40241 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40242
c6922934
AS
402432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40244
40245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40246
bc957d53
MP
402472012-03-03 Marek Polacek <polacek@redhat.com>
40248
40249 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40250 * math/math_private.h: Likewise.
40251 * stdlib/tst-strtod.c: Likewise.
40252 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40253 * sysdeps/x86_64/bits/atomic.h: Likewise.
40254
6358490d
DM
402552012-03-02 David S. Miller <davem@davemloft.net>
40256
40257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40261 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40262 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40263 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40264 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40265
01ae168d
RM
402662012-03-02 Roland McGrath <roland@hack.frob.com>
40267
d9a17c07
RM
40268 [BZ #13792]
40269 * manual/examples/README: New file, says the example source files
40270 can be used under GPL>=2.
40271 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40272 line containing just "*/".
40273 * manual/examples/add.c: Add copyright header (GPL>=2).
40274 * manual/examples/argp-ex1.c: Likewise.
40275 * manual/examples/argp-ex2.c: Likewise.
40276 * manual/examples/argp-ex3.c: Likewise.
40277 * manual/examples/argp-ex4.c: Likewise.
40278 * manual/examples/atexit.c: Likewise.
40279 * manual/examples/db.c: Likewise.
40280 * manual/examples/dir.c: Likewise.
40281 * manual/examples/dir2.c: Likewise.
40282 * manual/examples/execinfo.c: Likewise.
40283 * manual/examples/filecli.c: Likewise.
40284 * manual/examples/filesrv.c: Likewise.
40285 * manual/examples/fmtmsgexpl.c: Likewise.
40286 * manual/examples/genpass.c: Likewise.
40287 * manual/examples/inetcli.c: Likewise.
40288 * manual/examples/inetsrv.c: Likewise.
40289 * manual/examples/isockad.c: Likewise.
40290 * manual/examples/longopt.c: Likewise.
40291 * manual/examples/memopen.c: Likewise.
40292 * manual/examples/memstrm.c: Likewise.
40293 * manual/examples/mkfsock.c: Likewise.
40294 * manual/examples/mkisock.c: Likewise.
40295 * manual/examples/mygetpass.c: Likewise.
40296 * manual/examples/pipe.c: Likewise.
40297 * manual/examples/popen.c: Likewise.
40298 * manual/examples/rprintf.c: Likewise.
40299 * manual/examples/search.c: Likewise.
40300 * manual/examples/select.c: Likewise.
40301 * manual/examples/setjmp.c: Likewise.
40302 * manual/examples/sigh1.c: Likewise.
40303 * manual/examples/sigusr.c: Likewise.
40304 * manual/examples/stpcpy.c: Likewise.
40305 * manual/examples/strdupa.c: Likewise.
40306 * manual/examples/strftim.c: Likewise.
40307 * manual/examples/strncat.c: Likewise.
40308 * manual/examples/subopt.c: Likewise.
40309 * manual/examples/swapcontext.c: Likewise.
40310 * manual/examples/termios.c: Likewise.
40311 * manual/examples/testopt.c: Likewise.
40312 * manual/examples/testpass.c: Likewise.
40313 * manual/examples/timeval_subtract.c: Likewise.
40314
01ae168d
RM
40315 [BZ #13792]
40316 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40317 function to ...
40318 * manual/timeval_subtract.c.texi: ... here, new file.
40319
49efa33d
DM
403202012-03-02 David S. Miller <davem@davemloft.net>
40321
40322 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40323
28afd92d
JM
403242012-03-02 Joseph Myers <joseph@codesourcery.com>
40325
804360ed
JM
40326 [BZ #3976]
40327 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40328 (__sin): Save and restore rounding mode and use round-to-nearest
40329 for all computations.
40330 (__cos): Save and restore rounding mode and use round-to-nearest
40331 for all computations.
40332 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40333 <fenv.h>.
40334 (tan): Save and restore rounding mode and use round-to-nearest for
40335 all computations.
40336 * math/libm-test.inc (cos_test_tonearest): New function.
40337 (cos_test_towardzero): Likewise.
40338 (cos_test_downward): Likewise.
40339 (cos_test_upward): Likewise.
40340 (sin_test_tonearest): Likewise.
40341 (sin_test_towardzero): Likewise.
40342 (sin_test_downward): Likewise.
40343 (sin_test_upward): Likewise.
40344 (tan_test_tonearest): Likewise.
40345 (tan_test_towardzero): Likewise.
40346 (tan_test_downward): Likewise.
40347 (tan_test_upward): Likewise.
40348 (main): Call the new functions.
40349 * sysdeps/i386/fpu/libm-test-ulps: Update.
40350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40351
a6d06d7b
JM
40352 [BZ #10135]
40353 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40354 small n, then large n, before computing and testing k+n.
40355 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40357 Likewise.
40358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40359 Likewise.
40360 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40361 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40362 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40363 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40367 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40368 * math/libm-test.inc (scalbn_test): Add more tests.
40369 (scalbln_test): Likewise.
40370
07e12bb3
JM
40371 * manual/filesys.texi (mode_t): Describe constraints on size and
40372 signedness, not exact equivalence to a particular type.
40373 (ino_t): Likewise.
40374 (ino64_t): Likewise.
40375 (dev_t): Likewise.
40376 (nlink_t): Likewise.
40377 (blkcnt_t): Likewise.
40378 (blkcnt64_t): Likewise.
40379 * manual/llio.texi (off_t): Likewise.
40380
28afd92d
JM
40381 [BZ #3976]
40382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40383 (__ieee754_exp): Save and restore rounding mode and use
40384 round-to-nearest for all computations.
40385 * math/libm-test.inc (exp_test_tonearest): New function.
40386 (exp_test_towardzero): Likewise.
40387 (exp_test_downward): Likewise.
40388 (exp_test_upward): Likewise.
40389 (main): Call the new functions.
40390 * sysdeps/i386/fpu/libm-test-ulps: Update.
40391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40392
b1eeb65d
CD
403932012-03-01 Chris Demetriou <cgd@google.com>
40394
40395 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40396 have predictable order.
40397
53362a4b
DM
403982012-03-01 David S. Miller <davem@davemloft.net>
40399
3c969083
DM
40400 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40401
759707de
DM
40402 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40403 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40404 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40405 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40406
dfdb8ff2
DM
40407 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40408 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40409 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40411 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40412 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40413 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40414 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40415 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40416
ead89f96
DM
40417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40418
7f66bd07
DM
40419 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40420 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40421 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40422
53362a4b
DM
40423 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40424 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40425 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40430 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40431 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40432 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40433 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40437 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40439 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40440 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40441 * sysdeps/sparc/elf/configure: Regenerated.
40442
7b1902cb
JM
404432012-03-01 Joseph Myers <joseph@codesourcery.com>
40444
bec039bc
JM
40445 * configure.in (AS, LD): Require binutils 2.20 or later.
40446 * configure: Regenerated.
40447 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40448 as required minimum version.
40449 * INSTALL: Regenerated.
40450
7b1902cb
JM
40451 [BZ #2541]
40452 [BZ #4108]
40453 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40454 before squaring exponent.
40455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40456 bottom long double and 27 bits of top long double before squaring
40457 exponent.
40458 * math/libm-test.inc (erfc_test): Add more tests.
40459 * sysdeps/i386/fpu/libm-test-ulps: Update.
40460 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40462
f775c276
KT
404632012-03-01 Kai Tietz <ktietz@redhat.com>
40464
40465 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40466 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40467 containing bit-fields.
40468 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40469 * soft-fp/single.h (_FP_UNION_S): Likewise.
40470 * soft-fp/double.h (_FP_UNION_D): Likewise.
40471
5b8a4d4a
JM
404722012-02-29 Joseph Myers <joseph@codesourcery.com>
40473
0bab47b6
JM
40474 [BZ #13786]
40475 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40476 not include ../strcmp.S.
40477 [USE_AS_STRNCASECMP_L]: Likewise.
40478 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40479 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40480 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40481 (__strncasecmp_l_ia32): Define as alias to
40482 __strncasecmp_l_nonascii.
40483
0fcad3e2
JM
40484 [BZ #5794]
40485 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40486 * sysdeps/i386/fpu/libm-test-ulps: Update.
40487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40488
5b8a4d4a
JM
40489 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40491
8fdceb2e
JL
404922012-02-29 Jeff Law <law@redhat.com>
40493
40494 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40495 out of bounds read.
40496
1f393a11
MP
404972012-02-29 Marek Polacek <polacek@redhat.com>
40498
40499 [BZ #13706]
40500 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40501 * elf/Makefile: Add rules to run tst-unused-dep.out.
40502
8847f037
DM
405032012-02-28 David S. Miller <davem@davemloft.net>
40504
40505 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40506 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40509 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40511
169d7f11
JM
405122012-02-29 Joseph Myers <joseph@codesourcery.com>
40513
40514 * math/libm-test.inc (llround_test): Move one test from
40515 lround_test. Use TEST_f_L in moved test.
40516 (lround_test): Move misplaced test to llround_test. Add testcase
40517 from bug 2561.
40518
39adf059
UD
405192012-02-28 Ulrich Drepper <drepper@gmail.com>
40520
40521 * sysdeps/x86_64/fpu/e_expf.S: New file.
40522 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40523
71b5d1c5
SB
405242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40525
40526 [BZ #13637]
40527 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40528 of remain_len that may cause incomplete multi-byte character and
40529 false match.
40530 * posix/bug-regex33.c: New file.
40531 * posix/Makefile (tests): Add bug-regex33.
40532
1f77f049
JM
405332012-02-28 Joseph Myers <joseph@codesourcery.com>
40534
40535 * manual/macros.texi: New file.
40536 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40537 * manual/libc.texinfo: Include macros.texi.
40538 * manual/creatute.texi: Likewise.
40539 * manual/install.texi: Likewise.
40540 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40541 @glibcadj{} in references to the GNU C Library.
40542 * manual/charset.texi: Likewise.
40543 * manual/conf.texi: Likewise.
40544 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40545 when not using those macros.
40546 * manual/creature.texi: Likewise.
40547 * manual/crypt.texi: Likewise.
40548 * manual/errno.texi: Likewise.
40549 * manual/filesys.texi: Likewise.
40550 * manual/header.texi: Likewise.
40551 * manual/install.texi: Likewise.
40552 * manual/intro.texi: Likewise.
40553 * manual/io.texi: Likewise.
40554 * manual/job.texi: Likewise.
40555 * manual/lang.texi: Likewise.
40556 * manual/libc.texiinfo: Likewise.
40557 * manual/llio.texi: Likewise.
40558 * manual/locale.texi: Likewise.
40559 * manual/maint.texi: Likewise.
40560 * manual/math.texi: Likewise.
40561 * manual/memory.texi: Likewise.
40562 * manual/message.texi: Likewise.
40563 * manual/nss.texi: Likewise.
40564 * manual/pattern.texi: Likewise.
40565 * manual/process.texi: Likewise.
40566 * manual/resource.texi: Likewise.
40567 * manual/search.texi: Likewise.
40568 * manual/setjmp.texi: Likewise.
40569 * manual/signal.texi: Likewise.
40570 * manual/socket.texi: Likewise.
40571 * manual/startup.texi: Likewise.
40572 * manual/stdio.texi: Likewise.
40573 * manual/string.texi: Likewise.
40574 * manual/sysinfo.texi: Likewise.
40575 * manual/syslog.texi: Likewise.
40576 * manual/terminal.texi: Likewise.
40577 * manual/time.texi: Likewise.
40578 * manual/users.texi: Likewise.
40579 * INSTALL: Regenerated.
40580 * NOTES: Regenerated.
d40c5d54 40581 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40582
450bf206
AS
405832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40584
40585 * include/dirent.h: Include <dirstream.h> before
40586 <dirent/dirent.h>.
40587
741a235b
DM
405882012-02-28 David S. Miller <davem@davemloft.net>
40589
40590 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40591 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40592 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40593 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40594
d6b5aa58
DM
405952012-02-27 David S. Miller <davem@davemloft.net>
40596
1aff59a3
DM
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40599 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40600 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40601
d6b5aa58
DM
40602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40603 frame pointer instead of stack pointer relative arg slot.
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40605 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40606 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40607
433f48bf
CD
406082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40609
40610 [BZ #3992]
40611 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40612
d674b76d
DM
406132012-02-27 David S. Miller <davem@davemloft.net>
40614
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40621 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40623
0e7727f7
JM
406242012-02-27 Joseph Myers <joseph@codesourcery.com>
40625
40626 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40627 later. Allow versions 5-9.
43be4ca2 40628 * configure: Regenerated.
0e7727f7
JM
40629 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40630 required minimum version and 4.6 as recommended version. Do not
40631 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40632 * INSTALL: Regenerated.
0e7727f7 40633
a78bc654
DM
406342012-02-27 David S. Miller <davem@davemloft.net>
40635
428d5830
DM
40636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40640 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40641 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40642 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40644
a78bc654
DM
40645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40646 manipulate bits before adding and subtracting TWO112[sx].
40647 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40648
4579f81c
RM
406492012-02-27 Roland McGrath <roland@hack.frob.com>
40650
36c8acb4
RM
40651 [BZ #13775]
40652 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40653 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40654 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40655 being in POSIX, because they are in 1003.1-2008.
40656
84ad622b
RM
40657 * rt/tst-aio.c: Include <fcntl.h>.
40658 * rt/tst-aio7.c: Likewise.
40659 * rt/tst-aio64.c: Likewise.
40660
4579f81c
RM
40661 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40662
abd923db
JM
406632012-02-27 Joseph Myers <joseph@codesourcery.com>
40664
40665 * manual/install.texi (--with-headers): Describe headers as
40666 interface headers, not private headers.
40667 (Specific advice for GNU/Linux systems): Describe use of headers
40668 from "make headers_install", not private headers from older
40669 kernels.
43be4ca2 40670 * INSTALL: Regenerated.
abd923db
JM
40671 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40672 Change to 2.6.19.
40673 * sysdeps/unix/sysv/linux/configure: Regenerated.
40674
6664049b
JM
40675 * manual/llio.texi (fclean): Remove documentation.
40676
bb8b6697
JM
40677 * manual/Makefile (libc-texi-generated): New variable. Include
40678 version.texi.
40679 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40680 $(libc-texi-generated), not duplicated list of files.
40681 (version.texi, stamp-version): New rules.
40682 (realclean): Remove $(libc-texi-generated), not individual files
40683 from that list. Do not remove dir-add.texinfo.
40684 * manual/libc.texinfo: Comment out uses of edition numbers and
40685 references to printed manual. Remove last-updated dates.
40686 (EDITION): Comment out.
40687 (ISBN): Likewise.
40688 (VERSION, UPDATED): Remove.
40689 (version.texi): Include.
40690
12e5c3b9
AS
406912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40692
40693 * sysdeps/posix/spawni.c: Include <signal.h>.
40694 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40695 * sysdeps/pthread/aio_fsync.c: Likewise.
40696
4efeffc1 406972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40698
ba63ba08
UD
40699 * conform/Makefile (tests): Run only when not cross-compiling and
40700 when fast-check is not defined.
40701
d94a4670
UD
40702 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40703 * conform/data/limits.h-data: Fixes for POSIX2008.
40704 * conform/run-conformtest.sh: Run all tests.
40705 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40706 headers.
40707 * include/bits/dlfcn.h: Likewise.
40708 * include/langinfo.h: Likewise.
40709 * include/monetary.h: Likewise.
40710 * include/sys/poll.h: Likewise.
40711
40712 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40713 for __USE_GNU.
40714 * posix/spawn.h: Define __need_sigset_t.
40715 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40716 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40717 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40718 to get sigevent_t only.
40719 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40720 only for __USE_GNU.
40721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40722 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40723 process_vm_writev only for __USE_GNU.
40724 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40725
40726 * conform/Makefile: For now ignore errors from run-conformtest.
40727 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40728 POSIX to avoid namespace pollution. Don't prepend headers.
40729 * conform/data/aio.h-data: Fixes for POSIX testing.
40730 * conform/data/fcntl.h-data: Likewise.
40731 * conform/data/glob.h-data: Likewise.
40732 * conform/data/grp.h-data: Likewise.
40733 * conform/data/pthread.h-data: Likewise.
40734 * conform/data/pwd.h-data: Likewise.
40735 * conform/data/signal.h-data: Likewise.
40736 * conform/data/spawn.h-data: Likewise.
40737 * conform/data/stdio.h-data: Likewise.
40738 * conform/data/stdlib.h-data: Likewise.
40739 * conform/data/stropts.h-data: Likewise.
40740 * conform/data/sys/mman.h-data: Likewise.
40741 * conform/data/sys/stat.h-data: Likewise.
40742 * conform/data/sys/types.h-data: Likewise.
40743 * conform/data/sys/wait.h-data: Likewise.
40744 * conform/data/time.h-data: Likewise.
40745 * conform/data/unistd.h-data: Likewise.
40746 * conform/data/utime.h-data: Likewise.
40747
40748 * io/sys/stat.h: fchmod was always in POSIX.
40749 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40750 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40751 * rt/aio.h: Define __need_timespec before including <time.h>.
40752 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40753 struct. Add forward declaration of pthread_attr_t and use it in
40754 sigevent.
40755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40757 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40758 always remove CLK_TCK definition.
40759
c20105c3
AS
407602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40761
40762 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40763
7a270350
UD
407642012-02-25 Ulrich Drepper <drepper@gmail.com>
40765
31341567
UD
40766 * conform/run-conformtest.sh: New file.
40767 * conform/Makefile: Run run-conformtest for tests.
40768 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40769 support.
40770
40771 * conform/data/uchar.h-data: New file.
40772 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40773 * conform/data/arpa/inet.h-data: Likewise.
40774 * conform/data/assert.h-data: Likewise.
40775 * conform/data/complex.h-data: Likewise.
40776 * conform/data/cpio.h-data: Likewise.
40777 * conform/data/ctype.h-data: Likewise.
40778 * conform/data/dirent.h-data: Likewise.
40779 * conform/data/dlfcn.h-data: Likewise.
40780 * conform/data/errno.h-data: Likewise.
40781 * conform/data/fcntl.h-data: Likewise.
40782 * conform/data/float.h-data: Likewise.
40783 * conform/data/fmtmsg.h-data: Likewise.
40784 * conform/data/fnmatch.h-data: Likewise.
40785 * conform/data/ftw.h-data: Likewise.
40786 * conform/data/glob.h-data: Likewise.
40787 * conform/data/grp.h-data: Likewise.
40788 * conform/data/iconv.h-data: Likewise.
40789 * conform/data/inttypes.h-data: Likewise.
40790 * conform/data/langinfo.h-data: Likewise.
40791 * conform/data/libgen.h-data: Likewise.
40792 * conform/data/limits.h-data: Likewise.
40793 * conform/data/locale.h-data: Likewise.
40794 * conform/data/math.h-data: Likewise.
40795 * conform/data/monetary.h-data: Likewise.
40796 * conform/data/mqueue.h-data: Likewise.
40797 * conform/data/ndbm.h-data: Likewise.
40798 * conform/data/net/if.h-data: Likewise.
40799 * conform/data/netdb.h-data: Likewise.
40800 * conform/data/netinet/in.h-data: Likewise.
40801 * conform/data/nl_types.h-data: Likewise.
40802 * conform/data/poll.h-data: Likewise.
40803 * conform/data/pthread.h-data: Likewise.
40804 * conform/data/pwd.h-data: Likewise.
40805 * conform/data/regex.h-data: Likewise.
40806 * conform/data/sched.h-data: Likewise.
40807 * conform/data/search.h-data: Likewise.
40808 * conform/data/semaphore.h-data: Likewise.
40809 * conform/data/setjmp.h-data: Likewise.
40810 * conform/data/signal.h-data: Likewise.
40811 * conform/data/spawn.h-data: Likewise.
40812 * conform/data/stdarg.h-data: Likewise.
40813 * conform/data/stdio.h-data: Likewise.
40814 * conform/data/stdlib.h-data: Likewise.
40815 * conform/data/string.h-data: Likewise.
40816 * conform/data/strings.h-data: Likewise.
40817 * conform/data/stropts.h-data: Likewise.
40818 * conform/data/sys/ipc.h-data: Likewise.
40819 * conform/data/sys/mman.h-data: Likewise.
40820 * conform/data/sys/msg.h-data: Likewise.
40821 * conform/data/sys/resource.h-data: Likewise.
40822 * conform/data/sys/select.h-data: Likewise.
40823 * conform/data/sys/sem.h-data: Likewise.
40824 * conform/data/sys/shm.h-data: Likewise.
40825 * conform/data/sys/socket.h-data: Likewise.
40826 * conform/data/sys/stat.h-data: Likewise.
40827 * conform/data/sys/statvfs.h-data: Likewise.
40828 * conform/data/sys/time.h-data: Likewise.
40829 * conform/data/sys/timeb.h-data: Likewise.
40830 * conform/data/sys/times.h-data: Likewise.
40831 * conform/data/sys/types.h-data: Likewise.
40832 * conform/data/sys/uio.h-data: Likewise.
40833 * conform/data/sys/un.h-data: Likewise.
40834 * conform/data/sys/utsname.h-data: Likewise.
40835 * conform/data/sys/wait.h-data: Likewise.
40836 * conform/data/syslog.h-data: Likewise.
40837 * conform/data/tar.h-data: Likewise.
40838 * conform/data/termios.h-data: Likewise.
40839 * conform/data/utime.h-data: Likewise.
40840 * conform/data/utmpx.h-data: Likewise.
40841 * conform/data/varargs.h-data: Likewise.
40842 * conform/data/wchar.h-data: Likewise.
40843 * conform/data/wctype.h-data: Likewise.
40844 * conform/data/wordexp.h-data: Likewise.
40845
40846 * include/stropts.h: New file.
40847 * include/uchar.h: New file.
40848 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40849 * include/assert.h: Likewise.
40850 * include/ctype.h: Likewise.
40851 * include/dirent.h: Likewise.
40852 * include/dlfcn.h: Likewise.
40853 * include/fcntl.h: Likewise.
40854 * include/fnmatch.h: Likewise.
40855 * include/glob.h: Likewise.
40856 * include/grp.h: Likewise.
40857 * include/libio.h: Likewise.
40858 * include/locale.h: Likewise.
40859 * include/math.h: Likewise.
40860 * include/net/if.h: Likewise.
40861 * include/netdb.h: Likewise.
40862 * include/netinet/in.h: Likewise.
40863 * include/pthread.h: Likewise.
40864 * include/pwd.h: Likewise.
40865 * include/regex.h: Likewise.
40866 * include/sched.h: Likewise.
40867 * include/search.h: Likewise.
40868 * include/setjmp.h: Likewise.
40869 * include/signal.h: Likewise.
40870 * include/stdio.h: Likewise.
40871 * include/stdlib.h: Likewise.
40872 * include/string.h: Likewise.
40873 * include/sys/cdefs.h: Likewise.
40874 * include/sys/mman.h: Likewise.
40875 * include/sys/msg.h: Likewise.
40876 * include/sys/resource.h: Likewise.
40877 * include/sys/select.h: Likewise.
40878 * include/sys/socket.h: Likewise.
40879 * include/sys/stat.h: Likewise.
40880 * include/sys/statvfs.h: Likewise.
40881 * include/sys/time.h: Likewise.
40882 * include/sys/times.h: Likewise.
40883 * include/sys/uio.h: Likewise.
40884 * include/sys/utsname.h: Likewise.
40885 * include/sys/wait.h: Likewise.
40886 * include/termios.h: Likewise.
40887 * include/time.h: Likewise.
40888 * include/ulimit.h: Likewise.
40889 * include/unistd.h: Likewise.
40890 * include/utime.h: Likewise.
40891 * include/wchar.h: Likewise.
40892 * include/wctype.h: Likewise.
40893 * include/wordexp.h: Likewise.
40894
40895 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40896
7a270350
UD
40897 * time/time.h: TIME_UTC must be a macro.
40898 Make timespec_get available for ISO C11 only as well.
40899
7724defc
UD
409002012-02-24 Ulrich Drepper <drepper@gmail.com>
40901
40902 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40903 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40904
6b1d1d46
JM
409052012-02-24 Joseph Myers <joseph@codesourcery.com>
40906
40907 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40908
0f8bbd69
JM
409092012-02-24 Joseph Myers <joseph@codesourcery.com>
40910
40911 * manual/texinfo.tex: Update to version 2012-01-19.16.
40912
66ab80bc
JM
409132012-02-24 Joseph Myers <joseph@codesourcery.com>
40914
40915 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40916
74981cc5
RM
409172012-02-24 Roland McGrath <roland@hack.frob.com>
40918
ee968201
RM
40919 [BZ #13738]
40920 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40921 * manual/fdl-1.3.texi: New file.
40922 * manual/fdl-1.1.texi: File removed.
40923
74981cc5
RM
40924 [BZ #13738]
40925 * manual/libc.texinfo (FDL_VERSION): New @set.
40926 Use it for mention of FDL in cover text.
40927 (Documentation License): Use it in @include file name.
40928
7bb764bc
JM
409292012-02-22 Joseph Myers <joseph@codesourcery.com>
40930 Roland McGrath <roland@hack.frob.com>
40931
40932 [BZ #5461]
57f41c40
AS
40933 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40934 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40935 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40936 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40937 name.
40938 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40939
6cbeae47
JM
409402012-02-22 Joseph Myers <joseph@codesourcery.com>
40941
40942 [BZ #2547]
40943 [BZ #11365]
40944 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40945 manipulate bits before adding and subtracting TWO23[sx].
40946 * math/libm-test.inc (nearbyint_test): Add more tests.
40947
fe45ce09
JM
409482012-02-22 Joseph Myers <joseph@codesourcery.com>
40949
40950 [BZ #2548]
40951 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40952 bits before adding and subtracting TWO23[sx].
40953 * math/libm-test.inc (rint_test): Add more tests.
40954 (rint_test_tonearest): Likewise.
40955 (rint_test_towardzero): Likewise.
40956 (rint_test_downward): Likewise.
40957 (rint_test_upward: Likewise.
40958
ff3b3d82
JM
409592012-02-22 Joseph Myers <joseph@codesourcery.com>
40960
40961 [BZ #10110]
40962 * include/stdc-predef.h: New file. Extracted from features.h.
40963 * include/features.h: Include stdc-predef.h.
40964 * Makefile (headers): Add stdc-predef.h.
40965 * CONFORMANCE (Compiler limitations): Update.
40966
ef0aab35
JM
409672012-02-22 Joseph Myers <joseph@codesourcery.com>
40968
40969 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40970
58639409
DM
409712012-02-21 David S. Miller <davem@davemloft.net>
40972
40973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40975
c0e70b25
DM
409762012-02-20 David S. Miller <davem@davemloft.net>
40977
40978 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40979 using a normal save/restore sequence, rather than allocating a
40980 dummy stack frame just to store a frame pointer and restore.
40981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40982
fb06851d
JM
409832012-02-21 Joseph Myers <joseph@codesourcery.com>
40984
40985 * manual/install.texi: Fix stray word in line-wrapped comment.
40986
7a8b71c3
DM
409872012-02-20 David S. Miller <davem@davemloft.net>
40988
d510c123
DM
40989 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40990 both binutils and gcc support GOTDATA.
40991
0722d7c2
DM
40992 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40993 "rd %pc" in the PIC register setup sequences.
40994
3d2b3019
DM
40995 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40996 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40997 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40998 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40999 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41004 (SYSCALL_ERROR_HANDLER): Likewise.
41005 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41006 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41008 (SYSCALL_ERROR_HANDLER): Likewise.
41009
c80098a9
DM
41010 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41011 (HAVE_GCC_GOTDATA): New.
41012 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41013 relocation support in both binutils and gcc.
41014 * sysdeps/sparc/elf/configure: Regenerate.
41015
3a2545a0
DM
41016 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41017 * sysdeps/sparc/sparc32/elf/configure: Delete.
41018 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41019 * sysdeps/sparc/sparc64/elf/configure: Delete.
41020 * sysdeps/sparc/elf/configure.in: New file.
41021 * sysdeps/sparc/elf/configure: Generate.
41022
7a8b71c3
DM
41023 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41024 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41025 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41026 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41027 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41028
f1e86fca
JM
410292012-02-21 Joseph Myers <joseph@codesourcery.com>
41030
41031 * manual/install.texi: Do not mention specific glibc version
41032 numbers.
41033 * manual/libc.texinfo (VERSION, UPDATED): Update.
41034 (@copying): Use @copyright{} and range of years.
41035
0e7dfaef
JM
410362012-02-21 Joseph Myers <joseph@codesourcery.com>
41037
41038 [BZ #13695]
41039 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41040 [crti.S not in sysdirs] (generated): Do not append.
41041 [crti.S not in sysdirs] (omit-deps): Likewise.
41042 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41043 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41044 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41045 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41046 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41047 Likewise.
41048 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41049 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41050 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41051 * csu/defs.awk: Remove file.
41052 * sysdeps/generic/initfini.c: Likewise.
41053 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41054 variable.
41055 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41056 Likewise.
41057
599af3ca
JM
410582012-02-20 Joseph Myers <joseph@codesourcery.com>
41059
41060 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41061 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41062 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41065 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41066 <bits/epoll.h>.
41067 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41068 (__EPOLL_PACKED): Define to empty if not defined by
41069 <bits/epoll.h>.
41070 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41072 bits/epoll.h.
41073
0e499750
JM
410742012-02-20 Joseph Myers <joseph@codesourcery.com>
41075
41076 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41077 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41078 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41080 <bits/timerfd.h>.
41081 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41083 bits/timerfd.h.
41084
5ad91f6e
JM
410852012-02-20 Joseph Myers <joseph@codesourcery.com>
41086
41087 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41088 in C locale.
41089 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41090 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41093
06b99b02
AJ
410942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41095
41096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41097 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41098
7638c0fd
AS
410992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41100
41101 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41102 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41103 defined.
41104 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41105 Likewise.
41106 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41107 entry for 2.16.
41108
92221550
AJ
411092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41110
41111 * math/w_acos.c: Use non-signaling floating-point comparisons.
41112 * math/w_acosf.c: Likewise.
41113 * math/w_acosh.c: Likewise.
41114 * math/w_acoshf.c: Likewise.
41115 * math/w_acoshl.c: Likewise.
41116 * math/w_acosl.c: Likewise.
41117 * math/w_asin.c: Likewise.
41118 * math/w_asinf.c: Likewise.
41119 * math/w_asinl.c: Likewise.
41120 * math/w_atanh.c: Likewise.
41121 * math/w_atanhf.c: Likewise.
41122 * math/w_atanhl.c: Likewise.
41123 * math/w_exp2.c: Likewise.
41124 * math/w_exp2f.c: Likewise.
41125 * math/w_exp2l.c: Likewise.
41126 * math/w_j0.c: Likewise.
41127 * math/w_j0f.c: Likewise.
41128 * math/w_j0l.c: Likewise.
41129 * math/w_j1.c: Likewise.
41130 * math/w_j1f.c: Likewise.
41131 * math/w_j1l.c: Likewise.
41132 * math/w_jn.c: Likewise.
41133 * math/w_jnf.c: Likewise.
41134 * math/w_log.c: Likewise.
41135 * math/w_log10.c: Likewise.
41136 * math/w_log10f.c: Likewise.
41137 * math/w_log10l.c: Likewise.
41138 * math/w_log2.c: Likewise.
41139 * math/w_log2f.c: Likewise.
41140 * math/w_log2l.c: Likewise.
41141 * math/w_logf.c: Likewise.
41142 * math/w_logl.c: Likewise.
41143 * math/w_sqrt.c: Likewise.
41144 * math/w_sqrtf.c: Likewise.
41145 * math/w_sqrtl.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41149 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41150 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41151
ebaf36eb
JM
411522012-02-19 Joseph Myers <joseph@codesourcery.com>
41153
41154 [BZ #9739]
41155 * manual/string.texi (strnlen): Use correct parameter name in
41156 equivalent expression.
41157
71c254a6
JM
411582012-02-19 Joseph Myers <joseph@codesourcery.com>
41159
41160 [BZ #11174]
41161 * manual/users.texi (seteuid): Consistently use neweuid for
41162 argument name.
41163
16d2c631
JM
411642012-02-19 Joseph Myers <joseph@codesourcery.com>
41165
41166 [BZ #13704]
41167 * manual/nss.texi (Services in the NSS configuration): Correct
41168 list of services in example configuration file.
41169
cd837b09
NB
411702012-02-19 Nick Bowler <nbowler@draconx.ca>
41171
41172 [BZ #11322]
41173 * manual/arith.texi: Remove statements about negative zero
41174 behaving identically to zero.
41175
02c4bbad
JM
411762012-02-18 Joseph Myers <joseph@codesourcery.com>
41177
41178 [BZ #5993]
41179 * manual/install.texi: Do not document upgrading from libc5.
41180
366842e7
JM
411812012-02-18 Joseph Myers <joseph@codesourcery.com>
41182
41183 [BZ #4596]
41184 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41185
dd54084d
DM
411862012-02-18 David S. Miller <davem@davemloft.net>
41187
41188 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41189 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41190 %o7 across the call.
41191 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41192 instead.
41193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41194 SETUP_PIC_REG_LEAF.
41195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41196 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41197 * sysdeps/sparc/crtn.S: Likewise.
41198
2bcc53a3
UD
411992012-02-17 Ulrich Drepper <drepper@gmail.com>
41200
41201 * aout/Makefile: Remove.
41202
09c093b5
RK
412032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41204
41205 [BZ #13058]
41206 * manual/examples/argp-ex1.c (main): Format definition in GNU
41207 style.
41208 * manual/examples/argp-ex2.c (main): Likewise.
41209 * manual/examples/argp-ex3.c (main): Likewise.
41210 * manual/examples/argp-ex4.c (main): Likewise.
41211 * manual/examples/longopt.c (main): Use new-style prototype
41212 definition.
41213 * manual/examples/strncat.c (main): Specify return type and use
41214 (void) for arguments.
41215 * manual/examples/subopt.c (main): Use char **argv argument.
41216
2ee633a2
JM
412172012-02-17 Joseph Myers <joseph@codesourcery.com>
41218
41219 [BZ #5077]
41220 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41221 rounding modes.
41222
0520adde
FB
412232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41224
41225 [BZ #6907]
41226 * manual/string.texi (strchr): Change when strchrnul is
41227 recommended.
41228
3f4081cd
DGM
412292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41230
41231 [BZ #174]
41232 * manual/locale.texi (setlocale): Document LOCPATH.
41233
d1b10e78
JM
412342012-02-17 Joseph Myers <joseph@codesourcery.com>
41235
41236 [BZ #10210]
41237 * manual/process.texi (execle): Move @dots{} before last argument.
41238
79c6869c
PB
412392012-02-17 Paul Bolle <pebolle@tiscali.nl>
41240
41241 [BZ #12047]
41242 * manual/charset.texi (Generic Charset Conversion): Fix typo
41243 (LC_TYPE -> LC_CTYPE).
41244
cc6e48bc
NB
412452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41246
41247 [BZ #5805]
41248 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41249 (scalbnf): Likewise.
41250 (scalbnl): Likewise.
41251 (scalbln): Likewise.
41252 (scalblnf): Likewise.
41253 (scalblnl): Likewise.
41254 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41255 (vwarnx): Likewise.
41256 (verr): Likewise.
41257 (verrx): Likewise.
41258 * manual/filesys.texi (telldir): Use braces around return type.
41259 * manual/llio.texi (mmap): Add space after comma.
41260 (mmap64): Likewise.
41261 * manual/math.texi (jn): Use @var{} on parameter names.
41262 (jnf): Likewise.
41263 (jnl): Likewise.
41264 (yn): Likewise.
41265 (ynf): Likewise.
41266 (ynl): Likewise.
41267 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41268 line.
41269 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41270 "...".
41271 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41272 (sched_get_priority_max): Likewise.
41273 * manual/signal.texi (sigvec): Add space after comma.
41274 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41275 names.
41276 (if_indextoname): Likewise.
41277 (if_freenameindex): Likewise.
41278 (sendto): Use ',' instead of '.' in prototype.
41279 * manual/startup.texi (syscall): Use @dots{} instead of literal
41280 "...".
41281 * manual/stdio.texi (__fpending): Separate initial words of
41282 paragraph from @deftypefun line.
41283 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41284 "...".
41285 (vsyslog): Use @var{} on parameter names.
41286 * manual/terminal.texi (stty): Use @var{} on parameter names.
41287 * manual/users.texi (getutmp): Use @var{} on parameter names.
41288 (getutmpx): Likewise.
41289
5b23062f
JM
412902012-02-17 Joseph Myers <joseph@codesourcery.com>
41291
41292 [BZ #6884]
41293 * manual/stdio.texi (fopen): Fix typos in description of
41294 ",ccs=STRING".
41295
8dee4833
AJ
412962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41297
41298 [BZ #4026]
41299 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41300 get clock_id definition.
41301
9078ce93
TS
413022012-02-17 Thomas Schwinge <thomas@schwinge.name>
41303
41304 [BZ #4822]
41305 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41306 (madvise): Cast every argument to void on its own.
41307
3835c55f
JM
413082012-02-17 Joseph Myers <joseph@codesourcery.com>
41309
41310 [BZ #9902]
41311 * manual/startup.texi (Exit Status): Fix typo.
41312
35c47e37
JM
413132012-02-17 Joseph Myers <joseph@codesourcery.com>
41314
41315 [BZ #10140]
41316 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41317 * manual/examples/argp-ex2.c: Likewise.
41318 * manual/examples/argp-ex3.c: Likewise.
41319
e3b69ca7
RH
413202012-02-16 Richard Henderson <rth@redhat.com>
41321
41322 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41323 * sysdeps/s390/s390-32/initfini.c: Remove.
41324 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41325 * sysdeps/s390/s390-64/initfini.c: Remove.
41326
df83af67
KK
413272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41328
41329 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41330 compiler output for sysdeps/generic/initfini.c.
41331 * sysdeps/sh/elf/initfini.c: Remove file.
41332
f63f3380
DM
413332012-02-16 David S. Miller <davem@davemloft.net>
41334
fb59b3a4
DM
41335 [BZ #11494]
41336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41337
f63f3380
DM
41338 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41339 * sysdeps/sparc/crti.S: New file.
41340 * sysdeps/sparc/crtn.S: New file.
41341 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41342 * sysdeps/sparc/sparc64/Makefile: Likewise.
41343
df6a4a4a
MF
413442012-02-15 Mike Frysinger <vapier@gentoo.org>
41345
6dd8f3dc 41346 [BZ #3335]
df6a4a4a
MF
41347 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41348
1cac7236
RM
413492012-02-15 Roland McGrath <roland@hack.frob.com>
41350
d2c736f8
RM
41351 [BZ #4822]
41352 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41353
1cac7236
RM
41354 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41355 (write, read, close): Likewise.
41356 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41357
8e475601
JM
413582012-02-15 Joseph Myers <joseph@codesourcery.com>
41359
41360 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41361 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41362 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41363 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41364 <bits/signalfd.h>.
41365 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41367 bits/signalfd.h.
41368
ed656b40
MP
413692012-02-14 Marek Polacek <polacek@redhat.com>
41370
41371 * sysdeps/x86_64/crti.S: New file.
41372 * sysdeps/x86_64/crtn.S: New file.
41373 * sysdeps/x86_64/elf/initfini.c: Remove file.
41374
2a979d3a
JM
413752012-02-13 Joseph Myers <joseph@codesourcery.com>
41376
41377 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41378 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41379 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41380 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41381 <bits/inotify.h>.
41382 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41384 bits/inotify.h.
41385
2a418ac3
JM
413862012-02-13 Joseph Myers <joseph@codesourcery.com>
41387
41388 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41389 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41390 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41391 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41392 <bits/eventfd.h>.
41393 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41395 bits/eventfd.h.
41396
fb779be7
TS
413972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41398
e19e83c5
RM
41399 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41400 __feraiseexcept instead of feraiseexcept.
7c35ffed 41401
fb779be7
TS
41402 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41403 nanosleep invocations.
41404 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41405 strings, and add error checking for a nanosleep invocations.
41406
59ba27a6
PE
414072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41408
41409 Replace FSF snail mail address with URLs, as per GNU coding standards.
41410 Most of the snail mail addresses were wrong anyway, and omitting
41411 them makes the source code easier to maintain. Almost all of the
41412 changes are to license notices and to locale LC_IDENTIFICATION
41413 addresses, except for this one:
41414 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41415 not its snail mail address.
41416
57b957eb
RH
414172012-02-09 Richard Henderson <rth@twiddle.net>
41418
af850b1c
RH
41419 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41420 of kernel-features.h.
41421
57b957eb
RH
41422 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41423
6b73181a
MP
414242012-02-08 Marek Polacek <polacek@redhat.com>
41425
41426 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41427 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41428 * sysdeps/gnu/_G_config.h: Likewise.
41429 * sysdeps/generic/_G_config.h: Likewise.
41430
26ecc33a
AS
414312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41432
6c6dbc63
AS
41433 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41434 tests.
41435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41436
e216c012
AS
41437 * sysdeps/powerpc/powerpc32/crti.S: New file.
41438 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41439 * sysdeps/powerpc/powerpc64/crti.S: New file.
41440 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41441
26ecc33a
AS
41442 * Makeconfig (have-initfini): Don't set.
41443 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41444 * configure.in (nopic_initfini): Don't substitute.
41445 * config.h.in (HAVE_INITFINI): Don't #undef.
41446 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41447 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41448
3add8e13
JM
414492012-02-08 Joseph Myers <joseph@codesourcery.com>
41450
41451 Support crti.S and crtn.S provided directly by architectures.
41452 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41453 [crti.S in sysdirs] (omit-deps): Likewise.
41454 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41455 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41456 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41457 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41458 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41459 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41460 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41461 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41462 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41463 compiler output for sysdeps/generic/initfini.c.
41464 * sysdeps/i386/elf/Makefile: Remove file.
41465 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41466
a22f12b4
MP
414672012-02-07 Marek Polacek <polacek@redhat.com>
41468
41469 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41470 * sysdeps/gnu/_G_config.h: Likewise.
41471 * sysdeps/mach/hurd/_G_config.h: Likewise.
41472
148cf100
MP
414732012-02-07 Marek Polacek <polacek@redhat.com>
41474
41475 * math/Makefile (tests): Add tst-CMPLX2.
41476 * math/tst-CMPLX2.c: New file.
41477
cfdc0dd7
AS
414782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41479
84ba42c4
AS
41480 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41481
cfdc0dd7
AS
41482 * math/libm-test.inc (jn_test): Add missing L suffix.
41483
622c86f4
MP
414842012-02-06 Marek Polacek <polacek@redhat.com>
41485
41486 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41487 * sysdeps/i386/fpu/e_powf.S: Likewise.
41488 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41489 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41490 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41491 * sysdeps/i386/fpu/e_pow.S: Likewise.
41492 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41493 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41494 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41495 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41496 * sysdeps/i386/fpu/e_log2.S: Likewise.
41497 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41498 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41499 * sysdeps/i386/fpu/e_powl.S: Likewise.
41500 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41501 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41502 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41503 * sysdeps/i386/fpu/e_logl.S: Likewise.
41504 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41505 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41506 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41507 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41508 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41510 * sysdeps/i386/fpu/e_log.S: Likewise.
41511 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41512 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41513 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41514 * sysdeps/i386/fpu/e_logf.S: Likewise.
41515 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41516 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41517 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41518 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41519 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41520 * sysdeps/i386/fpu/e_log10.S: Likewise.
41521 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41523 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41524 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41525 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41526 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41527 * sysdeps/i386/asm-syntax.h: Likewise.
41528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41529 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41530 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41531 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41532 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41533 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41534 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41535 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41536 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41537 * sysdeps/powerpc/sysdep.h: Likewise.
41538 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41539 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41540
d4a54ac6
JM
415412012-02-06 Joseph Myers <joseph@codesourcery.com>
41542
41543 [BZ #411]
41544 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41545
314054ea
JM
415462012-02-06 Joseph Myers <joseph@codesourcery.com>
41547
41548 * sysdeps/i386/sysdep.h: Include <features.h>.
41549 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41550 version.
41551
d8e0ca50
JM
415522012-02-05 Joseph Myers <joseph@codesourcery.com>
41553
41554 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41555 Define.
41556 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41557 LOAD_PIC_REG_STR.
41558
b1da7dd9
JM
415592012-02-03 Joseph Myers <joseph@codesourcery.com>
41560
41561 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41562 (SETUP_PIC_REG): Use GET_PC_THUNK.
41563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41564 macro.
41565
9a1d9254
JM
415662012-02-03 Joseph Myers <joseph@codesourcery.com>
41567
41568 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41569 for non-PIC compilation.
41570 (SETUP_PIC_REG): Add .p2align directive.
41571 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41572 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41573 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41574 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41576 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41577 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41578 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41579 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41580 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41581 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41582 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41583 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41584 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41585 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41586 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41587 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41588 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41589 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41590 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41591 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41593 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41594 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41595 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41599 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41600 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41601 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41602 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41603 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41604 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41605 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41606 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41607 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41608 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41609 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41610 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41611 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41612
65dc3b75
JM
416132012-02-03 Joseph Myers <joseph@codesourcery.com>
41614
41615 * math/tst-CMPLX.c: Include <stdio.h>.
41616
d55bf177
JM
416172012-01-31 Joseph Myers <joseph@codesourcery.com>
41618
41619 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41620 float.
41621 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41622 * sysdeps/sparc/bits/mathdef.h: Likewise.
41623
69db4f8f
MP
416242012-01-31 Marek Polacek <polacek@redhat.com>
41625
41626 * libio/libio.h: Don't define _PARAMS.
41627 * locale/programs/config.h: Don't define PARAMS.
41628 * stdlib/strtol_l.c: Likewise.
41629 (__strtol_l): Remove PARAMS from the prototype.
41630
41b81892
UD
416312012-01-31 Ulrich Drepper <drepper@gmail.com>
41632
3b49edc0
UD
41633 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41634 names. Just use the correct names. Remove unnecessary wrapper
41635 functions.
41636 * malloc/arena.c: Likewise.
41637 * malloc/hooks.c: Likewise.
41638
41b81892
UD
41639 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41640 ARENA_TEST says not to. Simplify test for creation of a new arena.
41641 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41642
27a25b6e
UD
416432012-01-30 Ulrich Drepper <drepper@gmail.com>
41644
41645 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41646 into tail calls.
41647 (update_get_addr): New function.
41648 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41649 GET_ADDR_MODULE parameter.
41650
c8a89e7d
JM
416512012-01-30 Joseph Myers <joseph@codesourcery.com>
41652
41653 * crypt/cert.c: Remove __STDC__ conditionals.
41654 * crypt/crypt-entry.c: Likewise.
41655 * crypt/crypt_util.c: Likewise.
41656 * libio/filedoalloc.c: Likewise.
41657 * libio/fileops.c: Likewise.
41658 * libio/genops.c: Likewise.
41659 * libio/iofclose.c: Likewise.
41660 * libio/iofdopen.c: Likewise.
41661 * libio/iofopen.c: Likewise.
41662 * libio/iofopen64.c: Likewise.
41663 * libio/iogetdelim.c: Likewise.
41664 * libio/iopopen.c: Likewise.
41665 * libio/obprintf.c: Likewise.
41666 * libio/oldfileops.c: Likewise.
41667 * libio/oldiofclose.c: Likewise.
41668 * libio/oldiofdopen.c: Likewise.
41669 * libio/oldiofopen.c: Likewise.
41670 * libio/oldiopopen.c: Likewise.
41671 * libio/wfiledoalloc.c: Likewise.
41672 * libio/wgenops.c: Likewise.
41673 * locale/programs/xmalloc.c: Likewise.
41674 * misc/syslog.c: Likewise.
41675 * stdio-common/xbug.c: Likewise.
41676 * string/memchr.c: Likewise.
41677 * string/memcmp.c: Likewise.
41678 * string/memrchr.c: Likewise.
41679 * string/rawmemchr.c: Likewise.
41680 * sysdeps/posix/getcwd.c: Likewise.
41681 * time/strftime_l.c: Likewise.
41682
3b100462
JM
416832012-01-30 Joseph Myers <joseph@codesourcery.com>
41684
41685 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41686 * config.make.in (config-cflags-sse2avx): Define.
41687 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41688 Fix typo.
41689
607998af
CM
416902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41691
41692 * scripts/config.guess: Update from upstream config git repository.
41693 * scripts/config.sub: Likewise.
41694
3601428f
CM
416952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41696
3ac8b282
CM
41697 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41698 (EM_NUM): Update.
41699 (R_TILEPRO_*, R_TILEGX_*): New macros.
41700
e034841e
CM
41701 * scripts/firstversions.awk: Fix bug in version range handling.
41702
540d7568
CM
41703 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41704
3601428f
CM
41705 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41706
463de862
CM
41707 * include/sys/epoll.h: New file.
41708 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41709 libc_hidden_def.
41710
73139a76
UD
417112012-01-28 Ulrich Drepper <drepper@gmail.com>
41712
96bc5b45
UD
41713 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41714 Avoid unnecessary __WORDSIZE == 64 test.
41715 (fmaxf): Use VEX format if possible.
41716 (fmax): Likewise.
41717 (fminf): Likewise.
41718 (fmin): Likewise.
41719
56f6f6a2
UD
41720 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41721 * math/math_private.h: Remove libc_fegetround* and
41722 libc_fesetround*.
41723 * sysdeps/i386/configure.in: Check for -msse2avx.
41724 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41725 also if SSE2AVX is defined.
41726 Remove libc_fegetround* and libc_fesetround*.
41727 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41728 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41730 of HAS_YMM_USABLE.
41731 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41732 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41734 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41736
73139a76
UD
41737 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41738
d73f93a4
AZ
417392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41740
41741 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41742 size is not set.
41743 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41744
6ee65ed6
UD
417452012-01-27 Ulrich Drepper <drepper@gmail.com>
41746
41747 [BZ #13618]
41748 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41749 relocation.
41750 * Makeconfig (libm): Define.
41751 * elf/Makefile: Add rules to build and run tst-relsort1.
41752 * elf/tst-relsort1.c: New file.
41753 * elf/tst-relsort1mod1.c: New file.
41754 * elf/tst-relsort1mod2.c: New file.
41755
8db21882
JM
417562012-01-27 Joseph Myers <joseph@codesourcery.com>
41757
41758 * math/s_ldexp.c: Remove __STDC__ conditionals.
41759 * math/s_ldexpf.c: Likewise.
41760 * math/s_ldexpl.c: Likewise.
41761 * math/s_nextafter.c: Likewise.
41762 * math/s_nexttowardf.c: Likewise.
41763 * math/s_significand.c: Likewise.
41764 * math/s_significandf.c: Likewise.
41765 * math/s_significandl.c: Likewise.
41766 * math/w_jnl.c: Likewise.
41767 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41768 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41769 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41770 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41771 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41773 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41774 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41776 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41777 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41778 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41779 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41780 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41781 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41782 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41783 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41784 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41786 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41787 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41792 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41793 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41794 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41795 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41797 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41798 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41799 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41800 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41801 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41802 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41803 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41804 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41805 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41806 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41807 * sysdeps/ieee754/k_standard.c: Likewise.
41808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41809 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41810 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41811 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41812 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41813 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41815 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41816 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41817 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41818 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41819 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41820 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41821 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41822 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41823 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41824 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41825 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41827 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41830 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41831 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41832 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41833 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41834 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41835 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41837 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41838 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41839 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41840 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41841 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41843 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41844 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41845 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41846 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41847 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41848 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41851 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41857 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41858 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41861 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41862 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41863 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41864 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41869 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41870 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41872 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41873 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41874 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41875 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41876 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41877 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41878 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41880 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41882 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41883 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41884 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41886 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41887 * sysdeps/ieee754/s_matherr.c: Likewise.
41888 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41889 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41892
965a54a4
JM
418932012-01-26 Joseph Myers <joseph@codesourcery.com>
41894
41895 * crypt/md5.h: Remove __STDC__ conditionals.
41896 * libio/libioP.h: Likewise.
41897 * locale/programs/config.h: Likewise.
41898 * sysdeps/generic/sysdep.h: Likewise.
41899 * sysdeps/i386/asm-syntax.h: Likewise.
41900 * sysdeps/s390/asm-syntax.h: Likewise.
41901 * sysdeps/unix/sysdep.h: Likewise.
41902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41904
7071ad79
JM
419052012-01-26 Joseph Myers <joseph@codesourcery.com>
41906
41907 * libio/libio.h: Remove __STDC__ conditionals.
41908 * malloc/obstack.h: Likewise.
41909 * math/complex.h: Likewise.
41910 * math/math.h: Likewise.
41911 * sysdeps/generic/_G_config.h: Likewise.
41912 * sysdeps/gnu/_G_config.h: Likewise.
41913 * sysdeps/mach/hurd/_G_config.h: Likewise.
41914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41915 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41916 * sysdeps/sparc/bits/mathdef.h: Likewise.
41917
afc5ed09
UD
419182012-01-26 Ulrich Drepper <drepper@gmail.com>
41919
41920 [BZ #13583]
41921 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41922 Clean up HAS_* macros.
afc5ed09 41923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41924 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41925 possible.
41926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41927 HAS_AVX.
41928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41933
bdb6de1d
JM
419342012-01-25 Joseph Myers <joseph@codesourcery.com>
41935
41936 * elf/tst-unique3.cc (gets): Remove declaration.
41937 * elf/tst-unique3lib.cc (gets): Likewise.
41938 * elf/tst-unique3lib2.cc (gets): Likewise.
41939 * elf/tst-unique4.cc (gets): Likewise.
41940
b15549e6
UD
419412012-01-24 Ulrich Drepper <drepper@gmail.com>
41942
41943 * include/stdio.h: Add C++ protection. Add gets declarations and
41944 definitions.
41945 * debug/tst-chk1.c: Don't declare gets here.
41946 * stdio-common/tst-gets.c: Likewise.
41947
a037381f
JM
419482012-01-24 Joseph Myers <joseph@codesourcery.com>
41949
41950 * posix/glob: Remove directory.
41951
f1d4aa75
JM
419522012-01-24 Joseph Myers <joseph@codesourcery.com>
41953
41954 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41955
81c0c964
PT
419562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41957
41958 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41959 of the non-standard EPFNOSUPPORT.
41960
0ea698ae
ST
419612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41962
41963 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41964 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41965 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41966
d220b117
UD
419672012-01-21 Ulrich Drepper <drepper@gmail.com>
41968
41969 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41970
3e1aa84e
UD
419712012-01-20 Ulrich Drepper <drepper@gmail.com>
41972
41973 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41974 transient errors.
41975 * nscd/grpcache.c (cache_addgr): Likewise.
41976 * nscd/hstcache.c (cache_addhst): Likewise.
41977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41978 * nscd/pwdcache.c (cache_addpw): Likewise.
41979 * nscd/servicescache.c (cache_addserv): Likewise.
41980
400aa020
UD
419812012-01-16 Ulrich Drepper <drepper@gmail.com>
41982
d77e7869
UD
41983 * malloc/malloc.c: Various cleanups.
41984 * malloc/hooks.c: Likewise.
41985
400aa020
UD
41986 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41987 * stdlib/bug-fmtmsg1.c: New file.
41988
41989 * stdlib/fmtmsg.c (init): Add missing unlock.
41990 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41991
e0a309cf
MP
419922012-01-12 Marek Polacek <polacek@redhat.com>
41993
41994 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41995 and _GNU_SOURCE.
41996
929d11c7
WS
419972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41998
41999 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42000 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42001 macro to ensure uniqueness of label name.
42002 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42003 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42004
41d0e869
UD
420052012-01-11 Ulrich Drepper <drepper@gmail.com>
42006
0cc5ed3b
UD
42007 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42008
41d0e869
UD
42009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42010 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42011 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42013
a47a831a
UD
420142012-01-10 Ulrich Drepper <drepper@gmail.com>
42015
daa891c0
UD
42016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42017
42018 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42019 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42020 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42021
e58ef0f2
UD
42022 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42023
a47a831a 42024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42025 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42026 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42028
42029 * math/bits/math-finite.h: Add ldexp support.
42030
a0bfc9c7
MP
420312012-01-10 Marek Polacek <polacek@redhat.com>
42032
42033 * locale/programs/localedef.h (show_archive_content): Add noreturn
42034 attribute.
42035
d6e97a1d
UD
420362012-01-09 Ulrich Drepper <drepper@gmail.com>
42037
42038 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42039
d5835c26
UD
420402012-01-08 Ulrich Drepper <drepper@gmail.com>
42041
e5f484c6
UD
42042 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42043
d5835c26
UD
42044 * io/Makefile (headers): Add bits/poll2.h.
42045
d1f741e9
WS
420462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42047
42048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42049 typo #include statement.
42050
ec09c1c4
UD
420512012-01-08 Ulrich Drepper <drepper@gmail.com>
42052
42053 * include/sys/cdefs.h: Define __attribute_alloc_size.
42054 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42055 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42056 * elf/pldd.c: Likewise.
42057 * iconv/iconv_charmap.c: Likewise.
42058 * iconv/iconvconfig.c: Likewise.
42059 * iconv/strtab.c: Likewise.
42060 * locale/programs/locale.c: Likewise.
42061 * locale/programs/localedef.h: Likewise.
42062 * locale/programs/simple-hash.c: Likewise.
42063 * nscd/nscd.h: Likewise.
42064 * nss/makedb.c: Likewise.
42065 * sysdeps/generic/ldconfig.h: Likewise.
42066 * locale/programs/localedef.c: Remove xmalloc prototype.
42067 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42068
20b38e03
PP
420692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42070
42071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42072 appropriate.
42073
a0da5fe1
UD
420742012-01-08 Ulrich Drepper <drepper@gmail.com>
42075
1d5a644a 42076 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42077 * math/tst-CMPLX.c: New file.
1d5a644a 42078
8784a6db
UD
42079 * math/complex.h (CMPLXL): Fix typo.
42080
d9a216c0
UD
42081 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42082 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42083 GLIBC_2.16.
42084 * debug/tst-chk1.c: Add poll and ppoll tests.
42085 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42086 * include/sys/poll.h: Add hidden proto for ppoll.
42087 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42088 * sysdeps/mach/hurd/ppoll.c: Likewise.
42089 * io/ppoll.c: Likewise.
42090 * debug/poll_chk.c: New file.
42091 * debug/ppoll_chk.c: New file.
42092 * include/bits/poll2.h: New file.
42093 * io/bits/poll2.h: New file.
42094
ac097f5c
UD
42095 [BZ #1350]
42096 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42097
2119dcfa
UD
42098 * configure.in: static is always set to yes. Remove.
42099 * config.make.in: Don't set build-static.
42100 * Makeconfig: Remove use of build-static.
42101 * dlfcn/Makefile: Likewise.
42102 * elf/Makefile: Likewise.
42103 * math/Makefile: Likewise.
42104 * misc/Makefile: Likewise.
42105 * nptl/Makefile: Likewise.
42106 * sysdeps/mach/hurd/Makefile: Likewise.
42107
121766a9
UD
42108 * configure.in: PWD_P is not used anymore.
42109 * config.make.in: Remove PWD_P entry.
42110
51a1d39c 42111 * configure.in: Remove last remnants of RANLIB.
8720d066 42112 No need to check for signed size_t anymore.
215f4bdc
UD
42113 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42114 and IA-64.
3857022a 42115 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42116 * aclocal.m4: Likewise.
42117
d3ed7225
UD
42118 * wcsmbs/mbrtoc16.c: Implement using towc function.
42119 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42120 * wcsmbs/wcsmbsload.c: Likewise.
42121 * iconv/gconv_simple.c: Likewise.
42122 * iconv/gconv_int.h: Likewise.
42123 * iconv/gconv_builtin.h: Likewise.
42124 * iconv/iconv_prog.c: Remove CHAR16 handling.
42125
42126 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42127
42128 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42129
a0da5fe1
UD
42130 * configure.in: Remove --with-elf and --enable-bounded options.
42131 Dont set base_machine for ia64. More non-ELF conditions removed.
42132 Remove testing and setting of leading underscore information.
42133 * config.make.in (build-bounded): Set to no.
42134 * config.h.in: Remove NO_UNDERSCORES entry.
42135 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42136 them.
42137 * csu/start.c: Remove !NO_UNDERSCORE code.
42138 * locale/localeinfo.h: Likewise.
42139 * sysdeps/generic/machine-gmon.h: Likewise.
42140 * sysdeps/generic/sysdep.h: Likewise.
42141 * sysdeps/i386/sysdep.h: Likewise.
42142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42143 * sysdeps/mach/sysdep.h: Likewise.
42144 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42145 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42146 * sysdeps/sh/sysdep.h: Likewise.
42147 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42148 * sysdeps/unix/i386/sysdep.S: Likewise.
42149 * sysdeps/unix/sparc/start.c: Likewise.
42150 * sysdeps/unix/sparc/sysdep.S: Likewise.
42151 * sysdeps/unix/sparc/sysdep.h: Likewise.
42152 * sysdeps/unix/start.c: Likewise.
42153 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42154 * sysdeps/x86_64/sysdep.h: Likewise.
42155
df78418a
UD
421562012-01-07 Ulrich Drepper <drepper@gmail.com>
42157
a784e502
UD
42158 [BZ #13553]
42159 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42160 for non-gcc.
42161 * argp/argp-fmtstream.h: Use const instead __const.
42162 * argp/argp.h: Likewise.
42163 * assert/assert.h: Likewise.
42164 * bits/fenv.h: Likewise.
42165 * bits/sched.h: Likewise.
42166 * bits/sigset.h: Likewise.
42167 * bits/sigthread.h: Likewise.
42168 * catgets/nl_types.h: Likewise.
42169 * conform/data/pthread.h-data: Likewise.
42170 * crypt/crypt-private.h: Likewise.
42171 * crypt/crypt.h: Likewise.
42172 * crypt/crypt_util.c: Likewise.
42173 * ctype/ctype.h: Likewise.
42174 * debug/execinfo.h: Likewise.
42175 * debug/mbsnrtowcs_chk.c: Likewise.
42176 * debug/mbsrtowcs_chk.c: Likewise.
42177 * debug/wcsnrtombs_chk.c: Likewise.
42178 * debug/wcsrtombs_chk.c: Likewise.
42179 * debug/wcstombs_chk.c: Likewise.
42180 * dirent/dirent.h: Likewise.
42181 * dlfcn/dlfcn.h: Likewise.
42182 * elf/neededtest4.c: Likewise.
42183 * grp/grp.h: Likewise.
42184 * gshadow/gshadow.h: Likewise.
42185 * iconv/gconv.h: Likewise.
42186 * iconv/gconv_int.h: Likewise.
42187 * iconv/gconv_simple.c: Likewise.
42188 * iconv/iconv.h: Likewise.
42189 * iconv/loop.c: Likewise.
42190 * iconv/skeleton.c: Likewise.
42191 * include/aio.h: Likewise.
42192 * include/aliases.h: Likewise.
42193 * include/argz.h: Likewise.
42194 * include/arpa/inet.h: Likewise.
42195 * include/assert.h: Likewise.
42196 * include/dirent.h: Likewise.
42197 * include/dlfcn.h: Likewise.
42198 * include/execinfo.h: Likewise.
42199 * include/fcntl.h: Likewise.
42200 * include/fenv.h: Likewise.
42201 * include/glob.h: Likewise.
42202 * include/grp.h: Likewise.
42203 * include/libintl.h: Likewise.
42204 * include/mntent.h: Likewise.
42205 * include/netdb.h: Likewise.
42206 * include/pwd.h: Likewise.
42207 * include/rpc/netdb.h: Likewise.
42208 * include/sched.h: Likewise.
42209 * include/search.h: Likewise.
42210 * include/shadow.h: Likewise.
42211 * include/signal.h: Likewise.
42212 * include/stdio.h: Likewise.
42213 * include/stdlib.h: Likewise.
42214 * include/string.h: Likewise.
42215 * include/sys/socket.h: Likewise.
42216 * include/sys/stat.h: Likewise.
42217 * include/sys/statfs.h: Likewise.
42218 * include/sys/statvfs.h: Likewise.
42219 * include/sys/syslog.h: Likewise.
42220 * include/sys/time.h: Likewise.
42221 * include/sys/uio.h: Likewise.
42222 * include/time.h: Likewise.
42223 * include/unistd.h: Likewise.
42224 * include/utmp.h: Likewise.
42225 * include/wchar.h: Likewise.
42226 * include/wctype.h: Likewise.
42227 * inet/aliases.h: Likewise.
42228 * inet/arpa/inet.h: Likewise.
42229 * inet/netinet/ether.h: Likewise.
42230 * inet/netinet/in.h: Likewise.
42231 * intl/libintl.h: Likewise.
42232 * io/bits/fcntl2.h: Likewise.
42233 * io/fcntl.h: Likewise.
42234 * io/ftw.h: Likewise.
42235 * io/sys/poll.h: Likewise.
42236 * io/sys/stat.h: Likewise.
42237 * io/sys/statfs.h: Likewise.
42238 * io/sys/statvfs.h: Likewise.
42239 * io/utime.h: Likewise.
42240 * libio/bits/stdio.h: Likewise.
42241 * libio/bits/stdio2.h: Likewise.
42242 * libio/libio.h: Likewise.
42243 * libio/libioP.h: Likewise.
42244 * libio/stdio.h: Likewise.
42245 * locale/lc-ctype.c: Likewise.
42246 * locale/locale.h: Likewise.
42247 * login/utmp.h: Likewise.
42248 * malloc/arena.c: Likewise.
42249 * malloc/malloc.c: Likewise.
42250 * malloc/malloc.h: Likewise.
42251 * malloc/mcheck.c: Likewise.
42252 * malloc/mtrace.c: Likewise.
42253 * math/bits/mathcalls.h: Likewise.
42254 * math/fenv.h: Likewise.
42255 * math/math_private.h: Likewise.
42256 * misc/bits/error.h: Likewise.
42257 * misc/bits/syslog.h: Likewise.
42258 * misc/err.h: Likewise.
42259 * misc/error.h: Likewise.
42260 * misc/fstab.h: Likewise.
42261 * misc/mntent.h: Likewise.
42262 * misc/regexp.h: Likewise.
42263 * misc/search.h: Likewise.
42264 * misc/sgtty.h: Likewise.
42265 * misc/sys/mman.h: Likewise.
42266 * misc/sys/syslog.h: Likewise.
42267 * misc/sys/uio.h: Likewise.
42268 * misc/sys/xattr.h: Likewise.
42269 * misc/ttyent.h: Likewise.
42270 * nis/rpcsvc/ypclnt.h: Likewise.
42271 * nss/nss.h: Likewise.
42272 * posix/bits/unistd.h: Likewise.
42273 * posix/fnmatch.h: Likewise.
42274 * posix/glob.h: Likewise.
42275 * posix/sched.h: Likewise.
42276 * posix/spawn.h: Likewise.
42277 * posix/sys/wait.h: Likewise.
42278 * posix/unistd.h: Likewise.
42279 * posix/wordexp.h: Likewise.
42280 * pwd/pwd.h: Likewise.
42281 * resolv/netdb.h: Likewise.
42282 * resource/sys/resource.h: Likewise.
42283 * rt/aio.h: Likewise.
42284 * rt/bits/mqueue2.h: Likewise.
42285 * rt/mqueue.h: Likewise.
42286 * shadow/shadow.h: Likewise.
42287 * signal/signal.h: Likewise.
42288 * socket/send.c: Likewise.
42289 * socket/sendto.c: Likewise.
42290 * socket/sys/socket.h: Likewise.
42291 * stdio-common/printf.h: Likewise.
42292 * stdlib/bits/stdlib.h: Likewise.
42293 * stdlib/fmtmsg.h: Likewise.
42294 * stdlib/monetary.h: Likewise.
42295 * stdlib/stdlib.h: Likewise.
42296 * stdlib/ucontext.h: Likewise.
42297 * streams/stropts.h: Likewise.
42298 * string/argz.h: Likewise.
42299 * string/bits/string2.h: Likewise.
42300 * string/string.h: Likewise.
42301 * string/strings.h: Likewise.
42302 * sunrpc/rpc/auth.h: Likewise.
42303 * sunrpc/rpc/auth_des.h: Likewise.
42304 * sunrpc/rpc/clnt.h: Likewise.
42305 * sunrpc/rpc/netdb.h: Likewise.
42306 * sunrpc/rpc/pmap_clnt.h: Likewise.
42307 * sunrpc/rpc/xdr.h: Likewise.
42308 * sysdeps/generic/inttypes.h: Likewise.
42309 * sysdeps/generic/net/if.h: Likewise.
42310 * sysdeps/generic/sys/swap.h: Likewise.
42311 * sysdeps/gnu/net/if.h: Likewise.
42312 * sysdeps/gnu/utmpx.h: Likewise.
42313 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42314 * sysdeps/i386/i486/bits/string.h: Likewise.
42315 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42316 * sysdeps/s390/bits/string.h: Likewise.
42317 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42318 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42319 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42320 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42321 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42322 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42323 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42324 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42325 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42326 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42327 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42328 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42329 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42330 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42331 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42332 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42333 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42336 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42338 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42339 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42340 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42341 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42342 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42343 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42345 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42346 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42347 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42348 * sysvipc/sys/ipc.h: Likewise.
42349 * sysvipc/sys/msg.h: Likewise.
42350 * sysvipc/sys/sem.h: Likewise.
42351 * sysvipc/sys/shm.h: Likewise.
42352 * termios/termios.h: Likewise.
42353 * time/sys/time.h: Likewise.
42354 * time/time.h: Likewise.
42355 * wcsmbs/bits/wchar2.h: Likewise.
42356 * wcsmbs/uchar.h: Likewise.
42357 * wcsmbs/wchar.h: Likewise.
42358 * wctype/wctype.h: Likewise.
42359
0269750c
UD
42360 [BZ #13551]
42361 * Makeconfig: Remove all but ELF support including AIX support.
42362 * Makerules: Likewise.
42363 * config.h.in: Likewise.
42364 * config.make.in: Likewise.
42365 * configure: Likewise.
42366 * configure.in: Likewise.
42367 * csu/Makefile: Likewise.
42368 * csu/version.c: Likewise.
42369 * debug/Makefile: Likewise.
42370 * dlfcn/Makefile: Likewise.
42371 * elf/Makefile: Likewise.
42372 * extra-lib.mk: Likewise.
42373 * iconv/Makefile: Likewise.
42374 * include/libc-symbols.h: Likewise.
42375 * include/shlib-compat.h: Likewise.
42376 * resolv/Makefile: Likewise.
42377 * resolv/res_libc.c: Likewise.
42378 * rt/Makefile: Likewise.
42379 * sysdeps/i386/asm-syntax.h: Likewise.
42380 * sysdeps/i386/sysdep.h: Likewise.
42381 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42382 * sysdeps/mach/sysdep.h: Likewise.
42383 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42384 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42385 * sysdeps/s390/asm-syntax.h: Likewise.
42386 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42388 * sysdeps/sh/sysdep.h: Likewise.
42389 * sysdeps/unix/sparc/sysdep.h: Likewise.
42390 * sysdeps/wordsize-32/divdi3.c: Likewise.
42391 * sysdeps/x86_64/sysdep.h: Likewise.
42392
00bbd29b
UD
42393 * argp/Versions: Remove _argp_unlock_xxx.
42394
42395 [BZ #13559]
42396 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42397 * abilist/libBrokenLocale.abilist: Likewise.
42398 * abilist/libanl.abilist: Likewise.
42399 * abilist/libc.abilist: Likewise.
42400 * abilist/libcrypt.abilist: Likewise.
42401 * abilist/libdl.abilist: Likewise.
42402 * abilist/libm.abilist: Likewise.
42403 * abilist/libnsl.abilist: Likewise.
42404 * abilist/libpthread.abilist: Likewise.
42405 * abilist/libresolv.abilist: Likewise.
42406 * abilist/librt.abilist: Likewise.
42407 * abilist/libthread_db.abilist: Likewise.
42408 * abilist/libutil.abilist: Likewise.
42409 * abilist/libnss_db.abilist: New file.
42410
42411 * scripts/abilist.awk: Add support for indirect functions.
42412
a2693a0e
UD
42413 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42414
3f05895f
UD
42415 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42416
ecb6fb48
UD
42417 * shlib-versions: Remove entries for ports architectures.
42418
664f8cb9
UD
42419 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42420 files in ports.
42421 * elf/stackguard-macros.h: Remove support for IA-64.
42422 * elf/tst-auditmod1.c: Likewise.
42423 * sysdeps/generic/ldsodefs.h: Likewise.
42424
7ae81d88
UD
42425 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42426 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42427 configure files.
42428
bdeba135
UD
42429 [BZ #13552]
42430 * configure.in: Remove --enable-omitfp support.
42431 * FAQ.in: Adjust.
42432 * config.make.in: Likewise.
42433 * Makeconfig: Likewise.
42434 * manual/install.texi: Likewise.
42435
d75a0a62
UD
42436 In case anyone cares, the IA-64 architecture could move to ports.
42437 * sysdeps/ia64/*: Removed.
42438 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42439 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42440
dcc9756b
UD
42441 [BZ #13555]
42442 * configure.in: Remove entries for unsupported architectures.
42443
d3761ebc 42444 [BZ #13533]
9954432e
UD
42445 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42446 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42447 routines.
42448 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42449 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42450 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42451 fall back to using wcrtomb.
42452 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42453 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42454 renaming.
42455 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42456 * wcsmbs/tst-c16c32-1.c: New file.
42457
42458 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42459 local variable.
42460
c3a87236
UD
42461 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42462
28926a1b
UD
42463 * elf/tst-unique3.cc: Add explicit declaration of gets.
42464 * elf/tst-unique3lib.cc: Likewise.
42465 * elf/tst-unique3lib2.cc: Likewise.
42466 * elf/tst-unique4.cc: Likewise.
42467
df78418a
UD
42468 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42469
8ecd6b2a
JM
424702012-01-06 Joseph Myers <joseph@codesourcery.com>
42471
42472 [BZ #13566]
42473 * assert/assert.h (static_assert): Don't define for C++.
42474 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42475 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42476
9f115170
UD
424772012-01-03 Ulrich Drepper <drepper@gmail.com>
42478
5e0d0300
UD
42479 * iconv/loop.c (single loop): Fix assertion in storing of
42480 remaining bytes.
42481
9f115170
UD
42482 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42483
81fb02b0
UD
424842012-01-01 Ulrich Drepper <drepper@gmail.com>
42485
42486 * posix/getconf.c: Update copyright year.
42487 * nss/getent.c: Likewise.
a316c1f6 42488 * nss/makedb.c: Likewise.
81fb02b0
UD
42489 * iconv/iconvconfig.c: Likewise.
42490 * iconv/iconv_prog.c: Likewise.
42491 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42492 * elf/pldd.c: Likewise.
42493 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42494 * catgets/gencat.c: Likewise.
42495 * csu/version.c: Likewise.
42496 * elf/ldd.bash.in: Likewise.
42497 * elf/sprof.c (print_version): Likewise.
42498 * locale/programs/locale.c: Likewise.
42499 * locale/programs/localedef.c: Likewise.
a316c1f6 42500 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42501 * nscd/nscd.c (print_version): Likewise.
42502 * debug/xtrace.sh: Likewise.
42503 * malloc/memusage.sh: Likewise.
42504 * malloc/mtrace.pl: Likewise.
42505 * debug/catchsegv.sh: Likewise.
42506
2ba92745
JJ
425072011-12-30 Jakub Jelinek <jakub@redhat.com>
42508
42509 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42510 pure attribute.
42511
dadebdae
UD
425122011-12-24 Ulrich Drepper <drepper@gmail.com>
42513
d3761ebc 42514 [BZ #13533]
db6af3eb
UD
42515 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42516 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42517 transformations.
42518 * iconv/gconv_int.h: Likewise.
42519 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42520 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42521 from libc for GLIBC_2.16.
42522 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42523 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42524 * wcsmbs/uchar.h: Really define mbstate_t.
42525 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42526 * wcsmbs/c16rtomb.c: New file.
42527 * wcsmbs/mbrtoc16.c: New file.
42528 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42529 for C/POSIX locale.
42530 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42531 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42532
dadebdae
UD
42533 * wcsmbs/wchar.h: Add missing __restrict.
42534
67371b56
UD
425352011-12-23 Ulrich Drepper <drepper@gmail.com>
42536
74033a25
UD
42537 [BZ #13532]
42538 * time/Makefile (routines): Add timespec_get.
42539 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42540 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42541 timespec for ISO C11.
42542 * time/timespec_get.c: New file.
42543 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42544 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42545
380d7e87
UD
42546 [BZ #13531]
42547 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42548 * stdlib/stdlib.h: Declare aligned_alloc.
42549 * Versions.def: Add GLIBC_2.16 for libc.
42550 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42551
4e9e7a35
UD
42552 [BZ 13527]
42553 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42554 ISO C11.
42555
380d7e87 42556 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42557 code.
42558
03a71829
UD
42559 [BZ #13528]
42560 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42561
839e283e
UD
42562 [BZ #13529]
42563 * assert/assert.h (static_assert): Define.
42564
ce5294e2 42565 * version.h: Update for 2.16 development version.
90fa7312 42566
8d44e150 42567 [BZ #13526]
d7809905
UD
42568 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42569 _ISOC11_SOURCE.
42570
c0da14cd
UD
42571 * version.h (RELEASE): Bump for 2.15 release.
42572 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42573
530a3249
MP
42574 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42575 Patch by Marek Polacek <mpolacek@redhat.com>.
42576
67371b56
UD
42577 * bits/byteswap.h: Protect long long constants with __extension__.
42578 * sysdeps/i386/bits/byteswap.h: Likewise.
42579 * sysdeps/ia64/bits/byteswap.h: Likewise.
42580 * sysdeps/s390/bits/byteswap.h: Likewise.
42581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42582
15db4de1
LD
425832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42584
42585 [BZ #13540]
bbe315ea
LD
42586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42587 destination buffer.
15db4de1
LD
42588 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42589
2b2596b1
MP
425902011-12-23 Marek Polacek <polacek@redhat.com>
42591
42592 * elf/dl-addr.c (determine_info): Add inline keyword.
42593 * elf/tst-auditmod4b.c (check_avx): Likewise.
42594 * elf/tst-auditmod6b.c (check_avx): Likewise.
42595 * elf/tst-auditmod6c.c (check_avx): Likewise.
42596 * elf/tst-auditmod7b.c (check_avx): Likewise.
42597
70c6c246
UD
425982011-12-23 Ulrich Drepper <drepper@gmail.com>
42599
42600 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42601 !__SSE_MATH__.
42602
c044cf14
LD
426032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42604
15db4de1 42605 [BZ #13540]
c044cf14
LD
42606 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42607 processing for last bytes.
42608
6b13d9d9
BH
426092011-08-06 Bruno Haible <bruno@clisp.org>
42610
d455f537
BH
42611 [BZ #13061]
42612 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42613 U+0385, not to U+1FEE.
42614
6b13d9d9
BH
42615 [BZ #13062]
42616 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42617 entry for U+00A5 U+0301.
42618
db910efd
UD
426192011-12-22 Ulrich Drepper <drepper@gmail.com>
42620
27deeafc
UD
42621 [BZ #13166]
42622 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42623 buffer for the output is too small.
42624
aed9d171
UD
42625 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42626 optimization.
42627
db910efd
UD
42628 [BZ #13185]
42629 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42630 SSE flags if possible.
42631
2bd779ae
LD
426322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42633
e7f9dac3 42634 [BZ #13540]
2bd779ae
LD
42635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42636 processing for last bytes.
42637
154bfc16
JM
426382011-12-22 Joseph Myers <joseph@codesourcery.com>
42639
42640 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42641 (syscall-list-default-options, syscall-list-default-condition)
42642 (syscall-list-includes): Define.
42643 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42644 list of ABIs and options and #if conditions for each ABI. Do not
42645 handle common syscalls between ABIs specially.
42646 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42647 Remove.
42648 (syscall-list-variants, syscall-list-32bit-options)
42649 (syscall-list-32bit-condition, syscall-list-64bit-options)
42650 (syscall-list-64bit-condition): Define.
42651 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42652 (syscall-list-variants, syscall-list-32bit-options)
42653 (syscall-list-32bit-condition, syscall-list-64bit-options)
42654 (syscall-list-64bit-condition): Define.
42655 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42656 Remove.
42657 (syscall-list-variants, syscall-list-32bit-options)
42658 (syscall-list-32bit-condition, syscall-list-64bit-options)
42659 (syscall-list-64bit-condition): Define.
42660 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42661 Remove.
42662 (syscall-list-variants, syscall-list-32bit-options)
42663 (syscall-list-32bit-condition, syscall-list-64bit-options)
42664 (syscall-list-64bit-condition): Define.
42665
21eaf3a5
UD
426662011-12-22 Ulrich Drepper <drepper@gmail.com>
42667
16c6f992
UD
42668 * locale/iso-639.def: Add brx entry.
42669
41043168
UD
42670 [BZ #13328]
42671 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42672 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42673
21eaf3a5
UD
42674 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42675 __feraiseexcept_renamed.
42676
e3a851a2
UD
426772011-12-21 Ulrich Drepper <drepper@gmail.com>
42678
4920765e
UD
42679 [BZ #13538]
42680 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42681 EPOLLET with unsigned values.
42682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42684
e3a851a2
UD
42685 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42686 to large cancellation.
42687 * math/s_cacoshf.c: Likewise.
42688 * math/s_cacoshl.c: Likewise.
42689
b27e24b8
RK
426902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42691
42692 [BZ #13305]
aebefeee 42693 [BZ #12786]
b27e24b8
RK
42694 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42695 * math/s_cacoshf.c: Likewise.
42696 * math/s_cacoshl.c: Likewise.
42697
ee190f67
UD
426982011-12-21 Ulrich Drepper <drepper@gmail.com>
42699
42700 [BZ #13439]
42701 * iconv/gconv.h: Define __GCONV_SWAP.
42702 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42703 * iconvdata/utf-16.c: Likewise.
42704 * iconvdata/utf-32.c: Likewise.
42705
707f25df
AS
427062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42707
42708 [BZ #13524]
42709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42710 numerator after shifting it by one limb.
42711
d2daaa1e
RÁE
427122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42713
42714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42715 under [__USE_EXTERN_INLINES].
42716
a4647e72
UD
427172011-12-17 Ulrich Drepper <drepper@gmail.com>
42718
42719 [BZ #13446]
42720 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42721
f0b264f1
AZ
427222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42723
42724 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42725 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42726 optimized code.
42727 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42728 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42729 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42730 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42731 for strncasecmp/strncasecmp_l compilation.
42732 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42733 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42734
8ef4f244
MP
427352011-12-08 Marek Polacek <mpolacek@redhat.com>
42736
42737 [BZ #13484]
42738 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42739 of __asm__.
42740
97ac2654
UD
427412011-12-17 Ulrich Drepper <drepper@gmail.com>
42742
42743 [BZ #13506]
42744 * time/tzfile.c (__tzfile_read): Check values from file header.
42745
91d2a845
WS
427462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42747
42748 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42749 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42750 * powerpc/powerpc32/dl-start.S: Likewise.
42751 * powerpc/powerpc32/elf/start.S: Likewise.
42752 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42753 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42754 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42755 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42756 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42757 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42758 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42759 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42760 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42761 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42762 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42763 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42764 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42765 * powerpc/powerpc32/memset.S: Likewise.
42766 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42767 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42768 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42769 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42770 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42771 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42772 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42773 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42774 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42775 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42776 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42777 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42778 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42779
a1267ba1
AZ
427802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42781
42782 * math/libm-test.inc: Added more nearbyint tests.
42783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42784 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42787
ad8ac1bd
RL
427882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42789
42790 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42791 FD_CLOEXEC.
42792
1d3e4b61
UD
427932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42794
42795 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42796 Add wcscpy-ssse3 wcscpy-c.
42797 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42798 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42799 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42800 * sysdeps/x86_64/wcschr.S: New file.
42801 * sysdeps/x86_64/wcsrchr.S: New file.
42802 * string/test-strcmp.c: Remove checking of wcscmp function for
42803 wrong alignments.
42804 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42805 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42806 wcsrchr-sse2 wcsrchr-c.
42807 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42808 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42809 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42810 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42811 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42812 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42813 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42814 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42815 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42816 * wcsmbc/wcschr.c (WCSCHR): New macro.
42817
5b330a2d
UD
428182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42819
42820 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42821 * wcsmbs/test-wcsrchr.c: New file.
42822 * string/test-strrchr.c: Add wcsrchr support.
42823 (WIDE): New macro.
42824 * wcsmbs/test-wcscpy.c: New file.
42825 * string/test-strcpy.c: Add wcscpy support.
42826 (WIDE): New macro.
26428b7c 42827
f039c043
UD
428282011-12-10 Ulrich Drepper <drepper@gmail.com>
42829
42830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42831 the inner loop.
42832
850fb039
AS
428332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42834
42835 [BZ #13472]
42836 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42837
4efbd5cb
UD
428382011-12-04 Ulrich Drepper <drepper@gmail.com>
42839
52ff5dd0 42840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42841 Minor optimizations.
52ff5dd0 42842
4efbd5cb
UD
42843 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42844 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42845 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42846
8a426e12
UD
428472011-12-03 Ulrich Drepper <drepper@gmail.com>
42848
aff2453d
UD
42849 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42850 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42851 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42852 for gcc to avoid warnings.
42853 * inet/Makefile (tests): Add tst-checks.
42854 * inet/tst-checks.c: New file.
42855
42856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42857 warning.
42858
42859 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42860 __wmemcmp_sse2.
42861
42862 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42863 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42864
8a426e12
UD
42865 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42866
9bea3473
UD
428672011-12-02 Ulrich Drepper <drepper@gmail.com>
42868
3a965496
UD
42869 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42870 problem.
42871
9bea3473
UD
42872 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42873
f101631b
UD
428742011-11-29 Joseph Myers <joseph@codesourcery.com>
42875
42876 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42877 conditional on GCC version.
42878 (__arch_compare_and_exchange_val_8_acq)
42879 (__arch_compare_and_exchange_val_16_acq)
42880 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42881 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42882 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42883
a98275aa
UD
428842011-12-02 Joseph Myers <joseph@codesourcery.com>
42885
42886 * sysdeps/sh/backtrace.c: New file.
42887
d4cc29a2
AS
428882011-12-02 Andreas Schwab <schwab@redhat.com>
42889
42890 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42891 parenthesis.
42892
6257af2d
AS
428932011-12-01 Andreas Schwab <schwab@redhat.com>
42894
42895 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42896 falling back to utime.
42897
b5f44c1a
AS
428982011-11-30 Andreas Schwab <schwab@redhat.com>
42899
42900 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42901 expectations for float.
42902
f3a6cc0a
AS
429032011-11-29 Andreas Schwab <schwab@redhat.com>
42904
42905 * locale/weight.h (findidx): Add parameter len.
42906 * locale/weightwc.h (findidx): Likewise.
42907 * posix/fnmatch_loop.c (FCT): Adjust caller.
42908 * posix/regcomp.c (build_equiv_class): Likewise.
42909 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42910 * posix/regexec.c (check_node_accept_bytes): Likewise.
42911 * string/strcoll_l.c (STRCOLL): Likewise.
42912 * string/strxfrm_l.c (STRXFRM): Likewise.
42913
9d65ea3a
UD
429142011-11-17 Ulrich Drepper <drepper@gmail.com>
42915
42916 * Makefile.in: Remove CVSOPT handling.
42917 * configure.in: Remove use of AC_REVISION.
42918 * iconvdata/Makefile (distribute): No need to filter out CVS.
42919 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42920 handling.
42921
5583a086
AS
429222011-11-16 Andreas Schwab <schwab@redhat.com>
42923
42924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42925 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42926 [USE_AS_STRNCASECMP_L]: Likewise.
42927 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42928 NO_TLS_DIRECT_SEG_REFS.
42929 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42930 Fix argument offsets for non-PIC.
42931 [USE_AS_STRNCASECMP_L]: Likewise.
42932 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42933 NO_TLS_DIRECT_SEG_REFS.
42934
d62a8200
UD
429352011-11-15 Ulrich Drepper <drepper@gmail.com>
42936
9d65ea3a 42937 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42938 O_CLOEXEC.
42939 * locale/loadlocale.c (_nl_load_locale): Likewise.
42940
09f93bd3
AS
429412011-11-15 Andreas Schwab <schwab@redhat.com>
42942
446514f9
AS
42943 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42944 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42945 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42946 (SYSCALL_GETTIME): Set errno on error.
42947
09f93bd3
AS
42948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42949 count references to noai6ai_cached.
42950
312be3f9
UD
429512011-11-15 Ulrich Drepper <drepper@gmail.com>
42952
42953 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42954
42955 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42956 FD_CLOEXEC for /proc/self/maps.
42957
42958 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42959 FD_CLOEXEC for /proc/meminfo.
42960
42961 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42962 gai.conf.
42963
42964 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42965 FD_CLOEXEC for given file.
42966
42967 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42968
42969 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42970 FD_CLOEXEC for /etc/hosts.
42971 (_gethtent): Likewise.
42972
42973 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42974
42975 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42976 cancellation and set FD_CLOEXEC for /etc/netgroup.
42977
42978 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42979 reading /etc/publickey.
42980
42981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42982 allow cancellation when reading /etc/group.
42983
42984 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42985 cancellation.
42986 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42987
42988 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42989 when using data file.
42990
42991 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42992
42993 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42994 (write_nis_obj): Use "c" and "e" in fopen.
42995
42996 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42997
42998 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42999
43000 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43001
43002 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43003
43004 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43005 locale.alias.
43006
43007 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43008
43009 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43010
43011 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43012
43013 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43014 file parsing and set FD_CLOEXEC.
43015
82af0fa8
UD
430162011-11-14 Ulrich Drepper <drepper@gmail.com>
43017
43018 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43019
a5fb313c
AS
430202011-11-14 Andreas Schwab <schwab@redhat.com>
43021
43022 * malloc/arena.c (arena_get2): Don't call reused_arena when
43023 _int_new_arena failed.
43024
6abf3465
UD
430252011-11-14 Ulrich Drepper <drepper@gmail.com>
43026
43027 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43028 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43031 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43033 to compile strcasecmp and strncasecmp.
43034 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43035 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43036
43037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43038
76e3966e
UD
430392011-11-13 Ulrich Drepper <drepper@gmail.com>
43040
43041 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43042 locale-defines.sym to gen-as-const-headers.
43043 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43044 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43046 to compile strcasecmp and strncasecmp.
43047 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43048 strcasecmp_l and strncasecmp_l.
43049 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43050 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43051 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43052 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43053 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43054 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43055 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43056 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43057 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43058 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43059 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43060
ab26144e
UD
430612011-11-12 Ulrich Drepper <drepper@gmail.com>
43062
7edb22ef
UD
43063 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43064 result of SYSDEP_GETTIME_CPU to retval.
43065 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43066 parameter list to macro. Remove trailing semicolon. Adjust users.
43067
9694fc44
UD
43068 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43069 variable.
43070
8ad89ef8
UD
43071 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43072 mantissa words.
43073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43074
0c822ef9
UD
43075 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43076 from unused variable.
43077
874e0564
UD
43078 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43079 DWARF definitions.
43080 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43081 for assembling.
43082
3a2edc79
UD
43083 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43084 over namespaces.
43085
f3c2577f
UD
43086 * sunrpc/rpc_prot.c (rejected): Fix case value.
43087
294ce126
UD
43088 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43089 unsigned long long int to avoid warnings in shift.
43090
5e2b63c6
UD
43091 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43092 of use of trans.
43093 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43094 variable tmp.
43095
e7f4b08e
UD
43096 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43097 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43098 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43099
ab26144e
UD
43100 * nis/nis_table.c (nis_list): Use variable of correct type for
43101 result of __follow_path call.
43102
8a6d5255
AZ
431032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43104
43105 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43106 of math functions ceil, trunc, floor, round, and sqrt, when
43107 avaliable on the platform.
43108 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43109 name clash.
43110 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43112 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43113
aaddc98c
MP
431142011-10-30 Marek Polacek <mpolacek@redhat.com>
43115
43116 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43118
95b7042b
RM
431192011-11-11 Roland McGrath <roland@hack.frob.com>
43120
43121 * include/unistd.h: Fix __readlink return type.
43122 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43123
57769839
UD
431242011-11-11 Ulrich Drepper <drepper@gmail.com>
43125
43126 * stdlib/ucontext.h: Undo last change for makecontext.
43127
edc5984d
AS
431282011-11-11 Andreas Schwab <schwab@redhat.com>
43129
98591e58
AS
43130 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43131
edc5984d
AS
43132 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43133 * setjmp/setjmp.h: Mark functions as non-leaf.
43134 * setjmp/bits/setjmp2.h: Likewise.
43135 * stdlib/ucontext.h: Likewise.
43136
77cdc054
AS
431372011-11-10 Andreas Schwab <schwab@redhat.com>
43138
43139 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43140 (reused_arena): Don't check arena limit.
43141 (arena_get2): Atomically check arena limit.
43142
fe72eebd
UD
431432011-11-08 Ulrich Drepper <drepper@gmail.com>
43144
5f078c32
UD
43145 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43146 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43147
fe72eebd
UD
43148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43149 instructions.
43150
ae1bc2fa
AS
431512011-11-07 Andreas Schwab <schwab@redhat.com>
43152
7583a88d
AS
43153 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43154 handler when locking.
43155
ae1bc2fa
AS
43156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43157 Fix size of allocated buffer.
43158
10fb0bfa
AS
431592011-11-04 Andreas Schwab <schwab@redhat.com>
43160
998832a4
AS
43161 [BZ #10103]
43162 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43163 declarations for long double functions.
43164 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43165
10fb0bfa
AS
43166 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43167
3d7ba52b
AS
431682011-11-03 Andreas Schwab <schwab@redhat.com>
43169
a9ae54a1
AS
43170 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43171 installed.
43172
3d7ba52b
AS
43173 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43174 is disabled.
43175
bc8db248
ST
431762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43177
43178 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43179
45b96dd6
AS
431802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43181
647776f6
AS
43182 * include/alloca.h (stackinfo_alloca_round): Define.
43183 (extend_alloca): Use it.
43184 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43185 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43186 here.
43187
d91a8b93
AS
43188 * scripts/check-local-headers.sh: Ignore libaudit.h.
43189
45b96dd6
AS
43190 * nscd/Makefile (extra-objs): Make recursively expanded.
43191
432d41ce
UD
431922011-11-01 Ulrich Drepper <drepper@gmail.com>
43193
34372fc6
UD
43194 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43196
fadb59f8
UD
43197 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43198 * posix/tst-rfc3484-2.c: Likewise.
43199 * posix/tst-rfc3484-3.c: Likewise.
43200
78239589
UD
43201 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43202 process_vm_writev.
43203 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43204 process_vm_writev.
43205 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43206 process_vm_writev from libc using GLIBC_2.15 version.
43207
432d41ce
UD
43208 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43209
02f9c6cf
PP
432102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43211
43212 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43213 stack usage.
43214
3a2c0242
UD
432152011-10-31 Ulrich Drepper <drepper@gmail.com>
43216
f4ec4833
UD
43217 [BZ #13367]
43218 * nss/getent.c (initgroups_keys): Show error message in case no group
43219 names are given.
43220
3a2c0242
UD
43221 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43222 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43223 __bump_nl_timestamp.
43224 * nscd/connections (nscd_init): When host database is served open
43225 netlink socket and request notification about configuration changes.
43226 (main_loop_poll): Track netlink file descriptor and bump timestamp
43227 in case data becomes available.
43228 (main_loop_epoll): Likewise.
43229 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43230 (database_pers_head): Add extra_data fileds.
43231 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43233 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43234 Adjust caller.
43235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43236 in6ai data, call __free_in6ai.
43237 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43238 Add -DHAVE_NETLINK.
43239 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43240 interface information. Reuse previous data if netlink timestamp
43241 is not changed.
43242 (__bump_nl_timestamp): New function.
43243 (__free_in6ai): New function.
43244
636064eb
UD
432452011-10-30 Ulrich Drepper <drepper@gmail.com>
43246
43247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43248 close_not_cancel_no_status here.
43249 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43250
9beb2334
UD
432512011-10-29 Ulrich Drepper <drepper@gmail.com>
43252
6ef76f3b
UD
43253 [BZ #13276]
43254 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43255 return value.
43256
0ffc4f3e 43257 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43258 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43259 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43260
cb95113e
UD
432612011-07-03 Andreas Jaeger <aj@suse.de>
43262
43263 [BZ #10709]
43264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43265 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43266 * math/libm-test.inc (sin_test): Add test case.
43267
a1b560ff
UD
432682011-10-29 Ulrich Drepper <drepper@gmail.com>
43269
c9aaface
UD
43270 [BZ #13337]
43271 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43272 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43273
d272e7f1
UD
43274 * elf/chroot_canon.c (chroot_canon): Cleanups.
43275
1bc33071
UD
43276 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43277
1760874d
TJ
43278 [BZ #13335]
43279 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43280 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43281
51d91b18
UD
43282 * string/test-strchr.c: Make usable for strchrnul testing.
43283 * string/test-strchrnul.c: New file.
43284 * string/Makefile (strop-tests): Add strchrnul.
43285
a1b560ff 43286 * po/it.po: Update from translation team.
b611fb81 43287 * po/es.po: Likewise.
a1b560ff 43288
a5b81e1f
UD
432892011-10-28 Ulrich Drepper <drepper@gmail.com>
43290
fd52bc6d
UD
43291 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43292 the three constants needed as parameters. Drop the others.
43293 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43294 __m128i_strloadu_tolower.
52e4b9eb
UD
43295 Create and initialize variable zero and use it in all the places
43296 where _mm_setzero_si128 was used.
fd52bc6d 43297
a5b81e1f
UD
43298 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43299 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43300 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43301 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43302 anymore.
43303 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43304 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43305 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43306 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43307 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43308 __mpranred, __mptan.
43309 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43310 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43311 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43312 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43313 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43314 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43316 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43317 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43318
b4343346
AS
433192011-10-28 Andreas Schwab <schwab@redhat.com>
43320
0c92d8a8
AS
43321 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43322 redefine if SHARED.
43323 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43324
b4343346
AS
43325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43326 wide char related routines to wcsmbs subdir.
43327
3871f58f
AS
433282011-10-27 Andreas Schwab <schwab@redhat.com>
43329
43330 [BZ #13344]
43331 * misc/sys/cdefs.h (__THROWNL): Define.
43332 * posix/unistd.h: Use __THREADNL instead of __THREAD
43333 for memory synchronization functions.
43334
94d44d9f
RM
433352011-10-26 Roland McGrath <roland@hack.frob.com>
43336
21b64b15 43337 [BZ #13349]
94d44d9f
RM
43338 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43339 doesn't exist.
43340 * manual/stdio.texi (Obstack Streams): Node removed.
43341
f6ce9294
AS
433422011-10-26 Andreas Schwab <schwab@redhat.com>
43343
80479147
AS
43344 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43346 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43347
f6ce9294
AS
43348 * math/math_private.h (math_force_eval): Allow non-addressable
43349 arguments.
43350 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43351
618280a1
UD
433522011-10-25 Ulrich Drepper <drepper@gmail.com>
43353
e0016b11
UD
43354 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43355 file is not needed.
43356
43357 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43360 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43362 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43364 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43365 Add AVX variants.
43366 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43367 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43368 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43369 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43370 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43371 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43372 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43374 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43375 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43376 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43377 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43378 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43379 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43380 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43381 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43382 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43383 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43384 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43385
43386 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43387 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43388
618280a1
UD
43389 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43390 place. Use VEX encoding when compiling for AVX.
43391
37822576
AS
433922011-10-25 Andreas Schwab <schwab@redhat.com>
43393
1f1e1947
AS
43394 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43395 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43396
37822576
AS
43397 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43398
31ea014d
UD
433992011-10-25 Ulrich Drepper <drepper@gmail.com>
43400
d7826aa1 43401 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43402 useless if() expression.
d7826aa1
UD
43403 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43404 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43411 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43412 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43414 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43415 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43416 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43417 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43420 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43421 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43422
31ea014d
UD
43423 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43424
16437fec
AS
434252011-10-25 Andreas Schwab <schwab@redhat.com>
43426
43427 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43428 condition.
43429 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43430
31d3cc00
UD
434312011-10-25 Ulrich Drepper <drepper@gmail.com>
43432
43433 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43434 .text section. Avoid duplicate constants.
43435 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43443 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43444 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43445 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43446 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43447 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43448 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43452 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43455 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43456 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43457 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43458 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43459 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43460 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43461 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43462 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43464 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43466 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43467 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43468 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43469 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43470 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43471 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43473 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43474 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43480
58985aa9
UD
434812011-10-24 Ulrich Drepper <drepper@gmail.com>
43482
202c9deb
UD
43483 * sysdeps/x86_64/dla.h: Move to ...
43484 * sysdeps/x86_64/fpu/dla.h: ...here.
43485 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43486 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43487
af968f62
UD
43488 * config.make.in: Add have-mfma4 entry.
43489 * configure.in: Substitute libc_cv_cc_fma4.
43490 * math/Makefile (dbl-only-routines): Add sincostab.
43491 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43492 Use __sincostab not sincos.
43493 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43494 name is a macro.
43495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43499 using __copysign.
43500 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43501 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43502 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43503 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43504 and __inv.
43505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43506 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43507 __copysign.
43508 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43509 define aliases when function name is a macro.
43510 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43511 sysdeps/ieee754/dbl-64/sincos.tbl.
43512 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43513 fma4-enabled routines.
43514 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43515 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43516 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43517 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43518 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43519 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43521 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43523 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43524 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43525 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43526 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43527 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43528 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43529 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43530 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43531 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43532 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43534 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43535 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43538 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43539 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43540 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43541 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43543 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43544
58985aa9
UD
43545 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43546 rename.
43547 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43555
a201fbcf
AS
435562011-10-24 Andreas Schwab <schwab@redhat.com>
43557
43558 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43559
fc2ee42a
LD
435602011-10-23 Ulrich Drepper <drepper@gmail.com>
43561
bb3129bd
UD
43562 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43563
0275fff8
UD
43564 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43565 prediction.
43566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43567
2fa2ae85
UD
43568 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43569 Remove unused variable magic_bits.
43570 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43571
fc2ee42a
LD
43572 * string/strnlen.c: Define and use STRNLEN macro.
43573 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43574 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43576 * wcsmbs/wcslen.c: Define and use WCSLEN.
43577 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43578 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43579 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43580 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43581 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43582 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43583 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43584
ce7dd29f
LD
435852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43586
43587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43588 strnlen-sse2-no-bsf.
43589 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43591 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43592 Add strnlen support.
43593 (USE_AS_STRNLEN): New macro.
43594 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43595 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43596 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43597 * sysdeps/x86_64/wcslen.S: New file.
43598
979c70a3
MZ
435992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43600
43601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43602 XMM-moves are used for copying on small sizes.
43603
2d09f82f
LD
436042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43605
43606 * wcsmbs/Makefile (strop-tests): Add wcschr.
43607 * wcsmbs/test-wcschr.c: New file.
43608 * string/test-strchr.c: Update.
43609 Add wcschr support.
43610 (WIDE): New macro.
43611
619fccca
LD
436122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43613
2d09f82f 43614 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43615 * wcsmbs/test-wcslen.c: New file.
43616 * string/test-strlen.c: Update.
43617 Add wcslen support.
43618 (WIDE): New macro.
43619
09f699ea
UD
436202011-10-23 Ulrich Drepper <drepper@gmail.com>
43621
43622 * po/it.po: Update from translation team.
43623
95584d3b
LD
436242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43625
43626 * sysdeps/x86_64/wcscmp.S: Update.
43627 Fix wrong comparison semantics.
43628 wcscmp shall use signed comparison not unsigned.
43629 Don't use substraction to avoid overflow bug.
43630 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43631 * wcsmbc/wcscmp.c: Likewise.
43632 * string/test-strcmp.c: Likewise.
43633 Add new tests to check cases with negative values.
43634
c8b3296b
UD
436352011-10-23 Ulrich Drepper <drepper@gmail.com>
43636
43637 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43638 * sysdeps/x86_64/dla.h: ...here. New file.
43639 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43648
246ad57a
AS
436492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43650
43651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43652 __ynl_finite aliases.
43653
a1a87169
UD
436542011-10-22 Ulrich Drepper <drepper@gmail.com>
43655
0d355eb7
UD
43656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43657
a1a87169
UD
43658 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43659 define DLA_FMA.
43660 [DLA_FMA] (EMULV): Use DLA_FMA.
43661 [DLA_FMA] (MUL12): Use EMULV.
43662 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43663 that are not needed.
43664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43671
ee2aafe0
AS
436722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43673
43674 * math/s_nan.c: Undef __nan.
43675 * math/s_nanf.c: Undef __nanf.
43676 * math/s_nanl.c: Undef __nanl.
43677 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43678 "math_private.h".
43679
bc62c2fb
UD
436802011-10-22 Ulrich Drepper <drepper@gmail.com>
43681
77425c63
UD
43682 * math/s_catan.c: Add branch predictions.
43683 * math/s_catanf.c: Likewise.
43684 * math/s_catanh.c: Likewise.
43685 * math/s_catanhf.c: Likewise.
43686 * math/s_catanhl.c: Likewise.
43687 * math/s_catanl.c: Likewise.
43688 * math/s_cexp.c: Likewise.
43689 * math/s_cexpf.c: Likewise.
43690 * math/s_cexpl.c: Likewise.
43691 * math/s_clog.c: Likewise.
43692 * math/s_clog10.c: Likewise.
43693 * math/s_clog10f.c: Likewise.
43694 * math/s_clog10l.c: Likewise.
43695 * math/s_clogf.c: Likewise.
43696 * math/s_clogl.c: Likewise.
43697 * math/s_csqrt.c: Likewise.
43698 * math/s_csqrtf.c: Likewise.
43699 * math/s_csqrtl.c: Likewise.
43700 * math/s_ctanf.c: Likewise.
43701 * math/s_ctanh.c: Likewise.
43702 * math/s_ctanhf.c: Likewise.
43703 * math/s_ctanhl.c: Likewise.
43704 * math/s_ctanl.c: Likewise.
43705
bc62c2fb
UD
43706 * math/math_private.h: Define __nan, __nanf, __nanl.
43707 * math/s_cacosh.c: Include <math_private.h>.
43708 * math/s_cacoshl.c: Likewise.
43709 * math/s_casinh.c: Likewise.
43710 * math/s_casinhf.c: Likewise.
43711 * math/s_casinhl.c: Likewise.
43712 * math/s_ccos.c: Rely entire on ccosh.
43713 * math/s_ccosf.c: Rely entire on ccoshf.
43714 * math/s_ccosl.c: Rely entirely on ccoshl.
43715 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43716 Remove tests for FE_INVALID.
43717 * math/s_ccoshf.c: Likewise.
43718 * math/s_ccoshl.c: Likewise.
43719 * math/s_csin.c: Likewise.
43720 * math/s_csinf.c: Likewise.
43721 * math/s_csinh.c Likewise.
43722 * math/s_csinhf.c: Likewise.
43723 * math/s_csinhl.c: Likewise.
43724 * math/s_csinl.c: Likewise.
43725 * math/s_ctan.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43727 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43729
8ec250a4
UD
437302011-10-21 Ulrich Drepper <drepper@gmail.com>
43731
c196fed8
UD
43732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43733 compilation problems.
43734
8ec250a4
UD
43735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43736 __builtin_expect.
43737
8d4f46c6
UD
437382011-10-20 Ulrich Drepper <drepper@gmail.com>
43739
ed72b654
UD
43740 * sysdeps/i386/configure.in: Test for -mfma4 option.
43741 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43742 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43743 COMMON_CPUID_INDEX_80000001.
43744 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43745 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43746 use it if FMA3 is not supported.
43747 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43748
8d4f46c6
UD
43749 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43750 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43751
d45c60c2
AS
437522011-10-20 Andreas Schwab <schwab@redhat.com>
43753
43754 [BZ #12892]
43755 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43756 it would create a cycle with a link time dependency.
43757
d9a4d2ab
UD
437582011-10-19 Ulrich Drepper <drepper@gmail.com>
43759
855d1560
UD
43760 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43761 instruction.
43762 * string/Makefile (strop-tests): Add rawmemchr.
43763 * string/test-rawmemchr.c: New file.
43764
d9a4d2ab
UD
43765 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43767 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43768 when compiling str{,n}casecmp and when AVX is available. Hook up
43769 new optimized code in initializers.
43770
8f3b1ffe
AS
437712011-10-19 Andreas Schwab <schwab@redhat.com>
43772
43773 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43774 __feraiseexcept instead of feraiseexcept.
43775
d38f1dba
UD
437762011-10-18 Ulrich Drepper <drepper@gmail.com>
43777
d9a8d0ab
UD
43778 * math/math_private.h: Define defaults for libc_fetestexcept and
43779 libc_feupdateenv.
43780 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43781 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43783 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43784 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43785 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43786 libc_fetestexcept and libc_feupdateenv.
43787
4855e3dd
UD
43788 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43789 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43790 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43791 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43792 libc_feholdexcept_setround.
43793
581d30e3
UD
43794 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43795 Add s_nearbyint-c and s_nearbyintf-c.
43796 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43797 nearbyintf inlines.
43798 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43799 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43800 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43801 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43802
d38f1dba
UD
43803 * math/math_private.h: Define defaults for libc_fegetround,
43804 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43805 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43806 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43808 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43809 standard functions.
43810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43811 Remove comments and hacks for old compiler versions.
43812 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43813 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43814 libc_feholdexceptl.
43815
caa6c9d8
AS
438162011-10-18 Andreas Schwab <schwab@redhat.com>
43817
43818 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43819 (__feraiseexcept_renamed): Add __NTH.
43820 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43821 namespace violations.
43822
97c066e6
UD
438232011-10-17 Ulrich Drepper <drepper@gmail.com>
43824
99ce7b04
UD
43825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43826
1004d182
UD
43827 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43828
228a984d
UD
43829 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43830 recently added interfaces.
43831 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43832
c8553a6a
UD
43833 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43834 about macro parameter expansion.
43835
ed22dcf6
UD
43836 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43837 __NO_MATH_INLINES is defined. Cleanups.
43838
43839 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43840 and __floorf is target has SSE4.1.
43841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43842 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43843 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43845
b171c137
UD
43846 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43847 name.
43848 (floorf): Likewise.
43849
97c066e6
UD
43850 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43851
629f62ef
AS
438522011-10-17 Andreas Schwab <schwab@redhat.com>
43853
49a43d80
AS
43854 * misc/sys/cdefs.h: Fix last change.
43855
629f62ef
AS
43856 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43857 database lookup.
43858
e453f6cd
UD
438592011-10-16 Ulrich Drepper <drepper@gmail.com>
43860
aa78043a
UD
43861 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43862
ad0f5cad
UD
43863 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43869 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43870 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43871 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43872 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43873 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43874 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43875 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43876 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43877 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43878 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43879 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43881 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43882 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43883 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43885
43886 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43887 ceil, ceilf, floor, floorf.
43888
43889 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43890 Perform IRELATIVE relocations last.
43891
e453f6cd
UD
43892 * elf/do-rel.h: Add another parameter nrelative, replacing the
43893 local variable with the same name. Change name of the function
43894 to end in Rel or Rela (uppercase).
43895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43896 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43897 elf_dynamic_do_##reloc function.
43898
fd5bdc09
UD
438992011-10-15 Ulrich Drepper <drepper@gmail.com>
43900
79b195b5
UD
43901 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43902 is sufficient, at least on modern CPUs.
43903
d4a28569
UD
43904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43905
b61099b5
UD
43906 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43908
bcf01e6d
UD
43909 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43910 __expl_finite.
43911 * math/bits/math-finite.h: Add entries for exp.
43912 * math/e_expl.c: Add __*_finite alias.
43913 * sysdeps/i386/fpu/e_exp.S: Likewise.
43914 * sysdeps/i386/fpu/e_expf.S: Likewise.
43915 * sysdeps/i386/fpu/e_expl.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43917 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43921 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43922 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43923
ba1a0d59
UD
43924 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43925 is sufficient, at least on modern CPUs.
43926
fd5bdc09
UD
43927 * ctype/ctype-info.c (__ctype_init): Define.
43928 * include/ctype.h (__ctype_init): Declare.
43929 (__ctype_b_loc): The variable is always initialized.
43930 (__ctype_toupper_loc): Likewise.
43931 (__ctype_tolower_loc): Likewise.
43932 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43933 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43934
7872cfb0
AS
439352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43936
b468825a
AS
43937 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43938
7872cfb0
AS
43939 * configure.in: Also look in $cxxmachine/include for C++ system
43940 headers.
43941
be13f7bf
LD
439422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43943
43944 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43945 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43946 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43947 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43949 (USE_AS_WMEMCMP): New macro.
43950 Fixing indents.
43951 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43952 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43953 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43954 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43956 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43957 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43958 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43959 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43960 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43961 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43962 (USE_AS_WMEMCMP): New macro.
43963 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43964 * sysdeps/string/test-memcmp.c: Update.
43965 Fix simple_wmemcmp.
43966 Add new tests.
43967 * wcsmbs/wmemcmp.c: Update.
43968 (WMEMCMP): New macro.
43969 Fix overflow bug.
43970
556a2007
AJ
439712011-10-12 Andreas Jaeger <aj@suse.de>
43972
43973 [BZ #13268]
43974 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43975
538faaa7
UD
439762011-10-15 Ulrich Drepper <drepper@gmail.com>
43977
ab6737ff
UD
43978 * libio/iofwide.c (do_length): Avoid warning.
43979
538faaa7
UD
43980 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43981
396a21b1
UD
439822011-10-14 Ulrich Drepper <drepper@gmail.com>
43983
cdf2901f
UD
43984 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43985
38ad40ce
UD
43986 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43987 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43988 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43989 * sysdeps/i386/i686/fpu/e_log.S: New file.
43990 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43991 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43992
396a21b1
UD
43993 * ctype/ctype.h: Add support for inlined isXXX functions when
43994 compiling C++ code.
43995
6b1f68c9
AS
439962011-10-14 Andreas Schwab <schwab@redhat.com>
43997
349290c0
AS
43998 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43999
6b1f68c9
AS
44000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44001
f2282d42
RM
440022011-10-13 Roland McGrath <roland@hack.frob.com>
44003
44004 [BZ #13291]
44005 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44006
5298ffa8
AS
440072011-10-13 Andreas Schwab <schwab@redhat.com>
44008
714fad23
AS
44009 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44010 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44011 feraiseexcept.
44012
81dcc7fb
AS
44013 * sysdeps/x86_64/memrchr.S: Check for zero size.
44014
5298ffa8
AS
44015 * string/stratcliff.c: Add memrchr tests.
44016
951fbcec
LD
440172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44018
44019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44020 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44021 rawmemchr-sse2 rawmemchr-sse2-bsf.
44022 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44023 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44024 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44025 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44026 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44027 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44028 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44029 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44030 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44031 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44032 * string/memrchr.c (MEMRCHR): New macro.
44033
0ac5ae23
UD
440342011-10-12 Ulrich Drepper <drepper@gmail.com>
44035
44036 Add integration with gcc's -ffinite-math-only and optimize wrapper
44037 functions in libm.
44038 * Versions.def: Define GLIBC_2.15 version for libm.
44039 * math/Makefile (headers): Add bits/math-finite.h.
44040 * math/bits/math-finite.h: New file.
44041 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44042 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44043 * math/e_acoshl.c: Add __*_finite alias.
44044 * math/e_acosl.c: Likewise.
44045 * math/e_asinl.c: Likewise.
44046 * math/e_atan2l.c: Likewise.
44047 * math/e_atanhl.c: Likewise.
44048 * math/e_coshl.c: Likewise.
44049 * math/e_exp10.c: Likewise.
44050 * math/e_exp10f.c: Likewise.
44051 * math/e_exp10l.c: Likewise.
44052 * math/e_exp2l.c: Likewise.
44053 * math/e_fmodl.c: Likewise.
44054 * math/e_gammal_r.c: Likewise.
44055 * math/e_hypotl.c: Likewise.
44056 * math/e_j0l.c: Likewise.
44057 * math/e_j1l.c: Likewise.
44058 * math/e_jnl.c: Likewise.
44059 * math/e_lgammal_r.c: Likewise.
44060 * math/e_log10l.c: Likewise.
44061 * math/e_log2l.c: Likewise.
44062 * math/e_logl.c: Likewise.
44063 * math/e_powl.c: Likewise.
44064 * math/e_sinhl.c: Likewise.
44065 * math/e_sqrtl.c: Likewise.
44066 * math/e_scalb.c: Completely rewritten and optimized.
44067 * math/e_scalbf.c: Likewise.
44068 * math/e_scalbl.c: Likewise.
44069 * math/w_acos.c: Likewise.
44070 * math/w_acosf.c: Likewise.
44071 * math/w_acosl.c: Likewise.
44072 * math/w_acosh.c: Likewise.
44073 * math/w_acoshf.c: Likewise.
44074 * math/w_acoshl.c: Likewise.
44075 * math/w_asin.c: Likewise.
44076 * math/w_asinf.c: Likewise.
44077 * math/w_asinl.c: Likewise.
44078 * math/w_atan2.c: Likewise.
44079 * math/w_atan2f.c: Likewise.
44080 * math/w_atan2l.c: Likewise.
44081 * math/w_atanh.c: Likewise.
44082 * math/w_atanhf.c: Likewise.
44083 * math/w_atanhl.c: Likewise.
44084 * math/w_exp10.c: Likewise.
44085 * math/w_exp10f.c: Likewise.
44086 * math/w_exp10l.c: Likewise.
44087 * math/w_fmod.c: Likewise.
44088 * math/w_fmodf.c: Likewise.
44089 * math/w_fmodl.c: Likewise.
44090 * math/w_j0.c: Likewise.
44091 * math/w_j0f.c: Likewise.
44092 * math/w_j0l.c: Likewise.
44093 * math/w_j1.c: Likewise.
44094 * math/w_j1f.c: Likewise.
44095 * math/w_j1l.c: Likewise.
44096 * math/w_jn.c: Likewise.
44097 * math/w_jnf.c: Likewise.
44098 * math/w_log.c: Likewise.
44099 * math/w_logf.c: Likewise.
44100 * math/w_logl.c: Likewise.
44101 * math/w_log10.c: Likewise.
44102 * math/w_log10f.c: Likewise.
44103 * math/w_log10l.c: Likewise.
44104 * math/w_log2.c: Likewise.
44105 * math/w_log2f.c: Likewise.
44106 * math/w_log2l.c: Likewise.
44107 * math/w_pow.c: Likewise.
44108 * math/w_powf.c: Likewise.
44109 * math/w_powl.c: Likewise.
44110 * math/w_remainder.c: Likewise.
44111 * math/w_remainderf.c: Likewise.
44112 * math/w_remainderl.c: Likewise.
44113 * math/w_scalb.c: Likewise.
44114 * math/w_scalbf.c: Likewise.
44115 * math/w_scalbl.c: Likewise.
44116 * math/w_sqrt.c: Likewise.
44117 * math/w_sqrtf.c: Likewise.
44118 * math/w_sqrtl.c: Likewise.
44119 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44120 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44121 used.
44122 * math/math_private.h: Declare __kernel_standard_f.
44123 * math/w_cosh.c: Remove cruft and optimize a bit.
44124 * math/w_coshf.c: Likewise.
44125 * math/w_coshl.c: Likewise.
44126 * math/w_exp2.c: Likewise.
44127 * math/w_exp2f.c: Likewise.
44128 * math/w_exp2l.c: Likewise.
44129 * math/w_hypot.c: Likewise.
44130 * math/w_hypotf.c: Likewise.
44131 * math/w_hypotl.c: Likewise.
44132 * math/w_lgamma.c: Likewise.
44133 * math/w_lgamma_r.c: Likewise.
44134 * math/w_lgammaf.c: Likewise.
44135 * math/w_lgammaf_r.c: Likewise.
44136 * math/w_lgammal.c: Likewise.
44137 * math/w_lgammal_r.c: Likewise.
44138 * math/w_sinh.c: Likewise.
44139 * math/w_sinhf.c: Likewise.
44140 * math/w_sinhl.c: Likewise.
44141 * math/w_tgamma.c: Likewise.
44142 * math/w_tgammaf.c: Likewise.
44143 * math/w_tgammal.c: Likewise.
44144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44146 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44147 Minor optimizations. Pretty printing. Remove cruft.
44148 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44149 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44151 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44152 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44153 * sysdeps/i386/fpu/e_asin.S: Likewise.
44154 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44155 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44156 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44157 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44159 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44161 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44162 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44163 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44164 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44165 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44166 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44167 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44168 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44169 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44170 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44171 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44172 * sysdeps/i386/fpu/e_log.S: Likewise.
44173 * sysdeps/i386/fpu/e_log10.S: Likewise.
44174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44175 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44176 * sysdeps/i386/fpu/e_log2.S: Likewise.
44177 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44179 * sysdeps/i386/fpu/e_logf.S: Likewise.
44180 * sysdeps/i386/fpu/e_logl.S: Likewise.
44181 * sysdeps/i386/fpu/e_pow.S: Likewise.
44182 * sysdeps/i386/fpu/e_powf.S: Likewise.
44183 * sysdeps/i386/fpu/e_powl.S: Likewise.
44184 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44185 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44186 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44189 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44190 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44191 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44192 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44193 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44201 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44202 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44203 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44204 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44207 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44213 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44214 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44217 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44218 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44219 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44220 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44221 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44222 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44223 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44224 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44226 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44227 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44228 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44229 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44230 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44231 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44232 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44233 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44234 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44235 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44239 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44240 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44243 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44244 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44245 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44249 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44250 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44259 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44261 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44262 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44263 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44264 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44272 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44275 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44278 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44282 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44286 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44287 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44288 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44289 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44290 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44291 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44292 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44293 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44294 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44295 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44296 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44298 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44299 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44301 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44302 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44303 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44304 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44305 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44306 (__isnanf): Likewise.
44307 (__isinf_ns): Likewise.
44308 (__isinf_nsf): Likewise.
44309 (__finite): Likewise.
44310 (__finitef): Likewise.
44311 (__ieee754_sqrt): Define as macro.
44312 (__ieee754_sqrtf): Define as macro.
44313 (__ieee754_sqrtl): Define as macro.
44314 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44315 inlined copy.
44316 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44317 __FINITE_MATH_ONLY__ consistent.
44318 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44319
12cc2fcd
AS
443202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44321
a843a204
AS
44322 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44323 of rawmemchr.
44324
12cc2fcd
AS
44325 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44326
c853acd5
UD
443272011-10-09 Ulrich Drepper <drepper@gmail.com>
44328
44329 * po/ja.po: Update from translation team.
44330
c658d255
RM
443312011-10-08 Roland McGrath <roland@hack.frob.com>
44332
110946e4
RM
44333 * locale/programs/locarchive.c (prepare_address_space): New function.
44334 (create_archive, enlarge_archive, open_archive): Use it.
44335
50604220
RM
44336 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44337 inside [SHARED], where it is used.
44338
c658d255
RM
44339 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44340
44341 * nss/getent.c (netgroup_keys): Remove unused variable.
44342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44343
6a621eb7
UD
443442011-10-08 Ulrich Drepper <drepper@gmail.com>
44345
7edb55ce
UD
44346 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44347 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44350 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44351 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44352 * math/Makefile (libm-calls): Add s_isinf_ns.
44353 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44354 * math/multc3.c: Likewise.
44355 * math/s_casin.c: Likewise.
44356 * math/s_casinf.c: Likewise.
44357 * math/s_casinl.c: Likewise.
44358 * math/s_ccos.c: Likewise.
44359 * math/s_ccosf.c: Likewise.
44360 * math/s_ccosl.c: Likewise.
44361 * math/s_ctan.c: Likewise.
44362 * math/s_ctanf.c: Likewise.
44363 * math/s_ctanh.c: Likewise.
44364 * math/s_ctanhf.c: Likewise.
44365 * math/s_ctanhl.c: Likewise.
44366 * math/s_ctanl.c: Likewise.
44367 * math/w_fmod.c: Likewise.
44368 * math/w_fmodf.c: Likewise.
44369 * math/w_fmodl.c: Likewise.
44370 * math/w_remainder.c: Likewise.
44371 * math/w_remainderf.c: Likewise.
44372 * math/w_remainderl.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44374 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44377 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44378 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44379 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44380 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44381
187da0ae
UD
44382 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44383 of the number.
44384 * stdio-common/printf_fphex.c: Likewise.
44385 * stdio-common/printf_size.c: Likewise.
44386
9277c064
UD
44387 * math/e_exp10.c: Include math_private.h using <...> not "...".
44388 * math/e_exp10f.c: Likewise.
44389 * math/e_exp10l.c: Likewise.
44390 * math/e_exp2l.c: Likewise.
44391 * math/e_j0l.c: Likewise.
44392 * math/e_j1l.c: Likewise.
44393 * math/e_jnl.c: Likewise.
44394 * math/e_lgammal_r.c: Likewise.
44395 * math/e_rem_pio2l.c: Likewise.
44396 * math/e_scalb.c: Likewise.
44397 * math/e_scalbf.c: Likewise.
44398 * math/e_scalbl.c: Likewise.
44399 * math/k_cosl.c: Likewise.
44400 * math/k_sinl.c: Likewise.
44401 * math/k_tanl.c: Likewise.
44402 * math/s_cacoshf.c: Likewise.
44403 * math/s_catan.c: Likewise.
44404 * math/s_catanf.c: Likewise.
44405 * math/s_catanh.c: Likewise.
44406 * math/s_catanhf.c: Likewise.
44407 * math/s_catanhl.c: Likewise.
44408 * math/s_catanl.c: Likewise.
44409 * math/s_ccosh.c: Likewise.
44410 * math/s_ccoshf.c: Likewise.
44411 * math/s_ccoshl.c: Likewise.
44412 * math/s_cexp.c: Likewise.
44413 * math/s_cexpf.c: Likewise.
44414 * math/s_cexpl.c: Likewise.
44415 * math/s_clog.c: Likewise.
44416 * math/s_clog10.c: Likewise.
44417 * math/s_clog10f.c: Likewise.
44418 * math/s_clog10l.c: Likewise.
44419 * math/s_clogf.c: Likewise.
44420 * math/s_clogl.c: Likewise.
44421 * math/s_csin.c: Likewise.
44422 * math/s_csinf.c: Likewise.
44423 * math/s_csinh.c: Likewise.
44424 * math/s_csinhf.c: Likewise.
44425 * math/s_csinhl.c: Likewise.
44426 * math/s_csinl.c: Likewise.
44427 * math/s_csqrt.c: Likewise.
44428 * math/s_csqrtf.c: Likewise.
44429 * math/s_csqrtl.c: Likewise.
44430 * math/s_ctan.c: Likewise.
44431 * math/s_ctanf.c: Likewise.
44432 * math/s_ctanh.c: Likewise.
44433 * math/s_ctanhf.c: Likewise.
44434 * math/s_ctanhl.c: Likewise.
44435 * math/s_ctanl.c: Likewise.
44436 * math/s_ldexp.c: Likewise.
44437 * math/s_ldexpf.c: Likewise.
44438 * math/s_ldexpl.c: Likewise.
44439 * math/s_significand.c: Likewise.
44440 * math/s_significandf.c: Likewise.
44441 * math/s_significandl.c: Likewise.
44442 * math/w_acos.c: Likewise.
44443 * math/w_acosf.c: Likewise.
44444 * math/w_acosh.c: Likewise.
44445 * math/w_acoshf.c: Likewise.
44446 * math/w_acoshl.c: Likewise.
44447 * math/w_acosl.c: Likewise.
44448 * math/w_asin.c: Likewise.
44449 * math/w_asinf.c: Likewise.
44450 * math/w_asinl.c: Likewise.
44451 * math/w_atan2.c: Likewise.
44452 * math/w_atan2f.c: Likewise.
44453 * math/w_atan2l.c: Likewise.
44454 * math/w_atanh.c: Likewise.
44455 * math/w_atanhf.c: Likewise.
44456 * math/w_atanhl.c: Likewise.
44457 * math/w_cosh.c: Likewise.
44458 * math/w_coshf.c: Likewise.
44459 * math/w_coshl.c: Likewise.
44460 * math/w_dremf.c: Likewise.
44461 * math/w_exp10.c: Likewise.
44462 * math/w_exp10f.c: Likewise.
44463 * math/w_exp10l.c: Likewise.
44464 * math/w_exp2.c: Likewise.
44465 * math/w_exp2f.c: Likewise.
44466 * math/w_fmod.c: Likewise.
44467 * math/w_fmodf.c: Likewise.
44468 * math/w_fmodl.c: Likewise.
44469 * math/w_hypot.c: Likewise.
44470 * math/w_hypotf.c: Likewise.
44471 * math/w_hypotl.c: Likewise.
44472 * math/w_j0.c: Likewise.
44473 * math/w_j0f.c: Likewise.
44474 * math/w_j0l.c: Likewise.
44475 * math/w_j1.c: Likewise.
44476 * math/w_j1f.c: Likewise.
44477 * math/w_j1l.c: Likewise.
44478 * math/w_jn.c: Likewise.
44479 * math/w_jnf.c: Likewise.
44480 * math/w_jnl.c: Likewise.
44481 * math/w_lgamma.c: Likewise.
44482 * math/w_lgamma_r.c: Likewise.
44483 * math/w_lgammaf.c: Likewise.
44484 * math/w_lgammaf_r.c: Likewise.
44485 * math/w_lgammal.c: Likewise.
44486 * math/w_lgammal_r.c: Likewise.
44487 * math/w_log.c: Likewise.
44488 * math/w_log10.c: Likewise.
44489 * math/w_log10f.c: Likewise.
44490 * math/w_log10l.c: Likewise.
44491 * math/w_log2.c: Likewise.
44492 * math/w_log2f.c: Likewise.
44493 * math/w_log2l.c: Likewise.
44494 * math/w_logf.c: Likewise.
44495 * math/w_logl.c: Likewise.
44496 * math/w_pow.c: Likewise.
44497 * math/w_powf.c: Likewise.
44498 * math/w_powl.c: Likewise.
44499 * math/w_remainder.c: Likewise.
44500 * math/w_remainderf.c: Likewise.
44501 * math/w_remainderl.c: Likewise.
44502 * math/w_scalb.c: Likewise.
44503 * math/w_scalbf.c: Likewise.
44504 * math/w_scalbl.c: Likewise.
44505 * math/w_sinh.c: Likewise.
44506 * math/w_sinhf.c: Likewise.
44507 * math/w_sinhl.c: Likewise.
44508 * math/w_sqrt.c: Likewise.
44509 * math/w_sqrtf.c: Likewise.
44510 * math/w_sqrtl.c: Likewise.
44511 * math/w_tgamma.c: Likewise.
44512 * math/w_tgammaf.c: Likewise.
44513 * math/w_tgammal.c: Likewise.
44514
6a621eb7
UD
44515 * po/ja.po: Update from translation team.
44516
bf582445
AJ
445172011-09-29 Andreas Jaeger <aj@suse.de>
44518
f9efbf3a
AJ
44519 [BZ #13179]
44520 * sunrpc/netname.c (netname2host): Fix logic.
44521
bf582445
AJ
44522 [BZ #6779]
44523 [BZ #6783]
44524 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44525 correctly.
44526 * math/w_remainder.c (__remainder): Likewise.
44527 * math/w_remainderf.c (__remainderf): Likewise.
44528 * math/libm-test.inc (remainder_test): Add test cases.
44529
48693bea
AK
445302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44531
44532 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44533 sdiv_qrnnd.
44534
42622229
LD
445352011-10-07 Ulrich Drepper <drepper@gmail.com>
44536
44537 * string/test-memcmp.c: Avoid unncessary #defines.
44538 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44539
093ecf92
LD
445402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44541
44542 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44543 Use new sse2 version for core i3 - i7 as it's faster
44544 than sse42 version.
44545 (bit_Prefer_PMINUB_for_stringop): New.
44546 * sysdeps/x86_64/rawmemchr.S: Update.
44547 Replace with faster SSE2 version.
44548 * sysdeps/x86_64/memrchr.S: New file.
44549 * sysdeps/x86_64/memchr.S: Update.
44550 Replace with faster SSE2 version.
44551
fde56e5c
MP
445522011-09-12 Marek Polacek <mpolacek@redhat.com>
44553
44554 * elf/dl-load.c (lose): Add cast to avoid warning.
44555
21fd49a9
UD
445562011-10-07 Ulrich Drepper <drepper@gmail.com>
44557
5a06e643
UD
44558 * po/ca.po: Update from translation team.
44559
684ae515
UD
44560 * inet/getnetgrent_r.c: Hook up nscd.
44561 * nscd/Makefile (routines): Add nscd_netgroup.
44562 (nscd-modules): Add netgroupcache.
44563 (CFLAGS-netgroupcache.c): Define.
44564 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44565 (cache_search): Add const to second parameter.
44566 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44567 INNETGR.
44568 (dbs): Add netgrdb entry.
44569 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44570 (verify_persistent_db): Handle netgrdb.
44571 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44572 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44573 GETFDNETGR.
44574 (netgroup_response_header): Define.
44575 (innetgroup_response_header): Define.
44576 (datahead): Add netgroup_response_header and innetgroup_response_header
44577 elements.
44578 * nscd/nscd.conf: Add entries for netgroup cache.
44579 * nscd/nscd.h (dbtype): Add netgrdb.
44580 (_PATH_NSCD_NETGROUP_DB): Define.
44581 (netgroup_iov_disabled): Declare.
44582 (xmalloc, xcalloc, xrealloc): Move declarations here.
44583 (cache_search): Adjust prototype.
44584 Add netgroup-related prototypes.
44585 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44586 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44587 (__nscd_innetgr): Declare.
44588 * nscd/selinux.c (perms): Use access_vector_t as element type and
44589 add netgroup-related initializers.
44590 * nscd/netgroupcache.c: New file.
44591 * nscd/nscd_netgroup.c: New file.
44592 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44593 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44594 For four parameters use innetgr.
44595 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44596 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44597 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44598 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44599
21fd49a9
UD
44600 * nscd/connections.c (register_traced_file): Don't register file
44601 for disabled databases.
44602
054c0457
UD
446032011-10-06 Ulrich Drepper <drepper@gmail.com>
44604
32b63198
UD
44605 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44606
054c0457
UD
44607 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44608 from tree and freeing node.
44609
64031225
JO
446102011-09-25 Jiri Olsa <jolsa@redhat.com>
44611
44612 * nss/nsswitch.c (__nss_database_lookup): Handle
44613 nss_parse_service_list out of memory case.
44614
0490345c
JO
446152011-09-15 Jiri Olsa <jolsa@redhat.com>
44616
44617 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44618 out of memory case.
44619
3a62d00d
AS
446202011-10-04 Andreas Schwab <schwab@redhat.com>
44621
44622 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44623 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44624 pass it down.
44625 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44626 elf_machine_rela, elf_machine_lazy_rel.
44627 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44628 (ELF_DYNAMIC_DO_REL): Likewise.
44629 (ELF_DYNAMIC_DO_RELA): Likewise.
44630 (ELF_DYNAMIC_RELOCATE): Likewise.
44631 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44632 to ELF_DYNAMIC_DO_REL.
44633 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44634 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44635 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44636 elf_machine_rela.
44637 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44638 skip_ifunc, don't call ifunc function if non-zero.
44639 (elf_machine_rela): Likewise.
44640 (elf_machine_lazy_rel): Likewise.
44641 (elf_machine_lazy_rela): Likewise.
44642 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44643 (elf_machine_lazy_rel): Likewise.
44644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44645 Likewise.
44646 (elf_machine_lazy_rel): Likewise.
44647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44648 Likewise.
44649 (elf_machine_lazy_rel): Likewise.
44650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44651 (elf_machine_lazy_rel): Likewise.
44652 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44653 (elf_machine_lazy_rel): Likewise.
44654 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44655 (elf_machine_lazy_rel): Likewise.
44656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44657 (elf_machine_lazy_rel): Likewise.
44658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44659 (elf_machine_lazy_rel): Likewise.
44660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44661 (elf_machine_lazy_rel): Likewise.
44662
68577918
UD
446632011-09-28 Ulrich Drepper <drepper@gmail.com>
44664
44665 * nss/nss_files/files-init.c (_nss_files_init): Use static
44666 initialization for all the *_traced_file variables.
44667
68822d74
AS
446682011-09-28 Andreas Schwab <schwab@redhat.com>
44669
44670 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44671
2056100b
RM
446722011-09-27 Roland McGrath <roland@hack.frob.com>
44673
44674 [BZ #13226]
44675 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44676
32c76b63
AS
446772011-09-27 Andreas Schwab <schwab@redhat.com>
44678
44679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44680 Reread the line before reparsing it.
44681
bf972c9d
AS
446822011-09-26 Andreas Schwab <schwab@redhat.com>
44683
44684 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44685
e057a1b5
JM
446862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44687 Maxim Kuvyrkov <maxim@codesourcery.com>
44688 Joseph Myers <joseph@codesourcery.com>
44689
44690 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44691 if needed for __stack_chk_guard.
44692
bc7e1c36
RM
446932011-09-19 Roland McGrath <roland@hack.frob.com>
44694
ecb1482f
RM
44695 * sysdeps/posix/spawni.c (script_execute): Always define it.
44696 It will be optimized away if unused.
44697 (maybe_script_execute): New function.
44698 (__spawni): Call it.
44699
bc7e1c36
RM
44700 * Makerules: Don't include tls.make.
44701 (config-tls): Always set to thread.
44702 * tls.make.c: File removed.
44703
1c3b002b
MF
447042011-09-19 Mike Frysinger <vapier@gentoo.org>
44705
44706 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44707 * config.make.in (CPPFLAGS-config): New substituted variable.
44708
2840865d
UD
447092011-09-15 Ulrich Drepper <drepper@gmail.com>
44710
88738eb6
UD
44711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44712
cbf645a6 44713 [BZ #13192]
2840865d
UD
44714 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44715 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44716
b402e91a
RM
447172011-09-15 Roland McGrath <roland@hack.frob.com>
44718
44719 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44720 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44722 (CALL_FAIL): Likewise.
44723 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44724 (CALL_FAIL): Macro removed.
44725 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44726
4c1a1f71
UD
447272011-09-15 Ulrich Drepper <drepper@gmail.com>
44728
44729 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44730 for __FINITE_MATH_ONLY__ == 1.
44731
edc121be
AS
447322011-09-15 Andreas Schwab <schwab@redhat.com>
44733
44734 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44735 __ieee754_sqrt instead of sqrt.
44736 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44737 __ieee754_sqrtf instead of sqrtf.
44738 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44739 __floorf instead of floorf.
44740 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44741 __floorf, __truncf instead of floorf, truncf.
44742
cd205654
UD
447432011-09-14 Ulrich Drepper <drepper@gmail.com>
44744
ee4d0315
UD
44745 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44746
cd205654
UD
44747 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44748 __extern_always_inline.
44749 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44750 32-bit.
44751
48b67d71
AS
447522011-09-14 Andreas Schwab <schwab@redhat.com>
44753
44754 * elf/rtld.c (dl_main): Also relocate in dependency order when
44755 doing symbol dependency testing.
44756
1ae12c75
AS
447572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44758
44759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44760 Always define `refsym'.
44761
995a80df
AS
447622011-09-13 Andreas Schwab <schwab@redhat.com>
44763
e529793b
AS
44764 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44765 (__FD_ELT): Renamed from __FDELT.
44766 * misc/bits/select2.h (__FD_ELT): Likewise.
44767 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44768 __FD_MASK instead of __FDELT, __FDMASK.
44769 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44770 Likewise.
44771 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44772 Likewise.
44773
52d4fef8
AS
44774 * elf/Makefile (gen-ldd): Fix pattern.
44775
995a80df
AS
44776 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44777 (init_tls): Likewise.
44778
8682f8b0
UD
447792011-09-12 Ulrich Drepper <drepper@gmail.com>
44780
44781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44782
de82006d
AS
447832011-09-12 Andreas Schwab <schwab@redhat.com>
44784
a7c8e6a1
AS
44785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44786 `struct cmsghdr *' instead of `void *'.
44787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44788 Likewise.
44789
0f31fe77
AS
447902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44791
44792 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44793 if non-absolute.
44794 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44795 ldd_rewrite_script.
0f31fe77 44796
32b4c839
UD
447972011-09-11 Ulrich Drepper <drepper@gmail.com>
44798
83cd1420
UD
44799 * configure.in: Remove --with-tls option.
44800 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44801 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44802 out in case it is missing.
44803 * sysdeps/ia64/elf/configure.in: Likewise.
44804 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44805 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44806 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44807 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44808 * sysdeps/sh/elf/configure.in: Likewise.
44809 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44810 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44811 * sysdeps/x86_64/elf/configure.in: Likewise.
44812 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44813 * sysdeps/mach/hurd/tls.h: Likewise.
44814
633f745d
UD
44815 [BZ #13067]
44816 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44817
f318beb8
UD
44818 [BZ #13090]
44819 * configure.in: Fix use of AC_INIT.
44820
32b4c839
UD
44821 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44822
3ce1f295
UD
448232011-09-10 Ulrich Drepper <drepper@gmail.com>
44824
bb016596
UD
44825 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44826 __set_errno.
8e58439c
UD
44827 * malloc/hooks.c: Likewise.
44828
aebae053 44829 [BZ #11929]
02d46fc4
UD
44830 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44831 variables statically.
44832 (narenas): Initialize.
44833 (list_lock): Initialize.
bb016596
UD
44834 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44835 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44836 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44837 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44838 Add initializers to main_arena and mp_.
44839 (malloc_state): Remove pagesize member. Change all users to use
44840 GLRO(dl_pagesize).
44841
44842 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44843 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44844 is always initialized.
44845
22a89187
UD
44846 * malloc/malloc.c: Removed unused configurations and dead code.
44847 * malloc/arena.c: Likewise.
44848 * malloc/hooks.c: Likewise.
02d46fc4 44849 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44850
d063d164
UD
44851 * include/tls.h: Removed. USE___THREAD must always be defined.
44852 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44853 * elf/dl-libc.c: Likewise.
44854 * elf/dl-tsd.c: Likewise.
44855 * include/errno.h: Likewise.
44856 * include/netdb.h: Likewise.
44857 * include/resolv.h: Likewise.
44858 * inet/herrno-loc.c: Likewise.
44859 * inet/herrno.c: Likewise.
44860 * malloc/arena.c: Likewise.
44861 * malloc/hooks.c: Likewise.
44862 * malloc/malloc.c: Likewise.
44863 * resolv/res-state.c: Likewise.
44864 * resolv/res_libc.c: Likewise.
44865 * sysdeps/i386/dl-machine.h: Likewise.
44866 * sysdeps/ia64/dl-machine.h: Likewise.
44867 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44868 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44869 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44870 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44871 * sysdeps/sh/dl-machine.h: Likewise.
44872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44873 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44874 * sysdeps/unix/i386/sysdep.S: Likewise.
44875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44876 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44880 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44881 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44885 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44886 * sysdeps/x86_64/dl-machine.h: Likewise.
44887 * tls.make.c: Likewise.
44888
3ce1f295
UD
44889 * configure.in: Remove --with-__thread option. Make tests for
44890 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44891 tls_model attribute fail if no support is available. Remove
44892 USE_IN_LIBIO.
44893 * Makeconfig: Adjust for dropped configure option. All features are
44894 now mandatory.
44895 * Makerules: Likewise.
44896 * Versions.def: Likewise.
44897 * argp/argp-fmtstream.c: Likewise.
44898 * argp/argp-fmtstream.h: Likewise.
44899 * argp/argp-help.c: Likewise.
44900 * assert/assert.c: Likewise.
44901 * config.h.in: Likewise.
44902 * config.make.in: Likewise.
44903 * configure: Likewise.
44904 * configure.in: Likewise.
44905 * csu/Versions: Likewise.
44906 * csu/init.c: Likewise.
44907 * elf/tst-audit2.c: Likewise.
44908 * elf/tst-tls10.c: Likewise.
44909 * elf/tst-tls10.h: Likewise.
44910 * elf/tst-tls11.c: Likewise.
44911 * elf/tst-tls12.c: Likewise.
44912 * elf/tst-tls14.c: Likewise.
44913 * elf/tst-tlsmod11.c: Likewise.
44914 * elf/tst-tlsmod12.c: Likewise.
44915 * elf/tst-tlsmod13.c: Likewise.
44916 * elf/tst-tlsmod13a.c: Likewise.
44917 * elf/tst-tlsmod14a.c: Likewise.
44918 * elf/tst-tlsmod15b.c: Likewise.
44919 * elf/tst-tlsmod16a.c: Likewise.
44920 * elf/tst-tlsmod16b.c: Likewise.
44921 * elf/tst-tlsmod7.c: Likewise.
44922 * elf/tst-tlsmod8.c: Likewise.
44923 * elf/tst-tlsmod9.c: Likewise.
44924 * gmon/gmon.c: Likewise.
44925 * grp/fgetgrent_r.c: Likewise.
44926 * grp/putgrent.c: Likewise.
44927 * hurd/fopenport.c: Likewise.
44928 * include/libc-symbols.h: Likewise.
44929 * include/tls.h: Likewise.
44930 * intl/gettextP.h: Likewise.
44931 * intl/loadinfo.h: Likewise.
44932 * locale/global-locale.c: Likewise.
44933 * locale/localeinfo.h: Likewise.
44934 * mach/devstream.c: Likewise.
44935 * malloc/arena.c: Likewise.
44936 * malloc/set-freeres.c: Likewise.
44937 * misc/err.c: Likewise.
44938 * misc/getttyent.c: Likewise.
44939 * misc/mntent_r.c: Likewise.
44940 * posix/getopt.c: Likewise.
44941 * posix/wordexp.c: Likewise.
44942 * pwd/fgetpwent_r.c: Likewise.
44943 * resolv/Versions: Likewise.
44944 * resolv/res_hconf.c: Likewise.
44945 * shadow/fgetspent_r.c: Likewise.
44946 * shadow/putspent.c: Likewise.
44947 * stdio-common/printf_fphex.c: Likewise.
44948 * stdio-common/tmpfile.c: Likewise.
44949 * stdlib/abort.c: Likewise.
44950 * stdlib/fmtmsg.c: Likewise.
44951 * sunrpc/auth_unix.c: Likewise.
44952 * sunrpc/clnt_perr.c: Likewise.
44953 * sunrpc/clnt_tcp.c: Likewise.
44954 * sunrpc/clnt_udp.c: Likewise.
44955 * sunrpc/clnt_unix.c: Likewise.
44956 * sunrpc/openchild.c: Likewise.
44957 * sunrpc/svc_simple.c: Likewise.
44958 * sunrpc/svc_tcp.c: Likewise.
44959 * sunrpc/svc_udp.c: Likewise.
44960 * sunrpc/svc_unix.c: Likewise.
44961 * sunrpc/xdr.c: Likewise.
44962 * sunrpc/xdr_array.c: Likewise.
44963 * sunrpc/xdr_rec.c: Likewise.
44964 * sunrpc/xdr_ref.c: Likewise.
44965 * sunrpc/xdr_stdio.c: Likewise.
44966
1248c1c4
PB
449672011-09-09 Ulrich Drepper <drepper@gmail.com>
44968
44969 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44970
449712011-07-03 Andreas Jaeger <aj@suse.de>
44972
44973 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44974 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44975 regenerate with gen-libm-tests.pl.
44976
449772010-05-12 Petr Baudis <pasky@suse.cz>
44978
44979 [BZ #11589]
44980 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44981 around j0() zero points by switching to j1().
44982 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44983 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44985 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44986
f22e1074
UD
449872011-09-09 Ulrich Drepper <drepper@gmail.com>
44988
f19009c1
UD
44989 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44990 instead of 0.
44991 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44992 instead of 0.
f19009c1
UD
44993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44994 Patch in part by Pavel Roskin <proski@gnu.org>.
44995
3f8cc204
UD
44996 [BZ #13138]
44997 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44998 realloc.
44999 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45000 Free memory block if necessary.
45001
f22e1074
UD
45002 [BZ #12847]
45003 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45004 be NULL. Don't lock in this case.
45005
0a2349f9
RM
450062011-09-09 Roland McGrath <roland@hack.frob.com>
45007
45008 * elf/elf.h (ELFOSABI_GNU): New macro.
45009 (ELFOSABI_LINUX): Define to that.
45010
f3cdd467
DZ
450112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45012
45013 * string/strncat.c (strncat): Undef the symbol in case it has been
45014 defined in bits/string.h.
45015
74718d13
UD
450162011-09-09 Ulrich Drepper <drepper@gmail.com>
45017
633e9e0f
UD
45018 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45019
0a2349f9 45020 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45021 link map.
45022
f9924780
AJ
450232011-08-17 Andreas Jaeger <aj@suse.de>
45024
45025 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45026
7f5517aa
PP
450272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45028 Ian Lance Taylor <iant@google.com>
45029
45030 * math/libm-test.inc (lround_test): New testcase.
45031 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45032
762011fe
UD
450332011-09-08 Ulrich Drepper <drepper@gmail.com>
45034
92963737
UD
45035 * Makefile: Remove support for automatic cvs check-ins.
45036 * Makerules: Likewise.
45037 * config.make.in: Likewise.
45038 * configure.in: Likewise.
45039 * intl/Makefile: Likewise.
45040 * locale/Makefile: Likewise.
45041 * po/Makefile: Likewise.
45042 * posix/Makefile: Likewise.
45043 * sysdeps/gnu/Makefile: Likewise.
45044 * sysdeps/mach/hurd/Makefile: Likewise.
45045 * sysdeps/sparc/sparc32/Makefile: Likewise.
45046
b0727fd8
JS
45047 [BZ #13118]
45048 * posix/Makefile (bug-regex32-ENV): Define.
45049 Patch by John Stanley <jpsinthemix@verizon.net>.
45050
a0f33f99
UD
45051 * misc/Makefile (headers): Add bits/select2.h.
45052 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45053 * misc/bits/select2.h: New file.
45054 * include/bits/select2.h: New file.
45055 * debug/Makefile (routines): Add fdelt_chk.
45056 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45057 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45058 FD_ISSET.
45059 * debug/fdelt_chk.c: New file.
45060
762011fe
UD
45061 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45062 * wcsmbs/test-wmemcmp.c: Likewise.
45063 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45064 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45065
450662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45067
45068 * string/Makefile (strop-tests): Add memcmp.
45069 * string/test-wmemcmp.c: New file.
45070 * string/test-memcmp.c: Add wmemcmp support.
45071
7f513ec8
RM
450722011-09-08 Roland McGrath <roland@hack.frob.com>
45073
0442afb4
RM
45074 [BZ #13153]
45075 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45076 2011-07-19 change.
45077
7f513ec8
RM
45078 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45079 garbage value in a __mach_port_mod_refs call in the cases of the
45080 task-self and thread-self ports.
45081
a12b2239
ST
450822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45083
45084 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45085
610f9ab4
AS
450862011-09-08 Andreas Schwab <schwab@redhat.com>
45087
7f513ec8 45088 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45089
48882a1a
LD
450902011-09-07 Ulrich Drepper <drepper@gmail.com>
45091
b49865be
UD
45092 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45093
fdc86bc9
UD
45094 * elf/dl-libc.c (dlerror_run): Pass back error code from
45095 dl_catch_error.
45096
c966526a
UD
45097 [BZ #13123]
45098 * elf/dl-load.c (lose): Free l_origin if it is valid.
45099
48882a1a
LD
45100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45101 names.
45102 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45103 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45105 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45106 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45107 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45108
77a2a8b4
AZ
451092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45110
45111 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45112 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45113 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45114 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45115 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45116 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45117 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45118 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45119 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45120 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45121
24f579d8
AM
451222011-08-15 Alan Modra <amodra@gmail.com>
45123
45124 [BZ #13092]
45125 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45126 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45127 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45128 ppc_mcount to static-only-routines.
45129 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45130 __mcount_internal.
45131 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45132 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45133
3d4837df
UD
451342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45135
45136 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45137 for finite and infinity parameters.
45138
22700377
WS
451392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45140
45141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45142 and add nop instructions for throughput optimization.
45143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45144
5025581e
WS
451452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45146
45147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45148 aligned copy for power7 with vector-scalar instructions.
45149 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45150
08a300c9
L
451512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45152
45153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45154 AVX check.
45155
59178ef9
AS
451562011-09-07 Andreas Schwab <schwab@redhat.com>
45157
45158 [BZ #13144]
45159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45160 last change.
45161
e38ba7ab
UD
451622011-09-07 Ulrich Drepper <drepper@gmail.com>
45163
45164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45165 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45166 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45167 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45168 clock_gettime.
45169
d53a73ac
UD
451702011-09-06 Ulrich Drepper <drepper@gmail.com>
45171
fc8bffcc
UD
45172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45173 Forgot to demangle the pointer.
45174
ceaa0c5d
UD
45175 * sysdeps/i386/sysdep.h: Define atom_text_section.
45176 * sysdeps/x86_64/sysdep.h: Likewise.
45177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45178 section with atom_text_section.
45179 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45180 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45181 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45183 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45184
a77d3c17
UD
45185 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45186 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45187 already be defined. Change to take two parameters and don't assign
45188 result to variable. Adjust all users.
45189 Define INTERNAL_GETTIME if not already defined.
45190 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45191 call.
45192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45193 HAVE_CLOCK_GETTIME_VSYSCALL.
45194 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45195
d53a73ac
UD
45196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45197 gettimeofday vsyscall, just use time.
45198
a8f84144
AS
451992011-09-06 Andreas Schwab <schwab@redhat.com>
45200
45201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45202 <errno.h>.
45203
ef606249
UD
452042011-09-06 Ulrich Drepper <drepper@gmail.com>
45205
45206 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45207 syscall on x86-64.
45208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45209 syscall.
45210 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45212 syscall if possible.
45213
6585cb60
UD
452142011-09-05 Ulrich Drepper <drepper@gmail.com>
45215
45216 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45217 e_ident. Don't pass to find_mapsXX.
45218 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45219
a5f524e4
LD
452202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45221
45222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45223 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45224 * sysdeps/x86_64/multiarch/strchr.S: Update.
45225 Check bit_slow_BSF bit.
45226 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45227 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45228 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45229
554881ef
UD
452302011-09-05 Ulrich Drepper <drepper@gmail.com>
45231
d96de963
UD
45232 [BZ #13134]
45233 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45234 before glibc 2.15.
45235 (tryshell): Define.
45236 (__spawni): Change last parameter to be flag. Test
45237 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45238 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45239 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45240 * posix/spawni.c: Likewise.
45241 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45242 * posix/spawnp.c: Likewise. Change normal version to use
45243 SPAWN_XFLAGS_USE_PATH.
45244 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45245 SPAWN_XFLAGS_TRY_SHELL.
45246
d48e5868
UD
45247 [BZ #13150]
45248 * posix/glob.h: Remove gcc 1.x support.
45249
554881ef
UD
45250 [BZ #13068]
45251 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45252
693fb948
LD
452532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45254
45255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45256 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45257 strrchr-sse2-bsf
45258 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45259 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45260 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45262 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45263 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45264
1b48c537
UD
452652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45266
49d42c37
UD
45267 * sysdeps/x86_64/wcscmp.S: New file.
45268
1b48c537
UD
45269 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45270 wcscmp-c wcscmp-sse2
45271 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45272 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45273 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45274 * wcsmbs/wcscmp.c: Allow renaming.
45275
15c95c5d
DM
452762011-09-05 David S. Miller <davem@davemloft.net>
45277
45278 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45279 stack slot, rather than the struct return pointer slot.
45280 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45281 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45283 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45284
2f0ad8f3
UD
452852011-09-05 Ulrich Drepper <drepper@gmail.com>
45286
d88ae418
UD
45287 * po/ja.po: Update from translation team.
45288
2f0ad8f3
UD
45289 [BZ #13144]
45290 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45291 kernel in 64-bit binaries.
45292
5f4318d1
DM
452932011-09-01 David S. Miller <davem@davemloft.net>
45294
45295 * elf/elf.h (HWCAP_SPARC_*): Move to..
45296 * sysdeps/sparc/sysdep.h: this new file and add new values.
45297 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45298 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45299 _DL_HWCAP_COUNT to 24.
45300 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45301 entries.
45302 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45303 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45304 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45306 instead of magic constants.
45307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45308
3ba57516
DM
453092011-08-31 David S. Miller <davem@davemloft.net>
45310
45311 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45313 Reimplement to do errno handling inline.
45314 (SYSCALL_ERROR_HANDLER): New macro.
45315 (__SYSCALL_STRING): Do not do errno handling in asm.
45316 (__CLONE_SYSCALL_STRING): Delete.
45317 (__INTERNAL_SYSCALL_STRING): Delete.
45318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45319 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45320 (PSEUDO): Reimplement to do errno handling inline.
45321 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45322 (SYSCALL_ERROR_HANDLER): New macro.
45323 (__SYSCALL_STRING): Do not do errno handling in asm.
45324 (__CLONE_SYSCALL_STRING): Delete.
45325 (__INTERNAL_SYSCALL_STRING): Delete.
45326 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45327 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45328 i386.
45329 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45330 (inline_syscall*): Add 'err' argument.
45331 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45332 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45333 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45334 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45335
45336 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45337 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45338
2bc17433
AS
453392011-08-30 Andreas Schwab <schwab@redhat.com>
45340
45341 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45342
fbeb5f4d
JO
453432011-08-29 Jiri Olsa <jolsa@redhat.com>
45344
45345 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45346 directive.
45347
ad69cc26
DM
453482011-08-24 David S. Miller <davem@davemloft.net>
45349
45350 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45351
39dd69df
AS
453522011-08-24 Andreas Schwab <schwab@redhat.com>
45353
45354 * elf/Makefile: Add rules to build and run unload8 test.
45355 * elf/unload8.c: New file.
45356 * elf/unload8mod1.c: New file.
45357 * elf/unload8mod1x.c: New file.
45358 * elf/unload8mod2.c: New file.
45359 * elf/unload8mod3.c: New file.
45360
45361 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45362 it wasn't used.
45363
2c0b250a
DM
453642011-08-23 David S. Miller <davem@davemloft.net>
45365
45366 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45367 subtract stack bias.
45368 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45369 %sp not %fp in calculations.
45370 (_JMPBUF_UNWINDS_ADJ): Likewise.
45371
22044b48
DM
45372 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45373 (aio_suspend): Call it to force an exception region around the
45374 AIO_MISC_WAIT() invocation.
45375
2cae4995
AS
453762011-08-23 Andreas Schwab <schwab@redhat.com>
45377
45378 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45379 backslash.
45380
873a772e
AJ
453812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45382
45383 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45384 protection macro.
45385 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45386 and <dl-machine.h>.
45387 (Elf64_FuncDesc): Remove.
45388
25ad0df1
DM
453892011-08-22 David S. Miller <davem@davemloft.net>
45390
45391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45392 sigaltstack check, add missing cfi directives.
45393 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45394 missing cfi directives, and sigaltstack handling.
45395
e888bcbe
AS
453962011-08-16 Andreas Schwab <schwab@redhat.com>
45397
45398 [BZ #11724]
45399 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45400 object is seen twice.
45401 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45402
45403 * elf/Makefile (distribute): Add tst-initorder2.c.
45404 (tests): Add tst-initorder2.
45405 (modules-names): Add tst-initorder2a tst-initorder2b
45406 tst-initorder2c tst-initorder2d. Add rules to build them.
45407 ($(objpfx)tst-initorder2.out): New rule.
45408 * elf/tst-initorder2.c: New file.
45409 * elf/tst-initorder2.exp: New file.
45410
87162f46
AS
454112011-08-22 Andreas Schwab <schwab@redhat.com>
45412
70538b7f
AS
45413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45414
f55ffe58
AS
45415 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45416 dependencies back to end of function.
45417
87162f46
AS
45418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45419 $(elfobjdir)/ld.so.
45420
91b392a4
UD
454212011-08-21 Ulrich Drepper <drepper@gmail.com>
45422
45423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45424 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45426 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45427 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45428 of __vdso_gettimeofday.
45429 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45430 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45431 attribute_hidden.
45432 (_libc_vdso_platform_setup): Remove initialization of
45433 __vdso_gettimeofday and __vdso_time.
45434
5c43483f
UD
454352011-08-20 Ulrich Drepper <drepper@gmail.com>
45436
775a77e7
UD
45437 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45438 and fgetc_unlocked.
45439 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45440 getc_unlocked.
89f447ed 45441
49c74ba9
UD
45442 * elf/dl-open.c (add_to_global): Report additions to the global scope
45443 for LD_DEBUG=scopes.
45444 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45445 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45446
5c43483f
UD
45447 [BZ #13114]
45448 * stdio-common/Makefile (tests): Add bug24.
45449 * stdio-common/bug24.c: New file.
45450
a101b025
AJ
454512011-08-19 Andreas Jaeger <aj@suse.de>
45452
45453 [BZ #13114]
45454 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45455 non-existant file when using close-on-exec mode.
45456
c88f1766
UD
454572011-08-20 Ulrich Drepper <drepper@gmail.com>
45458
0276a718
UD
45459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45460 the very first instruction.
45461
c88f1766
UD
45462 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45463 the CFI state in the end.
45464 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45465 inclusion of dl-trampoline.h.
45466 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45467
51ccffa0
AS
454682011-08-19 Andreas Schwab <schwab@redhat.com>
45469
94d7165f
AS
45470 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45471 expectations for long double.
45472
51ccffa0
AS
45473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45474 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45475
fd708658 454762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45477
45478 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45479 artificual limit depends upon the system page size.
45480
44f0a71e
UD
454812011-08-17 Ulrich Drepper <drepper@gmail.com>
45482
45483 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45484 * resolv/Makefile: Define CFLAGS-libresolv.
45485
8de79a24
AS
454862011-08-17 Andreas Schwab <schwab@redhat.com>
45487
45488 * nss/makedb.c (compute_tables): Make variables used in nested
45489 function static.
45490
27724598
UD
454912011-08-17 Ulrich Drepper <drepper@gmail.com>
45492
c5305d88
UD
45493 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45494 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45495 if buffer was too small.
45496
27724598
UD
45497 * elf/pldd.c (main): Attach to all threads in the process.
45498 Rewrite /proc handling to use *at functions.
45499
076fe015
UD
455002011-08-16 Ulrich Drepper <drepper@gmail.com>
45501
174baab3
UD
45502 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45503 specifies first scope to show.
45504 (dl_open_worker): Update callers. Move printing scope of new
45505 object to before the relocation.
44f0a71e 45506 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45507 * sysdeps/generic/ldsodefs.h: Update declaration.
45508
076fe015
UD
45509 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45510 string for the scope number.
45511
a60df2c3
UD
455122011-08-14 Ulrich Drepper <drepper@gmail.com>
45513
45514 * nscd/servicescache.c (cache_addserv): Make sure written is always
45515 initialized.
45516
5e4287d1
RM
455172011-08-14 Roland McGrath <roland@hack.frob.com>
45518
85ae0589
RM
45519 * sysdeps/i386/i486/bits/atomic.h
45520 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45521 statement expression, so as to suppress "set but not used" warning.
45522 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45523
69f63097
RM
45524 * string/strncat.c (STRNCAT): Use prototype definition.
45525
675456ef
RM
45526 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45527 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45528 -Iprograms here.
45529 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45530 (localedef-modules): Add localedef.
45531 (locale-modules): Add locale.
45532
5e4287d1
RM
45533 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45534 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45535 to avoid a warning.
45536
9c96ff23
DM
455372011-08-14 David S. Miller <davem@davemloft.net>
45538
45539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45540 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45541
f9ddf089
UD
455422011-08-13 Ulrich Drepper <drepper@gmail.com>
45543
44f0a71e 45544 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45545 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45546 * elf/rtld.c (dl_main): Set l_name of vDSO.
45547 Call _dl_show_scope when DL_DEBUG_SCOPES.
45548 (process_dl_debug): Recognize scopes flag and also set it for all.
45549 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45550 Declare _dl_show_scope.
45551
1dc27704
UD
45552 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45553 (do_dlopen): Pass caller_dlopen to dl_open.
45554 (__libc_dlopen_mode): Initialize caller_dlopen.
45555
f9ddf089
UD
45556 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45557 of libc. Make tolower call locale-independent. Optimize a bit by
45558 using isdigit instead of isalnum.
45559 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45560
9ac533d3
UD
455612011-08-12 Ulrich Drepper <drepper@gmail.com>
45562
45563 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45564 was a dependency or dynamically loaded.
45565
89edf2e9
UD
455662011-08-11 Ulrich Drepper <drepper@gmail.com>
45567
8e999d29
UD
45568 * intl/l10nflist.c: Allow architecture-specific pop function.
45569 * sysdeps/x86_64/l10nflist.c: New file.
45570
89edf2e9
UD
45571 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45572 classification.
45573
14d96785
AS
455742011-08-10 Andreas Schwab <schwab@redhat.com>
45575
45576 * include/dirent.h: Add libc_hidden_proto for scandirat and
45577 scandirat64. Don't declare __scandirat64.
45578 * dirent/scandirat.c: Add libc_hidden_def.
45579 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45580 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45581
6761ac04
DM
455822011-08-10 David S. Miller <davem@davemloft.net>
45583
45584 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45585 enum.
45586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45589
c55fbd1e
UD
455902011-08-09 Ulrich Drepper <drepper@gmail.com>
45591
45592 * Versions.def [libc]: Add GLIBC_2.15.
45593 * dirent/Makefile (routines): Add scandirat and scandirat64.
45594 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45595 GLIBC_2.15.
45596 * dirent/dirent.h: Declare scandirat and scandirat64.
45597 * dirent/scandirat.c: New file.
45598 * dirent/scandirat64.c: New file.
45599 * sysdeps/wordsize-64/scandirat.c: New file.
45600 * sysdeps/wordsize-64/scandirat64.c: New file.
45601 * dirent/opendir.c: Define opendirat.
45602 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45603 using scandirat.
45604 * dirent/scandir64.c: Adjust for scandir.c change.
45605 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45606 __scandirat64, and __scandir_cancel_handler.
45607 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45608 additional parameter and use openat instead of open (outside of ld.so).
45609 Add new __opendir as wrapper around __opendirat.
45610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45611 here without requiring old scandirat implementation.
45612
879165f2
UD
456132011-08-08 Ulrich Drepper <drepper@gmail.com>
45614
45615 * dirent/scandir.c (cancel_handler): Renamed to
45616 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45617 defined. Adjust users.
45618 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45619 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45620
cb7e923b
UD
456212011-08-04 Ulrich Drepper <drepper@gmail.com>
45622
16292edd
UD
45623 * string/test-string.h (IMPL): Use __STRING to expand name and then
45624 stringify it.
45625
cb7e923b
UD
45626 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45627 of cleanups.
45628
cff82933
LD
456292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45630
45631 * string/Makefile: Update.
45632 (strop-tests): Append strncat.
45633 * string/test-wcscmp.c: New file.
45634 New comprehensive test for wcscmp.
45635 * string/test-strcmp.c: Update.
45636 (WIDE): New define.
45637
9be9bfcc
AS
456382011-07-22 Andreas Schwab <schwab@redhat.com>
45639
45640 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45641 line.
45642
2e96f1c7
AS
456432011-07-26 Andreas Schwab <schwab@redhat.com>
45644
45645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45646 encoding to ACE if AI_IDN.
45647
85188888
JJ
456482011-08-01 Jakub Jelinek <jakub@redhat.com>
45649
45650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45651 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45652
5fa16e9b
LD
456532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45654
45655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45656 Fix overflow bug in strncat.
45657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45658
45659 * string/test-strncat.c: Update.
45660 Add new tests for checking overflow bugs.
45661
456622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45663
45664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45665 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45666 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45667 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45669 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45670 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45671 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45672 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45673
45674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45675 (USE_AS_STRCAT): Define.
45676 Add strcat and strncat support.
45677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45678
8c1a459f
AS
456792011-07-25 Andreas Schwab <schwab@redhat.com>
45680
45681 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45682 __n bigger than INT_MAX+1.
45683 (__strncmp_g): Likewise.
45684
bba33c28
UD
456852011-07-23 Ulrich Drepper <drepper@gmail.com>
45686
798be72d
UD
45687 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45688 * libio/stido.h: Likewise.
45689
8accd4dc
UD
45690 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45691 (AF_NFC): Define.
45692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45693 (AF_NFC): Define.
45694
cbff0d96
UD
45695 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45696 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45697 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45698 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45700
9191c04a
UD
45701 [BZ #13021]
45702 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45703 installed.
45704
bba33c28
UD
45705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45706 typo.
45707 (_dl_x86_64_save_sse): Likewise.
45708
90f139dd
UD
457092011-07-22 Ulrich Drepper <drepper@gmail.com>
45710
1aae088a
UD
45711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45712 OSXSAVE.
45713 (_dl_x86_64_save_sse): Likewise.
45714
8e2045f5
UD
45715 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45716
90f139dd
UD
45717 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45718
1d002f25
AS
457192011-07-21 Andreas Schwab <schwab@redhat.com>
45720
45721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45722 change.
45723 (_dl_x86_64_save_sse): Use correct AVX check.
45724
21137f89
UD
457252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45726
45727 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45728 bug in strncpy/strncat.
45729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45730
a65c0b7a
UD
457312011-07-21 Ulrich Drepper <drepper@gmail.com>
45732
45733 * string/tester.c (test_strcat): Add tests for different alignments
45734 of source and destination.
45735 (test_strncat): Likewise.
45736
6986b98a
UD
457372011-07-20 Ulrich Drepper <drepper@gmail.com>
45738
90bb2039
UD
45739 [BZ #12852]
45740 * posix/glob.c (glob): Check passed in values before using them in
45741 expressions to avoid some overflows.
45742 (glob_in_dir): Likewise.
45743
5644ef54
UD
45744 [BZ #13007]
45745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45746 check for AVX enablement so that we don't crash with old kernels and
45747 new hardware.
45748 * elf/tst-audit4.c: Add same checks here.
45749 * elf/tst-audit6.c: Likewise.
45750
45751 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45752
bfc9dc9b
AS
457532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45754
45755 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45756
702e64bb
UD
457572011-07-20 Ulrich Drepper <drepper@gmail.com>
45758
45759 * po/cs.po: Update from translation team.
45760 * po/bg.po: Likewise.
45761
295e904f
MP
457622011-07-12 Marek Polacek <mpolacek@redhat.com>
45763
45764 * misc/sys/cdefs.h: Add support for const attribute.
45765 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45766 to gnu_dev_{major,minor,makedev} functions.
45767
3ff94596
MP
457682011-07-20 Marek Polacek <mpolacek@redhat.com>
45769
45770 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45771
28b59fca
AS
457722011-07-20 Andreas Schwab <schwab@redhat.com>
45773
45774 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45775 strlen results.
45776
19df733e
AK
457772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45778
45779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45780 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45781 register in order to avoid conflicts with the soft frame pointer
45782 being held in r11 when necessary.
45783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45784 (INTERNAL_VSYSCALL_NCS): Likewise.
45785
c8835729
MP
457862011-07-14 Marek Polacek <mpolacek@redhat.com>
45787
45788 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45789 * elf/dl-fini.c (_dl_fini): Adjust caller.
45790 * elf/dl-close.c (_dl_close_worker): Likewise.
45791 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45792
b902330c
MP
457932011-07-15 Marek Polacek <mpolacek@redhat.com>
45794
8991e135
MP
45795 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45796 "aux_cache->nlibs < 0".
45797
b902330c
MP
45798 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45799 in the reload-count case.
45800
99710781
LD
458012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45802
45803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45804 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45805 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45806 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45807 * sysdeps/x86_64/multiarch/strcat.S: New file.
45808 * sysdeps/x86_64/multiarch/strncat.S: New file.
45809 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45810 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45811 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45812 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45814 (USE_AS_STRCAT): Define.
45815 Add strcat and strncat support.
45816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45818 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45819 * string/strncat.c: Update.
45820 (USE_AS_STRNCAT): Define.
45821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45822 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45823 and i7.
45824 * sysdeps/x86_64/multiarch/init-arch.h
45825 (bit_Prefer_PMINUB_for_stringop): New.
45826 (index_Prefer_PMINUB_for_stringop): Likewise.
45827 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45828 bit_Prefer_PMINUB_for_stringop.
45829
7dc6bd90
UD
458302011-07-19 Ulrich Drepper <drepper@gmail.com>
45831
45832 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45833 buffer64.
45834 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45835 of casting of buffer.
45836 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45837 buffer32 and buffer64.
45838 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45839 writes instead of casting of buffer.
45840 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45841 buffer32.
45842 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45843 casting of buffer.
45844
e0e72284
AS
458452011-07-19 Andreas Schwab <schwab@redhat.com>
45846
45847 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45848
feb1eb0b
UD
458492011-07-19 Ulrich Drepper <drepper@gmail.com>
45850
45851 * nscd/nscd.c (termination_handler): Don't do anything for a database
45852 if it has not yet been initialized.
45853
298711ff
UD
458542011-07-18 Ulrich Drepper <drepper@gmail.com>
45855
45856 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45857
458582011-07-15 Marek Polacek <mpolacek@redhat.com>
45859
45860 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45861
f9d68389
UD
458622011-07-18 Ulrich Drepper <drepper@gmail.com>
45863
45864 * po/nl.po: Update from translation team.
45865 * po/sv.po: Likewise.
45866
db290cf5
RM
458672011-07-16 Roland McGrath <roland@hack.frob.com>
45868
45869 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45870 now disallowed by GCC.
5c550700 45871
fd5e21c7
RM
45872 * configure.in (use-default-link): Default to yes if a test -shared
45873 link meets our qualifications.
45874 * configure: Regenerated.
45875
5c550700
RM
45876 * config.make.in (output-format): New variable.
45877 * configure.in: Check for ld --print-output-format support.
45878 * configure: Regenerated.
45879 * Makerules ($(common-objpfx)format.lds)
45880 [$(output-format) != unknown]: Just use $(output-format),
45881 instead of the linker-script munging.
45882
9fa2c032
RM
458832011-07-14 Roland McGrath <roland@hack.frob.com>
45884
a6928d51
RM
45885 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45886 of $(common-objpfx)shlib.lds.
45887 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45888
661607b3
RM
45889 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45890 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45891
9fa2c032
RM
45892 * configure.in (-z relro check): Adjust test code to add a large
45893 writable data section after it.
45894 * configure: Regenerated.
45895
defe9061
RM
458962011-07-11 Roland McGrath <roland@hack.frob.com>
45897
45898 * configure.in (-z relro check): Fix test code to make the variable
45899 truly const.
45900 * configure: Regenerated.
45901
319b9ad4
UD
459022011-07-11 Ulrich Drepper <drepper@gmail.com>
45903
45904 * nscd/nscd.h (struct traced_file): Define.
45905 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45906 elements. Add traced_files.
45907 (inotify_fd): Declare.
45908 (register_traced_file): Declare.
45909 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45910 (inotify_fd): Export.
45911 (resolv_conf_descr): Remove.
45912 (nscd_init): Move inotify descriptor creation to main.
45913 Don't register files for notification here.
45914 (register_traced_file): New function.
45915 (invalidate_cache): Don't use reset_res to determine whether to call
45916 res_init, go through the list of registered files.
45917 (main_loop_poll): The inotify descriptors are now stored in the
45918 structures for the traced files.
45919 (main_loop_epoll): Likewise
45920 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45921 to __nss_disable_nscd.
45922 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45923 for a database anymore. Check the records for all the registered
45924 files instead.
45925 * nss/Makefile (libnss_files-routines): Add files-init.
45926 (libnss_db-routines): Add db-init.
45927 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45928 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45929 * nss/nss_db/db-init.c: New file.
45930 * nss/nss_files/files-init.c: New file.
45931 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45932 __nss_lookup_function.
45933 (__nss_lookup_function): Call nss_load_library.
45934 (nss_load_all_libraries): New function.
45935 (__nss_disable_nscd): Take parameter with callback function for files
45936 to register. Set is_nscd. Load all the DSOs for the NSS modules
45937 used for the cached services.
45938 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45939 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45940 options for features to all the files in nscd.
45941
45942 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45943
23bee3e8
RM
459442011-07-10 Roland McGrath <roland@hack.frob.com>
45945
45946 * csu/elf-init.c (__libc_csu_init): Comment typo.
45947
46a5b7f0
UD
459482011-07-09 Ulrich Drepper <drepper@gmail.com>
45949
45950 * po/pl.po: Update from translation team.
45951 * po/ja.po: Likewise.
45952 * po/ru.po: Likewise.
45953 * po/ko.po: Likewise.
45954 * po/fr.po: Likewise.
45955
d30cf5bb
RM
459562011-07-09 Roland McGrath <roland@hack.frob.com>
45957
113ddea4
RM
45958 * configure.in (.ctors/.dtors header and trailer check):
45959 Use an empirical test on a built program.
45960 * configure: Regenerated.
45961
574920b4
RM
45962 * configure.in (-z relro check): Use an empirical test on a built DSO.
45963 Detect, but do not require, on ia64.
45964 * configure: Regenerated.
45965
d30cf5bb
RM
45966 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45967 Update tests that use readelf to use $READELF instead.
45968 * configure: Regenerated.
45969
8538fdb3
UD
459702011-07-08 Ulrich Drepper <drepper@gmail.com>
45971
45972 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45973 if the result is not used.
45974
04d08991
AJ
459752011-07-05 Andreas Jaeger <aj@suse.de>
45976
45977 [BZ#9696]
45978 * stdlib/tst-strtod.c: Add testcase.
45979
de283087
AD
459802011-07-07 Ulrich Drepper <drepper@gmail.com>
45981
4e5f31c8 45982 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45983 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45984 The latter has a higher limit. Take additional parameter to pass to
45985 the new function.
45986 (__pathconf): Pass file to __statfs_link_max.
45987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45988 __statfs_link_max.
45989 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45990 __statfs_link_max.
45991
de283087
AD
45992 [BZ #12868]
45993 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45994 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45995 Handle Lustre.
45996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45997 (__statfs_filesize_max): Likewise.
45998 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45999
c75fa153
AJ
460002011-07-05 Andreas Jaeger <aj@suse.de>
46001
46002 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46003
1a544854
UD
460042011-07-06 Marek Polacek <mpolacek@redhat.com>
46005
46006 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46007 `status' variable.
46008 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46009 Likewise.
46010
6f0eec67
UD
460112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46012
46013 * Makefile (strop-tests): Add strncat.
46014 * string/test-strncat.c: New file.
46015
aae30307
UD
460162011-06-30 Marek Polacek <mpolacek@redhat.com>
46017
46018 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46019
c0cfb5eb
UD
460202011-06-21 Andreas Jaeger <aj@suse.de>
46021
46022 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46023 Copy rule from iconvdata/Makefile.
46024
01636b21
UD
460252011-07-06 Ulrich Drepper <drepper@gmail.com>
46026
46027 [BZ #12922]
46028 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46029 but no long options are defined, just return 'W'.
46030
9895c8bc
UD
460312011-06-22 Marek Polacek <mpolacek@redhat.com>
46032
46033 [BZ #9696]
46034 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46035
5d4cf042
UD
460362011-07-06 Ulrich Drepper <drepper@gmail.com>
46037
46038 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46039 netgroups to read.
960e5535 46040 (innetgr): Likewise.
5d4cf042 46041
751eb97e
RM
460422011-07-05 Roland McGrath <roland@hack.frob.com>
46043
46044 * config.make.in (install_root): Default to $(DESTDIR).
46045
f15f1e45
UD
460462011-07-05 Ulrich Drepper <drepper@gmail.com>
46047
46048 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46049
4e34ac6a
RM
460502011-07-02 Roland McGrath <roland@hack.frob.com>
46051
5e9b6af4
RM
46052 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46053
84f9ea0f
RM
46054 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46055 containing directory rather than embedding absolute directory names.
46056
ea5ee9f7
RM
46057 * scripts/check-local-headers.sh: Rewritten using awk.
46058 Match by word, not by line. Print error messages for matches.
46059 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46060
1b74661a
RM
46061 * Makerules [shlib-lds-flags empty]:
46062 ($(common-objpfx)libc_pic.opts): New target.
46063 ($(common-objpfx)libc_pic.os.clean): New target.
46064 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46065
46066 * config.make.in (OBJCOPY): New variable.
46067 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46068 * configure: Regenerated.
46069
f781ef40
RM
46070 * config.make.in (use-default-link): New variable.
46071 * configure.in (use_default_link): Grok --with-default-link to set it.
46072 * configure: Regenerated.
46073 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46074 (shlib-lds, shlib-lds-flags): Define to empty.
46075
2d4fa81e
RM
46076 * Makerules (shlib-lds): New variable.
46077 (shlib-lds-flags): New variable.
46078 (build-shlib, build-moduile, build-module-asneeded): Use it.
46079 ($(common-objpfx)libc.so): Use $(shlib-lds).
46080 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46081 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46082
31fffa6b
RM
46083 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46084 DT_FLAGS/DT_FLAGS_1 with zero flags.
46085
4e34ac6a
RM
46086 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46087 linker script munging.
46088
fcfc776b
UD
460892011-07-02 Ulrich Drepper <drepper@gmail.com>
46090
46091 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46092 as 128-bit value.
46093 * crypt/sha512.c (sha512_process_block): Perform total addition using
46094 128-bit if possible.
46095 (__sha512_finish_ctx): Likewise.
46096 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46097 as 64-bit value.
46098 * crypt/sha256.c (SWAP64): Define.
46099 (sha256_process_block): Perform total addition using 64-bit if
46100 possible.
46101 (__sha256_finish_ctx): Likewise.
46102
99231d9a
UD
461032011-07-01 Ulrich Drepper <drepper@gmail.com>
46104
46105 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46107 * nscd/hstcache.c (cache_addhst): Likewise.
46108 * nscd/grpcache.c (cache_addgr): Likewise.
46109 * nscd/aicache.c (addhstaiX): Likewise
46110 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46111
445b4a53
TK
461122011-07-01 Thorsten Kukuk <kukuk@suse.de>
46113
46114 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46115 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46116 * nscd/hstcache.c (cache_addhst): Likewise.
46117 * nscd/grpcache.c (cache_addgr): Likewise.
46118 * nscd/aicache.c (addhstaiX): Likewise
46119
6d4d8e8e
AS
461202011-07-01 Andreas Schwab <schwab@redhat.com>
46121
46122 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46123 domain only when needed.
46124
89f654c5
AS
461252011-06-30 Andreas Schwab <schwab@redhat.com>
46126
46127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46128 is always restored.
46129
cf3b23ff
UD
461302011-06-29 Ulrich Drepper <drepper@gmail.com>
46131
46132 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46133 are re-adding the entry.
46134 * nscd/servicescache.c (cache_addserv): Likewise.
46135
751626f9
AJ
461362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46137
46138 * sysdeps/generic/dl-irel.h: fix protection against multiple
46139 inclusions.
46140 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46141
9113ea1f
UD
461422011-06-28 Ulrich Drepper <drepper@gmail.com>
46143
5c0b8d90
UD
46144 [BZ #12935]
46145 * malloc/memusage.sh: Fix quoting in message.
46146 * debug/xtrace.sh: Likewise.
46147
9113ea1f
UD
46148 * configure.in: Remove support for --experimental-malloc option, make
46149 it the default.
46150 * config.make.in: Likewise.
46151 * malloc/Makefile: Likewise.
46152
a4172181
AS
461532011-06-27 Andreas Schwab <schwab@redhat.com>
46154
46155 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46156 two-byte characters.
46157
78a7eee7
RM
461582011-06-27 Roland McGrath <roland@hack.frob.com>
46159
62bede13
RM
46160 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46161 AC_CACHE_CHECK invocation.
46162 * configure: Regenerated.
46163
78a7eee7
RM
46164 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46165
5ce33a62
UD
461662011-06-27 Ulrich Drepper <drepper@gmail.com>
46167
034807a9
UD
46168 [BZ #12350]
46169 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46170 bit from old_res_options.
46171
4902da17
UD
46172 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46173
5ce33a62
UD
46174 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46175 value type for setfct.
46176
c2344f56
L
461772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46178
46179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46180 __gettimeofday instead of gettimeofday.
46181
68468076
UD
461822011-06-26 Ulrich Drepper <drepper@gmail.com>
46183
46184 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46185
acb0d739
L
461862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46187
46188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46189
46190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46191 info.
46192
8912479f
L
461932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46194
46195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46196 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46197 strcpy-sse2-unaligned strncpy-sse2-unaligned
46198 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46199 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46200 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46201 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46202 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46205 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46206 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46207 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46208 (STRCPY): Support SSE2 and SSSE3 versions.
46209
d5495a11
UD
462102011-06-24 Ulrich Drepper <drepper@gmail.com>
46211
46212 [BZ #12874]
46213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46214 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46215 kernels which artificially limit size of requests.
46216
0b1cbaae
L
462172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46218
46219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46220 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46221 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46222 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46223 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46224 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46225 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46226 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46229 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46230 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46231 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46232 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46233 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46235 Enable unaligned load optimization for Intel Core i3, i5 and i7
46236 processors.
46237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46238 Define.
46239 (index_Fast_Unaligned_Load): Define.
46240 (HAS_FAST_UNALIGNED_LOAD): Define.
46241
07f494a0
MP
462422011-06-23 Marek Polacek <mpolacek@redhat.com>
46243
46244 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46245
fa3fc0fe
UD
462462011-06-22 Ulrich Drepper <drepper@gmail.com>
46247
46248 [BZ #12907]
46249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46250 until it is clear that the information is realy needed.
46251 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46252
e12df166
AS
462532011-06-22 Andreas Schwab <schwab@redhat.com>
46254
46255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46256
852eb34d
UD
462572011-06-22 Ulrich Drepper <drepper@gmail.com>
46258
84e2a551
UD
46259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46260 /sys/devices/system/cpu/online if it is usable.
46261
852eb34d
UD
46262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46263 reading the information from the /proc filesystem to once a second.
46264
6e502e19
UD
462652011-06-21 Andreas Jaeger <aj@suse.de>
46266
46267 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46268 NULL after inclusion of kernel headers.
46269
75d39ff2
UD
462702011-06-21 Ulrich Drepper <drepper@gmail.com>
46271
51f9aa6a
UD
46272 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46273 calls to internal_setent.
46274
c0244a9d
UD
46275 [BZ #12885]
46276 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46277 addresses using gethostbyname4_r ignore IPv4 addresses.
46278
c5e3c2ae
UD
46279 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46280 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46281
75d39ff2
UD
46282 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46283
42675c6f
DM
462842011-06-20 David S. Miller <davem@davemloft.net>
46285
46286 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46287 inclusions.
46288 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46289
46290 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46291 (elf_irel): Use it.
46292 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46293 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46294 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46295 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46296 * sysdeps/x86_64/dl-irel.h: Likewise.
46297
46298 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46299 * elf/dl-sym.c: Likewise.
46300
57912a71
UD
463012011-06-15 Ulrich Drepper <drepper@gmail.com>
46302
46303 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46304 need to dereference resplen2.
46305
ee22793d
AS
463062011-06-14 Andreas Schwab <schwab@redhat.com>
46307
46308 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46309
a9e836b0
UD
463102011-06-15 Ulrich Drepper <drepper@gmail.com>
46311
77fb9117
UD
46312 * Makeconfig: Define vardbdir and inst_vardbdir.
46313 * nss/Makefile: Add rules to install db-Makefile.
46314
40c1b22c
UD
46315 * nss/nss_db/db-XXX.c: Cleanup.
46316
9f2da732
UD
46317 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46318 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46319 GLIBC_PRIVATE.
46320 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46321 * nss/makedb.c: Implement -g option to specify that value strings
46322 are generated and should not be added to table iterated over for
46323 get*ent calls.
46324 * nss/nss_db/db-initgroups.c: New file.
46325
82e9a1f7
UD
46326 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46327 interface.
46328
c41af17e
UD
46329 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46330 (internal_getgrouplist): Adjust to name change.
46331 Update use_initgroups_entry if this is not the first call.
46332 * nss/databases.def: Add initgroups entry.
46333
a9e836b0
UD
46334 * nss/makedb.c (compute_tables): Check result of multiple hash table
46335 sizes to minimize maximum chain length.
46336
2666d441
UD
463372011-06-14 Ulrich Drepper <drepper@gmail.com>
46338
46339 * Versions.def: Add entry for libnss_db.
46340 * shlib-versions: Likewise.
46341 * nss/Makefile: Add rules to build libnss_db.
46342 * nss/Versions: Add libnss_db information. Organize libnss_files
46343 entries better.
46344 * nss/db-Makefile: Add gshadow support. Change rules for the new
46345 makedb progra. Some minor improvements to generate smaller files.
46346 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46347 here from...
46348 * nss/makedb.c: ...here.
46349 Improve database format to be smaller and require less memory at
46350 runtime.
46351 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46352 db anymore.
46353 * nss/nss_db/db-netgrp.c: Likewise.
46354 * nss/nss_db/db-open.c: Likewise.
46355 * nss/nss_files/flies-XXX.x: Adjust comments.
46356 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46357 * nss/nss_files/files-grp.c: Likewise.
46358 * nss/nss_files/files-hosts.c: Likewise.
46359 * nss/nss_files/files-network.c: Likewise.
46360 * nss/nss_files/files-proto.c: Likewise.
46361 * nss/nss_files/files-pwd.c: Likewise.
46362 * nss/nss_files/files-rpc.c: Likewise.
46363 * nss/nss_files/files-service.c: Likewise.
46364 * nss/nss_files/files-sgrp.c: Likewise.
46365 * nss/nss_files/files-spwd.c: Likewise.
46366 * nss/nss_db/db-alias.c: Removed.
46367 * nss/nss_db/dummy-db.h: Removed.
46368
9ee76b5a
UD
463692011-06-02 Ulrich Drepper <drepper@gmail.com>
46370
46371 * nss/makedb.c: Rewritten to not use database library.
46372 * nss/Makefile: Update to build new makedb program.
46373
c71ca1f8
AJ
463742011-06-14 Andreas Jaeger <aj@suse.de>
46375
46376 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46377 memset declaration.
46378
3154bfb8
UD
463792011-06-10 Andreas Schwab <schwab@redhat.com>
46380
46381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46382 tmpbuf.
46383
b350afab
RM
463842011-06-10 Roland McGrath <roland@hack.frob.com>
46385
decd4e50
RM
46386 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46387 * elf/Makefile ($(objpfx)ld.so): Likewise.
46388
5615eaf2
RM
46389 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46390 Don't list ld.so twice in dependencies.
46391
46392 * posix/bug-regex31.c: Include <stdlib.h>.
46393
46394 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46395
46396 * nis/nss_compat/compat-spwd.c
46397 (getspent_next_nss_netgr): Remove unused variable.
46398 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46399
46400 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46401 nonmembers" output to use the right array.
46402
46403 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46404
46405 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46406
46407 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46408 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46409 * catgets/gencat.c (read_input_file): Likewise.
46410 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46411
46412 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46413 variable definition inside #if's controlling its use.
46414
46415 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46416
46417 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46418
46419 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46420
46421 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46422 unreachable code.
46423
46424 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46425
b68e08db
RM
46426 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46427 * configure: Regenerated.
46428
b350afab
RM
46429 * Makerules: Revert last change.
46430 * elf/Makefile: Likewise.
46431
28368601
RM
464322011-06-09 Roland McGrath <roland@hack.frob.com>
46433
46434 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46435 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46436 (reloc-link): Likewise.
46437
11988f8f
UD
464382011-06-09 Ulrich Drepper <drepper@gmail.com>
46439
46440 * elf/Makefile: Add rules to build pldd.
46441 * elf/pldd.c: New file.
46442 * elf/pldd-xx.c: New file.
46443
e80fab37
UD
464442011-06-07 Ulrich Drepper <drepper@gmail.com>
46445
46446 * version.h: Update for 2.15 development version.
46447
9b849836
DM
464482011-06-07 David S. Miller <davem@davemloft.net>
46449
46450 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46451 ifuncs.
46452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46453 elf_machine_lazy_rel): Likewise.
46454 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46456 elf_machine_lazy_rel): Likewise.
46457 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46458 dl_hwcap via passed in argument.
46459 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46460 Likewise.
46461
5a31b283
AK
464622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46463
46464 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46465
069e52f8
RM
464662011-06-06 Roland McGrath <roland@hack.frob.com>
46467
46468 [BZ #12849]
46469 * manual/fdl-1.1.texi: New file, verbatim from:
46470 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46471 * manual/lgpl-2.1.texi: New file, verbatim from:
46472 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46473 * manual/Makefile (licenses): New variable, list those new file names.
46474 (texis): Use it.
46475 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46476
46477 * manual/fdl.texi: File removed.
46478 * manual/lesser.texi: File removed.
46479 * manual/libc.texinfo (Copying, Documentation License):
46480 Use new @include file names, put @appendix directive before @include.
46481
f16846a5
JJ
464822011-06-04 Jakub Jelinek <jakub@redhat.com>
46483
46484 [BZ #12841]
46485 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46486 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46487 (mq_open): Add __NTH.
46488
3d29045b
L
464892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46490
46491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46492 Assume Intel Core i3/i5/i7 processor if AVX is available.
46493
8c297311
UD
464942011-05-31 Ulrich Drepper <drepper@gmail.com>
46495
46496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46497 typo.
46498
c8fc0c91
UD
464992011-05-31 Andreas Schwab <schwab@redhat.com>
46500
46501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46502 memory. Use alloca_account. Fix memory leak when retrying.
46503
5b27a807
UD
465042011-05-31 Ulrich Drepper <drepper@gmail.com>
46505
356f8bc6
UD
46506 * version.h (RELEASE): Bump for 2.14 release.
46507 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46508
5b27a807
UD
46509 * config.make.in (RANLIB): Remove entry.
46510
01f16ab0
UD
465112011-05-30 Ulrich Drepper <drepper@gmail.com>
46512
41fce8bd
UD
46513 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46514 (libc.pot): Work around missing support for .ksh extension in xgettext.
46515
4769ae77
UD
46516 [BZ #12684]
46517 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46518 if both request failed.
46519 (send_dg): In case of server errors clear resplen or *resplen2.
46520
6b1e7d19
UD
46521 [BZ #12454]
46522 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46523 when there are multiple maps.
46524 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46525 (_dl_fini): Remove test here.
46526
01f16ab0
UD
46527 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46528
b1ebd700
UD
465292011-05-29 Ulrich Drepper <drepper@gmail.com>
46530
7ae22829
UD
46531 [BZ #12350]
46532 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46533 bit from old_res_options.
46534 (gaih_inet): Likewise.
46535
553149f6 46536 [BZ #11099]
18a84741 46537 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46538 as signed.
46539
652ffab1
UD
46540 * resolv/res_init.c (res_setoptions): Make the code more compact.
46541
16985fd0
UD
46542 [BZ #11558]
46543 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46544 set RES_USEVC.
46545
0464f746
UD
46546 [BZ #11634]
46547 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46548
7d17596c
UD
46549 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46550
cf6bbbd7
UD
46551 [BZ #11781]
46552 * malloc/malloc.h: Declare malloc hook variables as volatile.
46553
13f1ab36
UD
46554 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46555 in last patch.
46556
b1ebd700
UD
46557 [BZ #11799]
46558 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46559 raise in the comment.
80e2212d
UD
46560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46561 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46562 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46563
ce67228d
UD
465642011-05-28 Ulrich Drepper <drepper@gmail.com>
46565
8887a920
UD
46566 [BZ #12811]
46567 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46568 grow the buffers more if it already has to be sufficient.
46569 (build_wcs_upper_buffer): Likewise.
46570 * posix/regexec.c (check_matching): Likewise.
46571 (clean_state_log_if_needed): Likewise.
46572 (extend_buffers): Don't enlarge buffers beyond size of the input
46573 buffer.
46574 Patches mostly by Emil Wojak <emil@wojak.eu>.
46575 * posix/bug-regex32.c: New file.
46576 * posix/Makefile (tests): Add bug-regex32.
46577
4f031072
UD
46578 * locale/findlocale.c (_nl_find_locale): Return right away if
46579 _nl_explode_name failed.
46580 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46581
d0478f0c
UD
46582 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46583
de81b246
UD
46584 * debug/xtrace.sh: Unify messages.
46585 * malloc/memusage.sh: Likewise.
46586
c738465a
UD
46587 [BZ #12813]
46588 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46589 time symbol from vDSO. Substitute with vsyscall if not available.
46590 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46591 __vdso_time.
46592
f1f929d7
UD
46593 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46594 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46595 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46596 Add sendmmsg and internal_sendmmsg.
46597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46598 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46600
ce67228d
UD
46601 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46602 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46604
e57420c6
UD
466052011-05-27 Ulrich Drepper <drepper@gmail.com>
46606
a8509ca5
UD
46607 [BZ #12813]
46608 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46609 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46610 available.
46611 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46612 __vdso_getcpu.
46613
e57420c6
UD
46614 [BZ #12814]
46615 * iconvdata/Makefile (tests): Add bug-iconv9.
46616 * iconvdata/bug-iconv9.c: New file.
46617
4d07db15
AS
466182011-05-27 Andreas Schwab <schwab@redhat.com>
46619
46620 [BZ #12814]
46621 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46622
ea486f69
JJ
466232011-05-25 Jakub Jelinek <jakub@redhat.com>
46624
46625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46626 (struct user_regs_struct): Change intcs field back to cs.
46627
6f038433
UD
466282011-05-25 Ulrich Drepper <drepper@gmail.com>
46629
46630 * po/ja.po: Update from translation team.
46631
67f86a25
UD
466322011-05-23 Ulrich Drepper <drepper@gmail.com>
46633
46634 [BZ #12795]
46635 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46636 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46637
def7fbd6
AS
466382011-05-20 Andreas Schwab <schwab@redhat.com>
46639
46640 * stdlib/longlong.h: Update from GCC.
46641
f50ef8f1
AS
466422011-05-23 Andreas Schwab <schwab@redhat.com>
46643
46644 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46645 parameter name.
46646 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46647 Add parameter name.
46648 (__sysconf): Pass it down.
46649
de7ce8f1
UD
466502011-05-22 Ulrich Drepper <drepper@gmail.com>
46651
f2962a71
UD
46652 [BZ #12671]
46653 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46654 some situations.
46655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46656 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46657 add in in __libc_use_alloca calls. Adjust callers.
46658 (glob): Use malloc in some situations.
46659
de7ce8f1
UD
46660 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46661 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46662 pltexit.
46663
aec84f53
UD
466642011-05-21 Ulrich Drepper <drepper@gmail.com>
46665
05bb4a68
UD
46666 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46667 and CLOCK_BOOTTIME_ALARM.
46668
7ea72f99
UD
46669 [BZ #12782]
46670 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46671 is returned.
46672
7e4afad5
UD
46673 * string/_strerror.c (__strerror_r): Print negative errors as signed
46674 numbers.
46675
8e211fec
UD
46676 [BZ #12777]
46677 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46678 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46679 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46680
f7d82dc9
UD
46681 * configure.in: Fix typo in redirection and correct removal of test
46682 files in two cases.
46683
cc9e536d
UD
46684 [BZ #12788]
46685 * locale/setlocale.c (new_composite_name): Fix test to check for
46686 identical name of all categories.
46687
aec84f53
UD
46688 [BZ #12792]
46689 * libio/filedoalloc.c (local_isatty): New function.
46690 (_IO_file_doallocate): Use local_isatty.
46691 * stdio-common/perror.c (perror): In case a new stream is used
46692 forward the stream error.
46693 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46694 error flag.
46695
78e64fdc
RT
466962011-05-20 Ulrich Drepper <drepper@gmail.com>
46697
34a9094f
UD
46698 [BZ #11869]
46699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46700 alloca.
46701 * include/alloca.h (extend_alloca_account): Define.
46702
78e64fdc
RT
46703 [BZ #11857]
46704 * posix/regex.h: Fix comments with documentation of user-accessible
46705 fields after compilation and describe correct free'ing of pattern
46706 after re_compile_pattern.
46707 Patch by Reuben Thomas <rrt@sc3d.org>.
46708
457bddfc
RA
467092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46710
46711 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46712 and -mno-altivec to prevent the compiler from using Altivec and/or
46713 VSX instructions when the corresponding registers are not available.
46714
a4527b51
AS
467152011-05-19 Andreas Schwab <schwab@redhat.com>
46716
46717 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46718
ed690b2f
UD
467192011-05-19 Ulrich Drepper <drepper@gmail.com>
46720
46721 * libio/freopen.c (freopen): Use __dup2, not dup2.
46722 * libio/freopen64.c (freopen64): Likewise.
46723
8db73634
L
467242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46725
46726 [BZ #12775]
46727 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46728 * math/Makefile (tests): Add test-powl.
46729 (CFLAGS-test-powl.c): Define.
46730 * math/test-powl.c: New file.
46731
0a197a9d
L
467322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46733
46734 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46735
ee30c380
UD
467362011-05-17 Ulrich Drepper <drepper@gmail.com>
46737
46738 [BZ #11837]
46739 * iconvdata/gb18030.c: Update to GB18020-2005.
46740
6ce75379
UD
467412011-05-16 Ulrich Drepper <drepper@gmail.com>
46742
a4b89fd8
AR
46743 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46744 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46745 Patch by Aharon Robbins <arnold@skeeve.com>.
46746
ea389b12
UD
46747 [BZ #11892]
46748 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46749 on the stack.
46750
68a3f91f
UD
46751 [BZ #11895]
46752 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46753 through underflows.
46754
15cc7dd1
UD
46755 [BZ #12766]
46756 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46757 point to strings before performing equality test for error_one_per_line
46758 mode.
46759
f3799213
UD
46760 [BZ #11697]
46761 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46762
d79a9c94
UD
46763 [BZ #11820]
46764 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46765 (struct user_fpregs_struct): Avoid __uint*_t types.
46766
56e5eb46
UD
46767 [BZ #6420]
46768 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46769 symbol info. Use it instead of calling _dl_addr locally.
46770 (lock_and_info): New function.
46771 (tr_freehook): Call lock_and_info and pass symbol info as additional
46772 parameter to tr_where.
46773 (tr_mallochook): Likewise.
46774 (tr_reallochook): Likewise.
46775 (tr_memalignhook): Likewise.
46776
6ce75379
UD
46777 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46778 used and couldn't be at all thread-safe.
46779
f8a3b5bf
UD
467802011-05-15 Ulrich Drepper <drepper@gmail.com>
46781
94b7cc37
UD
46782 * libio/freopen.c (freopen): Don't close old file descriptor
46783 before the new one is opened. Instead dup the new file descriptor
46784 to the old one after the new stream is created.
46785 * libio/freopen64.c (freopen64): Likewise.
46786 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46787 * libio/fileops.c (_IO_new_file_close_it): Handle new
46788 _IO_FLAGS2_NOCLOSE flag.
46789 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46790 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46791 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46792 _IO_FLAGS2_NOCLOSE flag.
46793 * include/unistd.h: Add hidden_proto for dup3.
46794 Define __have_dup3.
46795 * io/dup3.c: Define hidden symbol.
46796 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46797
bd25564e
UD
46798 [BZ #7101]
46799 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46800 when an incomplete long option is used.
46801 * posix/tst-getopt_long1.c: New file.
46802 * posix/Makefile (tests): Add tst-getopt_long1.
46803
c84cfef4
UD
46804 [BZ #10138]
46805 * scripts/config.guess: Update from autoconf-2.68.
46806 * scripts/config.sub: Likewise.
46807
3b85df27
UD
46808 [BZ #10157]
46809 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46810 tests into ...
46811 (has_cpuclock): ...this. New function.
46812 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46813 macro here based on has_cpuclock code.
46814
15a856b1
UD
46815 [BZ #10149]
46816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46817 First byte (not low byte) is now always NUL.
46818 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46819
05f399e6
UD
46820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46821 Use non-cancelable interfaces.
46822
10a52685 46823 [BZ #9809]
94ecc67d
UD
46824 * locale/iso-639.def: Add entry for Sorani.
46825
f8a3b5bf
UD
46826 [BZ #11901]
46827 * include/stdlib.h: Move include protection to the right place.
46828 Define abort_msg_s. Declare __abort_msg with it.
46829 * stdlib/abort.c (__abort_msg): Adjust type.
46830 * assert/assert.c (__assert_fail_base): New function. Majority
46831 of code from __assert_fail. Allocate memory for __abort_msg with
46832 mmap.
46833 (__assert_fail): Now call __assert_fail_base.
46834 * assert/assert-perr.c: Remove bulk of implementation. Use
46835 __assert_fail_base.
46836 * include/assert.hL Declare __assert_fail_base.
46837 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46838 mmap.
46839 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46840
1af4e298
UD
468412011-05-14 Ulrich Drepper <drepper@gmail.com>
46842
f8a3b5bf 46843 [BZ #11952]
d26dfc60
MG
46844 [BZ #12453]
46845 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46846 until all modules are registered in the DTV.
46847 * elf/Makefile: Add rules to build and run tst-tls19.
46848 * elf/tst-tls19.c: New file.
46849 * elf/tst-tls19mod1.c: New file.
46850 * elf/tst-tls19mod2.c: New file.
46851 * elf/tst-tls19mod3.c: New file.
46852 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46853
2fc54d6f
UD
46854 [BZ #12083]
46855 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46856 correctly.
46857
98d76b46
UD
46858 [BZ #12601]
46859 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46860 two-byte sequence errors.
46861 * iconvdata/Makefile (tests): Add bug-iconv8.
46862 * iconvdata/bug-iconv8.c: New file.
46863
da3c19ef
UD
46864 [BZ #12626]
46865 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46866 buf2 definition.
46867
ca408c15
UD
46868 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46869
d6f67f7d
UD
46870 [BZ #12432]
46871 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46872 (dummy_getcfa): New function.
46873 (init): Get _Unwind_GetCFA address, use dummy if not found.
46874 (backtrace_helper): In recursion check, also check whether CFA changes.
46875 (__backtrace): Completely initialize arg.
46876
1af4e298 46877 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46878 storing incomplete byte sequence in state object. Avoid testing for
46879 guaranteed too small input if we know there is enough data available.
1af4e298 46880
da62f81b
AS
468812011-05-11 Andreas Schwab <schwab@redhat.com>
46882
46883 * Makeconfig (+link-pie): Indent.
46884 * Rules (binaries-pie): Define if $(have-fpie) and
46885 $(build-shared).
46886 (binaries-shared): Also filter out $(binaries-pie).
46887 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46888 * nscd/Makefile (others-pie): Add nscd.
46889 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46890 ($(objpfx)nscd): Remove command override.
46891 * login/Makefile (others-pie): Add pt_chown.
46892 ($(objpfx)pt_chown): Remove command override.
46893 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46894 remove command overrides.
46895
fcabc0f8
UD
468962011-05-13 Ulrich Drepper <drepper@gmail.com>
46897
20030ae6
UD
46898 * libio/tst_putwc.c: Fix error messages.
46899
fcabc0f8
UD
46900 [BZ #12724]
46901 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46902 currently writing and seek to current position when not.
46903 * libio/Makefile (tests): Add bug-fclose1.
46904 * libio/bug-fclose1.c: New file.
46905
320a5dc0
PB
469062011-05-12 Ulrich Drepper <drepper@gmail.com>
46907
46908 [BZ #12511]
46909 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46910 don't set DF_1_NODELETE here.
46911 (do_lookup_x): When entering new entry test for copy relocation
46912 and if necessary set DF_1_NODELETE flag.
46913 * elf/tst-unique4.cc: New file.
46914 * elf/tst-unique4.h: New file.
46915 * elf/tst-unique4lib.cc: New file.
46916 * elf/Makefile: Add rules to build and run tst-unique4.
46917 Patch by Piotr Bury <pbury@goahead.com>.
46918
22836f52
UD
469192011-05-11 Ulrich Drepper <drepper@gmail.com>
46920
f574184a
UD
46921 [BZ #12052]
46922 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46923
e1fb097f
UD
46924 [BZ #12625]
46925 * misc/mntent_r.c (addmntent): Flush the stream after the output
46926
22836f52
UD
46927 [BZ #12393]
46928 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46929 (is_trusted_path_normalize): Skip initial colon. Append slash
46930 to empty buffer. Duplicate is_trusted_path code but allow
46931 constructed patch to be prefix.
46932 (is_dst): Allow $ORIGIN followed by /.
46933 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46934 Correct testing of result of is_trusted_path_normalize
46935 (decompose_rpath): Fix warning.
46936
7b3b0b2a
UD
469372011-05-10 Ulrich Drepper <drepper@gmail.com>
46938
46939 [BZ #11257]
46940 * grp/initgroups.c (internal_getgrouplist): When we found the service
46941 list through the initgroups entry in nsswitch.conf do not always
46942 continue on a successful lookup. Don't always use the
eac80ce2 46943 __nss_group_database value if it is set.
7b3b0b2a
UD
46944 * nss/nsswitch.conf (initgroups): Change action for successful db
46945 lookup to continue for compatibility.
46946
2a81eaa5
UD
469472011-05-09 Ulrich Drepper <drepper@gmail.com>
46948
be97a69e
UD
46949 [BZ #11532]
46950 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46951 and CP774 modules.
46952 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46953 and CP774 modules.
46954 * iconvdata/tst-tables.sh: Likewise.
46955 * iconvdata/cp770.c: New file.
46956 * iconvdata/cp771.c: New file.
46957 * iconvdata/cp772.c: New file.
46958 * iconvdata/cp773.c: New file.
46959 * iconvdata/cp774.c: New file.
46960 * iconvdata/testdata/CP770: New file.
46961 * iconvdata/testdata/CP770..UTF8: New file.
46962 * iconvdata/testdata/CP771: New file.
46963 * iconvdata/testdata/CP771..UTF8: New file.
46964 * iconvdata/testdata/CP772: New file.
46965 * iconvdata/testdata/CP772..UTF8: New file.
46966 * iconvdata/testdata/CP773: New file.
46967 * iconvdata/testdata/CP773..UTF8: New file.
46968 * iconvdata/testdata/CP774: New file.
46969 * iconvdata/testdata/CP774..UTF8: New file.
46970
46971 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46972 END CHARMAP line.
46973 * iconvdata/gen-8bit-gap.sh: Likewise.
46974 * iconvdata/gen-8bit.sh: Likewise.
46975
c1e9e399
UD
46976 * locale/iso-639.def: Add ary entry.
46977
24c55fb3 46978 [BZ #11258]
96b4b1b0
UD
46979 * locale/C-translit.h.in: Add U20A1 transliteration.
46980
bdc2f971
KB
46981 [BZ #12178]
46982 * locale/iso-639.def: Add wae entry.
46983 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46984
2952b117
UD
46985 [BZ #12545]
46986 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46987 for n.
46988
2a81eaa5
UD
46989 [BZ #12711]
46990 * locale/C-translit.h.in: Add entry for U20B9.
46991 Patch by pravin.d.s@gmail.com.
46992
28377d1b
UD
469932011-05-08 Ulrich Drepper <drepper@gmail.com>
46994
7fb90fb8
UD
46995 [BZ #12713]
46996 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46997 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46998 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46999 in rtld. Use *stat64.
7fb90fb8 47000 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47001 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47002 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47003 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47004 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47005 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47006 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47007 __fstatat64 macros.
7fb90fb8
UD
47008 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47009 * dirent/rewinddir.c: Add libc_hidden_def.
47010 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47011 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47012
28377d1b
UD
47013 * include/dirent.h (__alloc_dir): Add flags parameter.
47014 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47015 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47016 __alloc_dir.
47017 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47018 from fdopendir if O_CLOEXEC is already set.
47019
66bdbaa4
AM
470202011-03-15 Alan Modra <amodra@gmail.com>
47021
47022 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47023 l_tls_firstbyte_offset non-zero. Save padding offset in
47024 l_tls_firstbyte_offset for later use.
47025 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47026 freeing static tls block.
47027
95721191
JN
470282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47029
47030 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47031 where #ifdef was intended. The intent is to prevent ARG_MAX from
47032 being defined by the kernel headers.
47033
f87dfb1f
UD
470342011-05-07 Ulrich Drepper <drepper@gmail.com>
47035
47036 [BZ #12734]
47037 * resolv/resolv.h: Define RES_NOTLDQUERY.
47038 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47039 no-tld-query and set RES_NOTLDQUERY.
47040 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47041 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47042 modern BIND to search name as TLD unless forbidden.
47043
47c3cd7a
UD
470442011-05-07 Petr Baudis <pasky@suse.cz>
47045 Ulrich Drepper <drepper@gmail.com>
47046
47047 [BZ #12393]
47048 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47049 (is_trusted_path): ...to here.
c1e9ea35 47050 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47051 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47052 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47053
8a35c912
PP
470542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47055
47056 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47057 __BEGIN/__END_DECLS.
47058
acd41f47
UD
470592011-05-06 Ulrich Drepper <drepper@gmail.com>
47060
47061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47062 NSS_STATUS_NOTFOUND if no record was found.
47063
597df647
AS
470642011-05-05 Andreas Schwab <schwab@redhat.com>
47065
47066 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47067 (headers-not-in-tirpc): Remove rpc/netdb.h
47068 * resolv/netdb.h: Revert last change.
47069
b9af1301
PP
470702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47071
47072 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47073 circular dependency between libgcc.a and libc.a.
47074
4e34d5f5
AS
470752011-05-05 Andreas Schwab <schwab@redhat.com>
47076
47077 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47078 * nis/Makefile: Don't install rpcsvc/*.
47079 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47080 instead of <rpc/types.h>.
47081 (MAXHOSTNAMELEN): Define.
47082
00ee369c
AS
470832011-05-03 Andreas Schwab <schwab@redhat.com>
47084
47085 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47086
0b592a30
MB
470872011-04-28 Maciej Babinski <mbabinski@google.com>
47088
47089 [BZ #12714]
47090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47091 gethostbyname4_r when IPv6 results are possible.
47092
6e04cbbe
UD
470932011-05-02 Ulrich Drepper <drepper@gmail.com>
47094
47095 [BZ #12723]
47096 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47097 _PC_PIPE_BUF handling.
47098
e4ecafe0
BH
470992011-04-30 Bruno Haible <bruno@clisp.org>
47100
47101 [BZ #12717]
47102 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47103 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47104 to 'int'.
47105 * inet/getnameinfo.c (getnameinfo): Likewise.
47106
125ee683
UD
471072011-04-29 Ulrich Drepper <drepper@gmail.com>
47108
47109 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47110 to groups setting in database lookup.
47111 * nss/nsswitch.conf: Add initgroups entry.
47112
b722481a
EB
471132011-04-22 Ulrich Drepper <drepper@gmail.com>
47114
47115 [BZ #12685]
47116 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47117 mode string.
47118 Patch by Eric Blake <eblake@redhat.com>.
47119
4df46dbd
L
471202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47121
47122 * sunrpc/Makefile (need-export-routines): Add svc_run.
47123 (routines): Remove svc_run.
47124 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47125 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47126 * sunrpc/svc_run.c (svc_run): Likewise.
47127 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47128
e84142d2
UD
471292011-04-21 Ulrich Drepper <drepper@gmail.com>
47130
47131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47132 problem in reallocation in last patch.
47133
877175d8
UD
471342011-04-20 Ulrich Drepper <drepper@gmail.com>
47135
47136 * sunrpc/Makefile: Move inclusion of Rules.
47137
ab8eed78
UD
471382011-04-19 Ulrich Drepper <drepper@gmail.com>
47139
47140 * nss/nss_files/files-initgroups.c: New file.
47141 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47142 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47143 _nss_files_initgroups_dyn.
47144
e3d8f584
RS
471452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47146
47147 * elf/elf.h (R_ARM_IRELATIVE): Define.
47148
af190f45
UD
471492011-04-19 Ulrich Drepper <drepper@gmail.com>
47150
47151 * po/ru.po: Update from translation team.
47152
53cf59ef
UD
471532011-04-17 Ulrich Drepper <drepper@gmail.com>
47154
47155 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47156 dependencies.
47157
4c559bcd
MF
471582011-02-06 Mike Frysinger <vapier@gentoo.org>
47159
47160 [BZ #12653]
47161 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47162 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47166
4420675c
AS
471672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47168
47169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47170 differing bytes.
47171 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47174
75ea32ab
UD
471752011-04-17 Ulrich Drepper <drepper@gmail.com>
47176
47177 [BZ #12420]
47178 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47179 storing it.
47180 * stdlib/bug-getcontext.c: New file.
47181 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47182
27390476
AK
471832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47184
47185 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47186 instructions into .machine "z9-109".
47187 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47188 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47189
10442705
AK
471902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47191
47192 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47193 between environment variables and auxiliary vector.
47194
7b57bfe5
UD
471952011-04-16 Ulrich Drepper <drepper@gmail.com>
47196
47197 * Makefile: Add rules to build linkobj/libc.so.
47198 * include/libc-symbols.h: Define libc_hidden_nolink.
47199 * include/rpc/auth.h: Mark functions which are to be hidden.
47200 * include/rpc/auth_des.h: Likewise.
47201 * include/rpc/auth_unix.h: Likewise.
47202 * include/rpc/clnt.h: Likewise.
47203 * include/rpc/des_crypt.h: Likewise.
47204 * include/rpc/key_prot.h: Likewise.
47205 * include/rpc/pmap_clnt.h: Likewise.
47206 * include/rpc/pmap_prot.h: Likewise.
47207 * include/rpc/pmap_rmt.h: Likewise.
47208 * include/rpc/rpc_msg.h: Likewise.
47209 * include/rpc/svc.h: Likewise.
47210 * include/rpc/svc_auth.h: Likewise.
47211 * include/rpc/xdr.h: Likewise.
47212 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47213 * nss/Makefile: Likewise.
47214 * sunrpc/Makefile: Don't install headers. Build library with normal
47215 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47216 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47217 for the compat linking library. Remove use of INTDEF/INTUSE.
47218 * sunrpc/auth_none.c: Likewise.
47219 * sunrpc/auth_unix.c: Likewise.
47220 * sunrpc/authdes_prot.c: Likewise.
47221 * sunrpc/authuxprot.c: Likewise.
47222 * sunrpc/clnt_gen.c: Likewise.
47223 * sunrpc/clnt_perr.c: Likewise.
47224 * sunrpc/clnt_raw.c: Likewise.
47225 * sunrpc/clnt_simp.c: Likewise.
47226 * sunrpc/clnt_tcp.c: Likewise.
47227 * sunrpc/clnt_udp.c: Likewise.
47228 * sunrpc/clnt_unix.c: Likewise.
47229 * sunrpc/des_crypt.c: Likewise.
47230 * sunrpc/des_soft.c: Likewise.
47231 * sunrpc/get_myaddr.c: Likewise.
47232 * sunrpc/key_call.c: Likewise.
47233 * sunrpc/key_prot.c: Likewise.
47234 * sunrpc/netname.c: Likewise.
47235 * sunrpc/pm_getmaps.c: Likewise.
47236 * sunrpc/pm_getport.c: Likewise.
47237 * sunrpc/pmap_clnt.c: Likewise.
47238 * sunrpc/pmap_prot.c: Likewise.
47239 * sunrpc/pmap_prot2.c: Likewise.
47240 * sunrpc/pmap_rmt.c: Likewise.
47241 * sunrpc/publickey.c: Likewise.
47242 * sunrpc/rpc_cmsg.c: Likewise.
47243 * sunrpc/rpc_common.c: Likewise.
47244 * sunrpc/rpc_dtable.c: Likewise.
47245 * sunrpc/rpc_prot.c: Likewise.
47246 * sunrpc/rpc_thread.c: Likewise.
47247 * sunrpc/rtime.c: Likewise.
47248 * sunrpc/svc.c: Likewise.
47249 * sunrpc/svc_auth.c: Likewise.
47250 * sunrpc/svc_authux.c: Likewise.
47251 * sunrpc/svc_raw.c: Likewise.
47252 * sunrpc/svc_run.c: Likewise.
47253 * sunrpc/svc_simple.c: Likewise.
47254 * sunrpc/svc_tcp.c: Likewise.
47255 * sunrpc/svc_udp.c: Likewise.
47256 * sunrpc/svc_unix.c: Likewise.
47257 * sunrpc/svcauth_des.c: Likewise.
47258 * sunrpc/xcrypt.c: Likewise.
47259 * sunrpc/xdr.c: Likewise.
47260 * sunrpc/xdr_array.c: Likewise.
47261 * sunrpc/xdr_float.c: Likewise.
47262 * sunrpc/xdr_intXX_t.c: Likewise.
47263 * sunrpc/xdr_mem.c: Likewise.
47264 * sunrpc/xdr_rec.c: Likewise.
47265 * sunrpc/xdr_ref.c: Likewise.
47266 * sunrpc/xdr_sizeof.c: Likewise.
47267 * sunrpc/xdr_stdio.c: Likewise.
47268
e6c61494
UD
472692011-04-10 Ulrich Drepper <drepper@gmail.com>
47270
47271 [BZ #12650]
47272 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47273 * sysdeps/ia64/dl-tls.h: Likewise.
47274 * sysdeps/powerpc/dl-tls.h: Likewise.
47275 * sysdeps/s390/dl-tls.h: Likewise.
47276 * sysdeps/sh/dl-tls.h: Likewise.
47277 * sysdeps/sparc/dl-tls.h: Likewise.
47278 * sysdeps/x86_64/dl-tls.h: Likewise.
47279 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47280
34fe483e
AS
472812011-03-14 Andreas Schwab <schwab@redhat.com>
47282
47283 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47284 rpath element also skip the following colon.
47285 (expand_dynamic_string_token): Add is_path parameter and pass
47286 down to DL_DST_REQUIRED and _dl_dst_substitute.
47287 (decompose_rpath): Call expand_dynamic_string_token with
47288 non-zero is_path. Ignore empty rpaths.
47289 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47290 with zero is_path.
47291
f12a32e6
AS
472922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47293
47294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47295 Make cancelable.
47296
38a7d692
UD
472972011-04-09 Ulrich Drepper <drepper@gmail.com>
47298
47299 [BZ #12655]
47300 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47301 Patch by Filipe David Manana <fdmanana@apache.org>.
47302
e451d22b
AS
473032011-04-07 Andreas Schwab <schwab@redhat.com>
47304
47305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47306 Maintain aligned stack.
47307 (CHECK_RSP): Remove unused macro.
47308
dedc7c7b
UD
473092011-04-03 Ulrich Drepper <drepper@gmail.com>
47310
47311 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47312 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47313
94521213
UD
473142011-04-02 Ulrich Drepper <drepper@gmail.com>
47315
47316 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47317
8cb700c0 47318 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47319
0354e355
L
473202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47321
47322 [BZ #12518]
47323 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47324 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47325 * sysdeps/x86_64/memmove.c: New file.
47326 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47327 (memcpy): Renamed to ...
47328 (__new_memcpy): This.
47329 (memcpy): Provide GLIBC_2_14 memcpy.
47330 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47331 (memcpy): Provide GLIBC_2_2_5 memcpy.
47332
8593482f
UD
473332011-04-01 Ulrich Drepper <drepper@gmail.com>
47334
47335 [BZ #12631]
47336 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47337
81a5726b
AS
473382011-03-30 Andreas Schwab <schwab@redhat.com>
47339
47340 * misc/syncfs.c: New file.
47341 * misc/Makefile (routines): Add syncfs.
47342 * posix/unistd.h: Declare syncfs.
47343 * sysdeps/unix/syscalls.list: Add syncfs.
47344
00e5419f
AS
473452011-04-01 Andreas Schwab <schwab@redhat.com>
47346
47347 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47348 open_by_handle_at.
47349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47352 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47354 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47356
748876bf
UD
473572011-04-01 Ulrich Drepper <drepper@gmail.com>
47358
658e451d
UD
47359 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47360 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47366
748876bf
UD
47367 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47368 sync_file_range.c with -fexceptions.
47369 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47370 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47371 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47372 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47373 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47374 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47376 sync_file_range as cancellation point
47377 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47378 now a wrapper around __call_sync_file_range with cancellation handling.
47379 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47380 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47381 function name to __call_sync_file_range.
47382 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47383 Add call_sync_file_range.
748876bf 47384
6e63d5e1
AS
473852011-04-01 Andreas Schwab <schwab@redhat.com>
47386
47387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47388 bits/timex.h.
6e63d5e1 47389
46998f74
UD
473902011-04-01 Ulrich Drepper <drepper@gmail.com>
47391
4c1423ed
UD
47392 * iconv/iconv.h: Fix typo in comment.
47393 * io/fcntl.h: Likewise.
47394 * libio/stdio.h: Likewise.
47395 * posix/spawn.h: Likewise.
47396 * posix/unistd.h: Likewise.
47397 * stdlib/stdlib.h: Likewise.
47398 * time/time.h: Likewise.
47399 * wcsmbs/wchar.h: Likewise.
47400
158648c0
UD
47401 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47402 open_by_handle): Add.
47403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47404 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47405 Augment a few comments.
47406 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47411 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47412 open_by_handle.
47413
46998f74
UD
47414 * io/fcntl.h (AT_EMPTY_PATH): Define.
47415
83fe108b
UD
474162011-03-30 Ulrich Drepper <drepper@gmail.com>
47417
47418 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47419 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47420 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47421 to...
47422 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47423 * Versions.def: Add GLIBC_2.14.
47424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47425 Export.
83fe108b 47426
bb242059
UD
474272011-03-22 Ulrich Drepper <drepper@gmail.com>
47428
47429 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47430 round counter.
47431 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47432
c97a1282
L
474332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47434
47435 [BZ #12597]
47436 * string/test-strncmp.c (do_page_test): New function.
47437 (check2): Likewise.
47438 (test_main): Call check2.
47439 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47440
2a115601
UD
474412011-03-20 Ulrich Drepper <drepper@gmail.com>
47442
47443 [BZ #12587]
47444 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47445 Handle cache information in CPU leaf 4.
47446 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47447
8126d904
UD
474482011-03-18 Ulrich Drepper <drepper@gmail.com>
47449
042c49c6 47450 [BZ #12583]
8126d904
UD
47451 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47452 character representation.
47453 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47454
ccfe366e
RA
474552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47456
47457 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47458 END(__isnan) to END(__isnanf) to match function entry point/label
47459 EALIGN(__isnanf,...).
47460
c6e13027
JJ
474612011-03-10 Jakub Jelinek <jakub@redhat.com>
47462
47463 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47464
33f85a3f
UD
474652011-03-10 Ulrich Drepper <drepper@gmail.com>
47466
028478fa
UD
47467 [BZ #12510]
47468 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47469 copy from the symbol referenced in the relocation to initialize the
47470 used variable.
47471 Patch by Piotr Bury <pbury@goahead.com>.
47472 * elf/Makefile: Add rules to build and tst-unique3.
47473 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47474 * elf/tst-unique3.cc: New file.
47475 * elf/tst-unique3.h: New file.
47476 * elf/tst-unique3lib.cc: New file.
47477 * elf/tst-unique3lib2.cc: New file.
47478
33f85a3f
UD
47479 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47480
03592fc7
MF
474812011-03-10 Mike Frysinger <vapier@gentoo.org>
47482
47483 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47484 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47485 to _start.
03592fc7 47486
6a5ee102
UD
474872011-03-06 Ulrich Drepper <drepper@gmail.com>
47488
47489 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47490 to-be-loaded object along a path to loader is ld.so.
47491
7e4ba49c
HJ
474922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47493 Ulrich Drepper <drepper@gmail.com>
47494
47495 * sysdeps/x86_64/memset.S: After aligning destination, code
47496 branches to different locations depending on the value of
47497 misalignment, when multiarch is enabled. Fix this.
47498
474992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47500
47501 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47502 Set _x86_64_preferred_memory_instruction for AMD processsors.
47503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47504 Set bit_Prefer_SSE_for_memop for AMD processors.
47505
13a804de
UD
475062011-03-04 Ulrich Drepper <drepper@gmail.com>
47507
47508 * libio/fmemopen.c (fmemopen): Optimize a bit.
47509
9d25c392
AS
475102011-03-03 Andreas Schwab <schwab@redhat.com>
47511
47512 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47513
a5543c6a
RM
475142011-03-03 Roland McGrath <roland@redhat.com>
47515
47516 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47517
012d35f7
DM
475182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47519
7e4ba49c 47520 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47521 __bzero_ultra1 instead of __memset_ultra1.
47522
4bff6e01
AS
475232011-02-23 Andreas Schwab <schwab@redhat.com>
47524 Ulrich Drepper <drepper@gmail.com>
47525
47526 [BZ #12509]
47527 * include/link.h (struct link_map): Add l_orig_initfini.
47528 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47529 returning unsuccessfully.
47530 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47531 close of a file loaded at startup, restore the original l_initfini
47532 list.
47533 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47534 list, store the pointer.
47535 * elf/Makefile ($(objpfx)noload-mem): New rule.
47536 (noload-ENV): Define.
47537 (tests): Add $(objpfx)noload-mem.
47538 * elf/noload.c: Include <memcheck.h>.
47539 (main): Call mtrace. Close all opened handles.
47540
f2092faf
AS
475412011-02-17 Andreas Schwab <schwab@redhat.com>
47542
47543 [BZ #12454]
47544 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47545 dependencies are missing.
47546
6c8a2e88
ST
475472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47548
f2092faf 47549 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47550 Hurd needs munmap.
47551 * sysdeps/mach/hurd/ifreq.h: New file.
47552
84a42118
PB
475532011-01-27 Petr Baudis <pasky@suse.cz>
47554 Ulrich Drepper <drepper@gmail.com>
47555
071f805e 47556 [BZ 12445]#
84a42118
PB
47557 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47558 to extend_alloca().
47559 * stdio-common/bug23.c: New file.
47560 * stdio-common/Makefile (tests): Add bug23.
47561
e23fe25b
AS
475622010-09-28 Andreas Schwab <schwab@redhat.com>
47563 Ulrich Drepper <drepper@gmail.com>
47564
47565 [BZ #12489]
47566 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47567 before performing relro protection. At old place add assertion
47568 to make sure nothing changed.
47569
d3f02e10
NS
475702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47571 Glauber de Oliveira Costa <glommer@gmail.com>
47572
47573 * elf/elf.h: Add new ARM TLS relocs.
47574
d55fd7a5
RA
475752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47576
47577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47578 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47579 cast from r3.
47580 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47581 'tests' variable.
47582 * sysdeps/wordsize-64/tst-writev.c: New file.
47583
2206397e
RA
475842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47585
47586 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47587 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47588 insns in _dl_start to prevent a TOC reference before relocs are
47589 resolved.
47590
e9433893
UD
475912011-02-15 Ulrich Drepper <drepper@gmail.com>
47592
47593 [BZ #12469]
47594 * Makeconfig: Remove RANLIB definition.
47595 * Makerules: Don't use RANLIB.
47596 * aclocal.m4: Remove ranlib test.
47597 * configure.in: No need to check for ranlib.
47598 * elf/rtld-Rules: Don't use RANLIB.
47599
f75286c6
ST
476002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47601
8e31c82d
ST
47602 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47603 protection macro.
47604 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47605 inclusion protection macro.
47606
f75286c6
ST
47607 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47608 SIGRTMIN and SIGRTMAX and print information in that case only when
47609 SIGRTMIN is defined.
47610
c1d0e639
JJ
476112011-02-11 Jakub Jelinek <jakub@redhat.com>
47612
47613 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47614 arginfo fn returning -1.
47615
47616 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47617 and thousands string is zero terminated.
47618
edf9294e
AS
476192011-02-03 Andreas Schwab <schwab@redhat.com>
47620
47621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47622 sysdeps/unix/sysv/linux/bits/socket.h.
47623
2b7e92df
ST
476242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47625
edf9294e
AS
47626 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47627 (__CPU_COUNT): Remove old macros.
47628 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47629 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47630 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47631 (__sched_cpualloc, __sched_cpufree): Add declarations.
47632
a4c7ea7b
UD
476332011-02-05 Ulrich Drepper <drepper@gmail.com>
47634
47635 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47636 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47637 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47638 (readdhstai): Return value of addhstaiX call.
47639 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47640 (addgrbyX): Return value returned by cache_addgr.
47641 (readdgrbyname): Return value returned by addgrbyX.
47642 (readdgrbygid): Likewise.
47643 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47644 (addpwbyX): Return value returned by cache_addpw.
47645 (readdpwbyname): Return value returned by addhstbyX.
47646 (readdpwbyuid): Likewise.
47647 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47648 (addservbyX): Return value returned by cache_addserv.
47649 (readdservbyname): Return value returned by addservbyX:
47650 (readdservbyport): Likewise.
47651 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47652 (addhstbyX): Return value returned by cache_addhst.
47653 (readdhstbyname): Return value returned by addhstbyX.
47654 (readdhstbyaddr): Likewise.
47655 (readdhstbynamev6): Likewise.
47656 (readdhstbyaddrv6): Likewise.
47657 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47658 (readdinitgroups): Return value returned by addinitgroupsX.
47659 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47660 (prune_cache): Keep track of timeout value of re-added entries.
47661 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47662 * nscd/nscd.h: Adjust prototypes of readd* functions.
47663
a0bf67cc
RM
476642011-02-04 Roland McGrath <roland@redhat.com>
47665
47666 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47667 (nis_stats): Likewise.
47668 * nis/nis_modify.c (nis_modify): Likewise.
47669 * nis/nis_remove.c (nis_remove): Likewise.
47670 * nis/nis_add.c (nis_add): Likewise.
47671
47672 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47673
47674 * posix/fnmatch_loop.c: Add some consts.
47675
47676 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47677
435b95eb
L
476782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47679
47680 [BZ #12460]
47681 * config.make.in (config-cflags-novzeroupper): Define.
47682 * configure.in: Substitute libc_cv_cc_novzeroupper.
47683 * elf/Makefile (AVX-CFLAGS): Define.
47684 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47685 (CFLAGS-tst-auditmod4a.c): Likewise.
47686 (CFLAGS-tst-auditmod4b.c): Likewise.
47687 (CFLAGS-tst-auditmod6b.c): Likewise.
47688 (CFLAGS-tst-auditmod6c.c): Likewise.
47689 (CFLAGS-tst-auditmod7b.c): Likewise.
47690 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47691
8517b15e
UD
476922011-02-02 Ulrich Drepper <drepper@gmail.com>
47693
47694 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47695 function to the callback.
47696 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47697
10a656fe
AS
476982011-02-02 Andreas Schwab <schwab@redhat.com>
47699
47700 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47701 of errno.
47702
968dad0a
UD
477032011-01-19 Ulrich Drepper <drepper@gmail.com>
47704
9f94d2ea 47705 [BZ #11724]
968dad0a
UD
47706 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47707 of constructors.
47708 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47709 of destructors.
47710 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47711
47712 [BZ #11724]
47713 * elf/Makefile: Add rules to build and run new test.
47714 * elf/tst-initorder.c: New file.
47715 * elf/tst-initorder.exp: New file.
47716 * elf/tst-initordera1.c: New file.
47717 * elf/tst-initordera2.c: New file.
47718 * elf/tst-initordera3.c: New file.
47719 * elf/tst-initordera4.c: New file.
47720 * elf/tst-initorderb1.c: New file.
47721 * elf/tst-initorderb2.c: New file.
47722 * elf/tst-order-a1.c: New file.
47723 * elf/tst-order-a2.c: New file.
47724 * elf/tst-order-a3.c: New file.
47725 * elf/tst-order-a4.c: New file.
47726 * elf/tst-order-b1.c: New file.
47727 * elf/tst-order-b2.c: New file.
47728 * elf/tst-order-main.c: New file.
47729 New test case by George Gensure <werkt0@gmail.com>.
47730
86e92359
UD
477312010-10-01 Andreas Schwab <schwab@redhat.com>
47732
47733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47734 decoding ACE if AI_CANONIDN.
47735
5d5732b0
UD
477362011-01-18 Ulrich Drepper <drepper@gmail.com>
47737
47738 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47739
a77e8cbc
UD
477402011-01-17 Ulrich Drepper <drepper@gmail.com>
47741
6392473f
UD
47742 * version.h (RELEASE): Bump for 2.13 release.
47743 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47744
620a0529
UD
47745 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47746
18ba70a5
UD
47747 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47748 MADV_NOHUGEPAGE.
32465c3e
UD
47749 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47755
c0dafcf1
UD
47756 * posix/getconf.c: Update copyright year.
47757 * catgets/gencat.c: Likewise.
47758 * csu/version.c: Likewise.
47759 * debug/catchsegv.sh: Likewise.
47760 * debug/xtrace.sh: Likewise.
47761 * elf/ldconfig.c: Likewise.
47762 * elf/ldd.bash.in: Likewise.
47763 * elf/sprof.c (print_version): Likewise.
47764 * iconv/iconv_prog.c: Likewise.
47765 * iconv/iconvconfig.c: Likewise.
47766 * locale/programs/locale.c: Likewise.
47767 * locale/programs/localedef.c: Likewise.
47768 * malloc/memusage.sh: Likewise.
47769 * malloc/mtrace.pl: Likewise.
47770 * nscd/nscd.c (print_version): Likewise.
47771 * nss/getent.c: Likewise.
47772
a77e8cbc
UD
47773 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47774 PF_CAIF, and PF_ALG.
47775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47776
77e8bddf
AS
477772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47778
1f20b93a
AS
47779 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47780 (modules-names): Use them.
47781 (ifunc-test-modules, ifunc-pie-tests): Define.
47782 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47783 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47784 (test-extras): Likewise.
47785 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47786 $(compile-command.c).
47787 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47788 (all-built-dso): Define.
47789 (check-textrel.out, check-execstack.out): Depend on it.
47790
77e8bddf
AS
47791 * configure.in: Don't override --enable-multi-arch.
47792
bc425b33
UD
477932011-01-15 Ulrich Drepper <drepper@gmail.com>
47794
47795 [BZ #6812]
47796 * nscd/hstcache.c (tryagain): Define.
47797 (cache_addhst): Return tryagain not notfound for temporary errors.
47798 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47799 failed.
47800
794c3ad3
UD
478012011-01-14 Ulrich Drepper <drepper@gmail.com>
47802
70181fdd
UD
47803 [BZ #10563]
47804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47805 to make the syscall.
47806 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47807
794c3ad3
UD
47808 [BZ #12378]
47809 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47810 and fall back to matching as normal character if the string ends before
47811 the matching ']' is found. This is what POSIX requires.
47812 * posix/testfnm.c: Adjust test result.
47813 * posix/globtest.sh: Adjust test result. Add new test.
47814 * posix/tst-fnmatch.input: Likewise.
47815 * posix/tst-fnmatch2.c: Add new test.
47816
68dc9497
AS
478172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47818
47819 * elf/Makefile (check-execstack): Revert last change. Depend on
47820 check-execstack.h.
47821 (check-execstack.h): New target.
47822 (generated): Add check-execstack.h.
47823 * elf/check-execstack.c: Include "check-execstack.h".
47824 (main): Revert last change.
47825 (handle_file): Return zero if GNU_STACK is absent and
47826 DEFAULT_STACK_PERMS doesn't include PF_X.
47827
451f001b
UD
478282011-01-13 Ulrich Drepper <drepper@gmail.com>
47829
cfa28e56
UD
47830 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47831 in child fails because the descriptor is already closed.
8cf8ce17
UD
47832 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47833 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47835
1086d70d
UD
47836 [BZ #12397]
47837 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47838 syscall.
47839
451f001b
UD
47840 [BZ #10484]
47841 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47842 temporary buffer used to handle multi lookups locally.
a85b5cb4 47843 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47844
08769175
UD
478452011-01-12 Ulrich Drepper <drepper@gmail.com>
47846
47847 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47848 loader is ld.so.
47849
5e49c52e
UD
478502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47851
47852 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47853 alignment for SSE2.
47854
60522a5f
UD
478552011-01-12 Ulrich Drepper <drepper@gmail.com>
47856
47857 [BZ #12394]
47858 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47859 characters. When rounding increased number of integer digits recompute
47860 number of groups.
47861 * stdio-common/tst-grouping.c: New file.
47862 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47863
f257bbd7
UD
478642011-01-09 Ulrich Drepper <drepper@gmail.com>
47865
47866 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47867 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47868
47869 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47870 void.
47871 * bits/select.h: Likewise.
47872
fa9c15cb
UD
478732011-01-08 Ulrich Drepper <drepper@gmail.com>
47874
47875 * po/ja.po: Update from translation team.
47876
16c2895f
DM
478772011-01-04 David S. Miller <davem@sunset.davemloft.net>
47878
47879 [BZ #11155]
47880 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47881 implementation just like for lxstat, fxstatat, et al.
47882
2543fef2
JM
478832010-12-27 Jim Meyering <meyering@redhat.com>
47884
47885 [BZ #12348]
47886 * posix/regexec.c (build_trtable): Return failure indication upon
47887 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47888
98727dbe
UD
478892010-12-25 Ulrich Drepper <drepper@gmail.com>
47890
5bd6dc5c
UD
47891 [BZ #12201]
47892 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47893 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47894 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47896
97983464
UD
47897 [BZ #12207]
47898 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47899
98727dbe
UD
47900 [BZ #12204]
47901 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47902 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47903
4a531bb0
L
479042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47905
47906 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47907 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47908 script has SORT_BY_INIT_PRIORITY.
47909 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47910 NO_CTORS_DTORS_SECTIONS is defined.
47911 * elf/soinit.c: Likewise.
47912 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47913 NO_CTORS_DTORS_SECTIONS is defined.
47914 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47915 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47916 * sysdeps/sh/init-first.c: Likewise.
47917 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47918
07eb4b71
UD
479192010-12-24 Ulrich Drepper <drepper@gmail.com>
47920
47921 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47922 always use the slow path.
47923
30950a5f
RA
479242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47925
47926 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47927 similar rule which adds the sysdep directories to the header search in
47928 order to pick up the correct platform stackinfo.h.
47929 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47930 perform test if it is, otherwise return successfully without testing.
47931 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47932 DEFAULT_STACK_PERMS define in stackinfo.h.
47933 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47934 defined in stackinfo.h.
47935 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47936 DEFAULT_STACK_PERMS defined in stackinfo.h.
47937 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47938 * sysdeps/ia64/stackinfo.h: Likewise.
47939 * sysdeps/s390/stackinfo.h: Likewise.
47940 * sysdeps/sh/stackinfo.h: Likewise.
47941 * sysdeps/sparc/stackinfo.h: Likewise.
47942 * sysdeps/x86_64/stackinfo.h: Likewise.
47943 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47944 PF_X for powerpc64. Retain PF_X for powerpc32.
47945
db753e2c
UD
479462010-12-19 Ulrich Drepper <drepper@gmail.com>
47947
14b697f7
UD
47948 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47949 accurately.
db753e2c
UD
47950 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47951 GETDENTS_64BIT_ALIGNED.
47952
28300719
UD
479532010-12-14 Ulrich Drepper <dreper@gmail.com>
47954
14b697f7 47955 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47956
4f197237
AS
479572010-12-10 Andreas Schwab <schwab@redhat.com>
47958
dbb0472f
AS
47959 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47960 _GNU_SOURCE.
47961
4f197237
AS
47962 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47963 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47964 Remove __restrict.
47965 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47966 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47967
fb88ac72
UD
479682010-12-09 Ulrich Drepper <drepper@gmail.com>
47969
47970 [BZ #11655]
47971 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47972 are initialized.
47973
42acbb92
JJ
479742010-12-09 Jakub Jelinek <jakub@redhat.com>
47975
47976 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47977
c038d98d
UD
479782010-12-03 Ulrich Drepper <drepper@gmail.com>
47979
47980 * po/it.po: Update from translation team.
47981
3a4a2499
L
479822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47983
47984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47985 unused codes.
47986
1e24cf6e
UD
479872010-11-30 Ulrich Drepper <drepper@gmail.com>
47988
47989 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47990
a7690819
AS
479912010-11-24 Andreas Schwab <schwab@redhat.com>
47992
47993 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47994 specially.
47995 (gaih_getanswer_slice): Likewise.
47996
3bf8d1b1
JJ
479972010-10-20 Jakub Jelinek <jakub@redhat.com>
47998
47999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48000
6db52fbb
PB
480012010-05-31 Petr Baudis <pasky@suse.cz>
48002
48003 [BZ #11149]
48004 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48005 silently even in the chroot mode.
48006
eaca7569
UD
480072010-11-22 Ulrich Drepper <drepper@gmail.com>
48008
48009 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48010 last patch a bit. Pretty printing
48011
3056dcdb
UD
480122010-05-31 Petr Baudis <pasky@suse.cz>
48013
48014 [BZ #10085]
48015 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48016 initialization of skip_initgroups_dyn.
48017
cf7c9078
UD
480182010-11-19 Ulrich Drepper <drepper@gmail.com>
48019
48020 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48021 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48022
a1fb5e3e
UD
480232010-11-16 Ulrich Drepper <drepper@gmail.com>
48024
48025 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48026
3540d66b
AS
480272010-11-11 Andreas Schwab <schwab@redhat.com>
48028
48029 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48030 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48031 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48032 ($(objpfx)tst-fnmatch-mem): New rule.
48033 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48034 * posix/tst-fnmatch.c (main): Call mtrace.
48035
13b69574
L
480362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48037
48038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48039 Support Intel processor model 6 and model 0x2c.
48040
da93d214
LM
480412010-11-10 Luis Machado <luisgpm@br.ibm.com>
48042
48043 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48044 signed comparison.
48045
8ca52c6e
L
480462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48047
48048 [BZ #12205]
48049 * string/test-strncasecmp.c (check_result): New function.
48050 (do_one_test): Use it.
48051 (check1): New function.
48052 (test_main): Use it.
48053 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48054 Support strcasecmp and strncasecmp.
48055
69da074d
UD
480562010-11-08 Ulrich Drepper <drepper@gmail.com>
48057
48058 [BZ #12194]
48059 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48061
ff02d528
L
480622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48063
48064 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48065 IFUNC support.
48066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48067 memset-x86-64.
48068 * sysdeps/x86_64/multiarch/bzero.S: New file.
48069 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48070 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48071 * sysdeps/x86_64/multiarch/memset.S: New file.
48072 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48074 Set bit_Prefer_SSE_for_memop for Intel processors.
48075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48076 Define.
48077 (index_Prefer_SSE_for_memop): Define.
48078 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48079
344d0b54
LM
480802010-11-04 Luis Machado <luisgpm@br.ibm.com>
48081
48082 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48083 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48084
c0dde15b
UD
480852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48086
48087 [BZ #12191]
48088 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48089 (__x86_64_raw_data_cache_size_half): Likewise.
48090 (__x86_64_raw_shared_cache_size): Likewise.
48091 (__x86_64_raw_shared_cache_size_half): Likewise.
48092
48093 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48094 (__x86_64_raw_data_cache_size_half): Likewise.
48095 (__x86_64_raw_shared_cache_size): Likewise.
48096 (__x86_64_raw_shared_cache_size_half): Likewise.
48097 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48098 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48099 and __x86_64_raw_shared_cache_size_half. Round
48100 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48101 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48102 to multiple of 256 bytes.
48103
0e516e0e
MS
481042010-11-03 Ulrich Drepper <drepper@gmail.com>
48105
48106 [BZ #12167]
48107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48108 of inacessible symlinks. Verify result of symlink before returning it.
48109 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48110 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48111
0e012e87
ER
481122010-10-28 Erich Ritz <erichritz@gmail.com>
48113
48114 * math/math.h (isinf): Fix typo in comment.
48115
de0ff7bc
UD
481162010-11-01 Ulrich Drepper <drepper@gmail.com>
48117
48118 * po/da.po: Update from translation team.
48119
fa41c84d
UD
481202010-10-26 Ulrich Drepper <drepper@gmail.com>
48121
48122 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48123 is added to the list.
48124
f0967738
AK
481252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48126 Ulrich Drepper <drepper@gmail.com>
48127
48128 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48129 the global list here. Move code to...
48130 (_dl_add_to_namespace_list): ...here. New function.
48131 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48132 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48133 * elf/dl-load.c (lose): Don't remove the element from the list.
48134 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48135 (_dl_map_object): Likewise.
48136
481372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48138
48139 [BZ #12159]
48140 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48141 into all bytes of SSE register.
48142 Patch by Richard Li <richardpku@gmail.com>.
48143
f0967738 481442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48145
48146 [BZ #12140]
48147 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48148 perturbing.
48149
d0b9e94f
MB
481502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48151
48152 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48153 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48154 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48155 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48157 submachine.
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48159
8e9f92e9
AS
481602010-10-22 Andreas Schwab <schwab@redhat.com>
48161
48162 * include/dlfcn.h (__RTLD_SECURE): Define.
48163 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48164 mode & __RTLD_SECURE instead.
48165 (open_path): Rename preloaded parameter to secure.
48166 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48167 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48168 * elf/dl-deps.c (openaux): Likewise.
48169 * elf/rtld.c (struct map_args): Remove is_preloaded.
48170 (map_doit): Don't use it.
48171 (dl_main): Likewise.
48172 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48173 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48174
bc96fbda
AS
481752010-09-09 Andreas Schwab <schwab@redhat.com>
48176
48177 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48178 (sysd-rules-targets): Remove duplicates.
48179 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48180 rtld-%.$o dependency.
48181
22cd1c9b
AS
481822010-10-18 Andreas Schwab <schwab@redhat.com>
48183
48184 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48185 _dl_map_object do it.
48186
18edac48
UD
481872010-10-19 Ulrich Drepper <drepper@gmail.com>
48188
48189 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48190 fast fma builtins, define the macros in the C99 standard.
48191 (FP_FAST_FMAF): Likewise.
48192 (FP_FAST_FMAL): Likewise.
48193 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48194
48195 * bits/mathdef.h: Update copyright year.
48196 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48197
d2050124
MM
481982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48199
48200 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48201 builtins, define the macros in the C99 standard.
48202 (FP_FAST_FMAF): Likewise.
48203 (FP_FAST_FMAL): Likewise.
48204 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48205 multiply/add.
48206 (FP_FAST_FMAF): Likewise.
48207
475facd1
JJ
482082010-10-15 Jakub Jelinek <jakub@redhat.com>
48209
48210 [BZ #3268]
48211 * math/libm-test.inc (fma_test): Some new testcases.
48212 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48213 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48214 y and infinite z. Do multiplication by C already in long double.
48215 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48217 y and infinite z. Do bitwise or of inexact bit into u.d.
48218 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48219 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48220 * sysdeps/i386/fpu/s_fma.S: Removed.
48221 * sysdeps/i386/fpu/s_fmal.S: Removed.
48222
7c08a05c
JJ
482232010-10-16 Jakub Jelinek <jakub@redhat.com>
48224
48225 [BZ #3268]
48226 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48228 computation is not scheduled after fetestexcept. Fix value
48229 of minimum denormal long double.
48230
f3f7372d
JJ
482312010-10-14 Jakub Jelinek <jakub@redhat.com>
48232
48233 [BZ #3268]
48234 * math/libm-test.inc (fma_test): Add some more tests.
48235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48236 correctly.
48237
14d43591
AS
482382010-10-15 Andreas Schwab <schwab@redhat.com>
48239
48240 * scripts/data/localplt-s390-linux-gnu.data: New file.
48241 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48242
5e908464
JJ
482432010-10-13 Jakub Jelinek <jakub@redhat.com>
48244
48245 [BZ #3268]
48246 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48247 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48248 instead of dbl-64.
48249 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48250 inlines.
48251 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48253 if one of x and y is very large and the other is subnormal.
48254 * sysdeps/s390/fpu/s_fmaf.c: New file.
48255 * sysdeps/s390/fpu/s_fma.c: New file.
48256 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48257 * sysdeps/powerpc/fpu/s_fma.S: New file.
48258 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48259 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48260 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48261
482622010-10-12 Jakub Jelinek <jakub@redhat.com>
48263
48264 [BZ #3268]
48265 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48266 fma tests.
48267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48268 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48269 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48270 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48271 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48272 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48273 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48274
b833d51f
UD
482752010-10-12 Ulrich Drepper <drepper@redhat.com>
48276
48277 [BZ #12078]
48278 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48279 * posix/bug-regex31.input: Add test case.
48280
1751705d
UD
482812010-10-11 Ulrich Drepper <drepper@gmail.com>
48282
e9b9cbf5
UD
48283 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48284 * posix/bug-regex31.input: New file.
48285
48286 [BZ #12078]
48287 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48288 (parse_sub_exp): Fix last change, use postorder.
48289
ef06edbe
UD
48290 * posix/bug-regex31.c: New file.
48291 * posix/Makefile: Add rules to build and run bug-regex31.
48292
a129c80d
UD
48293 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48294
48295 [BZ #12078]
48296 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48297
b76b818e
UD
48298 [BZ #12108]
48299 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48300 to have entries in sys_siglist.
48301
1751705d
UD
48302 [BZ #12093]
48303 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48304 be NULL.
48305
9ff8d36f
JJ
483062010-10-07 Jakub Jelinek <jakub@redhat.com>
48307
48308 [BZ #3268]
48309 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48310 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48311 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48312 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48313 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48314 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48315 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48316 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48317 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48318 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48319 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48320 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48321 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48322 * math/ftestexcept.c (fetestexcept): Likewise.
48323 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48324 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48325 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48326 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48327 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48328 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48330
af325969
UD
483312010-10-11 Ulrich Drepper <drepper@gmail.com>
48332
c579b202 48333 [BZ #12107]
af325969
UD
48334 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48335 newline.
48336
67a67b95
UD
483372010-10-06 Ulrich Drepper <drepper@gmail.com>
48338
48339 * string/bug-strstr1.c: New file.
48340 * string/Makefile: Add rules to build and run bug-strstr1.
48341
5fb308bc
EB
483422010-10-05 Eric Blake <eblake@redhat.com>
48343
48344 [BZ #12092]
48345 * string/str-two-way.h (two_way_long_needle): Always clear memory
48346 when skipping input due to the shift table.
48347
45db99c7
UD
483482010-10-03 Ulrich Drepper <drepper@gmail.com>
48349
3b111893
UD
48350 [BZ #12005]
48351 * malloc/mcheck.c: Handle large requests.
48352
45db99c7
UD
48353 [BZ #12077]
48354 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48355 for strncmp and strncasecmp.
48356 * string/stratcliff.c: Add tests for strcmp and strncmp.
48357 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48358
cf7a1eb8
NI
483592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48360
48361 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48362 __set_fpscr.
48363
6484ba5e
AJ
483642010-09-30 Andreas Jaeger <aj@suse.de>
48365
48366 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48367 (CGROUP_SUPER_MAGIC): Define.
48368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48369 Handle btrfs and cgroup file systems.
48370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48371 Likewise.
48372
91c42559
LM
483732010-09-27 Luis Machado <luisgpm@br.ibm.com>
48374
48375 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48376 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48377
87a97932
AK
483782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48379
48380 [BZ #12067]
48381 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48382 trying to locate the ELF header.
48383
c21cc9bc
AS
483842010-09-27 Andreas Schwab <schwab@redhat.com>
48385
48386 [BZ #11611]
48387 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48388 Mask out sign-bit copies when constructing f_fsid.
48389
315970f6
PB
483902010-09-24 Petr Baudis <pasky@suse.cz>
48391
48392 * debug/stack_chk_fail_local.c: Add missing licence exception.
48393 * debug/warning-nop.c: Likewise.
48394
1ac7a2c7
JM
483952010-09-15 Joseph Myers <joseph@codesourcery.com>
48396
48397 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48398 implementing getdents64 using getdents syscall, set d_type if
48399 __ASSUME_GETDENTS32_D_TYPE.
48400
56801c50
AS
484012010-09-16 Andreas Schwab <schwab@redhat.com>
48402
48403 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48404 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48405
dda51327
UD
484062010-09-21 Ulrich Drepper <drepper@redhat.com>
48407
48408 [BZ #12037]
48409 * posix/unistd.h: Undo change of feature selection for ftruncate from
48410 2010-01-11.
48411
8ffcee4a
UD
484122010-09-20 Ulrich Drepper <drepper@redhat.com>
48413
a545ecd9 48414 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48415 detection.
48416
e24f0a8b
AS
484172010-09-20 Andreas Schwab <schwab@redhat.com>
48418
48419 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48420 fanotify_mark.
48421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48422
7291c56f
AS
484232010-09-14 Andreas Schwab <schwab@redhat.com>
48424
48425 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48426 variables after CHECK_SP call.
48427 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48428
bc5fb037
AS
484292010-09-13 Andreas Schwab <schwab@redhat.com>
48430 Ulrich Drepper <drepper@redhat.com>
48431
48432 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48433 re-relocationg ld.so.
48434 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48435 _dl_init_paths call.
48436 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48437 here anymore.
48438
e66e7419
UD
484392010-09-14 Ulrich Drepper <drepper@redhat.com>
48440
48441 * resolv/res_init.c (__res_vinit): Count the default server we added.
48442
c044aa75
CLT
484432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48444 Ulrich Drepper <drepper@redhat.com>
48445
48446 [BZ #11968]
48447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48448 (____longjmp_chk): Use %ebx for saving value across system call.
48449 Add unwind info.
48450
32cf4069
AS
484512010-09-06 Andreas Schwab <schwab@redhat.com>
48452
48453 * manual/Makefile: Don't mix pattern rules with normal rules.
48454
817328ee
AS
484552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48456
48457 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48458 operation.
48459 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48460 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48461 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48462 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48464 Likewise.
48465
29fddf61
UD
484662010-09-04 Ulrich Drepper <drepper@redhat.com>
48467
48468 [BZ #11979]
48469 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48470 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48471
0959ffc9
UD
484722010-09-02 Ulrich Drepper <drepper@redhat.com>
48473
48474 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48475 * sysdeps/x86_64/addmul_1.S: Likewise.
48476 * sysdeps/x86_64/lshift.S: Likewise.
48477 * sysdeps/x86_64/mul_1.S: Likewise.
48478 * sysdeps/x86_64/rshift.S: Likewise.
48479 * sysdeps/x86_64/sub_n.S: Likewise.
48480 * sysdeps/x86_64/submul_1.S: Likewise.
48481
ece29840
ST
484822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48483
0959ffc9
UD
48484 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48485 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48486 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48487 * bits/sched.h [__need_schedparam]
ece29840 48488 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48489 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48490 (__defined_schedparam): Define to 1.
ece29840
ST
48491 (__sched_param): New structure, identical to sched_param.
48492 (__need_schedparam): Undefine.
48493
e53a31fe
MF
484942010-08-31 Mike Frysinger <vapier@gentoo.org>
48495
fdc0c10d
MF
48496 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48497 (epoll_create1): Declare.
48498
e53a31fe
MF
48499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48500
a726d796
AS
485012010-08-31 Andreas Schwab <schwab@redhat.com>
48502
48503 [BZ #7066]
48504 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48505 shifting retval into place.
48506
2f3e3dc7
UD
485072010-09-01 Ulrich Drepper <drepper@redhat.com>
48508
f2933da9
UD
48509 * nis/rpcsvc/nis.h: Update copyright notice.
48510 * nis/rpcsvc/nis.x: Likewise.
48511 * nis/rpcsvc/nis_callback.h: Likewise.
48512 * nis/rpcsvc/nis_callback.x: Likewise.
48513 * nis/rpcsvc/nis_object.x: Likewise.
48514 * nis/rpcsvc/nis_tags.h: Likewise.
48515 * nis/rpcsvc/yp.h: Likewise.
48516 * nis/rpcsvc/yp.x: Likewise.
48517 * nis/rpcsvc/ypupd.h: Likewise.
48518 * nis/yp_xdr.c: Likewise.
48519 * nis/ypupdate_xdr.c: Likewise.
48520
2f3e3dc7
UD
48521 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48522 mainly the body of pmap_getport. Add parameters to specify timeouts.
48523 (pmap_getport): Use __libc_rpc_getport.
48524 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48525 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48526 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48527
f3dcc2f9
AS
485282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48529
48530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48531 fanotify_mark.
48532
6d34eb5b
RM
485332010-08-27 Roland McGrath <roland@redhat.com>
48534
48535 * sysdeps/i386/i686/multiarch/Makefile
48536 (CFLAGS-varshift.c): New variable.
48537
9ea3de11
UD
485382010-08-27 Ulrich Drepper <drepper@redhat.com>
48539
c96d23fc
UD
48540 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48541 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48542
9ea3de11
UD
48543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48544
48545 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48546
623aac7f
L
485472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48548
48549 * sysdeps/x86_64/strlen.S: Unroll the loop.
48550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48551 strlen-sse2 strlen-sse2-bsf.
48552 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48553 __strlen_no_bsf if bit_Slow_BSF is set.
48554 (__strlen_sse42): Removed.
48555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48556 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48557
8b2b7715
RM
485582010-08-25 Roland McGrath <roland@redhat.com>
48559
48560 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48561 * sysdeps/x86_64/multiarch/varshift.c: New file.
48562 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48563 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48564 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48565 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48566
e73015f2
L
485672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48568
48569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48570 strlen-sse2 strlen-sse2-bsf.
48571 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48572 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48573 (__strlen_sse2): Removed.
48574 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48577 bit_Slow_BSF for Atom.
48578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48579 (index_Slow_BSF): Define.
48580 (HAS_SLOW_BSF): Define.
48581
df24a73e
UD
485822010-08-25 Ulrich Drepper <drepper@redhat.com>
48583
48584 [BZ #10851]
48585 * resolv/res_init.c (__res_vinit): When no server address at all
48586 is given default to loopback.
48587
f2ac4868
RM
485882010-08-24 Roland McGrath <roland@redhat.com>
48589
09055553
RM
48590 * configure.in: Remove config-name.h generation.
48591 * configure: Regenerated.
48592 * config-name.in: File removed.
48593 * scripts/config-uname.sh: New file.
48594 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48595 ($(objdir)config-name.h): New target.
48596
f2ac4868
RM
48597 * sunrpc/rpc_parse.h: Avoid nested comment.
48598
73f27d5e
RH
485992010-08-24 Richard Henderson <rth@redhat.com>
48600 Ulrich Drepper <drepper@redhat.com>
48601 H.J. Lu <hongjiu.lu@intel.com>
48602
48603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48605 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48606 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48607 _mm_alignr_epi8 with _mm_loadu_si128.
48608 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48609 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48610 (__m128i_shift_right): Removed.
48611 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48612 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48613 * sysdeps/x86_64/multiarch/varshift.h: New file.
48614 * sysdeps/x86_64/multiarch/varshift.S: New file.
48615
84b9230c
MF
486162010-08-21 Mike Frysinger <vapier@gentoo.org>
48617
48618 * configure.in: Move assembler checks to before sysdep dir checking.
48619
9bbd0ddc
PB
486202010-08-20 Petr Baudis <pasky@suse.cz>
48621
48622 * LICENSES: Sync the sunrpc license.
48623
9da4bb31
UD
486242010-08-19 Ulrich Drepper <drepper@redhat.com>
48625
a7ab6ec8
UD
48626 * sunrpc/auth_des.c: Update copyright notice once again.
48627 * sunrpc/auth_none.c: Likewise.
48628 * sunrpc/auth_unix.c: Likewise.
48629 * sunrpc/authdes_prot.c: Likewise.
48630 * sunrpc/authuxprot.c: Likewise.
48631 * sunrpc/bindrsvprt.c: Likewise.
48632 * sunrpc/clnt_gen.c: Likewise.
48633 * sunrpc/clnt_perr.c: Likewise.
48634 * sunrpc/clnt_raw.c: Likewise.
48635 * sunrpc/clnt_simp.c: Likewise.
48636 * sunrpc/clnt_tcp.c: Likewise.
48637 * sunrpc/clnt_udp.c: Likewise.
48638 * sunrpc/clnt_unix.c: Likewise.
48639 * sunrpc/des_crypt.c: Likewise.
48640 * sunrpc/des_soft.c: Likewise.
48641 * sunrpc/get_myaddr.c: Likewise.
48642 * sunrpc/getrpcport.c: Likewise.
48643 * sunrpc/key_call.c: Likewise.
48644 * sunrpc/key_prot.c: Likewise.
48645 * sunrpc/openchild.c: Likewise.
48646 * sunrpc/pm_getmaps.c: Likewise.
48647 * sunrpc/pm_getport.c: Likewise.
48648 * sunrpc/pmap_clnt.c: Likewise.
48649 * sunrpc/pmap_prot.c: Likewise.
48650 * sunrpc/pmap_prot2.c: Likewise.
48651 * sunrpc/pmap_rmt.c: Likewise.
48652 * sunrpc/rpc/auth.h: Likewise.
48653 * sunrpc/rpc/auth_unix.h: Likewise.
48654 * sunrpc/rpc/clnt.h: Likewise.
48655 * sunrpc/rpc/des_crypt.h: Likewise.
48656 * sunrpc/rpc/key_prot.h: Likewise.
48657 * sunrpc/rpc/netdb.h: Likewise.
48658 * sunrpc/rpc/pmap_clnt.h: Likewise.
48659 * sunrpc/rpc/pmap_prot.h: Likewise.
48660 * sunrpc/rpc/pmap_rmt.h: Likewise.
48661 * sunrpc/rpc/rpc.h: Likewise.
48662 * sunrpc/rpc/rpc_des.h: Likewise.
48663 * sunrpc/rpc/rpc_msg.h: Likewise.
48664 * sunrpc/rpc/svc.h: Likewise.
48665 * sunrpc/rpc/svc_auth.h: Likewise.
48666 * sunrpc/rpc/types.h: Likewise.
48667 * sunrpc/rpc/xdr.h: Likewise.
48668 * sunrpc/rpc_clntout.c: Likewise.
48669 * sunrpc/rpc_cmsg.c: Likewise.
48670 * sunrpc/rpc_common.c: Likewise.
48671 * sunrpc/rpc_cout.c: Likewise.
48672 * sunrpc/rpc_dtable.c: Likewise.
48673 * sunrpc/rpc_hout.c: Likewise.
48674 * sunrpc/rpc_main.c: Likewise.
48675 * sunrpc/rpc_parse.c: Likewise.
48676 * sunrpc/rpc_parse.h: Likewise.
48677 * sunrpc/rpc_prot.c: Likewise.
48678 * sunrpc/rpc_sample.c: Likewise.
48679 * sunrpc/rpc_scan.c: Likewise.
48680 * sunrpc/rpc_scan.h: Likewise.
48681 * sunrpc/rpc_svcout.c: Likewise.
48682 * sunrpc/rpc_tblout.c: Likewise.
48683 * sunrpc/rpc_util.c: Likewise.
48684 * sunrpc/rpc_util.h: Likewise.
48685 * sunrpc/rpcinfo.c: Likewise.
48686 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48687 * sunrpc/rpcsvc/key_prot.x: Likewise.
48688 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48689 * sunrpc/rpcsvc/mount.x: Likewise.
48690 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48691 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48692 * sunrpc/rpcsvc/rex.x: Likewise.
48693 * sunrpc/rpcsvc/rstat.x: Likewise.
48694 * sunrpc/rpcsvc/rusers.x: Likewise.
48695 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48696 * sunrpc/rpcsvc/spray.x: Likewise.
48697 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48698 * sunrpc/rtime.c: Likewise.
48699 * sunrpc/svc.c: Likewise.
48700 * sunrpc/svc_auth.c: Likewise.
48701 * sunrpc/svc_authux.c: Likewise.
48702 * sunrpc/svc_raw.c: Likewise.
48703 * sunrpc/svc_run.c: Likewise.
48704 * sunrpc/svc_simple.c: Likewise.
48705 * sunrpc/svc_tcp.c: Likewise.
48706 * sunrpc/svc_udp.c: Likewise.
48707 * sunrpc/svc_unix.c: Likewise.
48708 * sunrpc/svcauth_des.c: Likewise.
48709 * sunrpc/xcrypt.c: Likewise.
48710 * sunrpc/xdr.c: Likewise.
48711 * sunrpc/xdr_array.c: Likewise.
48712 * sunrpc/xdr_float.c: Likewise.
48713 * sunrpc/xdr_mem.c: Likewise.
48714 * sunrpc/xdr_rec.c: Likewise.
48715 * sunrpc/xdr_ref.c: Likewise.
48716 * sunrpc/xdr_sizeof.c: Likewise.
48717 * sunrpc/xdr_stdio.c: Likewise.
48718
9da4bb31
UD
48719 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48720 handling.
48721
bdaa77bc
AS
487222010-08-19 Andreas Schwab <schwab@redhat.com>
48723
48724 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48725
fe2f79db
LM
487262010-08-19 Luis Machado <luisgpm@br.ibm.com>
48727
48728 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48730 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48731 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48733 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48734 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48735 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48737 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48738 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48739 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48740 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48741 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48742
b9b42ee0
AB
487432010-07-26 Anton Blanchard <anton@samba.org>
48744
48745 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48746 * malloc/arena.c (heap_trim): Likewise.
48747
1c06ba31
UD
487482010-08-16 Ulrich Drepper <drepper@redhat.com>
48749
48750 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48751 here. Not...
48752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48753 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48754
f8392f40
L
487552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48756
48757 * sysdeps/i386/elf/Makefile: New file.
48758
3162f12e
AS
487592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48760
48761 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48762 from fanotify_init.
48763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48765
28c90b2c
UD
487662010-08-15 Ulrich Drepper <drepper@redhat.com>
48767
48768 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48769 of strncasecmp_l.
1feccb6c 48770 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48771
ca6bb004
UD
487722010-08-14 Ulrich Drepper <drepper@redhat.com>
48773
e9f82e0d
UD
48774 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48775 strncase_l-nonascii.
48776 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48777 Add strncase_l-ssse3.
48778 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48779 * sysdeps/x86_64/strcmp.S: Likewise.
48780 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48781 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48782 * sysdeps/x86_64/strncase.S: New file.
48783 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48784 * sysdeps/x86_64/strncase_l.S: New file.
48785 * string/Makefile (strop-tests): Add strncasecmp.
48786 * string/test-strncasecmp.c: New file.
48787
48788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48789 warning.
48790
ca6bb004
UD
48791 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48792 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48793
052fa7b3
AS
487942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48795
48796 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48797
962dba78
UD
487982010-08-12 Ulrich Drepper <drepper@redhat.com>
48799
48800 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48803
bebff237
AM
488042010-05-01 Alan Modra <amodra@gmail.com>
48805
48806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48807 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48808 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48809 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48810 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48811 tidying. Don't tail-call __sigjmp_save for static lib.
48812 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48813 save location.
48814 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48815 (CALL_MCOUNT): Add eh info, and nop after bl.
48816 (TAIL_CALL_SYSCALL_ERROR): New macro.
48817 (PSEUDO_RET): Use it.
48818 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48819 Correct save location of integer regs and cr.
48820 (_dl_profile_resolve): Correct cr save location. Delete nops
48821 after bl when SHARED. Reduce cfi size a little by better
48822 placement of cfi directives.
48823 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48824 make a stack frame. Instead use parm save area as a temp.
48825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48826 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48828 Don't make a stack frame for parent, use parm save area.
48829 Increase child stack frame to 112 bytes. Don't save unused reg,
48830 and adjust reg usage. Set up cfi on error recovery and
48831 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48833 (__makecontext): Add dummy nop after jump to exit.
48834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48835 Use correct parm save area and cr save, reduce stack frame.
48836 Correct cfi for possible PSEUDO_RET frame setup.
48837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48838 Branch to local label emitted by PSEUDO_RET rather than
48839 __syscall_error.
48840
02637374
AS
488412010-08-12 Andreas Schwab <schwab@redhat.com>
48842
48843 [BZ #11904]
48844 * locale/programs/locale.c (print_assignment): New function.
48845 (show_locale_vars): Use it.
48846
c3e2f19b
UD
488472010-08-11 Ulrich Drepper <drepper@redhat.com>
48848
3cdaa6ad
UD
48849 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48850 field.
48851 (struct statfs64): Likewise.
48852 (_STATFS_F_FLAGS): Define.
48853 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48855 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48856 (ST_VALID): Define locally.
48857 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48858 __statvfs_getflags, use the provided value.
48859 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48860 __ASSUME_STATFS_F_FLAGS.
48861
754f7da3
UD
48862 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48863
10b3bedc
UD
48864 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48865 Add sys/fanotify.h.
48866 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48867 fanotify_mask for GLIBC_2.13.
48868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48869 fanotify_init and fanotify_mark.
48870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48871 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48872
c08fb0d7
UD
48873 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48874 Add prlimit.
48875 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48876 prlimit64 for GLIBC_2.13.
48877 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48878 prlimit64.
48879 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48880 syscall.
48881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48883 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48884 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48886 add prlimit alias.
48887 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48888
15bac72b
UD
48889 [BZ #11903]
48890 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48891 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48892
c3e2f19b
UD
48893 * nss/Makefile: Add rules to build and run tst-nss-test1.
48894 * shlib-versions: Add entry for libnss_test1.
48895 * nss/nss_test1.c: New file.
48896 * nss/tst-nss-test1.c: New file.
48897
48898 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48899 (__nss_configure_lookup): Set appropriate entry in
48900 __nss_configure_lookup to true.
48901 * nss/nsswitch.h: Define enum with indeces of databases in
48902 databases and __nss_database_custom arrays. Declare
48903 __nss_database_custom.
48904 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48905 to avoid using nscd when custom rules are installed.
48906 * nss/getXXbyYY_r.c: Likewise.
48907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48908
48909 * nss/nss_files/files-parse.c: Whitespace fixes.
48910
f15ce4d8
UD
489112010-08-09 Ulrich Drepper <drepper@redhat.com>
48912
48913 [BZ #11883]
48914 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48915 * posix/fnmatch_loop.c: Likewise.
48916
d22e4cc9
AK
489172010-07-17 Andi Kleen <ak@linux.intel.com>
48918
48919 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48920 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48921 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48922 * Versions.def [GLIBC_2.13]: Add.
48923
805bc17d
UD
489242010-08-06 Ulrich Drepper <drepper@redhat.com>
48925
48926 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48927 Also fail if tpwd after pwuid call is NULL.
48928
5a42321d
ST
489292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48930
48931 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48932 when converting to ms.
48933
fd3ebeda
ST
489342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48935
48936 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48937 EOPNOTSUPP errors with ENOTTY.
48938 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48939 EOPNOTSUPP errors with ENOTTY.
48940
73507d3a
UD
489412010-07-31 Ulrich Drepper <drepper@redhat.com>
48942
48943 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48944 Add strcasecmp_l-ssse3.
48945 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48946 strcasecmp.
48947 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48948 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48949 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48950
fe36dd02
UD
489512010-07-30 Ulrich Drepper <drepper@redhat.com>
48952
66f6765a
UD
48953 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48954
42e08a54
UD
48955 * string/Makefile (strop-tests): Add strcasecmp.
48956 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48957 strcasecmp_l-nonascii.
48958 (gen-as-const-headers): Add locale-defines.sym.
48959 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48960 * sysdeps/x86_64/strcasecmp.S: New file.
48961 * sysdeps/x86_64/strcasecmp_l.S: New file.
48962 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48963 * sysdeps/x86_64/locale-defines.sym: New file.
48964 * string/test-strcasecmp.c: New file.
48965
fe36dd02
UD
48966 * string/test-strcasestr.c: Test both ends of the range of characters.
48967 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48968
48cbc0d6
RM
489692010-07-29 Roland McGrath <roland@redhat.com>
48970
76e6d6bc 48971 [BZ #11856]
48cbc0d6
RM
48972 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48973
880113d9
UD
489742010-07-27 Ulrich Drepper <drepper@redhat.com>
48975
48976 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48977 for ld.so.
48978
deb9cabb
AS
489792010-07-27 Andreas Schwab <schwab@redhat.com>
48980
48981 * manual/memory.texi (Malloc Tunable Parameters): Document
48982 M_PERTURB.
48983
1c7570ff
RM
489842010-07-26 Roland McGrath <roland@redhat.com>
48985
48986 [BZ #11840]
48987 * configure.in (-fgnu89-inline check): Set and substitute
48988 gnu89_inline, not libc_cv_gnu89_inline.
48989 * configure: Regenerated.
48990 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48991
24fb0f88
UD
489922010-07-26 Ulrich Drepper <drepper@redhat.com>
48993
48994 * string/test-strnlen.c: New file.
48995 * string/Makefile (strop-tests): Add strnlen.
48996 * string/tester.c (test_strnlen): Add a few more test cases.
48997 * string/tst-strlen.c: Better error reporting.
48998
48999 * sysdeps/x86_64/strnlen.S: New file.
49000
8e96b93a
UD
490012010-07-24 Ulrich Drepper <drepper@redhat.com>
49002
49003 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49004 lower-latency instructions.
49005
dbc676d4
UD
490062010-07-23 Ulrich Drepper <drepper@redhat.com>
49007
49008 * string/test-strcasestr.c: New file.
49009 * string/test-strstr.c: New file.
49010 * string/Makefile (strop-tests): Add strstr and strcasestr.
49011 * string/str-two-way.h: Don't undefine MAX.
49012 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49013
f6a31e0e
AS
490142010-07-21 Andreas Schwab <schwab@redhat.com>
49015
49016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49017 strcasestr-nonascii.
49018 (CFLAGS-strcasestr-nonascii.c): Define.
49019 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49021 Remove unused attribute.
49022
5dbc3b6c
RM
490232010-07-20 Roland McGrath <roland@redhat.com>
49024
49025 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49026 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49027 ld.so.cache was broken. With it, there is no way to disable dsocaps
49028 like LD_HWCAP_MASK can disable hwcaps.
49029
23d101d8
EPM
490302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49031
49032 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49033
cc9f2e47
UD
490342010-07-16 Ulrich Drepper <drepper@redhat.com>
49035
49036 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49037 call in strcasestr.
49038 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49039 __strcasestr_sse42_nonascii.
49040 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49041 strcasestr-nonascii.c.
49042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49043
77c1b069
LM
490442010-06-15 Luis Machado <luisgpm@br.ibm.com>
49045
49046 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49048 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49049 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49050
440566c3
UD
490512010-07-09 Ulrich Drepper <drepper@redhat.com>
49052
49053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49054 fcntl.
49055
5be9d05d
AS
490562010-07-06 Andreas Schwab <schwab@redhat.com>
49057
c30b7ee2 49058 [BZ #11577]
5be9d05d
AS
49059 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49060 dl_signal_cerror.
49061
8a492a67
UD
490622010-07-06 Ulrich Drepper <drepper@redhat.com>
49063
49064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49065 _PC_PIPE_BUF using F_GETPIPE_SZ.
49066
713df3d5
RM
490672010-07-05 Roland McGrath <roland@redhat.com>
49068
49069 * manual/arith.texi (Rounding Functions): Fix rint description
49070 implicit in round description.
49071
702e8f14
UD
490722010-07-02 Ulrich Drepper <drepper@redhat.com>
49073
49074 * elf/Makefile: Fix linking for a few tests to make recent linker
49075 happy.
49076
52ed8be9
AS
490772010-06-30 Andreas Schwab <schwab@redhat.com>
49078
49079 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49080 $(common-objpfx)libc_nonshared.a.
49081
f47c9a11
LM
490822010-06-21 Luis Machado <luisgpm@br.ibm.com>
49083
49084 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49085 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49086 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49087 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49088 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49089 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49090 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49091 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49106 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49107 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49108 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49109 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49110 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49111 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49112 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49113 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49114 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49115 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49116 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49117 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49132
6fb8cbcb
L
491332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49134
49135 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49136 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49137 * string/memmove.c (memmove): Renamed to ...
49138 (MEMMOVE): ...this. Default to memmove.
49139 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49140 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49141 (END_CHK): Define.
49142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49143 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49144 mempcpy-ssse3-back memmove-ssse3-back.
49145 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49148 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49149 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49150 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49151 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49152 * sysdeps/x86_64/multiarch/memmove.c: New file.
49153 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49154 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49155 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49156 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49157 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49159 Define.
49160 (index_Fast_Copy_Backward): Define.
49161 (HAS_ARCH_FEATURE): Define.
49162 (HAS_FAST_REP_STRING): Define.
49163 (HAS_FAST_COPY_BACKWARD): Define.
49164
4e733bac 491652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49166
49167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49168 Restore proper fallback handling.
49169
63c4ed22
UD
491702010-06-19 Ulrich Drepper <drepper@redhat.com>
49171
ac2b484c
UD
49172 [BZ #11701]
49173 * posix/group_member.c (__group_member): Correct checking loop.
49174
63c4ed22
UD
49175 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49176 OOM in getpwuid_r correctly. Return error number when the caller
49177 should return, otherwise -1.
49178 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49179 call returning > 0 value.
49180 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49181
765ade4b
AS
491822010-06-07 Andreas Schwab <schwab@redhat.com>
49183
49184 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49185 libc_nonshared.a from targets in modules-names.
49186
80da2e09
KS
491872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49188
49189 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49190 requires it.
49191
158db122
LM
491922010-06-10 Luis Machado <luisgpm@br.ibm.com>
49193
49194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49195 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49198
caa78cf8
AS
491992010-06-02 Andreas Schwab <schwab@redhat.com>
49200
49201 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49202
b2ef2c01
UD
492032010-06-14 Ulrich Drepper <drepper@redhat.com>
49204
49205 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49206 and F_GETPIPE_SZ.
49207 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49213
fbd643b6
RM
492142010-06-14 Roland McGrath <roland@redhat.com>
49215
49216 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49217
f32f2869
JJ
492182010-06-07 Jakub Jelinek <jakub@redhat.com>
49219
49220 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49221 __REDIRECT followed by __THROW.
49222 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49223 * posix/getopt.h (getopt): Likewise.
49224
2a50c078
EPM
492252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49226
49227 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49228 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49229 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49230 in AT_FLAGS.
49231 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49232 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49233
eb5ad2eb
LM
492342010-05-28 Luis Machado <luisgpm@br.ibm.com>
49235
49236 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49237
3c88fe1e
L
492382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49239
49240 [BZ #11640]
49241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49242 Properly check family and model.
49243
d2f73151
TY
492442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49245
49246 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49247
ebd2e13d
LM
492482010-05-24 Luis Machado <luisgpm@br.ibm.com>
49249
49250 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49251
b32b8b45
UD
492522010-05-21 Ulrich Drepper <drepper@redhat.com>
49253
49254 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49255 symbol reference.
49256
9acbe24d
AS
492572010-05-19 Andreas Schwab <schwab@redhat.com>
49258
49259 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49260 symbol reference.
49261
f0ccf6ea
AS
492622010-05-21 Andreas Schwab <schwab@redhat.com>
49263
3d04ff3a
AS
49264 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49265 and internal_recvmmsg.
49266 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49267 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49268 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49269 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49270
f0ccf6ea
AS
49271 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49272 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49273 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49274
5b08ac57
AS
492752010-05-20 Andreas Schwab <schwab@redhat.com>
49276
49277 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49278
4828935d
LM
492792010-05-17 Luis Machado <luisgpm@br.ibm.com>
49280
49281 POWER7 optimizations.
49282 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49283 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49284
373d545e
UD
492852010-05-19 Ulrich Drepper <drepper@redhat.com>
49286
49287 * version.h: Update for 2.13 development version.
49288
21a2b1ae
AS
492892010-05-12 Andrew Stubbs <ams@codesourcery.com>
49290
49291 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49292 exceptions. Return 0.
49293
3f7dcb2b
RM
492942010-05-07 Roland McGrath <roland@redhat.com>
49295
49296 * elf/ldconfig.c (main): Add a const.
49297
5f24d53a 492982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49299
a160f8d8
UD
49300 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49301 (args_options): Add no-idn option.
49302 (ahosts_keys_int): Add idn_flags to ai_flags.
49303 (parse_option): Handle 'i' option to clear idn_flags.
49304
5f24d53a
UD
49305 * malloc/malloc.c (_int_free): Possible race in the most recently
49306 added check. Only act on the data if no current modification
49307 happened.
265bb1ce
UD
49308
49309See ChangeLog.17 for earlier changes.