]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Optimize strncpy and wcsncpy.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d183b96e
SL
12015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11 wcsncpy functions.
12 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13 * sysdeps/s390/multiarch/ifunc-impl-list.c
14 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15 * string/test-strncpy.c: Add wcsncpy support.
16 * wcsmbs/test-wcsncpy.c: New File.
17 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18 * benchtests/bench-strncpy.c: Add wcsncpy support.
19 * benchtests/bench-wcsncpy.c: New File.
20 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21
8ade3db7
SL
222015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
23
24 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
27 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31 wcpcpy functions.
32 * string/stpcpy.c: Use STPCPY if defined.
33 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
34 * sysdeps/s390/multiarch/ifunc-impl-list.c
35 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
36 * string/test-stpcpy.c: Add wcpcpy support.
37 * wcsmbs/test-wcpcpy.c: New File.
38 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
39 * benchtests/bench-stpcpy.c: Add wcpcpy support.
40 * benchtests/bench-wcpcpy.c: New File.
41 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
42
680df122
SL
432015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
44
45 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
46 * sysdeps/s390/multiarch/strcpy.c: Likewise.
47 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
48 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
49 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
50 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
51 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
52 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
53 wcscpy functions.
54 * sysdeps/s390/multiarch/ifunc-impl-list.c
55 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
56 * benchtests/bench-wcscpy.c: New File.
57 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
58
fcf40ebe
SL
592015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
60
61 * sysdeps/s390/multiarch/strnlen-c.c: New File.
62 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
63 * sysdeps/s390/multiarch/strnlen.c: Likewise.
64 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
65 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
66 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
67 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
68 wcsnlen functions.
69 * sysdeps/s390/multiarch/ifunc-impl-list.c
70 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
71 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
72 * string/test-strnlen.c: Add wcsnlen support.
73 * wcsmbs/test-wcsnlen.c: New File.
74 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
75 * benchtests/bench-strnlen.c: Add wcsnlen support.
76 * benchtests/bench-wcsnlen.c: New File.
77 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
78
9472f35a
SL
792015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
80
81 * sysdeps/s390/multiarch/Makefile: New File.
82 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
83 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
84 * sysdeps/s390/multiarch/strlen.c: Likewise.
85 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
86 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
87 * sysdeps/s390/multiarch/wcslen.c: Likewise.
88 * string/strlen.c (STRLEN): Define and use macro.
89 * sysdeps/s390/multiarch/ifunc-impl-list.c
90 (IFUNC_VX_IMPL): New macro function.
91 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
92 * benchtests/Makefile (wcsmbs-bench): New variable.
93 (string-bench-all): Added wcsmbs-bench.
94 * benchtests/bench-wcslen.c: New File.
95
fd484e05
SL
962015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
97
98 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
99 s390_vx_libc_ifunc2): New macro function.
100
4f0a1cea
SL
1012015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
102
103 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
104 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
105 assembler support.
106 * sysdeps/s390/configure: Regenerated.
107
a1b0488f
SL
1082015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
109
110 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
111 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
112
4e28fa80
SL
1132015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
114
115 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
116 * sysdeps/s390/dl-procinfo.h: Add vector capability.
117 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
118
31556246
SL
1192015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
120
121 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
122 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
123 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
124 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
125 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
126 (memcmp, bcmp): Use __memcmp_default as alias source.
127 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
128 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
129 Rename to __memcmp_default.
130 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
131 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
132 (memcpy): Use __memcpy_default as alias source.
133 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
134 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
135 Rename to __memcpy_default.
136 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
137 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
138 (memset): Use __memset_default as alias source.
139 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
140 * sysdeps/s390/s390-32/memset.S (__memset_g5):
141 Rename to __memset_default.
142 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
143 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
145 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
146 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
147 (memcmp, bcmp): Use __memcmp_default as alias source.
148 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
149 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
150 Rename to __memcmp_default.
151 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
152 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
153 (memcpy): Use __memcpy_default as alias source.
154 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
155 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
156 Rename to __memcpy_default.
157 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
158 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
159 (memset): Use __memset_default as alias source.
160 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
161 * sysdeps/s390/s390-64/memset.S (__memset_z900):
162 Rename to __memset_default.
163 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
164 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
165
5d96fe8c
SL
1662015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
167
168 [BZ #18610]
169 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
170 __ieee_instruction_pointer to __unused.
171 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
172 __ieee_instruction_pointer.
173 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
174 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
175 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
176 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
177 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
178 Mark dxc-field as reserved.
179
f9719493
RM
1802015-08-25 Roland McGrath <roland@hack.frob.com>
181
182 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
183 if the weak reference is not null.
184
d8725b1f
L
1852015-08-25 H.J. Lu <hongjiu.lu@intel.com>
186
187 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
188
ffee504f
L
1892015-08-25 H.J. Lu <hongjiu.lu@intel.com>
190
191 [BZ #11214]
192 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
193
f4491417
RS
1942015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
195
196 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
197 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
198 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
199 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
200 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
201 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
202 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
203 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
204 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
205 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
206 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
207 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
208 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
209 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
210 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
211 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
212 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
213 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
214
18173559
PM
2152015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
216
217 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
218 register other than r0 for tabort, it has special meaning.
219 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
220 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
221 transaction before starting syscall.
222
fe7faec3
RS
2232015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
224
225 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
226
2194737e
L
2272015-08-25 H.J. Lu <hongjiu.lu@intel.com>
228
229 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
230
2339c6f4
L
2312015-08-25 H.J. Lu <hongjiu.lu@intel.com>
232
233 * sysdeps/x86_64/rtld-memcmp.c: Removed.
234 * sysdeps/x86_64/rtld-memset.S: Likewise.
235 * sysdeps/x86_64/rtld-strchr.S: Likewise.
236 * sysdeps/x86_64/rtld-strlen.S: Likewise.
237 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
238 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
239
5f92ec52
L
2402015-08-25 H.J. Lu <hongjiu.lu@intel.com>
241
242 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
243
2f5c1750
OB
2442015-08-25 Ondřej Bílka <neleai@seznam.cz>
245
246 * debug/strcpy_chk.c: Improve performance.
247 * debug/stpcpy_chk.c: Likewise.
248 * sysdeps/x86_64/strcpy_chk.S: Remove.
249 * sysdeps/x86_64/stpcpy_chk.S: Remove.
250
251 [BZ #18240]
252 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
253
f3dcae82
L
2542015-08-25 H.J. Lu <hongjiu.lu@intel.com>
255
256 [BZ #15128]
257 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
258 ifuncmain8.
259 (modules-names): Add ifuncmod8.
260 ($(objpfx)ifuncmain8): New rule.
261 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
262 <cpuid.h>.
263 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
264 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
265 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
266 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
267 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
268 * sysdeps/x86_64/dl-trampoline.h: Likewise.
269 * sysdeps/x86_64/ifuncmain8.c: New file.
270 * sysdeps/x86_64/ifuncmod8.c: Likewise.
271 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
272 Removed.
273 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
274 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
275 Change rtld_savespace_sse to __glibc_unused2.
276 (RTLD_CHECK_FOREIGN_CALL): Removed.
277 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
278 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
279 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
280
edbbc86c
WD
2812015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
282
283 * sysdeps/aarch64/bzero.S (__bzero): Remove.
284
f008c714
WD
2852015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
286
287 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
288 Unconditionally set __fpcr to avoid uninialized warning.
289 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
290
92a9b22d
SP
2912015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
292
c3b9ef8d
SP
293 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
294 is corrupt.
295
92a9b22d
SP
296 * malloc/arena.c (arena_get2): Drop unused argument.
297 (arena_lock): Adjust.
298 (arena_get_retry): Likewise.
299
be481652
AS
3002015-08-24 Andreas Schwab <schwab@suse.de>
301
302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
303 Don't define.
304 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
305 (__ASSUME_IPC64): Don't undef.
306 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
307 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
308 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
309 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
310 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
311 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
312 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
313 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
314 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
315 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
316 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
317 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
318 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
319 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
320 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
321 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
323 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
324 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
325 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
326 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
327
1695cdae
MF
3282015-08-21 Mike Frysinger <vapier@gentoo.org>
329
330 * manual/Makefile (install): Only build manual when perl is available.
331
854e0055
CES
3322015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
333
334 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
335 '#undef memcpy' by '#undef memchr'.
336
502b91de
CES
3372015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
338
339 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
340 memchr not point to the internal __GI_memchr implementation.
341
48bb14bd
JM
3422015-08-20 Joseph Myers <joseph@codesourcery.com>
343
8d9e0898
JM
344 * timezone/Makefile (CFLAGS-zdump.c): Remove
345 -Wno-strict-prototypes.
346 (CFLAGS-zic.c): Likewise.
347 (CFLAGS-ialloc.c): Likewise.
348 (CFLAGS-scheck.c): Likewise.
349
48bb14bd
JM
350 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
351 -Wno-error=undef.
352
3a2a9a90
L
3532015-08-20 H.J. Lu <hongjiu.lu@intel.com>
354
355 * i386/i686/multiarch/strcasestr-c.c: Removed.
356 * x86_64/multiarch/strcasestr.c: Likewise.
357 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
358 Remove strcasestr.
359
9173e3c0
JM
3602015-08-20 Joseph Myers <joseph@codesourcery.com>
361
772e741b
JM
362 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
363
9173e3c0
JM
364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
365 variables for high and low parts before possibly modifying them.
366
1ae6c72d
L
3672015-08-20 H.J. Lu <hongjiu.lu@intel.com>
368
369 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
370 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
371 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
372 of "multiarch/init-arch.h".
373 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
374 * sysdeps/x86/init-arch.h: This.
375
a452ef24
L
3762015-08-20 H.J. Lu <hongjiu.lu@intel.com>
377
378 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
379 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
380
9ceeb279
OB
3812015-08-20 Ondřej Bílka <neleai@seznam.cz>
382
383 [BZ #17787]
384 * manual/macros.texi: Add twoexp macro.
385 * manual/filesys.texi: Fix exponents.
386 * manual/llio.texi: Likewise.
387 * manual/stdio.texi: Likewise.
388
cd4e69ed
FW
3892015-08-20 Florian Weimer <fweimer@redhat.com>
390
391 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
392 incorrect use.
393
948e12a2
JM
3942015-08-19 Joseph Myers <joseph@codesourcery.com>
395
396 [BZ #18370]
397 * math/s_csqrt.c (__csqrt): Force underflow exception for results
398 whose real or imaginary part has small absolute value.
399 * math/s_csqrtf.c (__csqrtf): Likewise.
400 * math/s_csqrtl.c (__csqrtl): Likewise.
401 * math/auto-libm-test-in: Add more tests of csqrt.
402 * math/auto-libm-test-out: Regenerated.
403 * sysdeps/i386/fpu/libm-test-ulps: Update.
404
1747fcda
GG
4052015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
408 __ppc_set_ppr_very_low): New functions.
409 * manual/platform.texi: Add documentation about
410 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
411
48497aba
WD
4122015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
413
414 * string/stpncpy.c (stpncpy): Improve performance using
415 __strnlen/memcpy/memset.
416
a08e80d1
AS
4172015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
418
419 [BZ #18796]
420 * scripts/test-installation.pl: Don't add -lmvec to build options if
421 libmvec wasn't built.
422
fa19d5c4
PJ
4232015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
424
425 [BZ #14341]
426 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
427 case when there is a gap between DT_REL and DT_JMPREL sections.
428 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
429 (LDFLAGS-tst-split-dynreloc): New.
430 (tst-split-dynreloc-ENV): Likewise.
431 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
432 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
433
33c898d1
L
4342015-08-19 H.J. Lu <hongjiu.lu@intel.com>
435
436 [BZ #18822]
437 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
438 attribute_hidden.
439 (__xstat64_conv): Likewise.
440 (__xstat32_conv): Likewise.
441
7e58ab24
L
4422015-08-19 H.J. Lu <hongjiu.lu@intel.com>
443
444 [BZ #18822]
445 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
446 Don't load %ebx when calling __setcontext. Call __setcontext
447 with HIDDEN_JUMPTARGET.
448 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
449 libc_hidden_def.
450
3552daa7
L
4512015-08-19 H.J. Lu <hongjiu.lu@intel.com>
452
453 * sysdeps/i386/i686/Makefile
454 [$(subdir) == string] (sysdep_routines): Moved to ...
455 * sysdeps/i386/Makefile: Here.
456 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
457 * sysdeps/i386/cacheinfo.c: Here.
458 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
459 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
461 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
462
4632015-08-19 H.J. Lu <hongjiu.lu@intel.com>
477fa2c8
L
464
465 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
466 __i586__ is defined.
467 (HAS_I686): Defined to 1 if __i686__ is defined.
468
ccb729df
JM
4692015-08-19 Joseph Myers <joseph@codesourcery.com>
470
9536661c
JM
471 * elf/Makefile [$(have-z-execstack) = yes]
472 (CPPFLAGS-tst-execstack.c): New variable.
473
ccb729df
JM
474 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
475 conditional to [defined UTMPX || _HAVE_UT_TYPE].
476 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
477 UTMPX || _HAVE_UT_TV].
478 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
479 UTMPX || _HAVE_UT_TV - 0].
480
87336cae
JM
4812015-08-18 Joseph Myers <joseph@codesourcery.com>
482
483 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
484 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
485 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
486
94ec7e00
CES
4872015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
488
489 * sysdeps/powerpc/dl-procinfo.c:
490 (_dl_powerpc_cap_flags): Added missing strings for some
491 hwcap features.
492 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
493
55422368
PE
4942015-08-18 Paul Eggert <eggert@cs.ucla.edu>
495
496 Port the 0x7efe...feff pattern to GCC 6.
497 See Steve Ellcey's bug report in:
498 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
499 * string/memrchr.c (MEMRCHR):
500 * string/rawmemchr.c (RAWMEMCHR):
501 * string/strchr.c (strchr):
502 * string/strchrnul.c (STRCHRNUL):
503 Rewrite code to avoid issues with signed shift overflow.
504
1814df5b
L
5052015-08-18 H.J. Lu <hongjiu.lu@intel.com>
506
507 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
508 whether cpuid is available only if HAS_CPUID is 0.
509 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
510 (HAS_I586): Likewise.
511 (HAS_I686): Likewise.
512
c9295fd4
ZW
5132015-08-18 Zack Weinberg <zackw@panix.com>
514
515 * misc/Versions (libc): Add GLIBC_2.23.
516
cf425377
AM
5172015-08-18 Alan Modra <amodra@gmail.com>
518
519 [BZ #18421]
520 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
521 .Lp__global.
522 (_start): Load %dp via .Lp__global.
523 [!SHARED]: Use .section .rodata.
524
352d0eaf
MF
5252015-08-18 Mike Frysinger <vapier@gentoo.org>
526
527 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
528 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
529
55b14dda
MF
5302015-08-18 Mike Frysinger <vapier@gentoo.org>
531
532 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
533 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
534
605021b6
MF
5352015-08-18 Mike Frysinger <vapier@gentoo.org>
536
537 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
538 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
539
4454e161
MF
5402015-08-18 Mike Frysinger <vapier@gentoo.org>
541
542 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
543 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
544
44e01f06
MF
5452015-08-18 Mike Frysinger <vapier@gentoo.org>
546
547 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
548 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
549
d5a77fca
MF
5502015-08-18 Mike Frysinger <vapier@gentoo.org>
551
552 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
553 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
554
c5bf7f84
MF
5552015-08-18 Mike Frysinger <vapier@gentoo.org>
556
557 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
558
85842048
MF
5592015-08-18 Mike Frysinger <vapier@gentoo.org>
560
561 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
562 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
563 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
564 (__ASSUME_LWS_CAS): Delete.
565
43329fe1
MF
5662015-08-18 Mike Frysinger <vapier@gentoo.org>
567
568 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
569 * sysdeps/hppa/configure: Regenerated.
570 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
571 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
572 * sysdeps/hppa/nptl/tls.h: Likewise.
573
3fb4cfaf
JM
5742015-08-17 Joseph Myers <joseph@codesourcery.com>
575
576 [BZ #18823]
577 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
578 for scaling up small arguments.
579 * math/s_csqrtf.c (__csqrtf): Likewise.
580 * math/s_csqrtl.c (__csqrtl): Likewise.
581 * math/auto-libm-test-in: Add more tests of csqrt.
582 * math/auto-libm-test-out: Regenerated.
583
1e15a853
AS
5842015-08-17 Andreas Schwab <schwab@suse.de>
585
586 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
587 version set GLIBC_2.19.
588
1c70b6f1
ZW
5892015-08-16 Zack Weinberg <zackw@panix.com>
590
591 [BZ #18681]
592 * misc/regexp.h: This interface is no longer supported.
593 Remove all contents, leaving only an #error directive.
594 * misc/regexp.c (loc1, loc2, locs, step, advance):
595 Demote to compatibility symbols.
596
d5dff793
PP
5972015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
598
599 [BZ #18084]
600 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
601 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
602 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
603 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
604 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
605 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
606 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
607 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
608 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
609
8ff5e0ec
ZW
6102015-08-15 Zack Weinberg <zackw@panix.com>
611
3cda1b6d 612 [BZ #18795]
8ff5e0ec
ZW
613 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
614 buffer length is known to be too large, not if it's known to be
615 small enough.
616 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
617 overflow at runtime, involving a length parameter, twice: once
618 with a compile-time constant length parameter, once without.
619
739babd7
JM
6202015-08-14 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #18824]
623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
624 scaling x * y up instead of down.
625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
627 * math/auto-libm-test-in: Add more tests of fma.
628 * math/auto-libm-test-out: Regenerated.
629
db7f8c8f
PP
6302015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
631
632 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
633
37dd6a19
SP
6342015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
635
636 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
637 unnecessary movq.
638 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
639 Likewise.
640
37d83a08
JM
6412015-08-13 Joseph Myers <joseph@codesourcery.com>
642
3ba0ac10
JM
643 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
644 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
645 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
646 and tgamma.
647 * math/auto-libm-test-out: Regenerated.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650
37d83a08
JM
651 [BZ #16520]
652 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
653 (__tanh): Force underflow exception for arguments with small
654 absolute value.
655 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
656 (__tanhf): Force underflow exception for arguments with small
657 absolute value.
658 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
659 (__tanhl): Force underflow exception for arguments with small
660 absolute value.
661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
662 (__tanhl): Force underflow exception for arguments with small
663 absolute value.
664 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
665 (__tanhl): Force underflow exception for arguments with small
666 absolute value.
667 * math/auto-libm-test-in: Add more tests of tanh.
668 * math/auto-libm-test-out: Regenerated.
669 * sysdeps/i386/fpu/libm-test-ulps: Update.
670
a5cf909b
L
6712015-08-13 H.J. Lu <hongjiu.lu@intel.com>
672
673 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
674 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
675
e54388bd
L
6762015-08-13 H.J. Lu <hongjiu.lu@intel.com>
677
678 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
679 <cpuid.h>.
680
b376899d
L
6812015-08-13 H.J. Lu <hongjiu.lu@intel.com>
682
683 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
684 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
685
1dfa4a94
L
6862015-08-13 H.J. Lu <hongjiu.lu@intel.com>
687
688 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
689 Remove $(objpfx)init-arch.o.
690 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
691 init-arch.
692 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
693 (INIT_ARCH_EXT): Defined as empty.
694 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
695 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
696 __init_cpu_features call. Replace HAS_XXX with
697 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
698 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
699 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
700 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
701 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
703 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
704 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
705 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
706 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
707 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
708 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
709 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
711 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
712 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
715 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
716 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
717 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
718 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
719 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
720 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
721 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
722 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
723 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
724 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
725 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
726 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
727 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
728 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
729 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
730 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
731 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
732 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
733
1aee37a2
L
7342015-08-13 H.J. Lu <hongjiu.lu@intel.com>
735
736 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
737 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
738 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
739 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
740 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
741 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
742 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
743 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
744 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
745 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
746 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
747 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
748 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
749 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
750 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
751 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
752 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
753 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
754 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
755 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
756 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
757 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
758 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
759 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
760 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
761 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
762 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
763 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
764 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
766 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
767 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
768 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
769 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
770 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
773 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
774 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
775 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
776 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
777 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
778 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
779
0b5395f0
L
7802015-08-13 H.J. Lu <hongjiu.lu@intel.com>
781
782 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
783 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
787 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
789 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
793 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
794 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
795 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
796 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
797 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
798 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
800 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
801 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
803 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
804 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
805 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
806 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
807 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
808 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
809 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
810 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
811 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
812 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
813 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
814 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
815 * sysdeps/x86_64/multiarch/memset.S: Likewise.
816 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
817 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
818 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
819 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
820 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
821 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
822 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
823 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
824 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
825
e2e4f560
L
8262015-08-13 H.J. Lu <hongjiu.lu@intel.com>
827
828 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
829 (dl_platform_init): Call init_cpu_features.
830 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
831 * sysdeps/i386/i686/cacheinfo.c
832 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
833 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
834 * sysdeps/i386/i686/multiarch/Versions: Removed.
835 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
836 Removed.
837 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
838 * sysdeps/unix/sysv/linux/x86/Makefile
839 (libpthread-sysdep_routines): Remove init-arch.
840 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
841 <sysdeps/x86_64/dl-procinfo.c> instead of
842 sysdeps/generic/dl-procinfo.c>.
843 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
844 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
845 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
846 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
847 [$(subdir) == elf] (tests-static): Add
848 tst-get-cpu-features-static.
849 * sysdeps/x86/Versions: New file.
850 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
851 * sysdeps/x86/cpu-features.c: Likewise.
852 * sysdeps/x86/cpu-features.h: Likewise.
853 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
854 * sysdeps/x86/libc-start.c: Likewise.
855 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
856 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
857 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
858 * sysdeps/x86_64/dl-procinfo.c: Likewise.
859 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
860 Assume USE_MULTIARCH is defined and don't check it.
861 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
862 (is_amd): Likewise.
863 (max_cpuid): Likewise.
864 (intel_check_word): Likewise.
865 (__cache_sysconf): Don't call __init_cpu_features.
866 (__x86_preferred_memory_instruction): Removed.
867 (init_cacheinfo): Don't call __init_cpu_features. Replace
868 __cpu_features with GLRO(dl_x86_cpu_features).
869 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
870 (dl_platform_init): Call init_cpu_features.
871 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
872 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
873 * sysdeps/x86_64/multiarch/Versions: Removed.
874 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
875 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
876 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
877 Removed.
878 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
879
63e952d9
PP
8802015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
881
882 [BZ #18820]
883 * libio/Makefile (test-fmemopen-mem): New test.
884 * libio/test-fmemopen.c (do_bz18820): New test.
885 * libio/fmemopen.c (__fmemopen): Fix memory leak.
886 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
887
8a29509d
PP
8882015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
889
890 [BZ #16734]
891 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
892 (FREE_BUF): Delete.
893 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
894 * libio/genops.c (_IO_setb): Use malloc and free directly.
895 (_IO_default_doallocate, _IO_default_finish): Likewise.
896 ( _IO_unbuffer_all): Likewise.
897 ( libc_freeres_fn): Likewise.
898 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
899 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
900 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
901 (_IO_wdefault_doallocate): Likewise.
902
84895dca
PP
9032015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
904
905 [BZ #18086]
906 * sysdeps/posix/nice.c (nice): Restore old errno.
907 * posix/tst-nice.c (do_test): Add test for BZ #18086.
908
5011051d
OB
9092015-08-10 Ondrej Bilka <neleai@seznam.cz>
910
911 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
912
357bb400
AZ
9132015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
914
6f714aa4
AZ
915 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
916 __bcopy and add a weak_alias to bcopy.
917 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
918 for static build.
919
142e0a99
AZ
920 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
921 cleanup macro usage.
922 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
923 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
924 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
925 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
927 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
928 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
929 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
930 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
931 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
932 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
933 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
934 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
935 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
936 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
937 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
938 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
939 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
940 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
941
14362ef1
AZ
942 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
943 libc_hidden_def.
944 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
945
357bb400
AZ
946 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
947 (sysdep_routines): Add strstr-ppc64.
948 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
949
f25238ff
MO
9502015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
951
952 [BZ #18778]
953 * elf/Makefile (tests): Add Add tst-nodelete2.
954 (modules-names): Add tst-nodelete2mod.
955 (tst-nodelete2mod.so-no-z-defs): New.
956 ($(objpfx)tst-nodelete2): Likewise.
957 ($(objpfx)tst-nodelete2.out): Likewise.
958 (LDFLAGS-tst-nodelete2): Likewise.
959 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
960 out of loop through all loaded libraries.
961 * elf/tst-nodelete2.c: New file.
962 * elf/tst-nodelete2mod.c: Likewise.
963
dc8a7ff2
AS
9642015-08-11 Andreas Schwab <schwab@suse.de>
965
966 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
967 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
968 (__openat64_nocancel): Likewise.
969
4afe4b20
JM
9702015-08-11 Joseph Myers <joseph@codesourcery.com>
971
972 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
973 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
974 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
975 * math/auto-libm-test-out: Regenerated.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
978
7ee06ef1
JM
9792015-08-10 Joseph Myers <joseph@codesourcery.com>
980
981 [BZ #18790]
982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
983 threshold for returning +/- 1.
984 * math/auto-libm-test-in: Add more tests of tanh.
985 * math/auto-libm-test-out: Regenerated.
986 * sysdeps/i386/fpu/libm-test-ulps: Update.
987
eb32b0d4
AS
9882015-08-10 Andreas Schwab <schwab@suse.de>
989
990 [BZ #18781]
991 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
992 MORE_OFLAGS to oflag.
993 * io/test-lfs.c (do_test): Test openat64.
994
d0649b2d
JM
9952015-08-10 Joseph Myers <joseph@codesourcery.com>
996
997 [BZ #18789]
998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
999 smaller threshold for returning the argument.
1000 * math/auto-libm-test-in: Add more tests of sinh.
1001 * math/auto-libm-test-out: Regenerated.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003
d2ff039f
L
10042015-08-09 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 [BZ #18674]
1007 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1008 break.
1009
e8a30921
AS
10102015-08-09 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1013 (generated): Don't add $(addprefix z.,$(tzfiles)).
1014
d6d20de8
MF
10152015-08-09 Mike Frysinger <vapier@gentoo.org>
1016
1017 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1018 * scripts/sysd-rules.awk: Likewise.
1019
2c61c19f
MF
10202015-08-09 Mike Frysinger <vapier@gentoo.org>
1021
1022 * iconvdata/tst-tables.sh: Change echo -n to printf.
1023 * nss/db-Makefile: Likewise.
1024 * posix/tst-getconf.sh: Likewise.
1025 * stdio-common/tst-unbputc.sh: Likewise.
1026
ef086ef8
MF
10272015-08-09 Mike Frysinger <vapier@gentoo.org>
1028
1029 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1030 MADV_*_PAGES defines behind this feature check.
1031
04ece7d2
JDA
10322015-08-09 John David Anglin <danglin@gcc.gnu.org>
1033
1034 [BZ #18480]
1035 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1036 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1037 Define.
1038 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1039 LOAD_REGS_5, LOAD_REGS_6): Update.
1040 (INTERNAL_SYSCALL): Update using new LOAD defines.
1041 (INTERNAL_SYSCALL_NCS): Likewise.
1042 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1043
a601b74d
PP
10442015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1045
1046 [BZ #16734]
1047 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1048
0f585390
PP
10492015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1050
1051 [BZ #17905]
1052 * catgets/Makefile (tst-catgets-mem): New test.
1053 * catgets/catgets.c (catopen): Don't use unbounded alloca.
1054 * catgets/open_catalog.c (__open_catalog): Likewise.
1055 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1056
74bc0c3a
JDA
10572015-08-08 John David Anglin <danglin@gcc.gnu.org>
1058
1059 [BZ #18787]
1060 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1061 clobber registers.
1062 (atomic_compare_and_exchange_val_acq): Use register asms to assign
1063 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
1064 Cast return to __typeof (oldval).
1065
5d5de49c
MF
10662015-08-08 Mike Frysinger <vapier@gentoo.org>
1067
1068 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1069 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
1070 and delete sys/syscall.h include.
1071
37550cb3
JM
10722015-08-07 Joseph Myers <joseph@codesourcery.com>
1073
1074 [BZ #16517]
1075 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1076 (tan): Force underflow exception for arguments with small absolute
1077 value.
1078 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1079 (__kernel_tanf): Force underflow exception for arguments with
1080 small absolute value.
1081 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1082 (__kernel_tanl): Force underflow exception for arguments with
1083 small absolute value.
1084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1085 (__kernel_tanl): Force underflow exception for arguments with
1086 small absolute value.
1087 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1088 (__kernel_tanl): Force underflow exception for arguments with
1089 small absolute value.
1090 * math/auto-libm-test-in: Add more tests of tan.
1091 * math/auto-libm-test-out: Regenerated.
1092
86955bf6
ST
10932015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1094
1095 Fix sysdeps/i386/fpu/s_scalbn.S build
1096
1097 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1098
be144ba6
MF
10992015-08-07 Mike Frysinger <vapier@gentoo.org>
1100
1101 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1102
edd4cbcf
ST
11032015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1104
1105 Fix gcrt0.o compilation
1106
1107 When static-start-installed-name is different from
1108 start-installed-name, we must not use the shared objects.
1109
1110 * csu/Makefile
1111 (extra-objs): Add gmon-start.o when building shared library and
1112 $(static-start-installed-name) is different from
1113 $(start-installed-name).
1114 $(objpfx)g$(static-start-installed-name): When building shared
1115 library and $(static-start-installed-name) is different from
1116 $(static-start-installed-name), revert to non-shared rule,
1117 i.e. using $(objpfx)% and gmon-start.o.
1118
5e29dd57
JM
11192015-08-06 Joseph Myers <joseph@codesourcery.com>
1120
1121 [BZ #16519]
1122 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1123 (__ieee754_sinh): Force underflow exception for arguments with
1124 small absolute value.
1125 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1126 (__ieee754_sinhf): Force underflow exception for arguments with
1127 small absolute value.
1128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1129 (__ieee754_sinhl): Force underflow exception for arguments with
1130 small absolute value.
1131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1132 (__ieee754_sinhl): Force underflow exception for arguments with
1133 small absolute value.
1134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1135 (__ieee754_sinhl): Force underflow exception for arguments with
1136 small absolute value.
1137 * math/auto-libm-test-in: Add more tests of sinh.
1138 * math/auto-libm-test-out: Regenerated.
1139 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140
2ba30a18
PP
11412015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1142
1143 * libio/oldfileops.c: Include unistd.h.
1144
283c8736
MF
11452015-08-06 Mike Frysinger <vapier@gentoo.org>
1146
1147 * stdlib/isomac.c: Include ctype.h.
1148
c1f41083
AS
11492015-08-06 Arjun Shankar <arjun.is@lostca.se>
1150
1151 * dirent/tst-seekdir.c (main): Converted to ...
1152 (do_test): ... this.
1153 (TEST_FUNCTION): New macro.
1154 Include test-skeleton.c.
1155 * elf/tst-dlmodcount.c (main): Converted to ...
1156 (do_test): ... this.
1157 (TEST_FUNCTION): New macro.
1158 Include test-skeleton.c.
1159 * elf/tst-order-main.c (main): Converted to ...
1160 (do_test): ... this.
1161 (TEST_FUNCTION): New macro.
1162 Include test-skeleton.c.
1163 * elf/tst-pie2.c (main): Converted to ...
1164 (do_test): ... this.
1165 (TEST_FUNCTION): New macro.
1166 Include test-skeleton.c.
1167 * inet/tst-ether_aton.c (main): Converted to ...
1168 (do_test): ... this.
1169 (TEST_FUNCTION): New macro.
1170 Include test-skeleton.c.
1171 * misc/tst-mntent.c (main): Converted to ...
1172 (do_test): ... this.
1173 (TEST_FUNCTION): New macro.
1174 Include test-skeleton.c.
1175 * misc/tst-tsearch.c (main): Converted to ...
1176 (do_test): ... this.
1177 (TEST_FUNCTION): New macro.
1178 Include test-skeleton.c.
1179 * posix/tst-regexloc.c (main): Converted to ...
1180 (do_test): ... this.
1181 (TEST_FUNCTION): New macro.
1182 Include test-skeleton.c.
1183 * resolv/tst-aton.c (main): Converted to ...
1184 (do_test): ... this.
1185 (TEST_FUNCTION): New macro.
1186 Include test-skeleton.c.
1187 * stdio-common/test-fwrite.c (main): Converted to ...
1188 (do_test): ... this.
1189 (TEST_FUNCTION): New macro.
1190 Include test-skeleton.c.
1191 * stdio-common/tst-ferror.c (main): Converted to ...
1192 (do_test): ... this.
1193 (TEST_FUNCTION): New macro.
1194 Include test-skeleton.c.
1195 * stdio-common/tst-printf.c (main): Converted to ...
1196 (do_test): ... this.
1197 (TEST_FUNCTION): New macro.
1198 Include test-skeleton.c.
1199 * stdio-common/tst-printfsz.c (main): Converted to ...
1200 (do_test): ... this.
1201 (TEST_FUNCTION): New macro.
1202 Include test-skeleton.c.
1203 * stdlib/tst-strtod.c (main): Converted to ...
1204 (do_test): ... this.
1205 (TEST_FUNCTION): New macro.
1206 Include test-skeleton.c.
1207 * string/tst-strlen.c (main): Converted to ...
1208 (do_test): ... this.
1209 (TEST_FUNCTION): New macro.
1210 Include test-skeleton.c.
1211 * string/tst-svc.c (main): Converted to ...
1212 (do_test): ... this.
1213 (TEST_FUNCTION): New macro.
1214 Include test-skeleton.c.
1215 * time/tst-strptime.c (main): Converted to ...
1216 (do_test): ... this.
1217 (TEST_FUNCTION): New macro.
1218 Include test-skeleton.c.
1219 * timezone/tst-timezone.c (main): Converted to ...
1220 (do_test): ... this.
1221 (TEST_FUNCTION): New macro.
1222 Include test-skeleton.c.
1223
a03ba363
ZW
12242015-08-05 Zack Weinberg <zackw@panix.com>
1225
1226 * misc/regexp.h: Update comments.
1227
bb1d31d0
AS
12282015-08-05 Andreas Schwab <schwab@linux-m68k.org>
1229
1230 [BZ #18635]
1231 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1232 before return label.
1233
72354ab5
L
12342015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 [BZ #18661]
1237 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1238 when calling __errno_location.
1239 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1240 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1241
b4425b95
L
12422015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 [BZ #18661]
1245 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1246 (__lll_timedwait_tid): Align stack to 16 bytes when calling
1247 __gettimeofday.
1248
8e1f3464
L
12492015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 [BZ #18661]
1252 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1253 (__start_context): Don't use pop to restore %rdi so that stack
1254 is aligned to 16 bytes when calling __setcontext.
1255
3b8d2eb7
L
12562015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1259 only for libc.
1260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1261
05a910f7
WD
12622015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1263
1264 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1265 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
1266 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1267
f29ac72e
WD
12682015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1269
1270 * string/memccpy.c (memccpy):
1271 Improve performance by using memchr/memcpy/__mempcpy.
1272
f6482cf2
WD
12732015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1274
1275 * string/strncpy.c (strncpy):
1276 Improve performance by using __strnlen/memcpy.
1277
7b1c56e4
WD
12782015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1279
1280 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1281 Optimize to avoid an unnecessary FPCR read.
1282
3136eb7a
WD
12832015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1284
1285 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1286 Optimize to reduce FPCR/FPSR accesses.
1287
782723d6
L
12882015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1291 dead->data[category] != NULL.
1292
cf36e503
JM
12932015-08-05 Joseph Myers <joseph@codesourcery.com>
1294
1295 [BZ #18647]
1296 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1297 and |x| close to 1, use absolute value of x when computing log.
1298 * math/auto-libm-test-in: Add more tests of pow.
1299 * math/auto-libm-test-out: Regenerated.
1300
2aa6c8af
AZ
13012015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1302
1303 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1304 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1305 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1306
42eaa27f
MM
13072015-08-05 Marko Myllynen <myllynen@redhat.com>
1308
1309 [BZ #18525]
1310 * locales/km_KH: Remove timezone definition.
1311 * locales/lo_LA: Likewise.
1312 * locales/my_MM: Likewise.
1313 * locales/nan_TW@latin: Likewise.
1314 * locales/th_TH: Likewise.
1315 * locales/uk_UA: Likewise.
1316
aeb47bbc
DM
13172015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1318
1319 [BZ #18265]
1320 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1321 (wcsncat): Likewise.
1322 (wcscmp): Likewise.
1323 (wcsncmp): Likewise.
1324
496405af
MF
13252015-08-05 Mike Frysinger <vapier@gentoo.org>
1326
1327 * test-skeleton.c (usage): New function.
1328 (main): Call usage when opt is '?'.
1329
182d6096
MF
13302015-08-05 Mike Frysinger <vapier@gentoo.org>
1331
1332 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1333 before first use.
1334
3fad53ec
MF
13352015-08-05 Mike Frysinger <vapier@gentoo.org>
1336
1337 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1338 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
1339 in there too.
1340
78bd7499
CD
13412015-08-05 Carlos O'Donell <carlos@systemhalted.org>
1342
1b15ff48
CD
1343 * version.h (RELEASE): Set to "development".
1344 (VERSION): Set to "2.22.90"
1345
78bd7499
CD
1346 * version.h (RELEASE): Set to "stable".
1347 (VERSION): Set to "2.22"
1348 * include/features.h (__GLIBC_MINOR__): Set to 22.
1349
0d261f40
CM
13502015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
1351
1352 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1353 Restructure macro to avoid "value computed is not used" warning.
1354 (atomic_compare_and_exchange_val_acq): Likewise.
1355
bbab82c2
AS
13562015-08-04 Andreas Schwab <schwab@suse.de>
1357
1358 [BZ #18635]
1359 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1360 ret.
1361 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1362
8cf0ac95
CD
13632015-08-01 Carlos O'Donell <carlos@redhat.com>
1364
1365 * po/pl.po: Updated translation.
1366 * po/uk.po: Likewise.
1367 * po/fi.po: Likewise.
1368 * po/ko.po: Likewise.
1369 * po/ru.po: Likewise.
1370 * po/vi.po: Likewise.
1371
2ec11c2b
ZW
13722015-07-31 Zack Weinberg <zackw@panix.com>
1373
1374 [BZ #18681]
1375 * regexp.h: Add unconditional #warning stating that this header
1376 will be removed soon. Revise banner comment to match.
1377 (compile): Consistently use ERROR instead of RETURN to report
1378 errors (partial fix for bz#18681).
1379 * regexp.c: Don't include regexp.h. Remove some unnecessary
1380 declarations.
1381
f4ddb355
CD
13822015-07-31 Carlos O'Donell <carlos@redhat.com>
1383
1384 * po/libc.pot: Regenerated.
1385
a9e8ea51
AS
13862015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
1387
1388 [BZ #18740]
1389 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1390 float-vlen4-arch-ext-cflags): Removed.
1391 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1392 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1393
243cc404
MF
13942015-07-30 Mike Frysinger <vapier@gentoo.org>
1395
0e569d30 1396 [BZ #14113]
243cc404
MF
1397 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1398 aligned to __aligned__.
1399 (pthread_cond_t, pthread_rwlock_t): Likewise.
1400
87ab9d55
TR
14012015-07-30 Torvald Riegel <triegel@redhat.com>
1402
1403 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1404
827e0185
MF
14052015-07-30 Mike Frysinger <vapier@gentoo.org>
1406
1407 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1408 (struct sigaction): Change sa_flags from a long to an int, and add
1409 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1410
14112015-07-30 Mike Frysinger <vapier@gentoo.org>
1412
1413 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1414 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1415 sysdeps/generic/sysdep.h include.
1416 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1417 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
1418 sysdeps/hppa/sysdep.h.
1419 (ENTRY, PSEUDO): Undefine before defining.
1420
a822b018
MF
14212015-07-30 Mike Frysinger <vapier@gentoo.org>
1422
1423 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1424 from scratch to use INTERNAL_SYSCALL.
1425
9637d8a2
L
14262015-07-29 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 [BZ #18078]
1429 * scripts/check-localplt.awk: Support alternate relocations.
1430 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1431 sections.
1432 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1433 malloc entries with + REL R_386_GLOB_DAT.
1434 * sysdeps/x86_64/localplt.data: New file.
1435
febce2ac
AS
14362015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
1437
1438 [BZ #18731]
1439 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1440 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1441 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1442
95d8f022
MF
14432015-07-27 Mike Frysinger <vapier@gentoo.org>
1444
1445 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1446
cf31a2c7
MF
14472015-07-27 Mike Frysinger <vapier@gentoo.org>
1448
1449 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1450 directly in terms of __sync_fetch_and_add and delete (int) cast.
1451
18855eca
MF
14522015-07-27 Mike Frysinger <vapier@gentoo.org>
1453
1454 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1455 the -D_ASM_IA64_CURRENT_H flag.
1456
1eb8bf80
MF
14572015-07-27 Mike Frysinger <vapier@gentoo.org>
1458
1459 [BZ #18641]
1460 * pwd/pwd.h (putpwent): Delete __nonnull markings.
1461
fddb8742
AS
14622015-07-27 Andreas Schwab <schwab@suse.de>
1463
1464 * conform/conformtest.pl (checknamespace): Filter out string
1465 literals while tokenizing.
1466
ae5eae7c
CLT
14672015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
1468
1469 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1470 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1471 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1472
34e3f83f
CLT
14732015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
1474
1475 * nptl/tst-join7mod.c: Add #include <string.h>.
1476
1d4bbc54
CLT
14772015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
1478
1479 * sysdeps/nios2/libm-test-ulps: Update.
1480
3f968343
CLT
14812015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
1482
1483 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1484 Fix order of arguments to the rt_sigprocmask syscall.
1485 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1486 Likewise.
1487
6b183b83
RM
14882015-07-24 Roland McGrath <roland@hack.frob.com>
1489
1490 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1491
e400f3cc
SP
14922015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1493
1494 [BZ #18457]
1495 * nptl/Makefile (tests): New test case tst-join7.
1496 (modules-names): New test case module tst-join7mod.
1497 * nptl/tst-join7.c: New file.
1498 * nptl/tst-join7mod.c: New file.
1499 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1500 all translation units in libc.so, libpthread.so and rtld.
1501
48f5f7a6
AZ
15022015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1503
1504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1505
99017161
AS
15062015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
1507
1508 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1509 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1510 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1514 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1515 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1516 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1517 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1518 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1519 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1520 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1521 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1522 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1523 implementation.
1524
0910702c
SN
15252015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1526
1527 [BZ #17711]
1528 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1529 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1530 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3bcea719
SN
1531 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1532 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1533 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
0910702c 1534
a81a00ff
SP
15352015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1536
1537 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1538 instead of just saying load lock in the comments.
1539
f8c3be3f
RM
15402015-07-23 Roland McGrath <roland@hack.frob.com>
1541
b301e68e
RM
1542 * sysdeps/unix/Subdirs: Moved ...
1543 * sysdeps/posix/Subdirs: ... here.
1544 * login/pty.h (struct termios, struct winsize): Add forward decls.
1545 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1546 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1547 * sysdeps/arm/nacl/libc.abilist: Updated.
1548 * sysdeps/nacl/libutil.abilist: New file.
1549
42486917
RM
1550 * bits/signum.h: Update comments to mention 1003.1-2013 too.
1551 (SIGWINCH): New macro.
1552
f8c3be3f
RM
1553 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1554 * sysdeps/arm/nacl/libc.abilist: Add it.
1555
3840aabc
MF
15562015-07-23 Mike Frysinger <vapier@gentoo.org>
1557
1558 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1559
992f71dd
MF
15602015-07-23 Mike Frysinger <vapier@gentoo.org>
1561
1562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1563 Swap __glibc_reserved0 and sa_flags order.
1564
90b37cac
SP
15652015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1566
1567 [BZ #18657]
1568 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1569 are pending TLS destructor calls.
1570 * include/link.h (struct link_map): Add concurrency note for
1571 L_TLS_DTOR_COUNT.
1572 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1573 Don't touch the link map flag. Atomically increment
1574 l_tls_dtor_count.
1575 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1576 Avoid taking the load lock and don't touch the link map flag.
1577 * stdlib/tst-tls-atexit-nodelete.c: New test case.
1578 * stdlib/Makefile (tests): Use it.
1579 * stdlib/tst-tls-atexit.c (do_test): dlopen
1580 tst-tls-atexit-lib.so again before dlclose. Add conditionals
1581 to allow tst-tls-atexit-nodelete test case to use it.
1582
9c9184b4
MF
15832015-07-22 Mike Frysinger <vapier@gentoo.org>
1584
1585 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1586 to bits/types.h.
1587 (msgqnum_t): New typedef.
1588 (msglen_t): Likewise.
1589 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
1590 and msg_qbytes type to msglen_t.
1591
43ef6875
MF
15922015-07-22 Mike Frysinger <vapier@gentoo.org>
1593
1594 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1595 pad0 to __glibc_reserved0.
1596 (struct stat64): Likewise.
1597
1a5cb6c7
MF
15982015-07-22 Mike Frysinger <vapier@gentoo.org>
1599
1600 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1601 Change sa_flags from a long to an int and add __glibc_reserved0 before
1602 it for padding.
1603
15fdf937
MF
16042015-07-22 Mike Frysinger <vapier@gentoo.org>
1605
1606 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1607 anonymous by deleting "siginfo" name.
1608
7493ab25
RM
16092015-07-21 Roland McGrath <roland@hack.frob.com>
1610
0b24551c
RM
1611 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1612 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1613 rather than __nacl_irt_filename.
1614 * sysdeps/nacl/xstat.c (__xstat): Likewise.
1615
7493ab25
RM
1616 * NEWS: New item for arm-nacl port.
1617 * sysdeps/arm/nacl/libc.abilist: New file.
1618 * sysdeps/nacl/ld.abilist: New file.
1619 * sysdeps/nacl/libBrokenLocale.abilist: New file.
1620 * sysdeps/nacl/libanl.abilist: New file.
1621 * sysdeps/nacl/libcrypt.abilist: New file.
1622 * sysdeps/nacl/libdl.abilist: New file.
1623 * sysdeps/nacl/libm.abilist: New file.
1624 * sysdeps/nacl/libpthread.abilist: New file.
1625 * sysdeps/nacl/libresolv.abilist: New file.
1626 * sysdeps/nacl/librt.abilist: New file.
1627
0ac4f1da
CM
16282015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
1629
1630 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1631 __startcontext to initialize the new context.
1632 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1633 up CFI directive to forbid further backtracing.
1634
f30d94a7
MM
16352015-07-21 Marko Myllynen <myllynen@redhat.com>
1636
1637 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1638 reference.
1639 * charmaps/ANSI_X3.4-1968: Likewise.
1640 * charmaps/BS_4730: Likewise.
1641 * charmaps/BS_VIEWDATA: Likewise.
1642 * charmaps/CP1250: Likewise.
1643 * charmaps/CP1251: Likewise.
1644 * charmaps/CP1252: Likewise.
1645 * charmaps/CP1253: Likewise.
1646 * charmaps/CP1254: Likewise.
1647 * charmaps/CP1255: Likewise.
1648 * charmaps/CP1256: Likewise.
1649 * charmaps/CSN_369103: Likewise.
1650 * charmaps/EBCDIC-DK-NO: Likewise.
1651 * charmaps/GB_1988-80: Likewise.
1652 * charmaps/GREEK-CCITT: Likewise.
1653 * charmaps/GREEK7: Likewise.
1654 * charmaps/INIS-8: Likewise.
1655 * charmaps/ISIRI-3342: Likewise.
1656 * charmaps/ISO_2033-1983: Likewise.
1657 * charmaps/ISO_5427-EXT: Likewise.
1658 * locales/POSIX: Likewise.
1659 * locales/ar_SA: Likewise.
1660 * locales/be_BY: Likewise.
1661 * locales/be_BY@latin: Likewise.
1662 * locales/ca_ES: Likewise.
1663 * locales/cs_CZ: Likewise.
1664 * locales/da_DK: Likewise.
1665 * locales/de_BE: Likewise.
1666 * locales/de_CH: Likewise.
1667 * locales/de_LU: Likewise.
1668 * locales/en_AU: Likewise.
1669 * locales/en_BW: Likewise.
1670 * locales/en_CA: Likewise.
1671 * locales/en_DK: Likewise.
1672 * locales/en_GB: Likewise.
1673 * locales/en_IE: Likewise.
1674 * locales/en_NZ: Likewise.
1675 * locales/en_ZA: Likewise.
1676 * locales/en_ZW: Likewise.
1677 * locales/es_AR: Likewise.
1678 * locales/es_BO: Likewise.
1679 * locales/es_CL: Likewise.
1680 * locales/es_CO: Likewise.
1681 * locales/es_DO: Likewise.
1682 * locales/es_EC: Likewise.
1683 * locales/es_ES: Likewise.
1684 * locales/es_HN: Likewise.
1685 * locales/es_MX: Likewise.
1686 * locales/es_PA: Likewise.
1687 * locales/es_PE: Likewise.
1688 * locales/es_PY: Likewise.
1689 * locales/es_SV: Likewise.
1690 * locales/es_US: Likewise.
1691 * locales/es_UY: Likewise.
1692 * locales/es_VE: Likewise.
1693 * locales/et_EE: Likewise.
1694 * locales/fa_IR: Likewise.
1695 * locales/fo_FO: Likewise.
1696 * locales/fr_CA: Likewise.
1697 * locales/fr_CH: Likewise.
1698 * locales/gv_GB: Likewise.
1699 * locales/he_IL: Likewise.
1700 * locales/hr_HR: Likewise.
1701 * locales/id_ID: Likewise.
1702 * locales/is_IS: Likewise.
1703 * locales/it_CH: Likewise.
1704 * locales/iw_IL: Likewise.
1705 * locales/kl_GL: Likewise.
1706 * locales/ko_KR: Likewise.
1707 * locales/kw_GB: Likewise.
1708 * locales/lg_UG: Likewise.
1709 * locales/lt_LT: Likewise.
1710 * locales/lv_LV: Likewise.
1711 * locales/mi_NZ: Likewise.
1712 * locales/nhn_MX: Likewise.
1713 * locales/nl_BE: Likewise.
1714 * locales/pl_PL: Likewise.
1715 * locales/sk_SK: Likewise.
1716 * locales/sl_SI: Likewise.
1717 * locales/sv_FI: Likewise.
1718 * locales/tl_PH: Likewise.
1719 * locales/tr_TR: Likewise.
1720 * locales/vi_VN: Likewise.
1721
536fb977
KR
17222015-07-21 Khem Raj <raj.khem@gmail.com>
1723
1724 [BZ #17475]
1725 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1726 of tu_IN and bh_IN.
1727
7fde904c
MF
17282015-07-21 Mike Frysinger <vapier@gentoo.org>
1729
1730 [BZ #18694]
1731 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1732 bits/wordsize.h.
1733 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1734
d72c2763
SP
17352015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1736
1737 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1738 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1739 (spawn_thread): New function.
1740 (load): Rename to reg_dtor_and_close. Move dlopen to...
1741 (do_test): ... here. Use IS_LOADED to test for its
1742 availability.
1743
530deb96
AS
17442015-07-21 Andreas Schwab <schwab@linux-m68k.org>
1745
1746 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1747
d4358b51
L
17482015-07-20 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 [BZ #18696]
1751 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1752 si_addr_bnd.
1753 (si_lower): New.
1754 (si_upper): Likewise.
1755
d87630ed
DM
17562015-07-16 David S. Miller <davem@davemloft.net>
1757
1758 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1759
787813b1
AZ
17602015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1761
1762 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1763 buffer.
1764 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1765 fail output information.
1766
b42f8cad
RS
17672015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1768
1769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1770 and strstr-ppc64..
1771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1773 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1774 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1775 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1776
6b96d6de
MF
17772015-07-16 Mike Frysinger <vapier@gentoo.org>
1778
1779 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1780 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1781 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1782 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1783
2a6ad814
MF
17842015-07-16 Mike Frysinger <vapier@gentoo.org>
1785
1786 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1787 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1788 rtld_hidden_proto.
1789 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1790
b632bdd3
SP
17912015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
e591758b
SP
1793 * tst-nodelete-opened.c (do_test): Add comment to clarify how
1794 the test can fail.
1795
9ceb5f62
SP
1796 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1797
b632bdd3
SP
1798 [BZ #18676]
1799 * elf/tst-nodelete-opened.c: New test case.
1800 * elf/tst-nodelete-opened-lib.c: New test case module.
1801 * elf/Makefile (tests, modules-names): Use them.
1802 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1803 early.
1804
c59f721c
DM
18052015-07-15 David S. Miller <davem@davemloft.net>
1806
1807 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1808 futex-intenal.h
1809 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1810 * sysdeps/sparc/sparc64/Makefile: Likewise.
1811 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1812 Remove space from macro define.
1813 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1814
032c510d
PS
18152015-07-15 Pravin Satpute <psatpute@redhat.com>
1816
1817 [BZ #17475]
1818 * locale/iso-639.def: Update Bhili and Tulu language codes as
1819 per iso639-3.
1820
e505234f
AS
18212015-07-15 Arjun Shankar <arjun.is@lostca.se>
1822
0035851c
AS
1823 * elf/tst-leaks1.c (main): Converted to ...
1824 (do_test): ... this.
1825 (TEST_FUNCTION): New macro.
1826 Include test-skeleton.c.
1827 * localedata/tst-langinfo.c (main): Converted to ...
1828 (do_test): ... this.
1829 (TEST_FUNCTION): New macro.
1830 Include test-skeleton.c.
1831 * math/test-fpucw.c (main): Converted to ...
1832 (do_test): ... this.
1833 (TEST_FUNCTION): New macro.
1834 Include test-skeleton.c.
1835 * math/test-tgmath.c (main): Converted to ...
1836 (do_test): ... this.
1837 (TEST_FUNCTION): New macro.
1838 Include test-skeleton.c.
1839 * math/test-tgmath2.c (main): Converted to ...
1840 (do_test): ... this.
1841 (TEST_FUNCTION): New macro.
1842 Include test-skeleton.c.
1843 * setjmp/tst-setjmp.c (main): Converted to ...
1844 (do_test): ... this.
1845 (TEST_FUNCTION): New macro.
1846 Include test-skeleton.c.
1847 * stdio-common/tst-sscanf.c (main): Converted to ...
1848 (do_test): ... this.
1849 (TEST_FUNCTION): New macro.
1850 Include test-skeleton.c.
1851 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1852 (do_test): ... this.
1853 (TEST_FUNCTION): New macro.
1854 Include test-skeleton.c.
1855
e505234f
AS
1856 * elf/tst-audit9.c (main): Converted to ...
1857 (do_test): ... this.
1858 (TEST_FUNCTION): New macro.
1859 Include test-skeleton.c.
1860
112f28e8
MF
18612015-07-15 Mike Frysinger <vapier@gentoo.org>
1862
1863 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1864
f6267fd8
SL
18652015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1866
1867 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1868 New variable.
1869
ed95ec72
SL
18702015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1871
1872 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1873
c01ae97e
RM
18742015-07-14 Roland McGrath <roland@hack.frob.com>
1875
1876 * sysdeps/generic/dl-fileid.h: New file.
1877 * sysdeps/posix/dl-fileid.h: New file.
1878 * sysdeps/nacl/dl-fileid.h: New file.
1879 * include/link.h: Include <dl-fileid.h>.
1880 (struct link_map): Replace l_dev and l_ino with l_file_id.
1881 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1882 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
1883 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
1884
38b75949
SP
18852015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1886
1887 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1888
edcfe9ea
AZ
18892015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1890
1891 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1892 Add iff $CXX is set.
1893 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1894 Likewise.
1895 (tst-nodelete-zmodiff): Likewise.
1896 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1897
8e7e971a
SP
18982015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1899
1900 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1901
45baea1e 19022015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
82641e16
WD
1903
1904 * sysdeps/aarch64/fpu/math_private.h
1905 (define math_opt_barrier): Add AArch64 version.
1906 (math_force_eval): Likewise.
1907
c435989f
WD
19082015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
1909
1910 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1911
70249b57
L
19122015-07-11 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1915 %ld with %jd and cast to intmax_t.
1916 (do_test_length_zero): Likewise.
1917
398a80fe
RM
19182015-07-10 Roland McGrath <roland@hack.frob.com>
1919
1920 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1921
75413d49
CM
19222015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
1923
ef115d3a
CM
1924 * sysdeps/tile/libm-test-ulps: Regenerated.
1925
75413d49
CM
1926 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1927 Comment out the whole function, not just its body.
1928
962a1aeb
SP
19292015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1930
0c8f39cb
SP
1931 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1932 locks.
1933
962a1aeb
SP
1934 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1935
1aa8d144
TR
19362015-07-10 Torvald Riegel <triegel@redhat.com>
1937
1938 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1939 (sem_assume_only_signals_cause_futex_EINTR): Remove.
1940
a2f0363f
TR
19412015-07-10 Torvald Riegel <triegel@redhat.com>
1942
1943 * sysdeps/nptl/futex-internal.h: New file.
1944 * sysdeps/nacl/futex-internal.h: New file.
1945 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1946 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1947 error checking.
1948 (setxid_unmark_thread): Likewise.
1949 (__nptl_setxid): Likewise.
1950 (__wait_lookup_done): Likewise.
1951 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1952 * nptl/nptl-init.c (sighandler_setxid): Likewise.
1953 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1954 * nptl/pthread_once.c (clear_once_control): Likewise.
1955 (__pthread_once_slow): Likewise.
1956 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1957 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1958 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1959 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1960 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1961 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1962 Likewise.
1963 (__pthread_rwlock_rdlock): Likewise.
1964 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1965 Likewise.
1966 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1967 Likewise.
1968 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1969 Likewise.
1970 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1971 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1972 Likewise.
1973 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1974 __ASSUME_PRIVATE_FUTEX check.
1975 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1976 Check that shared futexes are supported.
1977 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1978 wrappers with error checking.
1979 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1980 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1981 * nptl/pthread_barrierattr_setpshared.c
1982 (pthread_barrierattr_setpshared): Check that shared futexes are
1983 supported.
1984 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1985 Likewise.
1986 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1987 Likewise.
1988 * nptl/sem_init.c (futex_private_if_supported): Remove.
1989 (__new_sem_init): Adapt and check that shared futexes are supported.
1990 * nptl/sem_open.c (sem_open): Likewise.
1991 * nptl/sem_post.c (futex_wake): Remove.
1992 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1993 (do_futex_wait): Use futex wrappers with error checking.
1994 * nptl/sem_wait.c: Include lowlevellock.h.
1995 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1996 Use futex_supports_pshared.
1997 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1998 Use futex wrappers with error checking.
1999 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2000 Likewise.
2001 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2002 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2003 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2004 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2005 (futex_wake): Likewise.
2006 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2007 (do_futex_wait): Use futex wrappers with error checking.
2008 (__new_sem_wait_slow): Update EINTR handling.
2009 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2010
203c1a89
MS
20112015-07-09 Martin Sebor <msebor@redhat.com>
2012
2013 [BZ #18435]
2014 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2015 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2016 * nptl/Makefile (test-xfail-tst-once5): Define.
2017
af85d409
RM
20182015-07-09 Roland McGrath <roland@hack.frob.com>
2019
2193ce87
RM
2020 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2021 * elf/dl-minimal.c: For readability, reorder some definitions and
2022 introduce more page breaks. Include <stdio.h>.
2023 (__libc_fatal): New function.
2024
af85d409
RM
2025 * include/unistd.h: Add rtld_hidden_proto for _exit.
2026 * posix/_exit.c: Add rtld_hidden_def.
2027 * sysdeps/mach/hurd/_exit.c: Likewise.
2028 * sysdeps/nacl/_exit.c: Likewise.
2029 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2030 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2031
2eb9ef29
L
20322015-07-09 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2035 bndmov encoding with zero displacement.
2036
14c5cbab
IZ
20372015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
2038 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 [BZ #18134]
2041 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2042 * sysdeps/i386/configure: Regenerated.
2043 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2044 (_dl_runtime_profile): Save and restore Intel MPX return bound
2045 registers when calling _dl_call_pltexit. Add
2046 PRESERVE_BND_REGS_PREFIX before return.
2047 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2048 (LRV_BND1_OFFSET): Likewise.
2049 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2050 lrv_bnd1.
2051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2052 typo in bndmov encoding.
2053 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2054 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
2055 branch instructions to preserve bounds.
2056
632b3db8
AZ
20572015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2058
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2060 [GLIBC_2.22]: Add fmemopen.
2061
ed4060f5
ST
20622015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
2063
2064 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2065 returns an error, also try to use host port from __mach_host_self for
2066 the __vm_wire call.
2067 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2068
14d623bc
SN
20692015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2070
b8528e77
SN
2071 [BZ #18400]
2072 [BZ #18648]
14d623bc
SN
2073 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2074 Fix pr_uid and pr_gid members.
b8528e77
SN
2075 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2076 definition to elf_greg_t.
14d623bc 2077
b8a91836
RM
20782015-07-08 Roland McGrath <roland@hack.frob.com>
2079
95af4cff
RM
2080 [BZ #18383]
2081 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2082 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2083 * sysdeps/arm/configure: Regenerated.
2084 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2085 (test-xfail-tst-tlsalign-static): Variable removed.
2086
85ee9a0d
RM
2087 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2088 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2089 rather than explicit 'ln -s'.
2090
b8a91836
RM
2091 * resolv/rpc/netdb.h: New file.
2092 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2093
fdb7d390
AZ
20942015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2095
ccfa271f
AZ
2096 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2097 length buffers.
2098 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2099 test-skeleton.c.
2100
fdb7d390
AZ
2101 [BZ #6544]
2102 [BZ #11216]
2103 [BZ #12836]
2104 [BZ #13151]
2105 [BZ #13152]
2106 [BZ #14292]
2107 * include/stdio.h (fmemopen): Remove hidden prototype.
2108 (__fmemopen): Add new hidden prototype.
2109 * libio/Makefile: Add oldfmemopen object.
2110 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2111 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2112 compliance.
2113 * libio/oldfmemopen.c: New file: old fmemopen implementation for
2114 symbol compatibility.
2115 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2116 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2117 fmemopen.
2118 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2119 on append and read mode.
2120 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2121 fmemopen.
2122 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2123 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2124 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2125 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2128 [GLIBC_2.22]: Likewise.
2129 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2132 Likewise.
2133 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2134 [GLIBC_2.22]: Likewise.
2135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2136 [GLIBC_2.22]: Likewise.
2137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2138 [GLIBC_2.22]: Likewise.
2139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2140 [GLIBC_2.22]: Likewise.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2142 [GLIBC_2.22]: Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2144 [GLIBC_2.22]: Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2146 [GLIBC_2.22]: Likewise.
2147 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2153 [GLIBC_2.22]: Likewise.
2154 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2155 [GLIBC_2.22]: Likewise.
2156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2157 [GLIBC_2.22]: Likewise.
2158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2159 [GLIBC_2.22]: Likewise.
2160 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2161 Likewise.
2162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2163 Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2165 Likewise.
2166 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2167 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2168
1c1e3125
CD
21692015-07-08 Carlos O'Donell <carlos@redhat.com>
2170
2171 [BZ #18643]
2172 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2173 IPV6_PATHMTU, and IPV6_DONTFRAG.
2174
2e425022
FG
21752015-07-08 Feng Gao <gfree.wind@gmail.com>
2176
2177 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2178 and _IO_UNBUFFERED.
2179 * libio/oldfileops.c: Likewise.
2180 * libio/wfileops.c: Likewise.
2181
80869669
MF
21822015-07-08 Mike Frysinger <vapier@gentoo.org>
2183
2184 * nscd/selinux.c: Delete selinux/flask.h include.
2185
61d95397
MF
21862015-07-08 Mike Frysinger <vapier@gentoo.org>
2187
2188 [BZ #18641]
2189 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2190 (putpwent): Likewise.
2191 (getpwnam): Likewise.
2192 (getpwent_r): Likewise.
2193 (getpwuid_r): Likewise.
2194 (getpwnam_r): Likewise.
2195 (fgetpwent_r): Likewise.
2196
1c1e3125 21972015-07-08 Carlos O'Donell <carlos@redhat.com>
8b59c733
CD
2198
2199 [BZ #18557]
2200 * inet/rcmd.c (__validuser2_sa): Check user first to
2201 short-circuit host check.
2202
02d5e5d9
PK
22032015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
2204 Mikhail Ilin <m.ilin@samsung.com>
2205
2206 [BZ #17833]
2207 * elf/Makefile (tests): Add tst-nodelete.
2208 (modules-names): Add tst-nodelete-uniquemod.
2209 (tst-nodelete-uniquemod.so-no-z-defs): New.
2210 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2211 (tst-nodelete-zmod.so-no-z-defs): Likewise.
2212 ($(objpfx)tst-nodelete): Likewise.
2213 ($(objpfx)tst-nodelete.out): Likewise.
2214 (LDFLAGS-tst-nodelete): Likewise.
2215 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2216 * elf/dl-close.c (_dl_close_worker): Add a parameter to
2217 implement forced object deletion.
2218 (_dl_close): Pass false to _dl_close_worker.
2219 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2220 * elf/tst-nodelete.cc: New file.
2221 * elf/tst-nodeletelib.cc: Likewise.
2222 * elf/tst-znodeletelib.cc: Likewise.
2223 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2224
890b7a4b
SL
22252015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2226
2227 [BZ #18508]
2228 * stdlib/Makefile ($(objpfx)tst-makecontext3):
2229 Depend on $(libdl).
2230 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2231 is not called infinitely times.
2232 (backtrace_helper): New function.
2233 (trace_arg): New struct.
2234 (st1): Enlarge stack size.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2236 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2237 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2238 Likewise.
2239
fa4eeac7
SL
22402015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2241
2242 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2243
3fdc131c
SL
22442015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2245
2246 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2247 Include sys/types.h instead of bits/types.h.
2248 Remove inclusion of bits/wordsize.h.
2249
9aec6d2a
L
22502015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2253 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2254 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2255 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2256 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2257 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2258
ddd85a65
L
22592015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2262 link-defines.sym.
2263 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2264 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2265 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2266 and LR_SIZE.
2267 * sysdeps/i386/link-defines.sym: New file.
2268
fa9fef1f
L
22692015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2272 (modules-names): Add tst-auditmod3a tst-auditmod3b.
2273 ($(objpfx)tst-audit3): New rule.
2274 ($(objpfx)tst-audit3.out): Likewise.
2275 * sysdeps/i386/tst-audit3.c: New file.
2276 * sysdeps/i386/tst-audit3.h: Likewise.
2277 * sysdeps/i386/tst-auditmod3a.c: Likewise.
2278 * sysdeps/i386/tst-auditmod3b.c: Likewise.
2279
213a2be7
TR
22802015-07-07 Torvald Riegel <triegel@redhat.com>
2281
2282 [BZ #18633]
2283 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2284 pointer in C code.
2285 (__strcat_c): Likewise.
2286 (__strcat_g): Likewise.
2287
c13e0783
CH
22882015-07-07 Cyril Hrubis <chrubis@suse.cz>
2289
2290 [BZ #18592]
2291 * misc/sbrk.c: Set errno to ENOMEM on overflow.
2292
64711904
WD
22932015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
2294
2295 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2296 New function. (__ieee754_sqrtf): New function.
2297 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2298 New function.
2299 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2300 New function.
2301
a1b85e1d
WD
23022015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
2303
2304 * sysdeps/ieee754/support.c: Remove unused file.
2305
2b1d7148
SN
23062015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2307
2308 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2309 registers instead of d ones so the layout is kernel abi compatible.
2310 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2311 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2312 Likewise.
2313
cfe4368e
SN
23142015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2315
2316 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2317
a04bb330
JM
23182015-07-01 Joseph Myers <joseph@codesourcery.com>
2319
2320 [BZ #18619]
2321 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2322 and return argument in case of subnormal argument.
2323
ed225df3
MS
23242015-07-01 Martin Sebor <msebor@redhat.com>
2325
2326 [BZ #18435]
2327 * nptl/Makefile: Add tst-once5.cc.
2328 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2329 Remove macro redefinitions.
2330 * nptl/tst-once5.cc: New test.
2331
1dd751a3
JM
23322015-07-01 Joseph Myers <joseph@codesourcery.com>
2333
9081b7bc
JM
2334 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2335
1ef3a806
JM
2336 * sysdeps/arm/libm-test-ulps: Regenerated.
2337
1dd751a3
JM
2338 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2339 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2340
4eb984d3
TR
23412015-06-30 Torvald Riegel <triegel@redhat.com>
2342
4ac0fd48
TR
2343 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2344 lll_lock_wait_private and lll_futex_wake probes.
2345
4eb984d3
TR
2346 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2347 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2348 Likewise.
2349 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2350 atomic_spin_nop.
2351 * sysdeps/x86_64/bits/atomic.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2353 to atomic_spin_nop and move ...
2354 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2355 ... here and ...
2356 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2357 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2358 atomic_spin_nop instead of BUSY_WAIT_NOP.
2359 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2360 Likewise.
2361 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2362 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2363 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2364 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2365 instead of atomic_delay.
2366
31545c23
JM
23672015-06-29 Joseph Myers <joseph@codesourcery.com>
2368
e02920bc
JM
2369 [BZ #18613]
2370 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2371 X_ADJ not X when adjusting exponent.
2372 (__ieee754_gamma_r): Do intermediate computations in
2373 round-to-nearest then adjust overflowing and underflowing results
2374 as needed.
2375 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2376 of X_ADJ not X when adjusting exponent.
2377 (__ieee754_gammaf_r): Do intermediate computations in
2378 round-to-nearest then adjust overflowing and underflowing results
2379 as needed.
2380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2381 log of X_ADJ not X when adjusting exponent.
2382 (__ieee754_gammal_r): Do intermediate computations in
2383 round-to-nearest then adjust overflowing and underflowing results
2384 as needed. Use 1.0L not 1.0f as numerator of division.
2385 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2386 log of X_ADJ not X when adjusting exponent.
2387 (__ieee754_gammal_r): Do intermediate computations in
2388 round-to-nearest then adjust overflowing and underflowing results
2389 as needed. Use 1.0L not 1.0f as numerator of division.
2390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2391 of X_ADJ not X when adjusting exponent.
2392 (__ieee754_gammal_r): Do intermediate computations in
2393 round-to-nearest then adjust overflowing and underflowing results
2394 as needed. Use 1.0L not 1.0f as numerator of division.
2395 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
2396 to auto-libm-test-in.
2397 (tgamma_test): Use ALL_RM_TEST.
2398 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
2399 tests of tgamma with spurious-overflow.
2400 * math/auto-libm-test-out: Regenerated.
2401 * math/gen-libm-have-vector-test.sh: Do not check for START.
2402 * sysdeps/i386/fpu/libm-test-ulps: Update.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2404
4aa10d01
JM
2405 [BZ #18612]
2406 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2407 arguments, just return 0.5 times the argument, with underflow
2408 forced as needed.
2409 * math/auto-libm-test-in: Add more tests of j1.
2410 * math/auto-libm-test-out: Regenerated.
2411
63dbe5f3
JM
2412 [BZ #16559]
2413 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2414 (__ieee754_j1): Force underflow exception for small results.
2415 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2416 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2417 (__ieee754_j1f): Force underflow exception for small results.
2418 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2421 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2422 (__ieee754_j1l): Force underflow exception for small results.
2423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2424 * math/auto-libm-test-in: Add more tests of j1 and jn.
2425 * math/auto-libm-test-out: Regenerated.
2426
31545c23
JM
2427 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2428 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2429 (PF_MPLS): Likewise.
2430 (AF_IB): Likewise.
2431 (AF_MPLS): Likewise.
2432 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2433 value and macro.
2434 (MS_RMT_MASK): Include MS_LAZYTIME.
2435
f8ef472c
MG
24362015-06-26 Mel Gorman <mgorman@suse.de>
2437
2438 [BZ #18502]
2439 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2440 already minimal.
2441
a2057c98
MF
24422015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
2443
2444 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2445 (DT_MIPS_NUM): Update.
2446 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2447 DT_MIPS_RLD_MAP_REL.
2448
a8e2112a
JM
24492015-06-25 Joseph Myers <joseph@codesourcery.com>
2450
2451 [BZ #16559]
2452 [BZ #18602]
2453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2454 round-to-nearest internally then recompute results that
2455 underflowed to zero in the original rounding mode.
2456 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2457 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2460 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2461 * sysdeps/i386/fpu/libm-test-ulps: Update.
2462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463
037e4b99
AS
24642015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
2465
2466 * NEWS: Fixed description of link with vector math library.
2467
7c2ce714
AS
24682015-06-25 Andreas Schwab <schwab@suse.de>
2469
2470 [BZ #18549]
2471 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2472 * libio/test-fmemopen.c (do_test): Add test for it.
2473
cc08749b
L
24742015-06-25 H.J. Lu <hongjiu.lu@intel.com>
2475
2476 [BZ #17841]
2477 * Makeconfig (no-pie-ldflag): New.
2478 (+link): Set to $(+link-pie) if default to PIE.
2479 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2480 * config.make.in (build-pie-default): New.
2481 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
2482 is default. AC_SUBST.
2483 * configure: Regenerated.
2484 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2485
86edd44f
RM
24862015-06-24 Roland McGrath <roland@hack.frob.com>
2487
45a8f0e6
RM
2488 * nptl/descr.h (struct pthread): Change type of field setxid_futex
2489 to 'unsigned int'.
2490
e185d57e
RM
2491 * resolv/gai_misc.h (struct waitlist): Change type of field
2492 counterp to 'volatile unsigned int *'.
2493 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2494 FUTEXADDR and OLDVAL.
2495 * resolv/getaddrinfo_a.c (getaddrinfo_a):
2496 Give local variable TOTAL type 'volatile unsigned int'.
2497 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2498 * resolv/gai_suspend.c (gai_suspend):
2499 Give local variable CNTR type 'unsigned int'.
2500
86edd44f
RM
2501 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2502 counterp to 'volatile unsigned int *'.
2503 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2504 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2505 (aio_suspend): Give local variable CNTR type 'unsigned int'.
2506 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2507 Give local variable TOTAL type 'volatile unsigned int'.
2508 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2509
a7fcc2f8
L
25102015-06-24 H.J. Lu <hongjiu.lu@intel.com>
2511
2512 [BZ #18383]
2513 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2514 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
2515 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2516 comment for i386/x86-64.
2517 (test-xfail-tst-tlsalign-extern-static): Removed.
2518
f9536db7
JM
25192015-06-24 Joseph Myers <joseph@codesourcery.com>
2520
2521 * math/test-double.h: New file.
2522 * math/test-float.h: Likewise.
2523 * math/test-ldouble.h: Likewise.
2524 * math/test-math-inline.h: Likewise.
2525 * math/test-math-no-inline.h: Likewise.
2526 * math/test-math-scalar.h: Likewise.
2527 * math/test-math-vector.h: Likewise.
2528 * math/test-vec-loop.h: Remove file. Contents moved into
2529 test-math-vector.h.
2530 * math/libm-test.inc (MATHCONST): Do not document macro.
2531 * math/test-double.c: Include test-double.h, test-math-no-inline.h
2532 and test-math-scalar.h.
2533 (FUNC): Remove macro.
2534 (FUNC_TEST): Likewise.
2535 (FLOAT): Likewise.
2536 (MATHCONST): Likewise.
2537 (PRINTF_EXPR): Likewise.
2538 (PRINTF_XEXPR): Likewise.
2539 (PRINTF_NEXPR): Likewise.
2540 (TEST_DOUBLE): Likewise.
2541 (TEST_MATHVEC): Likewise.
2542 (__NO_MATH_INLINES): Likewise.
2543 * math/test-float.c: Include test-float.h, test-math-no-inline.h
2544 and test-math-scalar.h.
2545 (FUNC): Remove macro.
2546 (FUNC_TEST): Likewise.
2547 (FLOAT): Likewise.
2548 (MATHCONST): Likewise.
2549 (PRINTF_EXPR): Likewise.
2550 (PRINTF_XEXPR): Likewise.
2551 (PRINTF_NEXPR): Likewise.
2552 (TEST_FLOAT): Likewise.
2553 (TEST_MATHVEC): Likewise.
2554 (__NO_MATH_INLINES): Likewise.
2555 * math/test-idouble.c: Include test-double.h, test-math-inline.h
2556 and test-math-scalar.h.
2557 (FUNC): Remove macro.
2558 (FUNC_TEST): Likewise.
2559 (FLOAT): Likewise.
2560 (MATHCONST): Likewise.
2561 (PRINTF_EXPR): Likewise.
2562 (PRINTF_XEXPR): Likewise.
2563 (PRINTF_NEXPR): Likewise.
2564 (TEST_DOUBLE): Likewise.
2565 (TEST_MATHVEC): Likewise.
2566 (TEST_INLINE): Likewise.
2567 (__NO_MATH_INLINES): Likewise.
2568 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2569 test-math-scalar.h.
2570 (FUNC): Remove macro.
2571 (FUNC_TEST): Likewise.
2572 (FLOAT): Likewise.
2573 (MATHCONST): Likewise.
2574 (PRINTF_EXPR): Likewise.
2575 (PRINTF_XEXPR): Likewise.
2576 (PRINTF_NEXPR): Likewise.
2577 (TEST_FLOAT): Likewise.
2578 (TEST_MATHVEC): Likewise.
2579 (TEST_INLINE): Likewise.
2580 (__NO_MATH_INLINES): Likewise.
2581 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2582 and test-math-scalar.h.
2583 (FUNC): Remove macro.
2584 (FUNC_TEST): Likewise.
2585 (FLOAT): Likewise.
2586 (MATHCONST): Likewise.
2587 (PRINTF_EXPR): Likewise.
2588 (PRINTF_XEXPR): Likewise.
2589 (PRINTF_NEXPR): Likewise.
2590 (TEST_LDOUBLE): Likewise.
2591 (TEST_MATHVEC): Likewise.
2592 (TEST_INLINE): Likewise.
2593 (__NO_MATH_INLINES): Likewise.
2594 * math/test-ldouble.c: Include test-ldouble.h,
2595 test-math-no-inline.h and test-math-scalar.h.
2596 (FUNC): Remove macro.
2597 (FUNC_TEST): Likewise.
2598 (FLOAT): Likewise.
2599 (MATHCONST): Likewise.
2600 (PRINTF_EXPR): Likewise.
2601 (PRINTF_XEXPR): Likewise.
2602 (PRINTF_NEXPR): Likewise.
2603 (TEST_LDOUBLE): Likewise.
2604 (TEST_MATHVEC): Likewise.
2605 (__NO_MATH_INLINES): Likewise.
2606 * math/test-double-vlen2.h: Include test-double.h,
2607 test-math-no-inline.h and test-math-vector.h.
2608 (FLOAT): Remove macro.
2609 (FUNC): Likewise.
2610 (MATHCONST): Likewise.
2611 (PRINTF_EXPR): Likewise.
2612 (PRINTF_XEXPR): Likewise.
2613 (PRINTF_NEXPR): Likewise.
2614 (TEST_DOUBLE): Likewise.
2615 (TEST_MATHVEC): Likewise.
2616 (__NO_MATH_INLINES): Likewise.
2617 (CNCT): Likewise.
2618 (CONCAT): Likewise.
2619 (WRAPPER_NAME): Likewise.
2620 (WRAPPER_DECL): Likewise.
2621 (WRAPPER_DECL_ff): Likewise.
2622 (WRAPPER_DECL_fFF): Likewise.
2623 (VECTOR_WRAPPER): Likewise.
2624 (VECTOR_WRAPPER_ff): Likewise.
2625 (VECTOR_WRAPPER_fFF): Likewise.
2626 (VEC_LEN): New macro.
2627 * math/test-double-vlen4.h: Include test-double.h,
2628 test-math-no-inline.h and test-math-vector.h.
2629 (FLOAT): Remove macro.
2630 (FUNC): Likewise.
2631 (MATHCONST): Likewise.
2632 (PRINTF_EXPR): Likewise.
2633 (PRINTF_XEXPR): Likewise.
2634 (PRINTF_NEXPR): Likewise.
2635 (TEST_DOUBLE): Likewise.
2636 (TEST_MATHVEC): Likewise.
2637 (__NO_MATH_INLINES): Likewise.
2638 (CNCT): Likewise.
2639 (CONCAT): Likewise.
2640 (WRAPPER_NAME): Likewise.
2641 (WRAPPER_DECL): Likewise.
2642 (WRAPPER_DECL_ff): Likewise.
2643 (WRAPPER_DECL_fFF): Likewise.
2644 (VECTOR_WRAPPER): Likewise.
2645 (VECTOR_WRAPPER_ff): Likewise.
2646 (VECTOR_WRAPPER_fFF): Likewise.
2647 (VEC_LEN): New macro.
2648 * math/test-double-vlen8.h: Include test-double.h,
2649 test-math-no-inline.h and test-math-vector.h.
2650 (FLOAT): Remove macro.
2651 (FUNC): Likewise.
2652 (MATHCONST): Likewise.
2653 (PRINTF_EXPR): Likewise.
2654 (PRINTF_XEXPR): Likewise.
2655 (PRINTF_NEXPR): Likewise.
2656 (TEST_DOUBLE): Likewise.
2657 (TEST_MATHVEC): Likewise.
2658 (__NO_MATH_INLINES): Likewise.
2659 (CNCT): Likewise.
2660 (CONCAT): Likewise.
2661 (WRAPPER_NAME): Likewise.
2662 (WRAPPER_DECL): Likewise.
2663 (WRAPPER_DECL_ff): Likewise.
2664 (WRAPPER_DECL_fFF): Likewise.
2665 (VECTOR_WRAPPER): Likewise.
2666 (VECTOR_WRAPPER_ff): Likewise.
2667 (VECTOR_WRAPPER_fFF): Likewise.
2668 (VEC_LEN): New macro.
2669 * math/test-float-vlen4.h: Include test-float.h,
2670 test-math-no-inline.h and test-math-vector.h.
2671 (FLOAT): Remove macro.
2672 (FUNC): Likewise.
2673 (MATHCONST): Likewise.
2674 (PRINTF_EXPR): Likewise.
2675 (PRINTF_XEXPR): Likewise.
2676 (PRINTF_NEXPR): Likewise.
2677 (TEST_FLOAT): Likewise.
2678 (TEST_MATHVEC): Likewise.
2679 (__NO_MATH_INLINES): Likewise.
2680 (CNCT): Likewise.
2681 (CONCAT): Likewise.
2682 (WRAPPER_NAME): Likewise.
2683 (WRAPPER_DECL): Likewise.
2684 (WRAPPER_DECL_ff): Likewise.
2685 (WRAPPER_DECL_fFF): Likewise.
2686 (VECTOR_WRAPPER): Likewise.
2687 (VECTOR_WRAPPER_ff): Likewise.
2688 (VECTOR_WRAPPER_fFF): Likewise.
2689 (VEC_LEN): New macro.
2690 * math/test-float-vlen8.h: Include test-float.h,
2691 test-math-no-inline.h and test-math-vector.h.
2692 (FLOAT): Remove macro.
2693 (FUNC): Likewise.
2694 (MATHCONST): Likewise.
2695 (PRINTF_EXPR): Likewise.
2696 (PRINTF_XEXPR): Likewise.
2697 (PRINTF_NEXPR): Likewise.
2698 (TEST_FLOAT): Likewise.
2699 (TEST_MATHVEC): Likewise.
2700 (__NO_MATH_INLINES): Likewise.
2701 (CNCT): Likewise.
2702 (CONCAT): Likewise.
2703 (WRAPPER_NAME): Likewise.
2704 (WRAPPER_DECL): Likewise.
2705 (WRAPPER_DECL_ff): Likewise.
2706 (WRAPPER_DECL_fFF): Likewise.
2707 (VECTOR_WRAPPER): Likewise.
2708 (VECTOR_WRAPPER_ff): Likewise.
2709 (VECTOR_WRAPPER_fFF): Likewise.
2710 (VEC_LEN): New macro.
2711 * math/test-float-vlen16.h: Include test-float.h,
2712 test-math-no-inline.h and test-math-vector.h.
2713 (FLOAT): Remove macro.
2714 (FUNC): Likewise.
2715 (MATHCONST): Likewise.
2716 (PRINTF_EXPR): Likewise.
2717 (PRINTF_XEXPR): Likewise.
2718 (PRINTF_NEXPR): Likewise.
2719 (TEST_FLOAT): Likewise.
2720 (TEST_MATHVEC): Likewise.
2721 (__NO_MATH_INLINES): Likewise.
2722 (CNCT): Likewise.
2723 (CONCAT): Likewise.
2724 (WRAPPER_NAME): Likewise.
2725 (WRAPPER_DECL): Likewise.
2726 (WRAPPER_DECL_ff): Likewise.
2727 (WRAPPER_DECL_fFF): Likewise.
2728 (VECTOR_WRAPPER): Likewise.
2729 (VECTOR_WRAPPER_ff): Likewise.
2730 (VECTOR_WRAPPER_fFF): Likewise.
2731 (VEC_LEN): New macro.
2732 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2733 test-vec-loop.h.
2734 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2735 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2736 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2737 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2738 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2739 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2740 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2741
5ba4a6eb
RM
27422015-06-24 Roland McGrath <roland@hack.frob.com>
2743
2744 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2745 (__getlogin_r): ... this.
2746
a67894c5
JM
27472015-06-24 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #18594]
2750 * math/s_ccosh.c (__ccosh): Compare with least normal value
2751 instead of comparing class with FP_SUBNORMAL.
2752 * math/s_ccoshf.c (__ccoshf): Likewise.
2753 * math/s_ccoshl.c (__ccoshl): Likewise.
2754 * math/s_cexp.c (__cexp): Likewise.
2755 * math/s_cexpf.c (__cexpf): Likewise.
2756 * math/s_cexpl.c (__cexpl): Likewise.
2757 * math/s_csin.c (__csin): Likewise.
2758 * math/s_csinf.c (__csinf): Likewise.
2759 * math/s_csinh.c (__csinh): Likewise.
2760 * math/s_csinhf.c (__csinhf): Likewise.
2761 * math/s_csinhl.c (__csinhl): Likewise.
2762 * math/s_csinl.c (__csinl): Likewise.
2763 * math/s_ctan.c (__ctan): Likewise.
2764 * math/s_ctanf.c (__ctanf): Likewise.
2765 * math/s_ctanh.c (__ctanh): Likewise.
2766 * math/s_ctanhf.c (__ctanhf): Likewise.
2767 * math/s_ctanhl.c (__ctanhl): Likewise.
2768 * math/s_ctanl.c (__ctanl): Likewise.
2769 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2770 csin, csinh, ctan and ctanh.
2771 * math/auto-libm-test-out: Regenerated.
2772 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2775
01018690
RM
27762015-06-24 Roland McGrath <roland@hack.frob.com>
2777
2778 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2779 return value is wrong, print the expected value too.
2780
eea3dc5b
L
27812015-06-24 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 [BZ #18585]
2784 * elf/readlib.c (is_gdb_python_file): New.
2785 (process_file): Don't issue errors on filenames with -gdb.py
2786 suffix.
2787
8475ab16
JM
27882015-06-24 Joseph Myers <joseph@codesourcery.com>
2789
6f874bd4
JM
2790 * math/auto-libm-test-in: Add more tests of csin and csinh.
2791 * math/auto-libm-test-out: Regenerated.
2792 * math/libm-test.inc (csin_test_data): Remove tests moved to
2793 auto-libm-test-in.
2794 (csinh_test_data): Likewise.
2795
ac831b36
JM
2796 [BZ #18593]
2797 * math/s_csin.c (__csin): Negate before rather than after possibly
2798 overflowing multiplication.
2799 * math/s_csinf.c (__csinf): Likewise.
2800 * math/s_csinh.c (__csinh): Likewise.
2801 * math/s_csinhf.c (__csinhf): Likewise.
2802 * math/s_csinhl.c (__csinhl): Likewise.
2803 * math/s_csinl.c (__csinl): Likewise.
2804 * math/auto-libm-test-in: Add some tests of csin and csinh.
2805 * math/auto-libm-test-out: Regenerated.
2806 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2807 (csinh_test_data): Likewise.
2808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2809
8475ab16
JM
2810 [BZ #18586]
2811 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2812 underflow exception for small results.
2813
36870482
AS
28142015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
2815
2816 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
bd0a60f9
RM
2817 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2818 variable and included header.
36870482
AS
2819 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2820 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2821 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2822 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2823 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2824 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2825 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2826 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2827 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2828 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2829 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2830 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2831 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2832 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2833 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2834 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2835
8b1bab5f
JM
28362015-06-23 Joseph Myers <joseph@codesourcery.com>
2837
ad39cce0
JM
2838 [BZ #16526]
2839 [BZ #16538]
2840 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2841 (__sin): Force underflow exception for arguments with small
2842 absolute value.
2843 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2844 (__kernel_sinf): Force underflow exception for arguments with
2845 small absolute value.
2846 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2847 (__kernel_sincosl): Force underflow exception for arguments with
2848 small absolute value.
2849 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2850 (__kernel_sinl): Force underflow exception for arguments with
2851 small absolute value.
2852 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2853 (__kernel_sincosl): Force underflow exception for arguments with
2854 small absolute value.
2855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2856 (__kernel_sinl): Force underflow exception for arguments with
2857 small absolute value.
2858 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2859 (__kernel_sinl): Force underflow exception for arguments with
2860 small absolute value.
2861 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2862 (__kernel_sinf): Force underflow exception for arguments with
2863 small absolute value.
2864 * math/auto-libm-test-in: Add more tests of sin and sincos.
2865 * math/auto-libm-test-out: Regenerated.
2866
8b1bab5f
JM
2867 [BZ #18245]
2868 [BZ #18583]
2869 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2870 (__kernel_standard_l): Use feholdexcept and fesetenv around
2871 conversion to double instead of special-casing overflow and
2872 underflow.
2873 * math/libm-test.inc (fmod_test_data): Add more tests.
2874 (remainder_test_data): Likewise.
2875 (sqrt_test_data): Likewise.
2876
c47ca964
TR
28772015-06-23 Torvald Riegel <triegel@redhat.com>
2878
2879 [BZ #17403]
2880 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2881 atomic_read_barrier, atomic_write_barrier): Define.
2882 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2883 atomic_read_barrier, atomic_write_barrier): Define.
2884
b2faf4ea
JM
28852015-06-23 Joseph Myers <joseph@codesourcery.com>
2886
2887 * math/Makefile [$(PERL) != no]
2888 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2889 dependency on libm-test.stmp below the inclusion of Rules.
2890
5872b835
AS
28912015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
2892
2893 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2894 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2895 and included header.
2896 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2901 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2904 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2905 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2906 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2907 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2908 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2909 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2910 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2911 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2912 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2913 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2914 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2915
b5954957
JM
29162015-06-23 Joseph Myers <joseph@codesourcery.com>
2917
718d34a3
JM
2918 [BZ #18371]
2919 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2920 intermediate but not final result might underflow.
2921 * math/s_csqrtf.c (__csqrtf): Likewise.
2922 * math/s_csqrtl.c (__csqrtl): Likewise.
2923 * math/auto-libm-test-in: Add more tests of csqrt.
2924 * math/auto-libm-test-out: Regenerated.
2925 * sysdeps/i386/fpu/libm-test-ulps: Update.
2926
b5954957
JM
2927 [BZ #18219]
2928 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2929 threshold on absolute value of exponent for which scaling is used.
2930 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2931 * math/auto-libm-test-in: Add more tests of exp2.
2932 * math/auto-libm-test-out: Regenerated.
2933
47852c97
DL
29342015-06-23 Dmitry V. Levin <ldv@altlinux.org>
2935
b57525f1
DL
2936 [BZ #17977]
2937 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2938 when initializing interface list, based on the bug analysis
2939 and the patch proposed by Eric Newton.
2940 * resolv/tst-res_hconf_reorder.c: New test.
2941 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2942 tst-res_hconf_reorder.
2943 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2944 and $(shared-thread-library).
2945 (tst-res_hconf_reorder-ENV): New variable.
2946
47852c97
DL
2947 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2948 in comment.
2949
554edb23
JM
29502015-06-22 Joseph Myers <joseph@codesourcery.com>
2951
2952 [BZ #16353]
2953 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2954 (__expm1): Force underflow exception for arguments with small
2955 absolute value.
2956 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2957 (__expm1f): Force underflow exception for arguments with small
2958 absolute value.
2959 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2960 (__expm1): Force underflow exception for arguments with small
2961 absolute value.
2962 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2963 (__expm1f): Force underflow exception for arguments with small
2964 absolute value.
2965 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2966 Check for small arguments before calling __expm1.
2967 * math/auto-libm-test-in: Do not mark underflow exceptions as
2968 possibly missing for bug 16353.
2969 * math/auto-libm-test-out: Regenerated.
2970
6b142b3a
AS
29712015-06-22 Andreas Schwab <schwab@suse.de>
2972
2973 [BZ #18513]
2974 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2975 PTR queries.
2976
f48b6732
LH
29772015-06-22 Leonhard Holz <leonhard.holz@web.de>
2978
ef635a29
LH
2979 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2980
f48b6732
LH
2981 * string/strcoll_l.c: Remove unused struct element idxnow.
2982
7540cfc5
JM
29832015-06-21 Joseph Myers <joseph@codesourcery.com>
2984
cb0937b2
JM
2985 [BZ #18569]
2986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2987 underflow and return argument in case of subnormal argument.
2988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2989 Likewise.
2990 * math/auto-libm-test-in: Add more tests of expm1.
2991 * math/auto-libm-test-out: Regenerated.
2992
7540cfc5
JM
2993 [BZ #16361]
2994 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 2995 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
2996 tiny results.
2997 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 2998 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
2999 tiny results.
3000 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
3001 mark underflow exceptions as possibly missing for bug 16361.
3002 * math/auto-libm-test-out: Regenerated.
3003
5675961d
JM
30042015-06-19 Joseph Myers <joseph@codesourcery.com>
3005
d6cc0b4f
JM
3006 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3007 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3008 Remove variable.
3009 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3010 (test-xfail-XOPEN2K8/utmpx.h/conform).
3011
5675961d
JM
3012 * conform/conformtest.pl ($xerrors): New variable.
3013 (note_error): New function.
3014 (compiletest): New argument $xfail. Use not_error.
3015 (runtest): Likewise.
3016 (top level): Handle xfail- lines. Update calls to compiletest and
3017 runtest. Handle xfail- and optional- in headers listed with
3018 allow-header.
3019 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3020 (O_EXEC): Likewise.
3021 (O_SEARCH): Likewise.
3022 * conform/data/stropts.h-data (ioctl): Likewise.
3023 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3024 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3025 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3026 (msghdr.msg_controllen): Likewise.
3027 (cmsghdr.cmsg_len): Likewise.
3028 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3029 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3030 variable.
3031 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3032 (test-xfail-XPG4/stropts.h/conform): Likewise.
3033 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3034 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3035 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3036 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3037 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3038 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3039 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3040 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3041 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3042 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3043 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3044 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3045 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3046 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3047 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3048 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3049 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3050 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3051 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3052
c3424882
AS
30532015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
3054
3055 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3056 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3057 definitions for proper unfolding of __MATHDECL_VEC.
3058
2419de07
SL
30592015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3060
3061 * benchtests/bench-strcoll.c:
3062 Include string.h.
3063 (main): Remove unused variable res.
3064
86fe1874
SL
30652015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3066
3067 * timezone/Makefile (%/UTC %/Universal):
3068 Generate test-result files for UTC and Universal.
3069
52e96362
SL
30702015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3071
3072 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3073
d1ac55d8
JM
30742015-06-18 Joseph Myers <joseph@codesourcery.com>
3075
8db3cdef
JM
3076 [BZ #16350]
3077 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3078 for arguments with small absolute value.
3079 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3080 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3081 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3082 (__asinh): Force underflow exception for arguments with small
3083 absolute value.
3084 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3085 (__asinhf): Force underflow exception for arguments with small
3086 absolute value.
3087 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3088 (__asinhl): Force underflow exception for arguments with small
3089 absolute value.
3090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3091 (__asinhl): Force underflow exception for arguments with small
3092 absolute value.
3093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3094 (__asinhl): Force underflow exception for arguments with small
3095 absolute value.
3096 * math/auto-libm-test-in: Do not mark underflow exceptions as
3097 possibly missing for bug 16350.
3098 * math/auto-libm-test-out: Regenerated.
3099
a7a3c246
JM
3100 * include/bits/ipc.h: Remove file.
3101 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3102 variable.
3103 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3104 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3105 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3106 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3107 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3108 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3109 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3110 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3111 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3112
a1ee4fd1
JM
3113 * math/auto-libm-test-in: Remove spurious underflow allowance for
3114 tests of cexp.
3115 * math/auto-libm-test-out: Regenerated.
3116
d1ac55d8
JM
3117 [BZ #18558]
3118 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3119 unconditional definition.
3120 (MCAST_BLOCK_SOURCE): Likewise.
3121 (MCAST_UNBLOCK_SOURCE): Likewise.
3122 (MCAST_LEAVE_GROUP): Likewise.
3123 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3124 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3125 (MCAST_MSFILTER): Likewise.
3126 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3127 Remove variable.
3128 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3129 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3130 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3131 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3132 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3133
8aa92022
AS
31342015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
3135
a6336cc4
AS
3136 * NEWS: Mention addition of x86_64 vector sincosf.
3137 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3138 * math/test-float-vlen4.h: Likewise.
3139 * math/test-float-vlen8.h: Likewise.
3140 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3141 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3142 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3143 * sysdeps/x86_64/fpu/Versions: New versions added.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3145 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3146 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3147 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3148 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3149 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3150 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3151 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3152 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3153 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3154 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3155 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3156 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3157 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3158 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3159 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3160 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3161 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3162 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3163 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3164 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3165 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3166 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3167 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3168
c9a8c526
AS
3169 * NEWS: Mention addition of x86_64 vector sincos.
3170 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3171 * math/math.h (__MATHDECL_VEC): New macro.
3172 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3173 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3174 declaration under condition.
3175 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3176 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3177 TEST_VEC_LOOP change.
3178 * math/test-double-vlen4.h: Likewise.
3179 * math/test-double-vlen8.h: Likewise.
3180 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3181 * math/test-float-vlen4.h: Likewise.
3182 * math/test-float-vlen8.h: Likewise.
3183 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3184 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3185 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3186 * sysdeps/x86_64/fpu/Versions: New versions added.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3188 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3189 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3196 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3197 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3198 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3199 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3200 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3201 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3202 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3203 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3204 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3205 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3206 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3207 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3208 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3209 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3210 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3211
8aa92022
AS
3212 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3213 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3214 redirections for powf.
3215 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3216 * sysdeps/x86_64/fpu/Versions: New versions added.
3217 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3218 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3219 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3220 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3221 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3222 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3223 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3224 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3225 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3226 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3227 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3228 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3229 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3230 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3231 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3232 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3233 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3234 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3235 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3236 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3237 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3238 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3239 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3240 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3241 * math/test-float-vlen16.h: Fixed 2 argument macro.
3242 * math/test-float-vlen4.h: Likewise.
3243 * math/test-float-vlen8.h: Likewise.
3244 * NEWS: Mention addition of x86_64 vector powf.
3245
17c199ee
JM
32462015-06-17 Joseph Myers <joseph@codesourcery.com>
3247
2f318445
JM
3248 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3249 and redefine.
3250 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3251 and redefine.
3252 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3255
c3621351
JM
3256 [BZ #18553]
3257 * resource/getpriority.c (getpriority): Rename to __getpriority
3258 and define as weak alias of __getpriority.
3259 * resource/setpriority.c (setpriority): Rename to __setpriority
3260 and define as weak alias of __setpriority.
3261 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3262 __getpriority and define as weak alias of __getpriority.
3263 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3264 __setpriority and define as weak alias of __setpriority.
3265 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3266 strong name.
3267 (setpriority): Use __setpriority as strong name.
3268 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3269 __getpriority and define as weak alias of __getpriority.
3270 * include/sys/resource.h (__getpriority): Declare. Use
3271 libc_hidden_proto.
3272 (__setpriority): Likewise.
3273 (getpriority): Don't use libc_hidden_proto.
3274 (setpriority): Likewise.
3275 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3276 getpriority. Call __setpriority instead of setpriority.
3277 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3278 Remove variable.
3279
abccad04
JM
3280 [BZ #18547]
3281 * misc/getttyent.c (getttynam): Rename to __getttynam and define
3282 as weak alias of __getttynam. Use prototype function definition.
3283 Call __setttyent, __getttyent and __endttyent instead of
3284 setttyent, getttyent and endttyent.
3285 (getttyent): Rename to __getttyent and define as weak alias of
3286 __getttyent. Call __setttyent instead of setttyent. Call
3287 __fgets_unlocked instead of fgets_unlocked.
3288 (setttyent): Rename to __setttyent and define as weak alias of
3289 __setttyent.
3290 (endttyent): Rename to __endttyent and define as weak alias of
3291 __endttyent.
3292 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
3293 (__setttyent): Likewise.
3294 (__endttyent): Likewise.
3295 (getttyent): Don't use libc_hidden_proto.
3296 (setttyent): Likewise.
3297 (endttyent): Likewise.
3298 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3299 __endttyent instead of setttyent, getttyent and endttyent.
3300 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3301 Remove variable.
3302
0595c984
JM
3303 [BZ #18546]
3304 * socket/recv.c (__recv): Use libc_hidden_def.
3305 * socket/socket.c (__socket): Likewise.
3306 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3307 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3308 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3309 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3310 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3311 libc_hidden_def.
3312 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3313 libc_hidden_weak.
3314 * include/sys/socket.h (__socket): Do not use attribute_hidden.
3315 Use libc_hidden_proto.
3316 (__recv): Likewise.
3317 * socket/Versions (libc): Export __recv and __socket at version
3318 GLIBC_PRIVATE.
3319 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3320 instead of recv.
3321 (init_mq_netlink): Call __socket instead of socket.
3322 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3323 Remove variable.
3324
dfa2d214
JM
3325 [BZ #18545]
3326 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3327 __mq_timedreceive and define as alias of __mq_timedreceive. Use
3328 hidden_weak.
3329 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3330 define as alias of __mq_timedsend. Use hidden_weak.
3331 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3332 __mq_timedsend as strong name.
3333 (mq_timedreceive): Use __mq_timedreceive as strong name.
3334 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
3335 (__mq_timedreceive): Likewise.
3336 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3337 __mq_timedreceive instead of mq_timedreceive.
3338 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3339 instead of mq_timedsend.
3340 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3341 Remove variable.
3342
c21d37de
JM
3343 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3344 hidden_def and hidden_weak instead of libc_hidden_def and
3345 libc_hidden_weak.
3346 (top level): Refer to hidden_def in comment.
3347 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3348 macro. Use it instead of libc_hidden_def.
3349 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3350 specify __GI_* name explicitly.
3351 (mq_timedreceive): Likewise.
3352 (mq_setattr): Likewise.
3353
90dd5913
JM
3354 [BZ #18544]
3355 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3356 __pthread_barrier_init and define as weak alias of
3357 __pthread_barrier_init.
3358 * sysdeps/sparc/nptl/pthread_barrier_init.c
3359 (pthread_barrier_init): Likewise.
3360 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3361 __pthread_barrier_wait and define as weak alias of
3362 __pthread_barrier_wait.
3363 * sysdeps/sparc/nptl/pthread_barrier_wait.c
3364 (pthread_barrier_wait): Likewise.
3365 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3366 (pthread_barrier_wait): Likewise.
3367 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3368 (pthread_barrier_wait): Likewise.
3369 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3370 (pthread_barrier_wait): Likewise.
3371 * nptl/Versions (libpthread): Export __pthread_barrier_init and
3372 __pthread_barrier_wait at version GLIBC_PRIVATE.
3373 * include/pthread.h (__pthread_barrier_init): Declare.
3374 (__pthread_barrier_wait): Likewise.
3375 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3376 Call __pthread_barrier_wait instead of pthread_barrier_wait.
3377 (helper_thread): Likewise.
3378 (init_mq_netlink): Call __pthread_barrier_init instead of
3379 pthread_barrier_init.
3380
45dcd79f
JM
3381 [BZ #18542]
3382 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3383 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3384 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
3385 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3386 vswscanf.
3387 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3388 Remove variable.
3389
eb1fae6a
JM
3390 [BZ #18540]
3391 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3392 strong alias of _IO_fflush. Use libc_hidden_def.
3393 * libio/iofflush_u.c (fflush_unlocked): Rename to
3394 __fflush_unlocked and define as weak alias of __fflush_unlocked.
3395 Use libc_hidden_weak.
3396 * include/stdio.h (__fflush_unlocked): Declare. Use
3397 libc_hidden_proto.
3398 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3399 fflush_unlocked.
3400 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3401 Remove variable.
3402
68f1ba4b
JM
3403 [BZ #18539]
3404 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3405 define as weak alias of __addseverity.
3406 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3407 Remove variable.
3408 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3409 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3410 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3411
d051b143
JM
3412 [BZ #18536]
3413 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3414 (__tfind): Likewise.
3415 (__tdelete): Likewise.
3416 (__twalk): Likewise.
3417 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3418 __twalk to GLIBC_PRIVATE.
3419 * include/search.h (__tsearch): Use libc_hidden_proto.
3420 (__tfind): Likewise.
3421 (__tdelete): Likewise.
3422 (__twalk): Likewise.
3423 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3424 Call __tdelete instead of tdelete.
3425 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3426 tfind. Call __tsearch instead of tsearch.
3427 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3428 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3429 Remove variable.
3430 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3431
be7dc2b7
JM
3432 [BZ #18534]
3433 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3434 (dprintf): Define as a weak alias of __dprintf, not a strong
3435 alias.
3436 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
3437 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3438 dprintf.
3439 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3440 Remove variable.
3441 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3442 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3443
a97e5e25
JM
3444 [BZ #18533]
3445 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3446 not a strong alias.
3447 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3448 Remove variable.
3449
17c199ee
JM
3450 [BZ #18532]
3451 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3452 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
3453 (in6addr_loopback): Rename to __in6addr_loopback and define as
3454 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
3455 * include/netinet/in.h (__in6addr_loopback): Declare. Use
3456 libc_hidden_proto.
3457 (__in6addr_any): Likewise.
3458 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3459 in6addr_any.
3460 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3461 variable.
3462 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3463
6af25acc
AS
34642015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
3465
c10b9b13
AS
3466 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3467 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3468 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3469 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3470 redirections for pow.
3471 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3472 * sysdeps/x86_64/fpu/Versions: New versions added.
3473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3474 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3475 build of SSE, AVX2 and AVX512 IFUNC versions.
3476 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3477 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3478 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3481 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3482 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3483 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3484 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3485 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3486 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3487 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3488 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3489 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3490 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3491 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3492 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3493 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3494 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3495 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3496 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3497 * NEWS: Mention addition of x86_64 vector pow.
3498
1663be05
AS
3499 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3500 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3501 redirections for expf.
3502 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3503 * sysdeps/x86_64/fpu/Versions: New versions added.
3504 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3505 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3506 build of SSE, AVX2 and AVX512 IFUNC versions.
3507 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3508 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3509 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3510 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3511 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3512 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3513 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3514 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3515 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3516 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3517 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3518 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3519 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3520 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3521 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3522 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3523 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3524 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3525 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3526 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3527 * NEWS: Mention addition of x86_64 vector expf.
3528
9c02f663
AS
3529 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3530 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3531 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3532 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3533 redirections for exp.
3534 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3535 * sysdeps/x86_64/fpu/Versions: New versions added.
3536 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3537 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3538 build of SSE, AVX2 and AVX512 IFUNC versions.
3539 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3540 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3541 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3542 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3543 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3544 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3545 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3546 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3547 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3548 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3549 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3550 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3551 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3552 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3553 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3554 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3555 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3556 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3557 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3558 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3559 * NEWS: Mention addition of x86_64 vector exp.
3560
774488f8
AS
3561 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3562 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3563 redirections for logf.
3564 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3565 * sysdeps/x86_64/fpu/Versions: New versions added.
3566 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3567 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3568 build of SSE, AVX2 and AVX512 IFUNC versions.
3569 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3570 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3571 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3572 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3573 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3574 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3575 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3576 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3577 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3578 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3579 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3580 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3581 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3582 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3583 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3584 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3585 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3586 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3587 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3588 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3589 * NEWS: Mention addition of x86_64 vector logf.
3590
6af25acc
AS
3591 * bits/libm-simd-decl-stubs.h: Added stubs for log.
3592 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3593 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3594 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3595 redirections for log.
3596 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3597 * sysdeps/x86_64/fpu/Versions: New versions added.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3599 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3600 build of SSE, AVX2 and AVX512 IFUNC versions.
3601 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3602 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3603 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3604 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3605 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3606 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3607 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3608 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3609 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3610 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3611 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3612 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
bd0a60f9
RM
3613 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3614 test.
6af25acc
AS
3615 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3616 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3617 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3618 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3619 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3620 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3621 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3622 * NEWS: Mention addition of x86_64 vector log.
3623
08325735
SN
36242015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
3625
c71c89e5
SN
3626 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3627 cfi_adjust_cfa_offset argument.
3628 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3629 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3630
08325735
SN
3631 [BZ #18034]
3632 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3633 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3634 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3635 ordering using ldar.
3636 (_dl_tlsdesc_dynamic): Likewise.
3637 (_dl_tlsdesc_return_lazy): Likewise.
3638 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3639 relaxed atomics instead of volatile and synchronize with release store.
3640 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3641 volatile.
3642 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3643
2a8c2c7b
AS
36442015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
3645
3646 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3647 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3648 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3649 * sysdeps/x86_64/fpu/Versions: New versions added.
3650 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3651 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3652 build of SSE, AVX2 and AVX512 IFUNC versions.
3653 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3654 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3655 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3656 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3657 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3658 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3659 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3660 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3661 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3662 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3663 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3664 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3665 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3666 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3667 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3668 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3669 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3670 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3671 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3672 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3673 * NEWS: Mention addition of x86_64 vector sinf.
3674
bf143578
JM
36752015-06-14 Joseph Myers <joseph@codesourcery.com>
3676
3677 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3678 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3679 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3680 Remove variable.
3681 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3682 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3683
5371d99e
JM
36842015-06-12 Joseph Myers <joseph@codesourcery.com>
3685
3164bf09
JM
3686 [BZ #18530]
3687 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3688 strong alias of _IO_fputs. Use libc_hidden_def.
3689 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3690 and define as weak alias of __fputs_unlocked. Use
3691 libc_hidden_weak.
3692 * include/stdio.h (__fputs_unlocked): Declare. Use
3693 libc_hidden_proto.
3694 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3695 fputs_unlocked.
3696
8737be80
JM
3697 [BZ #18529]
3698 * resolv/netdb.h [__USE_POSIX]: Change condition to
3699 [__USE_XOPEN2K].
3700 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3701 not expect.
3702 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3703 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3704 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3705 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3706 [XPG4 || UNIX98] (AI_ALL): Likewise.
3707 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3708 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3709 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3710 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3711 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3712 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3713 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3714 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3715 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3716 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3717 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3718 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3719 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3720 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3721 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3722 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3723 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3724 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3725 [XPG4 || UNIX98] (gai_strerror): Likewise.
3726 [XPG4 || UNIX98] (getaddrinfo): Likewise.
3727 [XPG4 || UNIX98] (getnameinfo): Likewise.
3728
b400fdef
JM
3729 [BZ #18528]
3730 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3731 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3732 __USE_XOPEN2K8].
3733 (getgrent): Likewise.
3734 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3735 expect.
3736 [XPG3 || POSIX2008] (endgrent): Likewise.
3737 [XPG3] (setgrent): Likewise.
3738 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3739 variable.
3740 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3741
5371d99e
JM
3742 [BZ #18527]
3743 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3744 define as weak alias of __getlogin_r. Use libc_hidden_weak.
3745 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3746 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3747 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3748 * include/unistd.h (__getlogin_r): Declare. Use
3749 libc_hidden_proto.
3750 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3751 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3752 variable.
3753 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3754 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3755 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3756
a82a3db9
MS
37572015-06-12 Martin Sebor <msebor@redhat.com>
3758
3759 [BZ #18512]
3760 * Makerules (check-install-supported): New target.
3761 (install): Add check-install-supported as a dependency.
3762 * manual/install.texi (Installing the C Library): Document
3763 that overriding prefix and exec_prefix is not supported.
3764 Mention DESTDIR.
3765 * INSTALL: Regenerate from the above.
3766
9acacaa0
JM
37672015-06-12 Joseph Myers <joseph@codesourcery.com>
3768
9714012c
JM
3769 [BZ #18519]
3770 * posix/Versions (libc): Export __libc_pread at version
3771 GLIBC_PRIVATE.
3772 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3773 instead of pread.
3774 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3775 variable.
3776
498c1f6a
JM
3777 [BZ #18522]
3778 * misc/efgcvt_r.c
3779 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3780 (cvt_symbol): Use weak_alias instead of strong_alias.
3781 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3782 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3783 Remove variable.
3784 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3785 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3786
9acacaa0
JM
3787 [BZ #18520]
3788 * inet/herrno.c (h_errno): Rename to __h_errno.
3789 (__libc_h_errno): Define as alias of __h_errno not h_errno.
3790 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3791 to __h_errno instead of h_errno.
3792 * nptl/herrno.c (h_errno): Rename to __h_errno.
3793 (__h_errno_location): Refer to __h_errno not h_errno.
3794 * resolv/Versions (h_errno): Rename to __h_errno.
3795 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3796 Remove variable.
3797 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3798
0724d898
AS
37992015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
3800
3801 * configure.ac: More strict check for AVX512 assembler support.
3802 * configure: Regenerated.
3803
4b9c2b70
AS
3804 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3805 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3806 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3807 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3808 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3809 * sysdeps/x86_64/fpu/Versions: New versions added.
3810 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
bd0a60f9
RM
3811 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3812 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4b9c2b70
AS
3813 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3814 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3816 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3817 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3818 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3819 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3820 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3821 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3822 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3823 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3824 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
bd0a60f9
RM
3825 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3826 test.
4b9c2b70
AS
3827 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3828 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3829 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3830 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3831 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3832 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3833 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3834 * NEWS: Mention addition of x86_64 vector sin.
3835
1477b383
FW
38362015-06-11 Florian Weimer <fweimer@redhat.com>
3837
3838 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3839 comment.
3840
78ad175b
GFM
38412015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3842
3843 [BZ #18479]
3844 * nptl/pt-interp.c: New file.
3845 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3846 Add pt-interp.
3847 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3848 $(common-objpfx)runtime-linker.h.
3849
ac63a078
DL
38502015-06-10 Dmitry V. Levin <ldv@altlinux.org>
3851
3852 * Makeconfig (+interp): Remove unused variable.
3853 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3854 only. Depend on $(common-objpfx)runtime-linker.h instead of
3855 $(elf-objpfx)runtime-linker.h.
3856 ($(elf-objpfx)runtime-linker.h): Rename to
3857 $(common-objpfx)runtime-linker.h and move ...
3858 * Makerules [$(build-shared) = yes]: ... here.
3859 * elf/interp.c: Include <runtime-linker.h> instead of
3860 <elf/runtime-linker.h>.
3861
7cbeabac
AZ
38622015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3863
3864 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3865 (__gettimeofday_syscall): Remove vsyscall fallback.
3866 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3867 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3868 Add syscall fallback function.
3869 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3870 if vDSO is not present.
3871 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3872 fallback function.
3873 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3874 present.
3875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3876 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3877
d3ab671c
JM
38782015-06-09 Joseph Myers <joseph@codesourcery.com>
3879
2f44ee08
JM
3880 [BZ #18497]
3881 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3882 of wcscmp.
3883 (wcscmp): Define as weak alias of WCSCMP.
3884 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3885 wcscoll.
3886 (USE_HIDDEN_DEF): Define.
3887 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3888 __wcscoll. Don't use libc_hidden_weak.
3889 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3890 wcscmp.
3891 * sysdeps/i386/i686/multiarch/wcscmp-c.c
3892 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3893 __GI_wcscmp.
3894 (weak_alias): Undefine and redefine.
3895 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3896 __wcscmp and define as weak alias of __wcscmp.
3897 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3898 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
3899 (__wcscoll): Likewise.
3900 (wcscmp): Don't use libc_hidden_proto.
3901 (wcscoll): Likewise.
3902 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3903 wcscoll.
3904 * posix/regexec.c (check_node_accept_bytes): Likewise.
3905 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3906 variable.
3907 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3908 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3909
d3ab671c
JM
3910 [BZ #18507]
3911 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3912 __fstatvfs and define as weak alias of __fstatvfs. Use
3913 libc_hidden_weak.
3914 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3915 and define as weak alias of __statvfs. Use libc_hidden_weak.
3916 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3917 Define as alias of __fstatvfs, not fstatvfs.
3918 (fstatvfs64): Likewise.
3919 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3920 Define as alias of __statvfs, not statvfs.
3921 (statvfs64): Likewise.
3922 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3923 Remove variable.
3924
dd26c444
AZ
39252015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3926
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3928 (HAVE_GETCPU_VSYSCALL): Define.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3930 (HAVE_GETCPU_VSYSCALL): Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3932 * sysdeps/unix/sysv/linux/sched_getcpu.c
3933 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3934 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3935 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3936 prototype.
3937 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3938 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3941 Define.
3942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3943 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3946
21933112
AS
39472015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
3948
3949 * sysdeps/x86_64/fpu/Makefile: New file.
3950 * sysdeps/x86_64/fpu/Versions: New file.
3951 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3952 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3953 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3954 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3955 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3956 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3957 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3958 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3959 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3961 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
bd0a60f9
RM
3964 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3965 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21933112
AS
3966 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3967 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3968 * sysdeps/x86_64/configure.ac: Options for libmvec build.
3969 * sysdeps/x86_64/configure: Regenerated.
3970 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3971 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3972 * manual/install.texi (Configuring and compiling): Document
3973 --disable-mathvec.
3974 * INSTALL: Regenerated.
3975 * NEWS: Mention addition of libmvec and x86_64 vector cos.
3976
24a2718f
AS
3977 * math/Makefile: Added rules for vector tests.
3978 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3979 declaration under condition.
3980 * math/test-double-vlen2.h: New file.
3981 * math/test-double-vlen4.h: New file.
3982 * math/test-double-vlen8.h: New file.
3983 * math/test-vec-loop.h: Added initialization macro.
3984 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3986 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3987 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3988 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3989 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3990 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3991 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3992 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3993 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3994 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3995
04f496d6
AS
3996 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3997 * sysdeps/x86_64/fpu/Versions: New versions added.
3998 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3999 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4000 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4001 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4002 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4003 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4004 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4005 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4006 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4007 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4008 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4009 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4010 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
bd0a60f9
RM
4011 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4012 Added build of SSE, AVX2 and AVX512 IFUNC versions.
04f496d6
AS
4013 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4014 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4015 * NEWS: Mention addition of x86_64 vector cosf.
4016
2a523216
AS
4017 * math/Makefile: Added CFLAGS for new tests.
4018 * math/test-float-vlen16.h: New file.
4019 * math/test-float-vlen4.h: New file.
4020 * math/test-float-vlen8.h: New file.
4021 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4022 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4024 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4025 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4026 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4027 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4028 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4029 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4030 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4031 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4032
fc5771e4
MM
40332015-06-09 Marko Myllynen <myllynen@redhat.com>
4034
4035 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4036 * locale/programs/ld-ctype.c: Likewise.
4037
5fe2a126
AS
40382015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
4039
4040 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4041 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4042 bit_ZMM16_31_state): New macro.
4043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4044 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4045
3ac3ff32
JM
40462015-06-08 Joseph Myers <joseph@codesourcery.com>
4047
4048 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4049
5b5ee4d9
ST
40502015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
4051
4052 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4053
9dd6b779
JM
40542015-06-05 Joseph Myers <joseph@codesourcery.com>
4055
711f67a7
JM
4056 [BZ #18498]
4057 * libio/memstream.c (open_memstream): Rename to __open_memstream
4058 and define as weak alias of __open_memstream.
4059 * include/stdio.h (__open_memstream): Declare. Use
4060 libc_hidden_proto.
4061 (open_memstream): Don't use libc_hidden_proto.
4062 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4063 open_memstream.
4064 * posix/getopt.c (_getopt_internal_r): Likewise.
4065 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4066 variable.
4067 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4068 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4069 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4070
a5f0adb3
JM
4071 [BZ #18496]
4072 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4073 instead of wcrtomb.
4074
007f2dd1
JM
4075 [BZ #18483]
4076 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4077 [__USE_XOPEN2K8]. Remove redundant #endif.
4078 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4079 Remove redundant #if.
4080 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4081 Remove variable.
4082 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4083 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4084
9dd6b779
JM
4085 [BZ #18495]
4086 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4087 (__iswlower): Likewise.
4088 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
4089 (__iswlower): Likewise.
4090 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4091 instead of towlower.
4092 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4093 instead of iswlower. Call __towupper instead of towupper.
4094 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4095 instead of iswalnum.
4096
02242448
TMQMF
40972015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4098
4099 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4100 errors to stderr.
4101
7fe9e2e0
FW
41022015-06-05 Florian Weimer <fweimer@redhat.com>
4103
4104 [BZ #15661]
a330baa0 4105 [BZ #17322]
7fe9e2e0
FW
4106 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4107 Check for overflow properly. Check for O_APPEND. Ignore large
4108 file system block sizes. Add comments about problems.
4109 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4110 * manual/filesys.texi (Storage Allocation): New node.
4111
c6bb095e
AZ
41122015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4113
4114 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4115 cancellable syscalls.
4116 (SYS_ify): Add guard to no redefine it.
4117 (INLINE_SYSCALL): Likewise.
4118 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4119 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4120 SYSCALL_CANCEL instead.
4121 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4122 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4123 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4124 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4125 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4126 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4127 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4128 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4129 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4130 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4131 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4132 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4133 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4134 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4135 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4137 Likewise.
4138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4139 (__libc_pread64): Likewise.
4140 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4141 (__libc_preadv): Likewise.
4142 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4143 (__libc_readv64): Likewise.
4144 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4145 (__libc_pwrite): Likewise.
4146 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4147 (__libc_pwrite64): Likewise.
4148 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4149 (__libc_pwritev): Likewise.
4150 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4151 (__libc_pwritev64): Likewise.
4152 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4153 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4154 (sync_file_range): Likewise.
4155 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4156 Likewise.
4157 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4158 Likewise.
4159 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4160 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4161 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4162 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4163 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4164 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4165 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4166 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4168 Likewise.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4170 (__libc_read64): Likewise.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4172 Likewise.
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4174 Likewise.
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4176 Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4178 Likewise.
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4180 (__libc_pread64): Likewise.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4182 Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4184 (__libc_pwrite64): Likewise.
4185 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4186 (sync_file_range): Likewise.
4187 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4188 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4189 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4190 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4191 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4192 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4193 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4194 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4195 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4196 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4197 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4198 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4199 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4200 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4201 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4202 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4203 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4204 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4205 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4210 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4211 Likewise.
4212 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4213 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4214 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4215 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4216 Likewise.
4217 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4218 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4219 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4220 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4221 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4222
b65d3e5f
NL
42232015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
4224
4225 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4226 Include dl-vdso.
4227 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4228 Use VDSO routines for gettimeofday, clock_gettime if
4229 available.
4230 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4231 Declare VDSO symbols.
4232 * sysdeps/unix/sysv/linux/arm/sysdep.h:
4233 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4234 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4235 * sysdeps/unix/sysv/linux/arm/Versions: Add
4236 __vdso_clock_gettime.
4237
34caaafd
AZ
42382015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4239
4240 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4241 be an inline implementation regardless of library is built within.
4242 (open_not_cancel_2): Likewise.
4243 (__read_nocancel): Likewise.
4244 (__write_nocancel): Likewise.
4245 (openat_not_cancel): Likewise.
4246 (openat_not_cancel_3): Likewise.
4247 (openat64_not_cancel): Likewise.
4248 (openat64_not_cancel_3): Likewise.
4249 (__close_nocancel): Likewise.
4250 (pause_not_cancel): Likewise.
4251 (nanosleep_not_cancel): Likewise.
4252 (sigsuspend_not_cancel): Likewise.
4253
b634486d
TR
42542015-06-04 Torvald Riegel <triegel@redhat.com>
4255
4256 [BZ #14958]
4257 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4258 wake-up.
4259 (__pthread_rwlock_rdlock_slow): Likewise.
4260 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4261 Likewise.
4262 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4263 Likewise.
4264 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4265 * nptl/tst-rwlock16.c: New file.
4266 * nptl/Makefile (tests): Add new test.
4267
3c9c61fe
TR
42682015-06-04 Torvald Riegel <triegel@redhat.com>
4269
4270 [BZ #18324]
4271 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4272 missing wake-up of readers.
4273 * nptl/tst-rwlock15.c: New file.
4274 * nptl/Makefile (tests): Add new test.
4275
da7f049c
RM
42762015-06-03 Roland McGrath <roland@hack.frob.com>
4277
4278 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4279 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4280 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4281 and __nacl_supply_interface_rtld.
4282 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4283 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4284 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4285 Add __nacl_supply_interface_rtld.
4286 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4287
cbf377ed
WD
42882015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
4289
4290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4291 isfinite.
4292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4293 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4294
d81f90cc
WD
42952015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
4296
4297 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4298 __signbit* with standard C99 macros.
4299 * math/e_exp10l.c: Likewise.
4300 * math/e_exp2l.c: Likewise.
4301 * math/e_scalb.c: Likewise.
4302 * math/e_scalbf.c: Likewise.
4303 * math/e_scalbl.c: Likewise.
4304 * math/s_ldexp.c: Likewise.
4305 * math/s_ldexpf.c: Likewise.
4306 * math/s_ldexpl.c: Likewise.
4307 * math/w_atan2.c: Likewise.
4308 * math/w_atan2f.c: Likewise.
4309 * math/w_atan2l.c: Likewise.
4310 * math/w_cosh.c: Likewise.
4311 * math/w_coshf.c: Likewise.
4312 * math/w_coshl.c: Likewise.
4313 * math/w_exp10.c: Likewise.
4314 * math/w_exp10f.c: Likewise.
4315 * math/w_exp10l.c: Likewise.
4316 * math/w_exp2.c: Likewise.
4317 * math/w_exp2f.c: Likewise.
4318 * math/w_exp2l.c: Likewise.
4319 * math/w_fmod.c: Likewise.
4320 * math/w_fmodf.c: Likewise.
4321 * math/w_fmodl.c: Likewise.
4322 * math/w_hypot.c: Likewise.
4323 * math/w_hypotf.c: Likewise.
4324 * math/w_hypotl.c: Likewise.
4325 * math/w_jnl.c: Likewise.
4326 * math/w_lgamma.c: Likewise.
4327 * math/w_lgamma_r.c: Likewise.
4328 * math/w_lgammaf.c: Likewise.
4329 * math/w_lgammaf_r.c: Likewise.
4330 * math/w_lgammal.c: Likewise.
4331 * math/w_lgammal_r.c: Likewise.
4332 * math/w_pow.c: Likewise.
4333 * math/w_powf.c: Likewise.
4334 * math/w_powl.c: Likewise.
4335 * math/w_remainder.c: Likewise.
4336 * math/w_remainderf.c: Likewise.
4337 * math/w_remainderl.c: Likewise.
4338 * math/w_scalb.c: Likewise.
4339 * math/w_scalbf.c: Likewise.
4340 * math/w_scalbl.c: Likewise.
4341 * math/w_scalbln.c: Likewise.
4342 * math/w_scalblnf.c: Likewise.
4343 * math/w_scalblnl.c: Likewise.
4344 * math/w_sinh.c: Likewise.
4345 * math/w_sinhf.c: Likewise.
4346 * math/w_sinhl.c: Likewise.
4347 * math/w_tgamma.c: Likewise.
4348 * math/w_tgammaf.c: Likewise.
4349 * math/w_tgammal.c: Likewise.
4350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4351 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4352 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4356 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4381 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4382 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4383 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4384 * stdio-common/printf_fp.c: Likewise.
4385 * stdio-common/printf_fphex.c: Likewise.
4386 * stdio-common/printf_size.c: Likewise.
4387
aca6ea65
JM
43882015-06-03 Joseph Myers <joseph@codesourcery.com>
4389
f014e87e
JM
4390 [BZ #18470]
4391 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4392 strnlen.
4393 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4394 Remove variable.
4395 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4396 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4397 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4398 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4399 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4400 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4401 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4402 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4403 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4404 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4405
aca6ea65
JM
4406 [BZ #18468]
4407 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4408 weak alias of __wmemchr. Use libc_hidden_weak.
4409 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
4410 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4411 instead of wmemchr.
4412
1a1a6bde
RM
44132015-06-02 Roland McGrath <roland@hack.frob.com>
4414
4415 [BZ #18383]
4416 * elf/tst-tlsalign-extern.c: New file.
4417 * elf/tst-tlsalign-extern-static.c: New file.
4418 * elf/tst-tlsalign-vars.c: New file.
4419 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4420 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4421 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4422 ($(objpfx)tst-tlsalign-extern-static): Likewise.
4423 (test-xfail-tst-tlsalign-extern-static): New variable.
4424
bb4acb52
JM
44252015-06-02 Joseph Myers <joseph@codesourcery.com>
4426
e0c349b4
JM
4427 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4428 Use variable name _sc_err instead of err.
4429 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4430 instead of ret.
4431 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4432 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4433 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4434 (INLINE_SYSCALL): Likewise.
4435
17696087
JM
4436 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4437 * include/string.h (__strnlen): Use libc_hidden_proto.
4438 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4439 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4440 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4441 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4442 (libc_hidden_def): Undefine and redefine.
4443 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4444 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4445 __GI_strnlen.
4446 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4447 libc_hidden_def.
4448 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4449
bb4acb52
JM
4450 [BZ #18469]
4451 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4452 weak alias of __towlower. Use libc_hidden_weak.
4453 (towupper): Rename to __towupper and define as weak alias of
4454 __towupper. Use libc_hidden_weak.
4455 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
4456 (__towupper): Likewise.
4457 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4458 __towlower instead of towlower.
4459
6cfae52e
RM
44602015-06-02 Roland McGrath <roland@hack.frob.com>
4461
4462 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4463 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4464
71bf272d
WD
44652015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4466
4467 * sysdeps/aarch64/libm-test-ulps: Update.
4468
1395ef21
AZ
44692015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4470
4471 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4472 Define.
4473 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4475 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4476 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4477 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4478 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4479 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4480
44c92499 44812015-06-01 Martin Sebor <msebor@redhat.com>
db8fed87
MS
4482
4483 [BZ #18116]
44c92499
AZ
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4485 (__setcontext): Use extended four-operand version of mtsf whenever
db8fed87 4486 possible.
44c92499
AZ
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4488 (__novec_swapcontext): Likewise.
db8fed87 4489
0994b9b6
SP
44902015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
0cd28286
SP
4492 * benchtests/scripts/compare_bench.py: New file.
4493 * benchtests/scripts/import_bench.py (mean): New function.
4494 (split_list): Likewise.
4495 (do_for_all_timings): Likewise.
4496 (compress_timings): Likewise.
4497
0994b9b6
SP
4498 * benchtests/scripts/import_bench.py: New file.
4499 * benchtests/scripts/validate_benchout.py: Import import_bench
4500 instead of jsonschema.
4501 (validate_bench): Remove function.
4502 (main): Use import_bench.
4503
2483fa85
SE
45042015-06-01 Steve Ellcey <sellcey@imgtec.com>
4505
4506 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4507 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4508
fd57d826
AZ
45092015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4510
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512
f2175470
RM
45132015-05-28 Roland McGrath <roland@hack.frob.com>
4514
3ed01512
RM
4515 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4516 set THREAD_SELF->tid to a magic value and futex-wake it.
4517 Pass its address to the thread_exit system call.
4518 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4519 bit is clear.
4520 * sysdeps/nacl/lowlevellock.h: New file.
4521 * sysdeps/nacl/lll_timedwait_tid.c: New file.
4522
f2175470
RM
4523 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4524 Add TIMEOUT to current time, don't subtract it.
4525
58007e9e
L
45262015-05-28 H.J. Lu <hongjiu.lu@intel.com>
4527
3df5cd98 4528 [BZ #2981]
58007e9e
L
4529 [BZ #18422]
4530 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4531 ($(objpfx)tst-audit2.out): Also depend on
4532 $(objpfx)tst-auditmod9b.so.
4533 * elf/tst-audit2.c: Include <dlfcn.h>.
4534 (calloc_called): New.
4535 (calloc): Allow to be called more than once.
4536 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4537
be2e25bb
WD
45382015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
4539
4540 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4541 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4542
d28311a1
MM
45432015-05-27 Marko Myllynen <myllynen@redhat.com>
4544
4545 * stdlib/monetary.h: Fix comment.
4546
18270599
CM
45472015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
4548
4549 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4550 Avoid using variables in #defines that might cause shadowing.
4551 (INTERNAL_VSYSCALL_CALL): Likewise.
4552
68c97aef
RM
45532015-05-26 Roland McGrath <roland@hack.frob.com>
4554
1f3a37b1
RM
4555 * sysdeps/nacl/lll_timedlock_wait.c: New file.
4556
68c97aef
RM
4557 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4558 * nptl/lll_timedlock_wait.c: ... to this new file.
4559 * nptl/Makefile (libpthread-routines): Add it.
4560 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4561 * nptl/lll_timedwait_tid.c: ... to this new file.
4562 * nptl/Makefile (libpthread-routines): Add it.
4563 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4564 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4565 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4566 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4567 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4568 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4569 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4570 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4571 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4572 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4573
97554e43
AZ
45742015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4575
4576 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4577 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4578 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4580 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4582 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4584 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4585 * sysdeps/unix/sysv/linux/tile/sysdep.h
4586 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4587 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4588 using vDSO syscall macro.
4589
6afb9c01
AR
45902015-05-26 Andriy Rysin <arysin@gmail.com>
4591
4592 [BZ #17293]
4593 * uk_UA: Fix sorting order for Ukrainian locale
4594
f09b8615
SP
45952015-05-26 Marko Myllynen <myllynen@redhat.com>
4596
4597 * stdlib/monetary.h: Fix comment.
4598
a06b40cd
SN
45992015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4600
4601 [BZ #18234]
4602 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4603 st_mtim and st_ctim members.
4604 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4605 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4606 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4607 (struct stat64): Likewise.
4608 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4609 (struct stat64): Likewise.
4610 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4611 (struct stat64): Likewise.
4612
f534255e
AZ
46132015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4614
4615 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4616 Define and include sysdep-vdso.h.
4617 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4618 Likewise.
4619 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4620 Likewise.
4621 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4622 Define with VDSO_SYMBOL and use PTR_MANGLE.
4623 (__vdso_clock_gettime): Likewise.
4624 (__vdso_clock_getres): Likewise.
4625 (_libc_vdso_platform_setup): Likewise.
4626 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4627 Likewise.
4628 (_libc_vdso_platform_setup): Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4630 Likewise.
4631 (__vdso_clock_gettime): Likewise.
4632 (__vdso_clock_getres): Likewise.
4633 (__vdso_get_tbfreq): Likewise.
4634 (__vdso_getcpu): Likewise.
4635 (__vdso_time): Likewise.
4636 (__vdso_sigtramp_rt64): Likewise.
4637 (__vdso_signtramp32): Likewise.
4638 (__vdso_sigtramp_rt32): Likewise.
4639 (_libc_vdso_platform_setup): Likewise.
4640 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4641 Likewise.
4642 (__vdso_clock_gettime): Likewise.
4643 (__vdso_clock_getres): Likewise.
4644 (_libc_vdso_platform_setup): Likewise.
4645 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4646 Likewise.
4647 (__vdso_clock_gettime): Likewise.
4648 (_libc_vdso_platform_setup): Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4650 Likewise.
4651 (__vdso_getcpu): Likewise.
4652 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4653 Use VDSO_SYMBOL macro to define.
4654 (__vdso_clock_gettime): Likewise.
4655 (__vdso_clock_getres): Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4657 Likewise.
4658 (__vdso_clock_gettime): Likewise.
4659 (__vdso_clock_getres): Likewise.
4660 (__vdso_get_tbfreq): Likewise.
4661 (__vdso_getcpu): Likewise.
4662 (__vdso_time): Likewise.
4663 (__vdso_sigtramp_rt64): Likewise.
4664 (__vdso_signtramp32): Likewise.
4665 (__vdso_sigtramp_rt32): Likewise.
4666 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4667 Likewise.
4668 (__vdso_clock_gettime): Likewise.
4669 (__vdso_clock_getres): Likewise.
4670 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4671 Likewise.
4672 (__vdso_clock_gettime): Likewise.
4673 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4674 Likewise.
4675 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
4676 macro.
4677 (INTERNAL_VSYSCALL): Likewise.
4678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4679 Remove macro.
4680 (INTERNAL_VSYSCALL): Likewise.
4681 (INTERNAL_VSYSCALL_NCS): Likewise.
4682 (INTERNAL_VSYSCALL_CALL): New macro.
4683 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4685 Likewise.
4686 (INTERNAL_VSYSCALL): Likewise.
4687 (INTERNAL_VSYSCALL_NCS): Likewise.
4688 (INTERNAL_VSYSCALL_CALL): New macro.
4689 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4691 (INLINE_VSYSCALL): Remove macro.
4692 (INTERNAL_VSYSCALL): Remove macro.
4693 (INTERNAL_VSYSCALL_NCS): Remove macro.
4694 (INTERNAL_VSYSCALL_CALL): New macro.
4695 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4696 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4697 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4698 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4699 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4701 (INLINE_VSYSCALL): Remove macro.
4702 (INTERNAL_VSYSCALL): Likewise.
4703 (INTERNAL_VSYSCALL_NCS): Likewise.
4704 (INTERNAL_VSYSCALL_CALL): New macro.
4705 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4706 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4707 PTR_DEMANGLE on vDSO pointer.
4708 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4709 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4710 macro.
4711 (INTERNAL_SYSCALL): Likewise.
4712 (INTERNAL_VSYSCALL_NCS): Remove macro.
4713 (INTERNAL_VSYSCALL_CALL): New macro.
4714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4715 Remove macro.
4716 (INTERNAL_VSYSCALL): Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4718 sysdep-vdso.h instead of libc-vdso.h.
4719 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4720 definition.
4721 (INLINE_VSYSCALL): Likewise.
4722 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4723 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4724 definition.
4725 (INLINE_VSYSCALL): Likewise.
4726 (INTERNAL_VSYSCALL): Likewise.
4727 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4728 * sysdeps/unix/sysv/linux/timespec_get.c
4729 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4730 (timespec_get): Use ANSI prototype.
4731 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4732 and definition for Linux.
4733
829a679f
AS
47342015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
4735
4736 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4737 * include/libc-symbols.h: libmvec_hidden_* macro series added.
4738
3e058c9d
L
47392015-05-22 H.J. Lu <hongjiu.lu@intel.com>
4740
3df5cd98 4741 [BZ #2981]
3e058c9d
L
4742 [BZ #18410]
4743 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4744 for missing DT_PLTRELSZ.
4745
333e1ba4
PE
47462015-05-22 Paul Eggert <eggert@cs.ucla.edu>
4747
4748 Remove obsolete aliases that broke 'locale -a'
4749 [BZ #18412]
4750 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4751 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4752 breaking some applications that use 'locale -a' output.
4753 Change the encoding of this file from Latin-1 to ASCII to avoid
4754 other potential problems with people grepping this file.
4755
60dce8b9
AZ
47562015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4757
4758 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4759 -fasynchronous-unwind-tables.
4760 (CFLAGS-sendto.c): Likewise.
4761 (CFLAGS-sendmsg.c): Likewise.
4762 (CFLAGS-connect.c): Likewise.
4763 (CFLAGS-recvmsg.c): Likewise.
4764 (CFLAGS-recvfrom.c): Likewise.
4765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4766 (SOCKETCALL): New macro: non-cancellable socketcall.
4767 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4768 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4769 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4770 * sysdeps/unix/sysv/linux/accept.c: New file.
4771 * sysdeps/unix/sysv/linux/bind.c: Likewise.
4772 * sysdeps/unix/sysv/linux/connect.c: Likewise.
4773 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4774 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4775 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4776 * sysdeps/unix/sysv/linux/listen.c: Likewise.
4777 * sysdeps/unix/sysv/linux/recv.c: Likewise.
4778 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4779 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4780 * sysdeps/unix/sysv/linux/send.c: Likewise.
4781 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4782 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4783 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4784 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4785 * sysdeps/unix/sysv/linux/socket.c: Likewise.
4786 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4787 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4788 prototype.
4789 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4790 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4791 instead of __internal_xxx function.
4792 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4793 prototype.
4794 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4795 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4796 instead of __internal_xxx function.
4797 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4798 prototype.
4799 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4800 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4801 instead of __internal_xxx function.
4802 * sysdeps/unix/sysv/linux/accept.S: Remove file.
4803 * sysdeps/unix/sysv/linux/bind.S: Likewise.
4804 * sysdeps/unix/sysv/linux/connect.S: Likewise.
4805 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4806 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4807 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4808 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4809 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4810 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4812 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4813 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4814 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4815 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4816 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4817 * sysdeps/unix/sysv/linux/listen.S: Likewise.
4818 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4819 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4820 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4821 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4824 * sysdeps/unix/sysv/linux/recv.S: Likewise.
4825 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4826 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4827 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4828 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4829 * sysdeps/unix/sysv/linux/send.S: Likewise.
4830 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4831 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4832 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4833 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4834 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4835 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4836 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4838 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4839 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4840 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4841 socketcall is implemented in GLIBC.
4842
fded7ed6
JM
48432015-05-22 Joseph Myers <joseph@codesourcery.com>
4844
dc6b5aed
JM
4845 * soft-fp/fmadf4.c: Include <libc-internal.h>.
4846 (__fma): Ignore uninitialized warnings around packing.
4847 * soft-fp/fmasf4.c: Include <libc-internal.h>.
4848 (__fmaf): Ignore uninitialized warnings around packing.
4849 * soft-fp/fmatf4.c: Include <libc-internal.h>.
4850 (__fmal): Ignore uninitialized warnings around packing.
4851
0c3717e7
JM
4852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4853 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4855 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4856
31a8780d
JM
4857 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4858 switch statement into default case.
4859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4860
fded7ed6
JM
4861 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4862 a conditional in forcing "inexact".
4863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4864 Likewise.
4865
992328e5
RM
48662015-05-22 Roland McGrath <roland@hack.frob.com>
4867
4868 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4869 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4870 for each INTERNAL_SYSCALL use.
4871
cf06a4e3
JM
48722015-05-22 Joseph Myers <joseph@codesourcery.com>
4873
4e5f9259
JM
4874 [BZ #438]
4875 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4876 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4877 variable.
4878
cf06a4e3
JM
4879 [BZ #18444]
4880 * string/basename.c (basename): Rename to __basename and define as
4881 weak alias of __basename. Use libc_hidden_weak.
4882 * include/string.h (__basename): Declare. Use libc_hidden_proto.
4883 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4884 __basename instead of basename.
4885 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4886 Remove variable.
4887 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4888
e69dcccb
FW
48892015-05-18 Florian Weimer <fweimer@redhat.com>
4890
4891 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4892 (_IO_JUMPS_FILE_plus): New.
4893 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4894 _IO_CAST_FIELD_ACCESS.
4895 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4896 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4897 * libio/freopen.c (freopen): Likewise.
4898 * libio/freopen64.c (freopen64): Likewise.
4899 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4900 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4901 * libio/iofwide.c (_IO_fwide): Likewise.
4902 * libio/memstream.c (open_memstream): Likewise.
4903 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4904 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4905 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4906
9d12d765
JM
49072015-05-21 Joseph Myers <joseph@codesourcery.com>
4908
9124ccf7
JM
4909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4910 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4911 NADJ.
4912 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4913 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4914 NADJ.
4915 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4916 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4917 NADJ.
4918
89f3b6e1
JM
4919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4920 (p == 4) case.
4921
9d12d765
JM
4922 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4923 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4924 Remove variable.
4925 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4926 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4927 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4928
0f87de79
FW
49292015-05-21 Florian Weimer <fweimer@redhat.com>
4930
4931 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4932 Adjust jump table label generation macros.
4933
f8194fa6
FW
49342015-05-21 Florian Weimer <fweimer@redhat.com>
4935
4936 * stdio-common/vfprintf.c (vfprintf): Move local variables
4937 args_malloced, specs, specs_malloced, and the code after
4938 do_positional to the printf_positional function.
4939 (printf_positional): New function.
4940
f0f98189
FW
49412015-05-21 Florian Weimer <fweimer@redhat.com>
4942
4943 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4944 function.
4945 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4946 STEP4_TABLE, process_arg): Move macro definitions
4947 out of the vfprintf function. (Cosmetic change only.)
4948
608f8971
CD
49492015-05-21 Carlos O'Donell <carlos@redhat.com>
4950
4951 * benchtests/Makefile (stdio-common-bench): Define.
4952 (benchset): Add stdio-common-bench.
4953 * sprintf-inputs: New file.
4954 * sprintf-source.c: New file.
4955
2212c142
AS
49562015-05-21 Andreas Schwab <schwab@suse.de>
4957
4958 [BZ #13028]
4959 [BZ #17053]
4960 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4961 of struct __res_state.
4962 * resolv/res_send.c (__libc_res_nsend): Likewise.
4963 (get_nsaddr): New function.
4964 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4965 statp directly.
4966
be8b8f17
JM
49672015-05-20 Joseph Myers <joseph@codesourcery.com>
4968
f5857378
JM
4969 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4970 -D_POSIX_C_SOURCE=199506L.
4971
38d3d5b7
JM
4972 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4973
be8b8f17
JM
4974 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4975 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4976 Do not mention otherwise.
4977 [POSIX] (_XOPEN_VERSION): Do not expect.
4978 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4979 [POSIX] (_POSIX2_C_BIND): Likewise.
4980 [POSIX] (_POSIX2_VERSION): Likewise.
4981 [POSIX] (_XOPEN_XPG2): Likewise.
4982 [POSIX] (_XOPEN_XPG3): Likewise.
4983 [POSIX] (_XOPEN_XPG4): Likewise.
4984 [POSIX] (_XOPEN_UNIX): Likewise.
4985 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4986 [POSIX] (_POSIX_BARRIERS): Likewise.
4987 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4988 [POSIX] (_POSIX_CPUTIME): Likewise.
4989 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4990 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4991 [POSIX] (_POSIX_SHELL): Likewise.
4992 [POSIX] (_POSIX_SPAWN): Likewise.
4993 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4994 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4995 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4996 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4997 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4998 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4999 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5000 [POSIX] (_XBS5_LP64_OFF64): Likewise.
5001 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5002 [POSIX] (_POSIX_TIMEOUTS): Likewise.
5003 [POSIX] (_POSIX2_PBS): Likewise.
5004 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5005 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5006 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5007 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5008 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5009 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5010 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5011 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5012 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5013 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5014 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5015 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5016 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5017 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5018 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5019 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5020 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5021 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5022 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5023 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5024 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5025 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5026 [POSIX] (_SC_2_C_BIND): Likewise.
5027 [POSIX] (_SC_2_C_VERSION): Likewise.
5028 [POSIX] (_SC_2_PBS): Likewise.
5029 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5030 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5031 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5032 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5033 [POSIX] (_SC_2_PBS_TRACK): Likewise.
5034 [POSIX] (_SC_ATEXIT_MAX): Likewise.
5035 [POSIX] (_SC_BARRIERS): Likewise.
5036 [POSIX] (_SC_BASE): Likewise.
5037 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5038 [POSIX] (_SC_DEVICE_IO): Likewise.
5039 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5040 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5041 [POSIX] (_SC_FD_MGMT): Likewise.
5042 [POSIX] (_SC_FIFO): Likewise.
5043 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5044 [POSIX] (_SC_FILE_LOCKING): Likewise.
5045 [POSIX] (_SC_FILE_SYSTEM): Likewise.
5046 [POSIX] (_SC_IOV_MAX): Likewise.
5047 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5048 [POSIX] (_SC_NETWORKING): Likewise.
5049 [POSIX] (_SC_PAGE_SIZE): Likewise.
5050 [POSIX] (_SC_PASS_MAX): Likewise.
5051 [POSIX] (_SC_PIPE): Likewise.
5052 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5053 [POSIX] (_SC_REGEXP): Likewise.
5054 [POSIX] (_SC_SHELL): Likewise.
5055 [POSIX] (_SC_SIGNALS): Likewise.
5056 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5057 [POSIX] (_SC_SPIN_LOCKS): Likewise.
5058 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5059 [POSIX] (_SC_USER_GROUPS): Likewise.
5060 [POSIX] (_SC_USER_GROUPS_R): Likewise.
5061 [POSIX] (_SC_STREAMS): Likewise.
5062 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5063 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5064 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5065 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5066 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5067 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5068 [POSIX] (_PC_FILESIZEBITS): Likewise.
5069 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5070 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5071 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5072 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5073 [POSIX] (uid_t): Likewise.
5074 [POSIX] (gid_t): Likewise.
5075 [POSIX] (off_t): Likewise.
5076 [POSIX] (pid_t): Likewise.
5077 [POSIX] (cuserid): Allow.
5078 (_SC_2_CHAR_TERM): Require constant.
5079 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5080 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5081 variable.
5082
5e2aa9a4
RM
50832015-05-20 Roland McGrath <roland@hack.frob.com>
5084
7cea6212
RM
5085 * sysdeps/nacl/pthread-pids.h: New file.
5086 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5087 (create_thread): Use __nacl_get_tid to initialize PD->tid.
5088
5089 * nptl/pthread-pids.h: New file.
5090 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5091 * nptl/nptl-init.c: Include <pthread-pids.h>.
5092 (__pthread_initialize_minimal_internal):
5093 Call __pthread_initialize_pids instead of set_tid_address syscall.
5094
5e2aa9a4
RM
5095 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5096 * sysdeps/posix/usleep.c: ... here.
5097
96dffc26
AZ
50982015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5099
5100 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5101 call_pselect6 object.
5102 [$(subdir) = io]: Remove call_sync_file_range object.
5103 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5104 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5105 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5106 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5107
5be91118
WD
51082015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
5109
5110 * math/s_cproj.c: Add include "math_private.h".
5111 * math/s_cprojf.c: Likewise.
5112 * math/s_cprojl.c: Likewise.
5113
526af541
JM
51142015-05-19 Joseph Myers <joseph@codesourcery.com>
5115
3ce2232e
JM
5116 [BZ #18244]
5117 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5118 high mantissa bit when testing whether P is a NaN.
5119 * math/libm-test.inc (remainder_test_data): Add more tests.
5120 (remquo_test_data): Likewise.
5121
526af541
JM
5122 [BZ #18049]
5123 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5124 below -32, return the argument, with underflow if subnormal.
5125 * math/auto-libm-test-in: Add more tests of atanh.
5126 * math/auto-libm-test-out: Regenerated.
5127
88ed594f
RM
51282015-05-19 Roland McGrath <roland@hack.frob.com>
5129
5130 [BZ #18434]
5131 * nptl/tst-sem15.c: New file.
5132 * nptl/Makefile (tests): Add it.
5133 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5134 s/<</>>/ to fix typo in EOVERFLOW check.
5135 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5136
654055e0
SP
51372015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5138
5139 * manual/strings.texi (envz_remove): Fix typo in safety
5140 annotations.
5141
eb286115
SE
51422015-05-19 Paul Eggert <eggert@cs.ucla.edu>
5143 Steve Ellcey <sellcey@imgtec.com>
5144
5145 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5146 in order to avoid strict alias warnings.
5147 (iruserok_af): Ditto for ra.
5148
265cbed8
JL
51492015-05-19 James Lemke <jwlemke@codesourcery.com>
5150
5151 [BZ #17581]
5152 * malloc/hooks.c
5153 (magicbyte): Convert to a function and avoid returning 0x01.
5154 (mem2mem_check): Avoid using a length byte equal to the magic byte.
5155 (mem2chunk_check): Fix unsigned comparisons to zero.
5156 Hoist defs of sz and magic.
5157
1c5df816
RH
51582015-05-19 Richard Henderson <rth@redhat.com>
5159
85bae5a1
RH
5160 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5161
1c5df816
RH
5162 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5163
920d7012
SP
51642015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5165
fff94fa2
SP
5166 [BZ #16159]
5167 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5168 * malloc/arena.c (arena_lock): Check if arena is corrupt.
5169 (reused_arena): Find a non-corrupt arena.
5170 (heap_trim): Pass arena to unlink.
5171 * malloc/hooks.c (malloc_check_get_size): Pass arena to
5172 malloc_printerr.
5173 (top_check): Likewise.
5174 (free_check): Likewise.
5175 (realloc_check): Likewise.
5176 * malloc/malloc.c (malloc_printerr): Add arena argument.
5177 (unlink): Likewise.
5178 (munmap_chunk): Adjust.
5179 (ARENA_CORRUPTION_BIT): New macro.
5180 (arena_is_corrupt): Likewise.
5181 (set_arena_corrupt): Likewise.
5182 (sysmalloc): Use mmap if there are no usable arenas.
5183 (_int_malloc): Likewise.
5184 (__libc_malloc): Don't fail if arena_get returns NULL.
5185 (_mid_memalign): Likewise.
5186 (__libc_calloc): Likewise.
5187 (__libc_realloc): Adjust for additional argument to
5188 malloc_printerr.
5189 (_int_free): Likewise.
5190 (malloc_consolidate): Likewise.
5191 (_int_realloc): Likewise.
5192 (_int_memalign): Don't touch corrupt arenas.
5193 * malloc/tst-malloc-backtrace.c: New test case.
5194
99db95db
SP
5195 * Makefile (summarize-tests): Fix return value on success.
5196
920d7012
SP
5197 * manual/string.texi (Envz Functions): Add envz_remove.
5198
46f894d8
RM
51992015-05-18 Roland McGrath <roland@hack.frob.com>
5200
5201 * sysdeps/posix/opendir.c: Include <stdbool.h>.
5202 (invalid_name): New function, broken out of ...
5203 (__opendirat): ... here. Call it.
5204 (need_isdir_precheck): New function, broken out of ...
5205 (__opendirat): ... here. Call it.
5206 Use __fxstatat64, not __xstatat64.
5207 (opendir_oflags): New function, broken out of ...
5208 (__opendirat): ... here. Call it.
5209 (opendir_tail): New function, broken out of ...
5210 (__opendirat): ... here. Call it.
5211 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5212 opendir_tail, rather than punting to __opendirat.
5213 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5214
eefe64b9
SP
52152015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5216
5217 * .gitignore: Ignore generated *.pyc.
5218
330fadfc
AS
52192015-05-18 Arjun Shankar <arjun.is@lostca.se>
5220
5221 * include/stdio.h: Define __need_wint_t.
5222 * test-skeleton.c: Avoid `for' loop initial declaration.
5223 * nptl/tst-initializers1.c: Use test-skeleton.c.
5224
b40a4e1a
AZ
52252015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5226
5227 [BZ #18418]
5228 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5229
ff069f02
JM
52302015-05-15 Joseph Myers <joseph@codesourcery.com>
5231
8020a808
JM
5232 [BZ #16352]
5233 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5234 (__ieee754_atanh): Force underflow exception for results with
5235 small absolute value.
5236 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5237 (__ieee754_atanhf): Force underflow exception for results with
5238 small absolute value.
5239 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5240 (__ieee754_atanh): Force underflow exception for results with
5241 small absolute value.
5242 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5243 (__ieee754_atanhf): Force underflow exception for results with
5244 small absolute value.
5245 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5246 (__ieee754_atanhl): Force underflow exception for results with
5247 small absolute value.
5248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5249 (__ieee754_atanhl): Force underflow exception for results with
5250 small absolute value.
5251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5252 (__ieee754_atanhl): Force underflow exception for results with
5253 small absolute value.
5254 * math/auto-libm-test-in: Do not allow missing underflow
5255 exceptions from atanh.
5256 * math/auto-libm-test-out: Regenerated.
5257
5a608ccc
JM
5258 [BZ #18221]
5259 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5260 2**-28 as threshold for returning x or +/- 1/x.
5261 * math/auto-libm-test-in: Add more tests of tan.
5262 * math/auto-libm-test-out: Regenerated.
5263
ff069f02
JM
5264 [BZ #18220]
5265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5266 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5267 * math/auto-libm-test-in: Add another test of lgamma.
5268 * math/auto-libm-test-out: Regenerated.
5269
0e9be4db
WD
52702015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
5271
5272 * stdio-common/printf_fp.c (___printf_fp): Use abs.
5273 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
5274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5275 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5276 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
5277 (ADD2A): Use fabs. (SUB2A): Use fabs.
5278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5279 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5281 (log1): Use fabs. (my_log2): Use fabs.
5282 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5283 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5285 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5287 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
5288 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
5289 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
5290 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
5291 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5292 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5293
fbc68f03
JM
52942015-05-15 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #18217]
5297 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5298 as threshold for returning 1 - x.
5299 * math/auto-libm-test-in: Add more tests of erfc.
5300 * math/auto-libm-test-out: Regenerated.
5301
0b7a5f92
JM
53022015-05-14 Joseph Myers <joseph@codesourcery.com>
5303
9a71f1fc
JM
5304 [BZ #18196]
5305 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5306 threshold for large arguments.
5307 * math/auto-libm-test-in: Add another test of atan.
5308 * math/auto-libm-test-out: Regenerated.
5309
0b7a5f92
JM
5310 [BZ #16339]
5311 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5312 (__log1p): Force underflow exception for results with small
5313 absolute value.
5314 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5315 (__log1pf): Force underflow exception for results with small
5316 absolute value.
5317 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5318 (__log1p): Force underflow exception for results with small
5319 absolute value.
5320 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5321 (__log1pf): Force underflow exception for results with small
5322 absolute value.
5323 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5324 (__log1pl): Force underflow exception for results with small
5325 absolute value.
5326 * math/auto-libm-test-in: Do not allow missing underflow
5327 exceptions from log1p.
5328 * math/auto-libm-test-out: Regenerated.
5329
95b07fbc
AZ
53302015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
5331 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5332
b2fb2524 5333 [BZ #16704]
95b07fbc
AZ
5334 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5335
ee971601
AS
53362015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
5337
5695d46f
AS
5338 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5339 (libmvec): New variable.
5340 * configure.ac: Added option for mathvec build.
5341 * configure: Regenerated.
5342 * mathvec/Depend: New file.
5343 * mathvec/Makefile: New file.
5344 * shlib-versions: Added libmvec.
5345 * math/Makefile: Added rule for libm.so installation.
5346
202d48da
AS
5347 * bits/math-vector.h: New file.
5348 * bits/libm-simd-decl-stubs.h: New header.
5349 * math/Makefile (headers): Added new header
5350 libm-simd-decl-stubs.h.
5351 * math/math.h (__MATHCALL_VEC): New macro.
5352
58c50f06
AS
5353 * math/gen-libm-have-vector-test.sh: Script generates series of macros
5354 for conditions in testing functions.
5355 * math/Makefile: Added call of libm-have-vector-test.sh.
5356 * math/libm-test.inc (HAVE_VECTOR): New macros.
5357
a6cdcd75
AS
5358 * math/libm-test.inc: START refactored.
5359 * math/test-double.c (TEST_MATHVEC): Add define.
5360 * math/test-float.c: Likewise.
5361 * math/test-idouble.c: Likewise.
5362 * math/test-ifloat.c: Likewise.
5363 * math/test-ildoubl.c: Likewise.
5364 * math/test-ldouble.c: Likewise.
5365 * sysdeps/generic/math-tests-arch.h
5366 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5367 architecture check.
5368
ee971601
AS
5369 * math/test-double.c (FUNC_TEST): New macro.
5370 * math/test-float.c: Likewise.
5371 * math/test-idouble.c: Likewise.
5372 * math/test-ifloat.c: Likewise.
5373 * math/test-ildoubl.c: Likewise.
5374 * math/test-ldouble.c: Likewise.
5375 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5376
b88a18e1
RM
53772015-05-13 Roland McGrath <roland@hack.frob.com>
5378
9e4ec74f
RM
5379 * sysdeps/nacl/fdopendir.c: New file.
5380
95341673 5381 * dirent/scandir-tail.c: New file.
d2ee815a
RM
5382 * dirent/scandir64-tail.c: New file.
5383 * dirent/Makefile (routines): Add them.
95341673 5384 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
5385 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5386 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5387 [!SCANDIR] (SCANDIR_TAIL): New macro.
5388 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5389 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5390 (SCANDIRAT): Macro removed.
5391 (SCANDIR_TAIL): New macro.
5392 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5393 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5394 (SCANDIRAT): Just call __opendirat and __scandir_tail.
5395 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5396 (READDIR): Macro removed.
5397 (SCANDIR_TAIL): New macro.
5398 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5399 (SCANDIR_TAIL): New macro.
5400
83c10893
RM
5401 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5402 * dirent/scandir-cancel.c: ... to this new file.
5403 * dirent/Makefile (routines): Add it.
5404 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5405 * sysdeps/unix/sysv/linux/i386/scandir64.c
5406 (SKIP_SCANDIR_CANCEL): Macro removed.
5407 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5408
b88a18e1
RM
5409 * dirent/tst-scandir.c: New file.
5410 * dirent/tst-scandir64.c: New file.
5411 * dirent/Makefile (tests): Add them.
5412
d9efd775
L
54132015-05-13 H.J. Lu <hongjiu.lu@intel.com>
5414
5415 [BZ #18409]
5416 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5417
265a9b73
SN
54182015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5419
5420 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5421 list.
5422
60ccaf75
LH
54232015-05-13 Leonhard Holz <leonhard.holz@web.de>
5424
5425 * benchtests/bench-strcoll.c: New benchmark.
5426 * benchtests/Makefile: Generate locales and run benchmark.
5427 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5428 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5429 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5430 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5431 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5432 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5433 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5434 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5435 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5436 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5437 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5438 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5439 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5440 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5441 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5442 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5443 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5444 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5445 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5446 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5447 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5448 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5449 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5450 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5451
0f4840be
OB
54522015-05-12 Ondřej Bílka <neleai@seznam.cz>
5453
5454 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5455 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5456
7327b333
RM
54572015-05-12 Roland McGrath <roland@hack.frob.com>
5458
5459 * posix/uname-values.h: New file.
5460 * posix/uname.c: Include that instead of <config-name.h>.
5461 * sysdeps/nacl/uname-values.h: New file.
5462 * sysdeps/arm/nacl/uname-values.h: New file.
5463
8e65ea4d
JM
54642015-05-12 Joseph Myers <joseph@codesourcery.com>
5465
5466 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5467 splitting into fields.
5468
a964c6e4 54692015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
5470
5471 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5472 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5473 * locale/localeinfo.h: Add enum collation_encoding_type.
5474 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5475 * programs/ld-collate.c (collate_output): Add encoding type info.
5476 * string/strcoll_l.c (STRDIFF): New function.
5477 * (STRCOLL): Use STRDIFF to skip over equal prefix.
5478 * wcsmbs/wcscoll_l.c: Define STRDIFF.
5479
34cb304e
JM
54802015-05-11 Joseph Myers <joseph@codesourcery.com>
5481
5482 [BZ #18397]
5483 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5484 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
5485 <fpu_control.h> instead of <math/fpu_control.c>.
5486 * sysdeps/mips/mips32/fpu/Makefile: New file.
5487
b13b96ca
AS
54882015-05-11 Andreas Schwab <schwab@suse.de>
5489
5490 [BZ #18007]
5491 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5492 nss_endgrent.
5493 (_nss_compat_endgrent): Call nss_endgrent.
5494 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5495 nss_endpwent.
5496 (_nss_compat_endpwent): Call nss_endpwent.
5497 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5498 needent, call nss_setspent only if non-zero.
5499 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5500 (internal_endspent): Don't call nss_endspent.
5501 (_nss_compat_endspent): Call nss_endspent.
5502 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5503 Remove. All uses removed.
5504 (internal_setent): Remove parameter stayopen, add parameter
5505 stream. Use it instead of global variable.
5506 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5507 (internal_endent, internal_getent): Add parameter stream. Use it
5508 instead of global variable.
5509 (CONCAT(_nss_files_end,ENTNAME))
5510 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5511 (_nss_files_get##name##_r): Pass local stream. Remove locking.
5512 * nss/nss_files/files-alias.c (position, last_use): Remove. All
5513 uses removed.
5514 (internal_setent, internal_endent): Add parameter stream. Use it
5515 instead of global variable.
5516 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5517 stream.
5518 (get_next_alias): Add parameter stream.
5519 (_nss_files_getaliasent_r): Pass global stream.
5520 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
5521 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5522 (_nss_files_gethostbyname4_r): Pass local stream to
5523 internal_setent, internal_getent and internal_endent. Remove
5524 locking.
5525
e1b6cb04
SL
55262015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5527
5528 * tst-strfmon1.c (tests): Update expected currency symbol.
5529
c4c977c6
RM
55302015-05-08 Roland McGrath <roland@hack.frob.com>
5531
5532 * sysdeps/nacl/gethostname.c: New file.
5533
14f36098
JM
55342015-05-08 Joseph Myers <joseph@codesourcery.com>
5535
5536 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5537 and sinh.
5538 * math/auto-libm-test-out: Regenerated.
5539 * sysdeps/i386/fpu/libm-test-ulps: Update.
5540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541
c92d40c0
CD
55422015-05-08 Carlos O'Donell <carlos@redhat.com>
5543
5544 [BZ #18125]
5545 * stdlib/tst-setcontext3.c: New file.
5546 * stdlib/tst-setcontext3.sh: New file.
5547 * stdlib/Makefile (tests): Add tst-setcontext3.
5548 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5549 to verify test program created output file.
5550 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5551 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5552 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5553 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5554
48276b67
RM
55552015-05-06 Roland McGrath <roland@hack.frob.com>
5556
b5fe8ec8
RM
5557 [BZ #18383]
5558 * elf/tst-tlsalign.c: New file.
5559 * elf/tst-tlsalign-static.c: New file.
5560 * elf/tst-tlsalign-lib.c: New file.
5561 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5562 (tests-static): Add tst-tlsalign-static.
5563 (modules-names): Add tst-tlsalign-lib.
5564 (test-xfail-tst-tlsalign): New variable.
5565 (test-xfail-tst-tlsalign-static): New variable.
5566
48276b67
RM
5567 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5568 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5569
471dffa1
JM
55702015-05-06 Joseph Myers <joseph@codesourcery.com>
5571
5572 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5573 csqrt, erfc, sin and sincos.
5574 * math/auto-libm-test-out: Regenerated.
5575 * sysdeps/i386/fpu/libm-test-ulps: Update.
5576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5577
eda361c8
WD
55782015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5579
5580 * sysdeps/aarch64/libm-test-ulps: Update.
5581
31450d9a
JM
55822015-05-05 Joseph Myers <joseph@codesourcery.com>
5583
5584 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5585 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5586 * math/auto-libm-test-out: Regenerated.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589
a6ab6ccd
DM
55902015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
5591
5592 [BZ #18265]
5593 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5594 (wcsncpy): Likewise.
5595
d0ccd0d9
FW
55962015-05-05 Florian Weimer <fweimer@redhat.com>
5597
5598 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5599 Assume __ASSUME_FALLOCATE is always true.
5600 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5601 (__posix_fallocate64_l64): Likweise.
5602 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5603 (posix_fallocate): Likewise.
5604 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5605 (__posix_fallocate64_l64): Likewise.
5606 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5607 [!__ASSUME_FALLOCATE]: Add comment.
5608
4bd40bcf
FW
56092015-05-05 Florian Weimer <fweimer@redhat.com>
5610
5611 * sysdeps/unix/sysv/linux/i386/Makefile
5612 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5613 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5614 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5615 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5616 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5617 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5618 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5619
305392ea
JM
56202015-05-02 Joseph Myers <joseph@codesourcery.com>
5621
5622 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5623 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5624 tgamma.
5625 * math/auto-libm-test-out: Regenerated.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628
a0d31f36
JM
56292015-05-01 Joseph Myers <joseph@codesourcery.com>
5630
51e15247
JM
5631 * math/auto-libm-test-in: Add more tests of tgamma.
5632 * math/auto-libm-test-out: Regenerated.
5633 * sysdeps/i386/fpu/libm-test-ulps: Update.
5634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5635
5ffb9a53
JM
5636 * math/auto-libm-test-in: Add more tests of tanh.
5637 * math/auto-libm-test-out: Regenerated.
5638 * sysdeps/i386/fpu/libm-test-ulps: Update.
5639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5640
0957e15d
JM
5641 * math/auto-libm-test-in: Add more tests of tan.
5642 * math/auto-libm-test-out: Regenerated.
5643 * sysdeps/i386/fpu/libm-test-ulps: Update.
5644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645
827bb585
JM
5646 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5647 * math/auto-libm-test-out: Regenerated.
5648 * sysdeps/i386/fpu/libm-test-ulps: Update.
5649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650
86793ae7
JM
5651 * math/auto-libm-test-in: Add another test of pow.
5652 * math/auto-libm-test-out: Regenerated.
5653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5654
038e4be9
JM
5655 * math/auto-libm-test-in: Add more tests of lgamma.
5656 * math/auto-libm-test-out: Regenerated.
5657 * sysdeps/i386/fpu/libm-test-ulps: Update.
5658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659
a0d31f36
JM
5660 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5661 log1p.
5662 * math/auto-libm-test-out: Regenerated.
5663 * sysdeps/i386/fpu/libm-test-ulps: Update.
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5665
b4336ba4
MW
56662015-05-01 Mark Wielaard <mjw@redhat.com>
5667
5668 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5669 Elf64_Chdr structs and ELFCOMPRESS constants.
5670
c5a3a509
JM
56712015-05-01 Joseph Myers <joseph@codesourcery.com>
5672
e1483b36
JM
5673 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5674 expm1.
5675 * math/auto-libm-test-out: Regenerated.
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5678
c5a3a509
JM
5679 * math/auto-libm-test-in: Add more tests of erf and erfc.
5680 * math/auto-libm-test-out: Regenerated.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
44cb254f
SN
56842015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
5685
5686 * config.h.in (HAVE_AARCH64_BE): Add.
5687
0833cecd
JM
56882015-04-30 Joseph Myers <joseph@codesourcery.com>
5689
9862ab1f
JM
5690 * math/auto-libm-test-in: Add more tests of csqrt.
5691 * math/auto-libm-test-out: Regenerated.
5692 * sysdeps/i386/fpu/libm-test-ulps: Update.
5693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5694
094fca83
JM
5695 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5696 * math/auto-libm-test-out: Regenerated.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699
0833cecd
JM
5700 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5701
314647f7
RM
57022015-04-29 Roland McGrath <roland@hack.frob.com>
5703
45c2c564
RM
5704 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5705 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5706
3600cf1e
RM
5707 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5708 (euidaccess, eaccess): Define as weak aliases.
5709
314647f7
RM
5710 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5711 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
5712 but __suseconds_t is often 'long int' so some sources assume that
5713 type is being used (e.g. they use %ld to print tv_usec).
5714
03d2730b
FW
57152015-04-29 Florian Weimer <fweimer@redhat.com>
5716
5717 [BZ #18007]
5718 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5719 (CVE-2014-8121)
5720 * nss/tst-nss-getpwent.c: New file.
5721 * nss/Makefile (tests): Add new test.
5722
7d0b2575
JM
57232015-04-28 Joseph Myers <joseph@codesourcery.com>
5724
5725 [BZ #18346]
5726 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5727 exponents less than 48 as cases where high part of mantissa needs
5728 examining to determine whether argument is integral.
5729 * math/libm-test.inc (round_test_data): Add more tests.
5730
fb4041ae
MW
57312015-04-28 Mark Wielaard <mjw@redhat.com>
5732
5733 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5734
3f2e21e9
DM
57352015-04-27 David S. Miller <davem@davemloft.net>
5736
5737 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5738 __tls_get_addr.
5739 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5740
5cffc05e
L
57412015-04-27 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 [BZ#18333]
5744 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5745
cc8dcf96
FW
57462015-04-27 Florian Weimer <fweimer@redhat.com>
5747
5748 [BZ#18333]
5749 * time/tzset.c (parse_tzname): Return error on memory allocation
5750 failure.
5751 * test-skeleton.c (struct temp_name_list): Change type of name
5752 member to non-const.
5753 (add_temp_file): Create a copy of the file name.
5754 (delete_temp_files): Deallocate memory.
5755 (create_temp_file): Add comment.
5756
2dd6ee79
FW
57572015-04-24 Florian Weimer <fweimer@redhat.com>
5758
5759 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5760 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5761
c25fec6f
RM
57622015-04-24 Roland McGrath <roland@hack.frob.com>
5763
5764 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5765 * sysdeps/arm/configure: Regenerated.
5766
42261ad7
FW
57672015-04-24 Florian Weimer <fweimer@redhat.com>
5768
5769 [BZ #17715]
5770 * time/tzfile.c (__tzfile_read): Check for large values of
5771 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
5772 * time/tzset.c (__tzstring_len): New function, based on the old
5773 __tzstring function.
5774 (__tzstring): Call __tzstring_len.
5775 (parse_tzname): New helper function extracted from
5776 __tzset_parse_tz. Call __tzstring_len, without making a copy of
5777 the input string.
5778 (parse_offset): New helper function extracted from
5779 __tzset_parse_tz. Replace switch with fallthrough with
5780 initialization before sscanf.
5781 (parse_rule): Likewise.
5782 (__tzset_parse_tz): Rewrite using the new helper functions. Use
5783 new-style function definition.
5784 * timezone/Makefile (tests): Add tst-tzset.
5785 (tst-tzset.out): Dependencies on time zone files.
5786 (tst-tzset-ENV): Set TZDIR.
5787 (testdata/XT%): Copy crafted time zone files.
5788 * timezone/README: Mention crafted time zone files.
5789 * timezone/testdata/XT1, timezone/testdata/XT2,
5790 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5791 files.
5792 * timezone/tst-tzset.c: New test.
5793
ed159672
FW
57942015-04-24 Florian Weimer <fweimer@redhat.com>
5795
5796 * Makeconfig (+gccwarn): Remove -Winline.
5797
8666ab5c
SL
57982015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5799
5800 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5801
f7fba805
SL
58022015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5803
5804 * NEWS: Mention sysconf() cache information support for s390.
5805 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5806
92f28979
WD
58072015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
5808
5809 * math/k_casinh.c (__kernel_casinh): Use __copysign.
5810 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5811 (__nearbyint): Likewise.
5812 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5813 (copysignl): Likewise.
5814
2959eda9
AS
58152015-04-21 Arjun Shankar <arjun.is@lostca.se>
5816
5817 [BZ #18287]
5818 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5819 based on padding. (CVE-2015-1781)
5820
7bf8fb10
AZ
58212015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5822
5823 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5824 libc-vdso.h.
5825 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5826 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5827 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5828 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5829 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5830 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5831 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5836 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5837 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5838 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5839 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5840 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5841 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5843 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5844 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5845 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5846 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5847 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5848
03c1e456
PE
58492015-04-19 Paul Eggert <eggert@cs.ucla.edu>
5850
5851 * stdlib/setenv.c (__add_to_environ):
5852 Dump core quickly if setenv (..., NULL, ...) is called.
5853 This time, do it the right way, and pacify GCC with a pragma.
5854
328c44c3
RM
58552015-04-17 Roland McGrath <roland@hack.frob.com>
5856
2bd2cad9
RM
5857 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5858 IMAP->l_prev cannot be null, and #if out the code for the contrary
5859 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5860 believe that NS (&_dl_ns[NSID]) could point outside the array.
5861
328c44c3
RM
5862 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5863 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5864 before using NSID as an index.
5865
aa4980fc
DM
58662015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
5867
5868 [BZ #17825]
5869 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5870 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5871 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5872
d1e44df1
RM
58732015-04-17 Roland McGrath <roland@hack.frob.com>
5874
5875 Add preliminary port to Google Native Client on ARM.
5876 * abi-tags (.*-.*-nacl.*): New entry.
5877 * sysdeps/arm/nacl: New directory.
5878 * sysdeps/nacl: New directory.
5879
f7092599
DM
58802015-04-16 David S. Miller <davem@davemloft.net>
5881
5882 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5883 lowlevellock-futex.h
5884
da6989f9
CM
58852015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
5886
5887 * sysdeps/tile/configure.ac: New file.
5888 * sysdeps/tile/configure: Regenerated.
5889
fb78612a
AZ
58902015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5891
5892 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
5893 conditionals for weak_alias and libc_hidden_weak.
5894 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5895 libc_hidden_weak and weak_alias.
5896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5897 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5898 and weak_alias for static one.
5899
a8b6a3a6
DM
59002015-04-15 David S. Miller <davem@davemloft.net>
5901
5902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5903
920a0395
SL
59042015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5905
5906 [BZ #18206]
5907 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5908 Use signed comparision instead of substraction to avoid
5909 overflow bug.
5910 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5911 Take the sign of ret.
5912 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5913 Do not expect precise return values. Only the sign matters.
5914 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5915 * wcsmbs/test-wcsncmp.c: New File.
5916 * string/test-strncmp.c: Add wcsncmp support.
5917
de8aadd5
SL
59182015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5919
5920 [BZ #6792]
5921 * math/w_log1p.c: New file.
5922 * math/w_log1pf.c: Likewise.
5923 * math/w_log1pl.c: Likewise.
5924 * math/Makefile (libm-calls): Add w_log1p.
5925 * math/s_log1pl.c (log1pl): Remove weak_alias.
5926 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5927 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5928 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5929 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5930 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5931 [NO_LONG_DOUBLE] (log1pl): Likewise.
5932 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5933 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5934 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5935 (log1p): Remove long_double_symbol.
5936 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5937 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5938 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5939 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5940 remove weak_alias for corresponding log1p function.
5941 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5942 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5943 * sysdeps/ia64/fpu/w_log1p.c: New file.
5944 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5945 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5946 * math/libm-test.inc (log1p_test_data): Add errno expectations.
5947
5556d30c
JM
59482015-04-10 Joseph Myers <joseph@codesourcery.com>
5949
5950 [BZ #18247]
5951 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5952 decimal exponent by 1.
5953 * stdlib/tst-strtod-round-data: Add more tests.
5954 * stdlib/tst-strtod-round.c (tests): Regenerated.
5955
b3c66c53
JM
59562015-04-09 Joseph Myers <joseph@codesourcery.com>
5957
5958 * math/auto-libm-test-in: Add more tests of clog and clog10.
5959 * math/auto-libm-test-out: Regenerated.
5960 * sysdeps/i386/fpu/libm-test-ulps: Update.
5961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962
b0b88abc
RM
59632015-04-09 Roland McGrath <roland@hack.frob.com>
5964
8a257e2c
RM
5965 * Makeconfig (module-cppflags): Exclude all .v.i files.
5966 (skip-module-cppflags): Variable removed.
5967
05439291
RM
5968 * configure.ac (libc_config_ok): Initialize before reading
5969 preconfigure scripts, not after.
5970 * configure: Regenerated.
5971
b0b88abc
RM
5972 * test-skeleton.c (TIMEOUT): Move #define to top level.
5973 (main): Grok environment variable TEST_DIRECT. If set, print
5974 test expectation details into that file and then behave as if
5975 given --direct.
5976
2902af16
FW
59772015-04-09 Florian Weimer <fweimer@redhat.com>
5978
5979 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5980 warning on 32-bit.
5981
23ebf743
DM
59822015-04-08 David S. Miller <davem@davemloft.net>
5983
5984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5985
024bcc51
JM
59862015-04-08 Joseph Myers <joseph@codesourcery.com>
5987
787d22bc
JM
5988 * math/auto-libm-test-in: Add more tests of atanh.
5989 * math/auto-libm-test-out: Regenerated.
5990 * sysdeps/i386/fpu/libm-test-ulps: Update.
5991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5992
024bcc51
JM
5993 * math/auto-libm-test-in: Add more tests of atan.
5994 * math/auto-libm-test-out: Regenerated.
5995 * sysdeps/i386/fpu/libm-test-ulps: Update.
5996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5997
7b8399f4
FW
59982015-04-08 Florian Weimer <fweimer@redhat.com>
5999
6000 * elf/pldd.c (main): Rewrite to use struct
6001 scratch_buffer instead of extend_alloca.
6002 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
6003 * grp/initgroups.c: Include <scratch_buffer.h> instead of
6004 <alloca.h>.
6005 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6006 scratch_buffer instead of extend_alloca.
6007 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6008 grp/compat-initgroups.c.
794a74af
FW
6009 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6010 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 6011 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 6012 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 6013
ae63c7eb
JM
60142015-04-08 Joseph Myers <joseph@codesourcery.com>
6015
da0cf658
JM
6016 * math/auto-libm-test-in: Add more tests of cbrt.
6017 * math/auto-libm-test-out: Regenerated.
6018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6019
80352c01
JM
6020 * math/auto-libm-test-in: Add more tests of cabs.
6021 * math/auto-libm-test-out: Regenerated.
6022 * sysdeps/i386/fpu/libm-test-ulps: Update.
6023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6024
8431838d
JM
6025 [BZ #18210]
6026 [BZ #18211]
6027 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6028 (__ieee754_atan2): Set FE_TONEAREST mode for internal
6029 computations.
6030 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6031 clog10.
6032 * math/auto-libm-test-out: Regenerated.
6033 * sysdeps/i386/fpu/libm-test-ulps: Update.
6034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
ae63c7eb
JM
6036 [BZ #18197]
6037 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6038 (atan): Set FE_TONEAREST mode for internal computations.
6039 * math/auto-libm-test-in: Add more tests of atan.
6040 * math/auto-libm-test-out: Regenerated.
6041
d5856d06
JC
60422015-04-07 James Cowgill <james410@cowgill.org.uk>
6043
6044 [BZ #17930]
6045 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6046
72301304
FW
60472015-04-07 Florian Weimer <fweimer@redhat.com>
6048
6049 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6050
cfcfd461
FW
60512015-04-07 Florian Weimer <fweimer@redhat.com>
6052
6053 * include/scratch_buffer.h: New file.
6054 * malloc/scratch_buffer_grow.c: Likewise.
6055 * malloc/scratch_buffer_grow_preserve.c: Likewise.
6056 * malloc/scratch_buffer_set_array_size.c: Likewise.
6057 * malloc/tst-scratch_buffer.c: Likewise.
6058 * malloc/Makefile (routines): Add scratch_buffer_grow.
6059 (tests): Add test case.
6060 * malloc/Versions (GLIBC_PRIVATE): Export
6061 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6062 __libc_scratch_buffer_set_array_size.
6063
cc47c824
RH
60642015-04-06 Richard Henderson <rth@redhat.com>
6065
6066 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 6067 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 6068
9e8c0381
RH
6069 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6070 unsigned int before printing.
6071
9781a370
OB
60722015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6073
6074 [BZ #17596]
6075 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6076 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6077
37d60d97
FW
60782015-04-02 Florian Weimer <fweimer@redhat.com>
6079
6080 * include/libc-internal.h (libc_max_align_t): Define.
6081
b763f6ae
AS
60822015-04-02 Andreas Schwab <schwab@suse.de>
6083
6084 [BZ #16850]
6085 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6086
c26efef9
MG
60872015-04-02 Mel Gorman <mgorman@suse.de>
6088
6089 [BZ #17195]
6090 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6091 as well as the main arena.
6092
a3d9ab50
L
60932015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 [BZ #18185]
6096 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6097 sharing L2 cache to 2 for Silvermont/Knights Landing.
6098
83569fb8
L
60992015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6100
6101 [BZ #17711]
6102 * config.make.in (have-protected-data): New.
6103 * configure.ac: Check linker support for protected data symbol.
6104 * configure: Regenerated.
6105 * elf/Makefile (modules-names): Add tst-protected1moda and
6106 tst-protected1modb if $(have-protected-data) is yes.
6107 (tests): Add tst-protected1a and tst-protected1b if
6108 $(have-protected-data) is yes.
6109 ($(objpfx)tst-protected1a): New.
6110 ($(objpfx)tst-protected1b): Likewise.
6111 (tst-protected1modb.so-no-z-defs): Likewise.
6112 * elf/tst-protected1a.c: New file.
6113 * elf/tst-protected1b.c: Likewise.
6114 * elf/tst-protected1mod.h: Likewise.
6115 * elf/tst-protected1moda.c: Likewise.
6116 * elf/tst-protected1modb.c: Likewise.
6117
62da1e3b
L
61182015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6119
6120 [BZ #17711]
6121 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6122 indicates it is called from do_lookup_x on relocation against
6123 protected data, skip the data definion in the executable from
6124 copy reloc.
6125 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6126 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6127 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6128 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6129 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6130 otherwise to 0.
6131 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6132 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6133 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6134 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6135 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6136 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6137
675ddb71
MG
61382015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
6139
6140 * sysdeps/nptl/pthread.h: Remove duplicate definition of
6141 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6142
4d611e12
MG
61432015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
6144
6145 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6146 THREAD_SETMEM_NC.
6147 * sysdeps/x86_64/nptl/tls.h: Ditto.
6148
7285eb53
RM
61492015-03-27 Roland McGrath <roland@hack.frob.com>
6150
6151 * dlfcn/tststatic.c (main): Converted to ...
6152 (do_test): ... this.
6153 (TEST_FUNCTION): New macro.
6154 Include test-skeleton.c.
6155
19a6a3ac
AM
61562015-03-26 Alan Modra <amodra@gmail.com>
6157
6158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6159 Don't segfault if ifunc resolver returns a NULL. Do set plt to
6160 zero for undefined weak.
6161 (elf_machine_plt_conflict): Similarly.
6162
a9fe4c5a
JM
61632015-03-25 Joseph Myers <joseph@codesourcery.com>
6164
efd5b641
JM
6165 * math/auto-libm-test-in: Add more tests of acosh, asinh and
6166 atanh.
6167 * math/auto-libm-test-out: Regenerated.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170
e9b10151
JM
6171 * math/auto-libm-test-in: Add another test of asin.
6172 * math/auto-libm-test-out: Regenerated.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6175
9fa55373
JM
6176 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6177 Remove macro.
6178 (LLL_EBX_REG): Likewise.
6179 (LLL_ENTER_KERNEL): Likewise.
6180
38755f14
JM
6181 * math/auto-libm-test-in: Add more tests of asin.
6182 * math/auto-libm-test-out: Regenerated.
6183 * sysdeps/i386/fpu/libm-test-ulps: Update.
6184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6185
a9fe4c5a
JM
6186 [BZ #18138]
6187 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6188 libc_do_syscall_args): New structure.
6189 (INTERNAL_SYSCALL_MAIN_0): New macro.
6190 (INTERNAL_SYSCALL_MAIN_1): Likewise.
6191 (INTERNAL_SYSCALL_MAIN_2): Likewise.
6192 (INTERNAL_SYSCALL_MAIN_3): Likewise.
6193 (INTERNAL_SYSCALL_MAIN_4): Likewise.
6194 (INTERNAL_SYSCALL_MAIN_5): Likewise.
6195 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
6196 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6197 Replace conditional definitions by conditional definitions of ....
6198 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
6199 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6200 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6201 (libpthread-sysdep_routines): Add libc-do-syscall.
6202 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6203 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6204 to __NR_futex not 240.
6205
afcd9480
AM
62062015-03-25 Alan Modra <amodra@gmail.com>
6207
6208 * NEWS: Advertise TLS optimization.
6209 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6210 (DT_PPC_NUM): Increment.
6211 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6212 (CHECK_STATIC_TLS): Use here.
6213 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6214 TLS descriptors.
6215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6216 * sysdeps/powerpc/dl-tls.c: New file.
6217 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6218 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6219 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6220 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6224
da9f3334
AM
62252015-03-25 Alan Modra <amodra@gmail.com>
6226
6227 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6228 for overlapping .opd entries" to "support...".
6229 * sysdeps/powerpc/powerpc64/configure: Regenerate
6230
bc899ea0
JM
62312015-03-25 Joseph Myers <joseph@codesourcery.com>
6232
8d643971
JM
6233 * math/auto-libm-test-in: Add more tests of acos.
6234 * math/auto-libm-test-out: Regenerated.
6235 * sysdeps/i386/fpu/libm-test-ulps: Update.
6236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237
bc899ea0
JM
6238 * math/auto-libm-test-in: Add more tests of expm1.
6239 * math/auto-libm-test-out: Regenerated.
6240 * sysdeps/i386/fpu/libm-test-ulps: Update.
6241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6242
7c84a504
JM
62432015-03-24 Joseph Myers <joseph@codesourcery.com>
6244
239ed6f3
JM
6245 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6246 * math/auto-libm-test-out: Regenerated.
6247 * sysdeps/i386/fpu/libm-test-ulps: Update.
6248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249
a737e826
JM
6250 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6252
7c84a504
JM
6253 * math/auto-libm-test-in: Add more tests of log2.
6254 * math/auto-libm-test-out: Regenerated.
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6257
7e9c7b9b
RM
62582015-03-23 Roland McGrath <roland@hack.frob.com>
6259
6260 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6261 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
6262 _IO_IS_APPENDING bit in READ_WRITE instead.
6263
98734cc5
FW
62642015-03-23 Florian Weimer <fweimer@redhat.com>
6265
6266 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6267 (__determine_cpumask_size): Replace extend_alloca with a
6268 variable-length array. Do not treat res == 0 as an error.
6269
2b028564
FW
62702015-03-23 Florian Weimer <fweimer@redhat.com>
6271
6272 [BZ #18100]
6273 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6274 and integer overflow.
6275 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6276 (main): Add integer overflow tests.
6277 * manual/pattern.texi (Calling Wordexp): Document additional use
6278 for WRDE_SYNTAX.
6279
59261ad3
AM
62802015-03-23 Alan Modra <amodra@gmail.com>
6281
6282 * config.h.in: Remove HAVE_ASM_PPC_REL16.
6283 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6284 and false branch of conditional.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6286 Likewise.
6287
d583531a
ST
62882015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
6289
6290 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6291 libc-modules.h
868df0f9
ST
6292 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6293 unused declaration of _hurd_intr_rpc_msg_in_trap.
6294 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6295 defined instead of whether it is non-zero.
6296 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6297 input constraint instead of both input and output constraint. Use ecx
6298 clobber instead of %ecx.
6299 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6300 mutex_unlock): Use a statement expression instead of an expression list.
6301 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6302 type to vm_size_t instead of vm_address_t.
6303 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6304 defined instead of whether it is non-zero.
6305 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6306 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6307 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6308 comparisons with mapaddr.
6309 * nscd/nscd-client.h: Include <time.h>.
6310 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6311 9th parameter to __vm_region instead of int.
661a7dba 6312 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
6313 * scripts/check-local-headers.sh (exclude): Add device/,
6314 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6315 cthreads.h.
d583531a 6316
298e5d56
RM
63172015-03-19 Roland McGrath <roland@hack.frob.com>
6318
6319 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6320 to account for alignment padding.
6321 * sysdeps/arm/memmove.S: Likewise.
6322
becb26b8
CM
63232015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
6324
6325 * sysdeps/unix/sysv/linux/generic/README: New file.
6326
c2f5813a
JM
63272015-03-18 Joseph Myers <joseph@codesourcery.com>
6328
6329 [BZ #18138]
6330 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6331 (futex_abstimed_wait)
6332 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6333 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6334 of lll_futex_timed_wait.
6335
ed6b0fe7
BH
63362015-03-18 Brad Hubbard <bhubbard@redhat.com>
6337
6338 [BZ #17542]
6339 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6340
f8aeae34
AO
63412015-03-17 Alexandre Oliva <aoliva@redhat.com>
6342
6343 [BZ #17090]
6344 [BZ #17620]
6345 [BZ #17621]
6346 [BZ #17628]
6347 * NEWS: Update.
6348 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6349 entries with Static TLS too. Skip entries past the end of the
6350 allocated DTV, from Alan Modra.
6351 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
6352 Static TLS DTV entry set up from...
6353 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6354 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6355 * nptl/allocatestack.c (init_one_static_tls): ... and here...
6356 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6357 for Static TLS.
6358 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
6359 that the slot we find is associated with the given map before
6360 using its generation count.
6361 * nptl_db/db_info.c: Include ldsodefs.h.
6362 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6363 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6364 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6365 (link_map::l_tls_offset): New struct field.
6366 (dtv_t::counter): Likewise.
6367 (rtld_global): New struct.
6368 (_rtld_global): New rtld variable.
6369 (dl_tls_dtv_slotinfo_list): New rtld global field.
6370 (dtv_slotinfo_list): New struct.
6371 (dtv_slotinfo): Likewise.
6372 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6373 (td_lookup): Rename to...
6374 (td_mod_lookup): ... this. Use new mod parameter instead of
6375 LIBPTHREAD_SO.
6376 * nptl_db/td_thr_tlsbase.c: Include link.h.
6377 (dtv_slotinfo_list, dtv_slotinfo): New functions.
6378 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
6379 addresses even if the DTV is out of date or missing them.
6380 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6381 index zero-length arrays.
6382 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6383 (td_lookup): Make it a macro implemented in terms of...
6384 (td_mod_lookup): ... this declaration.
6385 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6386 (DB_MAIN_VARIABLE): Likewise.
6387
b97eb2bd
L
63882015-03-16 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 [BZ #18134]
6391 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6392
cb219290
PE
63932015-03-15 Paul Eggert <eggert@cs.ucla.edu>
6394
6395 * stdlib/setenv.c (__add_to_environ): Revert previous change.
6396
a3905fd9
AS
63972015-03-14 Andreas Schwab <schwab@linux-m68k.org>
6398
6399 [BZ #18128]
6400 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6401 (atomic_add, atomic_increment_and_test)
6402 (atomic_decrement_and_test): Fix 64-bit arithmetic.
6403
2ecccaed
PE
64042015-03-13 Paul Eggert <eggert@cs.ucla.edu>
6405
6406 * stdlib/setenv.c (__add_to_environ):
6407 Dump core quickly if setenv (..., NULL, ...) is called.
6408
cdaf79d0
RM
64092015-03-13 Roland McGrath <roland@hack.frob.com>
6410
6411 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6412 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6413 all the necessary asm magic in one place.
6414 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6415 using those.
6416
cf9313e7
CD
64172015-03-13 Carlos O'Donell <carlos@redhat.com>
6418
6419 [BZ #14906]
6420 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6421 traced file mtime. Use consistent log message.
6422 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6423 (register_traced_file): Call install_watches. Always set mtime.
6424 (invalidate_cache): Iterate over all trace files. Call install_watches.
6425 (inotify_check_files): Don't inline. Handle watching parent
6426 directories and configuration file movement in and out.
6427 (handle_inotify_events): New function.
6428 (main_loop_poll): Call handle_inotify_events.
6429 (main_loop_epoll): Likewise.
6430 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6431 (struct traced_file): Use array of inotify fds. Add parent directory,
6432 and basename.
6433 (struct database_dyn): Remove unused file_mtime.
6434 (init_traced_file): New inline function.
6435 (define_traced_file): New macro.
6436 * nss/nss_db/db-init.c: Use define_traced_file.
6437 (_nss_db_init): Use init_traced_file.
6438 * nss/nss_files/files-init.c: Use define_traced_file.
6439 (_nss_files_init): Use init_traced_file.
6440
7d67a196
JM
64412015-03-12 Joseph Myers <joseph@codesourcery.com>
6442
6443 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6444 [_LIBC]: Do not include <stdlib.h>.
6445 [!_LIBC] (abort): Remove declaration.
6446 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6447 _FP_STATIC_ASSERT instead of conditionally calling abort.
6448 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6449 (_FP_EXTEND_CNAN): Likewise.
6450 (FP_TRUNC): Likewise.
6451 (__FP_CLZ): Likewise.
6452 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6453
af85ebcd
YS
64542015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
6455
6456 * manual/string.texi (XPG basename): Fix prototype.
6457
2e807f29
SL
64582015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6459
6460 [BZ #18080]
6461 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6462 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6463 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6464 (__setcontext): Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6466 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6467 Call rt_sigprocmask syscall one time to set new signal mask
6468 and retrieve the current signal mask instead of two calls.
6469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6470 (__swapcontext): Likewise.
6471 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6472 * stdlib/tst-setcontext2.c: New file.
6473
1b2bebe6
SL
64742015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6475
6476 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6477
6a1cf708
AJ
64782015-03-11 Aurelien Jarno <aurelien@aurel32.net>
6479
6480 [BZ #18093]
6481 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6482 the wrong size.
6483
a2d4cf72
PP
64842015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6485
6486 [BZ #18043]
6487 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6488
5ca10a0c
AZ
64892015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6490
6491 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6492 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6493 Remove define.
6494 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6495 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6496 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6497 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6498 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6499 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6500 define.
6501 * nptl_db/td_symbol_list.c (td_lookup): Remove
6502 HAVE_ASM_GLOBAL_DOT_NAME code.
6503 * sysdeps/powerpc/powerpc64/configure.ac: Remove
6504 HAVE_ASM_GLOBAL_DOT_NAME check.
6505 * sysdeps/powerpc/powerpc64/configure: Regenerate.
6506 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6507 (DOT_LABEL): Remove define.
6508 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6509 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6510 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6511 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6512 (__TLS_GET_ADDR): Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6514 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6515
e4363cfb
CD
65162015-03-11 Carlos O'Donell <carlos@redhat.com>
6517
6518 [BZ #18111]
6519 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6520 (_FPU_SETCW): Initialize cw from fpsr before storing.
6521 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6522 (fesetexceptflag): Rewrite using fpu_control.h.
6523 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6524
fae1aa8d
JDA
65252015-03-11 John David Anglin <danglin@gcc.gnu.org>
6526
6527 [BZ #18110]
6528 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6529 asms.
6530 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6531
068a6274
JM
65322015-03-11 Joseph Myers <joseph@codesourcery.com>
6533
6534 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6535 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6536 abort.
6537 (_FP_FMA): Likewise.
6538 (_FP_DIV): Likewise.
6539
d3821ab0
RM
65402015-03-10 Roland McGrath <roland@hack.frob.com>
6541
44a6213c
RM
6542 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6543 with 0 in that case.
6544 * Makefile (summarize-tests): New canned sequence, factored out of
6545 commands for targets tests and xtests. Display summary lines that
6546 don't start with PASS: or XFAIL: rather than ones that do start with
6547 ERROR: or FAIL:. Make the commands fail if any summary lines fail
6548 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6549 do start with ERROR: or FAIL:.
6550 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6551 (except for [$(build-shared) = yes]).
6552 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6553 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6554 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6555 * nptl/Makefile: Revert 2015-03-04 changes.
6556 [$(CXX) empty] (tests-unsupported): New variable.
6557 * debug/Makefile: Likewise.
6558
d3821ab0
RM
6559 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6560 gnulib file. Replace __attribute with __attribute__ throughout.
6561
85ca85ae
CD
65622015-03-10 Carlos O'Donell <carlos@redhat.com>
6563
6564 * sysdeps/hppa/fpu/libm-test-ulps: Update.
6565
6411f81d
JM
65662015-03-10 Joseph Myers <joseph@codesourcery.com>
6567
6568 [BZ #18104]
6569 * math/auto-libm-test-in: Add another test of pow.
6570 * math/auto-libm-test-out: Regenerated.
6571
d421868b
AZ
65722015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6573
6574 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6575 $(config-cflags-nofma).
6576
a2f8be9c
JM
65772015-03-10 Joseph Myers <joseph@codesourcery.com>
6578
6579 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6580 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6581 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6582 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6583 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6584 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6585 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6586 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6587 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6588 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6589 Add comment on closing #endif.
6590
01d032e0
PP
65912015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6592
6593 * posix/wordexp.c (CHAR_IN_SET): New macro.
6594 (parse_param): Use it.
6595
d439bc56
AZ
65962015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597
6598 * sysdeps/powerpc/fpu/libm-test-ulps: update.
6599
5f85a4bf
PP
66002015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6601
6602 [BZ #18043]
6603 * posix/wordexp.c (parse_param): Fix buffer overflow.
6604 * posix/wordexp-test.c (test_case): Add test case.
6605
f8ba70e9
PP
66062015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6607
6608 [BZ #18042]
6609 * posix/wordexp.c (parse_backtick): Fix off-by-one.
6610 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6611
36103ba2
PP
66122015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6613
6614 [BZ #18043]
6615 * posix/wordexp-test.c (test_case): Add test for BZ #18043
6616 (do_bz18043): Delete.
6617 (at_page_end): New.
6618 (testit): Refactor to have words at the edge of unreadable page.
6619
18d26750
PP
66202015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6621
6622 [BZ #16734]
6623 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6624 Cleanup read-only streams as well.
6625 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6626
9f95dc5d
ST
66272015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6628
6629 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6630 <bits/libc-lockP.h>
6631
b838844b
JM
66322015-03-07 Joseph Myers <joseph@codesourcery.com>
6633
6634 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
6635 on [__KERNEL__].
6636 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6637 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6638 * soft-fp/op-common.h (_FP_DECL): Likewise.
6639
e0ed2fb4
L
66402015-03-06 H.J. Lu <hongjiu.lu@intel.com>
6641
6642 * elf/ifuncdep2.c (global): Replace
6643 __attribute__((visibility("protected"))) with
6644 asm (".protected global").
6645 * elf/ifuncmod1.c (global): Likewise.
6646 * elf/ifuncmod5.c (global): Likewise.
6647
fa9dda64
JM
66482015-03-06 Joseph Myers <joseph@codesourcery.com>
6649
6650 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6651 <asm/sfp-machine.h> instead of <sfp-machine.h>.
6652
4acc27ed
RM
66532015-03-06 Roland McGrath <roland@hack.frob.com>
6654
6655 * manual/install.texi (Configuring and compiling):
6656 Document test-wrapper-env-only.
6657 * INSTALL: Regenerated.
6658
895c30cb
PP
66592015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6660
6661 [BZ #18043]
6662 * posix/wordexp.c (parse_param): Fix buffer overflow.
6663 * posix/wordexp-test.c (do_bz18043): Add test case.
6664
5df56c7e
VB
66652015-03-06 Vincent Bernat <vincent@bernat.im>
6666
6667 * time/tst-strptime2.c (do_test): Ensure failing tests are
6668 reported correctly.
6669 * time/tst-strptime3.c (do_test): Likewise.
6670
1cdf2ea1
ST
66712015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
6672
6673 Fix aio_error thread-safety.
1cdf2ea1
ST
6674 * sysdeps/pthread/aio_error.c: New file
6675 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6676 synchronization.
6677
d176a41a
FW
66782015-03-06 Florian Weimer <fweimer@redhat.com>
6679
6680 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6681 (group_number, vfprintf): Use it.
1597b744
FW
6682 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6683 (JUMP, REF): Use it.
6684 (WORK_BUFFER_SIZE): New enum constant.
6685 (process_arg, vfprintf): Use it.
d176a41a 6686
7e7af349
RJ
66872015-03-06 Rical Jasan <ricaljasan@pacific.net>
6688
6689 * manual/errno.texi (Error Messages): Complete example function
6690 by adding missing #define.
6691 (program_invocation_name): Add statement indicating GNU
6692 extension and reference which header file declares the variable.
6693 (program_invocation_short_name): Likewise.
6694
4ca8ddfb
MF
66952015-03-06 Mike Frysinger <vapier@gentoo.org>
6696
6697 * manual/errno.texi (Error Messages): Delete strerror ISO C89
6698 compatibility note.
6699
9162c01d
RM
67002015-03-05 Roland McGrath <roland@hack.frob.com>
6701
6702 * Makeconfig (test-wrapper-env-only): New variable.
6703 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6704 then use that with $(test-wrapper-env-only) rather than using
6705 $(test-wrapper-env) $(run-program-env) $($*-ENV).
6706
209826bc
L
67072015-03-05 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 [BZ #18082]
6710 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6711 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6712 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6713 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6714 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6715 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6716 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6717 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6718 Likewise.
6719 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6721 Likewise.
6722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6723 Likewise.
6724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6725 Likewise.
6726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6727 Likewise.
6728 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6730 Likewise.
6731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6732 Likewise.
6733 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6734 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6735
2cfe32bc
RM
67362015-03-04 Roland McGrath <roland@hack.frob.com>
6737
8bff5aab
RM
6738 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6739 (ETH_ALEN): New macro.
6740 (struct ether_addr): Use it for length of ether_addr_octet.
6741
2752f338
RM
6742 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6743 (setdb): Don't call __nss_configure_lookup for "rpc".
6744 (do_test): Don't call test_rpc.
6745 (output_rpcent, test_rpc): Functions moved ...
6746 * sunrpc/test-rpcent.c: ... to this new file.
6747 * sunrpc/Makefile (tests): Add it.
6748
2cfe32bc
RM
6749 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6750 __xpg_sigpause.
6751 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6752 * nptl/tst-signal6.c: Likewise.
6753 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6754 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6755
e4693aa7
RM
6756 * configure.ac (libc_cv_cxx_link_ok): New check.
6757 Reset CXX to empty if it fails to link.
6758 * configure: Regenerated.
6759 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6760 bug-atexit3-lib only if $(CXX) is nonempty.
6761 * nptl/Makefile (tests): Likewise for tst-cancel24.
6762 (tests, tests-static): Likewise for tst-cancel24-static.
6763 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6764 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
6765 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6766 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 6767
8e2e833a
AS
67682015-03-04 Andreas Schwab <schwab@suse.de>
6769
6770 [BZ #17631]
6771 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6772 for non-GCC compilers.
6773 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6774 Likewise.
6775
85b29045
AZ
67762015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6777
6778 [BZ #17776]
6779 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6780 integer before bitwise and assembly operations.
6781 (feclearexcept): Likewise.
6782 * math/test-fenvinline.c: New file.
6783 * math/Makefile: Add test-fenvinline test.
6784
a0af371c
AM
67852015-03-03 Alan Modra <amodra@gmail.com>
6786
6787 [BZ #16512]
6788 * scripts/localplt.awk: Strip off symbol version.
6789 * NEWS: Mention bug fix.
6790
47465629
RM
67912015-03-02 Roland McGrath <roland@hack.frob.com>
6792
6793 * sysdeps/pthread/timer_routines.c
6794 (timer_free_list, thread_free_list, thread_active_list): Make static.
6795
6d08b022
JM
67962015-03-02 Joseph Myers <joseph@codesourcery.com>
6797
6798 [BZ #17779]
6799 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6800 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6801 Undefine.
6802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6803 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6804 Likewise.
6805 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6806 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6807 Likewise.
6808
c2c6d39f
PP
68092015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6810
6811 [BZ #18036]
6812 * posix/fnmatch_loop.c (END): Detect invalid pattern.
6813 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6814
e8b6be00
AS
68152015-03-02 Andreas Schwab <schwab@suse.de>
6816
6817 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6818 variable name.
6819
1a2d98af
FW
68202015-03-02 Florian Weimer <fweimer@redhat.com>
6821
6822 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6823 Return error status.
6824
e7f07af5
AO
68252015-02-27 Alexandre Oliva <aoliva@redhat.com>
6826
6827 [BZ #15969]
6828 * locale/findlocale.c (_nl_find_locale): Introduce const
6829 version of loc_name and drop unsafe type casts.
6830
c7b19ca9
RM
68312015-02-27 Roland McGrath <roland@hack.frob.com>
6832
6833 * dlfcn/tststatic2.c (main): Converted to ...
6834 (do_test): ... this.
6835 (TEST_FUNCTION): New macro.
6836 Include test-skeleton.c.
6837
ef4ad06f
L
68382015-02-27 H.J. Lu <hongjiu.lu@intel.com>
6839
6840 [BZ #17711]
6841 * elf/Makefile (tests): Add vismain only if PIE is enabled.
6842 (tests-pie): Add vismain.
6843 (CFLAGS-vismain.c): New.
6844 * elf/vismain.c: Add comments for PIE requirement.
6845
2ca725c5
JM
68462015-02-27 Joseph Myers <joseph@codesourcery.com>
6847
6848 [BZ #18046]
6849 [BZ #18047]
6850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6851 0x1p-56L as threshold for just returning the argument.
6852 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6853 0x1p-32L as threshold for just returning the argument.
6854 * math/auto-libm-test-in: Add more tests of atanh.
6855 * math/auto-libm-test-out: Regenerated.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6858
af96be34
WD
68592015-02-27 Wilco Dijkstra wdijkstr@arm.com
6860
6861 * string/bcopy.c (bcopy): Call memmove for performance.
6862
ddcf6798
WD
68632015-02-27 Wilco Dijkstra wdijkstr@arm.com
6864
6865 * string/bzero.c (__bzero): Call memset for performance.
6866
49f476f4
JDA
68672015-02-27 John David Anglin <dave.anglin@bell.net>
6868
b42e14ff 6869 [BZ #18068]
49f476f4
JDA
6870 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6871 to 00100000.
6872
f8ab5d38
JM
68732015-02-27 Joseph Myers <joseph@codesourcery.com>
6874
6875 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6876
380bd0fd
JM
68772015-02-26 Joseph Myers <joseph@codesourcery.com>
6878
31331a07
JM
6879 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6880 (__kernel_standard): Use CSTR macro when setting exc.name.
6881 * sysdeps/ieee754/Makefile [$(subdir) = math]
6882 (CFLAGS-k_standard.c): Remove variable.
6883
09220e66
JM
6884 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6885 setting p and q from "else if" to "else".
6886 (qzero): Likewise.
6887 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6888 (qone): Likewise.
6889 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6890 (qzerof): Likewise.
6891 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6892 (qonef): Likewise.
6893 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6894 (qzero): Likewise.
6895 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6896 (qone): Likewise.
6897
1d9ab20c
JM
6898 [BZ #18038]
6899 [BZ #18039]
6900 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6901 return pi/2 for arguments below 0x1p-113L.
6902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6903 return pi/2 for arguments below 0x1p-106L.
6904 * math/auto-libm-test-in: Add more tests of acos.
6905 * math/auto-libm-test-out: Regenerated.
6906
ec0ce0d3
JM
6907 [BZ #16351]
6908 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6909 (MO): New macro.
6910 (__ieee754_asin): Force underflow exception for results with small
6911 absolute value.
6912 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6913 (MO): New macro.
6914 (__ieee754_asinf): Force underflow exception for results with
6915 small absolute value.
6916 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6917 (__ieee754_asin): Force underflow exception for results with small
6918 absolute value.
6919 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6920 (__ieee754_asinf): Force underflow exception for results with
6921 small absolute value.
6922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6923 (__ieee754_asinl): Force underflow exception for results with
6924 small absolute value.
6925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6926 (__ieee754_asinl): Force underflow exception for results with
6927 small absolute value.
6928 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6929 (__ieee754_asinl): Force underflow exception for results with
6930 small absolute value.
6931 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6932 Include <math.h>.
6933 * math/auto-libm-test-in: Do not mark underflow exceptions as
6934 possibly missing for bug 16351.
6935 * math/auto-libm-test-out: Regenerated.
6936
380bd0fd
JM
6937 [BZ #18030]
6938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6939 of power of 2 down when low part has opposite sign.
6940 * math/libm-test.inc (logb_test_data): Add more tests.
6941
4a28f4d5
AS
69422015-02-26 Andreas Schwab <schwab@suse.de>
6943
6944 [BZ #18032]
6945 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6946 over collating symbol inside a bracket expression. Minor cleanup.
6947 * posix/tst-fnmatch3.c (do_test): Add test case.
6948
524ae9ea
JM
69492015-02-26 Joseph Myers <joseph@codesourcery.com>
6950
6951 [BZ #18029]
6952 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6953 Adjust exponent of power of 2 down when low part has opposite
6954 sign.
6955 * math/libm-test.inc (ilogb_test_data): Add more tests.
6956
23d43090
AO
69572015-02-26 Alexandre Oliva <aoliva@redhat.com>
6958
6959 [BZ #15969]
6960 * locale/findlocale.c (_nl_find_locale): Fix constness error in
6961 the previous change.
0d822a01
AO
6962
6963 [BZ #15969]
6964 * locale/findlocale.c (_nl_find_locale): Retry archive search
6965 after alias expansion.
6966
d19df6ac
RM
69672015-02-25 Roland McGrath <roland@hack.frob.com>
6968
ca681b7b
RM
6969 * iconv/tst-iconv3.c (main): Converted to ...
6970 (do_test): ... this.
6971 (TEST_FUNCTION): New macro.
6972 Include test-skeleton.c.
6973
fd1f2f1c
RM
6974 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6975 (convert): Make function static.
6976 (test_unalign): Likewise. Add const to argument pointee types.
6977 (main): Replace with static function do_test.
6978 Print "Succeeded." only if RET is zero.
6979 (TEST_FUNCTION): New macro.
6980 Include test-skeleton.c.
6981
d19df6ac
RM
6982 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6983 returns a null pointer.
6984
115e0de7
AZ
69852015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986
6987 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6988 to __memcpy_ppc only for static builds.
6989
137cef7d
JM
69902015-02-25 Joseph Myers <joseph@codesourcery.com>
6991
6992 [BZ #18020]
6993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6994 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6995 * math/auto-libm-test-in: Add more tests of asinh.
6996 * math/auto-libm-test-out: Regenerated.
6997 * sysdeps/i386/fpu/libm-test-ulps: Update.
6998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6999
cb43bb0d
CW
70002015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
7001
7002 [BZ #15850]
7003 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7004 and ip6_mtuinfo definitions here.
7005 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7006 in this define too. Update comment.
7007
9be1052b
BS
70082015-02-24 Benno Schulenberg <bensberg@justemail.net>
7009
7010 * elf/sprof.c (load_shobj): Tweak error message to match others.
7011
6807b1db
KE
70122015-02-24 Kevin Easton <kevin@guarana.org>
7013
7014 [BZ #16145] (partial fix)
7015 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7016 to reduce lock contention.
7017
b433df00
ML
70182015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
7019
7020 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7021 (struct timex): Update time comment.
7022 (ADJ_SETOFFSET): Define.
7023
440169d6
JM
70242015-02-24 Joseph Myers <joseph@codesourcery.com>
7025
7026 [BZ #18019]
7027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7028 2**56 not 2**28 as threshold for log (2x) formula.
7029 * math/auto-libm-test-in: Add more tests of acosh.
7030 * math/auto-libm-test-out: Regenerated.
7031 * sysdeps/i386/fpu/libm-test-ulps: Update.
7032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7033
ba7d2c54
MF
70342015-02-24 Mike Frysinger <vapier@gentoo.org>
7035
7036 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7037 parenthesis around the buf assignment.
7038 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7039
9438b237
JM
70402015-02-24 Joseph Myers <joseph@codesourcery.com>
7041
7042 [BZ #16783]
7043 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7044 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7045 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7046 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7047 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7048 * math/libm-test.inc (scalb_test_data): Add more tests.
7049
6909d276
PP
70502015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7051
7052 [BZ #17916]
7053 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7054 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7055
65f6f938
ER
70562015-02-24 Eric Rannaud <e@nanocritical.com>
7057
7058 [BZ #17523]
7059 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7060 * io/bits/fcntl2.h (open): Use it.
7061 (openat): Likewise.
7062 * io/open.c (__libc_open): Likewise.
7063 * io/open64.c (__libc_open64): Likewise.
7064 * io/open64_2.c (__open64_2): Likewise.
7065 * io/open_2.c (__open_2): Likewise.
7066 * io/openat.c (__openat): Likewise.
7067 * io/openat64.c (__openat64): Likewise.
7068 * io/openat64_2.c (__openat64_2): Likewise.
7069 * io/openat_2.c (__openat_2): Likewise.
7070 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7071 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7072 * sysdeps/posix/open64.c (__libc_open64): Likewise.
7073 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7074 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7075 (__open_nocancel): Likewise.
7076 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7077 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7078 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7079
3e3002ff
SP
70802015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
7082 [BZ #14841]
7083 * resolv/gethnamaddr.c (getanswer): Skip logging if
7084 RES_USE_DNSSEC is set.
7085 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7086
9813dd58
MF
70872015-02-24 Mike Frysinger <vapier@gentoo.org>
7088
7089 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7090
7b1ec6a0
AO
70912015-02-23 Alexandre Oliva <aoliva@redhat.com>
7092
7093 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7094 201304L, for Unicode 7.
7095
d49499c1
L
70962015-02-23 H.J. Lu <hongjiu.lu@intel.com>
7097
7098 [BZ #17836]
7099 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7100 shared library. Add gmon-start.os otherwise.
7101 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7102 $(objpfx)gmon-start.os if builing shared library.
7103 ($(objpfx)g$(static-start-installed-name)): Likewise.
7104
51225803
AS
71052015-02-23 Andreas Schwab <schwab@suse.de>
7106
7107 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7108
bdf1ff05
PP
71092015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7110
7111 [BZ #17269]
7112 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7113 (enlarge_userbuf): Likewise.
7114
95296112
CLT
71152015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
7116
7117 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7118 * math/atest-exp.c (TIMEOUT): Adjust to 200.
7119 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7120 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7121
e4a399dc
JM
71222015-02-20 Joseph Myers <joseph@codesourcery.com>
7123
7124 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7125 expression inside statement expression.
7126
7133957f
SL
71272015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7128
7129 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7130 <sysdeps/nptl/lowlevellock.h> and remove macros and
7131 functions that are now defined there.
7132 (SYS_futex): Remove.
7133 (lll_compare_and_swap): Remove.
7134 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7135
40176158
JM
71362015-02-19 Joseph Myers <joseph@codesourcery.com>
7137
7138 [BZ #17999]
7139 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7140 instead of scandirat.
7141 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7142 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7143 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7144 __scandirat.
7145 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7146 (__scandirat): Declare. Use libc_hidden_proto.
7147 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7148 Remove variable.
7149 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7150
4629c866
JM
71512015-02-18 Joseph Myers <joseph@codesourcery.com>
7152
7153 [BZ #15319]
7154 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7155 (MO): New macro.
7156 (__ieee754_atan2): For results with small absolute value, force
7157 underflow exception and remove excess range and precision from
7158 return value.
7159 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7160 (MO): New macro.
7161 (__ieee754_atan2f): For results with small absolute value, force
7162 underflow exception and remove excess range and precision from
7163 return value.
7164 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7165 (MO): New macro.
7166 (__atan): For results with small absolute value, force underflow
7167 exception and remove excess range and precision from return value.
7168 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7169 (MO): New macro.
7170 (__atanf): For results with small absolute value, force underflow
7171 exception and remove excess range and precision from return value.
7172 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7173 <math.h>.
7174 (__ieee754_atan2): Force underflow exception for results with
7175 small absolute value.
7176 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7177 <math_private.h>.
7178 (atan): Force underflow exception for results with small absolute
7179 value.
7180 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7181 (__atanf): Force underflow exception for results with small
7182 absolute value.
7183 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7184 <math.h>.
7185 (__atanl): Force underflow exception for results with small
7186 absolute value.
7187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7188 (__atanl): Force underflow exception for results with small
7189 absolute value.
7190 * sysdeps/x86/fpu/bits/mathinline.h
7191 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7192 (__ieee754_atan2): Only define inline for long double.
7193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7194 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7195 * math/auto-libm-test-in: Do not mark underflow exceptions as
7196 possibly missing for bug 15319. Add more tests of atan2.
7197 * math/auto-libm-test-out: Regenerated.
7198 * math/libm-test.inc (casin_test_data): Do not mark underflow
7199 exceptions as possibly missing for bug 15319.
7200 (casinh_test_data): Likewise.
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7202
9ee16d8b
SE
72032015-02-18 Steve Ellcey <sellcey@imgtec.com>
7204
7205 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7206 * sysdeps/mips/bits/endian.h: Fix comments.
7207
4ffb1771
JM
72082015-02-18 Joseph Myers <joseph@codesourcery.com>
7209
7210 [BZ #17996]
7211 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7212 (hdestroy_r): Likewise.
7213 (hsearch_r): Likewise.
7214 (__hcreate_r): Declare and use libc_hidden_proto.
7215 (__hdestroy_r): Likewise.
7216 (__hsearch_r): Likewise.
7217 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7218 (hcreate): Call __hcreate_r instead of hcreate_r.
7219 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7220 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7221 as weak alias of __hcreate_r.
7222 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7223 __hdestroy_r.
7224 (hsearch_r): Rename to __hsearch_r and define as weak alias of
7225 __hsearch_r.
7226 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7227 Remove variable.
7228 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7229 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7230 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7231 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7232
94c5a52a
SP
72332015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7234
7235 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7236 arena_lock into a single arena_get.
7237
8a35c3fe
CD
72382015-02-17 Carlos O'Donell <carlos@redhat.com>
7239
7240 * dl-reloc.c: Inlucde libc-internal.h.
7241 (_dl_try_allocate_static_tls): Call ALIGN_UP.
7242 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7243 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7244 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7245 (grow_heap): Likewise.
7246 * malloc/malloc.c: Include libc-internal.h.
7247 (do_check_malloc): Call powerof2.
7248 (sysmalloc): Use pagesize. Call ALIGN_UP.
7249 (systrim): Use pagesize.
7250 (mremap_chunk): Use pagesize. Call ALIGN_UP.
7251 (__libc_valloc): Use pagesize.
7252 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7253
1a2325c0
JM
72542015-02-17 Joseph Myers <joseph@codesourcery.com>
7255
7256 [BZ #17991]
7257 * include/sys/resource.h (__getrlimit64): Declare. Use
7258 libc_hidden_proto.
7259 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7260 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
7261 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7262 getrlimit64.
7263 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7264 __getrlimit64.
7265 [!getrlimit64] (getrlimit64): Define as weak alias of
7266 __getrlimit64. Use libc_hidden_weak.
7267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7268 using __getrlimit64 not __new_getrlimit64.
7269 (__GI_getrlimit64): Likewise.
7270 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7271 Likewise.
7272 (__GI_getrlimit64): Likewise.
7273 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7275 (getrlimit): Add __getrlimit64 alias.
7276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7277 Likewise.
7278 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7279 Remove variable.
7280 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7281 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7282
8ae4bb5a
PP
72832015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7284
7285 * libio/fileops.c: Add missing sys/mman.h
7286 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7287
18a218b7
JM
72882015-02-17 Joseph Myers <joseph@codesourcery.com>
7289
7290 * manual/math.texi (Errors in Math Functions): Clarify goals
7291 regarding inexact and underflow exceptions.
7292
e72ad0ef
SE
72932015-02-17 Steve Ellcey <sellcey@imgtec.com>
7294
7295 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7296 * sysdeps/mips/memset.S: Ditto.
7297
2caa4099
SE
72982015-02-17 Steve Ellcey <sellcey@imgtec.com>
7299
7300 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7301
f20bfc9b
SL
73022015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7303
7304 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7305 (__v1longjmp): Remove versioned symbol.
7306 (__v1siglongjmp): Remove alias and versioned symbol.
7307 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7308 (__v2siglongjmp): Likewise.
7309
71c06b69
TR
73102015-02-16 Torvald Riegel <triegel@redhat.com>
7311
7312 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7313
a9a05adb
MF
73142015-02-16 Mike Frysinger <vapier@gentoo.org>
7315
7316 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7317
ce8fc784
JM
73182015-02-16 Joseph Myers <joseph@codesourcery.com>
7319
7320 [BZ #17987]
7321 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7322 zero result does not depend on the sign resulting from
7323 subtraction.
7324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7325 Likewise.
7326 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7327 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7330 * math/libm-test.inc (remquo_test_data): Add more tests.
7331
0d7036bd
PE
73322015-02-16 Paul Eggert <eggert@cs.ucla.edu>
7333
7334 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7335 Problem reported by J William Piggott.
7336
86c56b16
JM
73372015-02-16 Joseph Myers <joseph@codesourcery.com>
7338
a820f9b3
JM
7339 [BZ #17978]
7340 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7341 products 4 * y and 2 * y where those would overflow.
7342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7343 Likewise.
7344 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7345 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7347 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7348 * math/libm-test.inc (remquo_test_data): Add more tests.
7349
be802953
JM
7350 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7351
e5e72fe9
JM
7352 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7353 [defined _COMPILING_NEWLIB].
7354 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7355 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7356
86c56b16
JM
7357 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7358 [!defined __mips_isa_rev || __mips_isa_rev < 6].
7359
35264d14
TR
73602015-02-16 Torvald Riegel <triegel@redhat.com>
7361
7362 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7363 acquired.
7364
6f49e32a
MF
73652015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
7366
7367 [BZ #17792]
7368 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7369 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7370 HOST_STACK_END_ADDR): Likewise.
7371
e525154e
SE
73722015-02-13 Steve Ellcey <sellcey@imgtec.com>
7373
7374 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7375 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7376 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7377
4ab770b7
RM
73782015-02-13 Roland McGrath <roland@hack.frob.com>
7379
7380 * sysdeps/generic/c++-types.data: New file.
7381 * sysdeps/generic/ld.abilist: New file.
7382 * sysdeps/generic/libBrokenLocale.abilist: New file.
7383 * sysdeps/generic/libanl.abilist: New file.
7384 * sysdeps/generic/libc.abilist: New file.
7385 * sysdeps/generic/libcrypt.abilist: New file.
7386 * sysdeps/generic/libdl.abilist: New file.
7387 * sysdeps/generic/libm.abilist: New file.
7388 * sysdeps/generic/libpthread.abilist: New file.
7389 * sysdeps/generic/libresolv.abilist: New file.
7390 * sysdeps/generic/librt.abilist: New file.
7391
d9afe48d
JM
73922015-02-13 Joseph Myers <joseph@codesourcery.com>
7393
7394 [BZ #17569]
7395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7396 Compute absolute value of x as modified by fmod, not original
7397 value of x.
7398 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7399 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
7400 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
7401 RUN_TEST_ffI_f1_mod8.
7402 (remquo_test_data): Add more tests.
7403
3846188b
RM
74042015-02-13 Roland McGrath <roland@hack.frob.com>
7405
7406 * sysdeps/init_array/pt-crti.S: New file.
7407
95c26233
JM
74082015-02-13 Joseph Myers <joseph@codesourcery.com>
7409
7410 [BZ #17967]
7411 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7412 __builtin_fmaf instead of relying on contraction of a * b + c.
7413
3f293d61
WP
74142015-02-12 J William Piggott <elseifthen@gmx.com>
7415
7416 [BZ #17969]
7417 * manual/time.texi: correct the zoneinfo path in the TZ Variable
7418 node.
7419
e8bd5286
JM
74202015-02-12 Joseph Myers <joseph@codesourcery.com>
7421
7422 [BZ #17964]
7423 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7424 __builtin_fma instead of relying on contraction of a * b + c.
7425
04f5a636
RM
74262015-02-12 Roland McGrath <roland@hack.frob.com>
7427
96a15749
RM
7428 * Makeconfig (ASFLAGS): Add -Werror=undef.
7429 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7430 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7431 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7432
04f5a636
RM
7433 * Makeconfig (after-link): New variable.
7434 (+link-pie, +link-pie-tests): Use it.
7435 (+link-static, +link-static-tests): Likewise.
7436 (+link, +link-tests): Likewise.
7437 * Makerules (build-module, build-module-asneeded): Likewise.
7438 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7439 Likewise.
7440 * elf/Makefile ($(objpfx)ld.so): Likewise.
7441
87a629c5
RS
74422015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
7443
7444 [BZ #17965]
7445 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7446 both struct timeval and struct timespec.
7447
03d95bd4
JM
74482015-02-12 Joseph Myers <joseph@codesourcery.com>
7449
7450 [BZ #16560]
7451 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7452 and redefine.
7453 (__ieee754_exp2l): Do not multiply small fractional parts by
7454 M_LN2l.
7455 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7456 small argument.
7457 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7458 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7459 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7460 * math/auto-libm-test-in: Add more tests of exp2.
7461 * math/auto-libm-test-out: Regenerated.
7462
98408b95
RS
74632015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7464
7465 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7466 unaligned path.
7467
6f741503
AZ
74682015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469
7470 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7471 little endian.
7472
2868e070
AS
74732015-02-12 Andreas Schwab <schwab@suse.de>
7474
7475 [BZ #15790]
7476 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7477 Filter out elision flags from value returned in kind.
7478 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7479 * nptl/tst-pthread-mutexattr.c: New file.
7480
ebf27d12
ST
74812015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
7482
7483 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7484 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7485 into gnu-gnu, and update comment to refer to abi-tags.
7486
d435569c
JM
74872015-02-11 Joseph Myers <joseph@codesourcery.com>
7488
7489 [BZ #15467]
7490 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7491 (__sincos): Set errno to EDOM for infinite argument.
7492 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7493 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7494 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7495 (__sincosl): Set errno to EDOM for infinite argument.
7496 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7497 (__sincosl): Set errno to EDOM for infinite argument.
7498 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7499 (__sincosl): Set errno to EDOM for infinite argument.
7500 * math/libm-test.inc (sincos_test_data): Test errno setting.
7501
d35273f2
LH
75022015-02-11 Leonhard Holz <leonhard.holz@web.de>
7503
7504 * string/strxfrm_l.c: Remove #define STRCMP.
7505 * string/strcoll_l.c: Remove #define STRLEN.
7506 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7507 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7508
306bc0d1
JM
75092015-02-10 Joseph Myers <joseph@codesourcery.com>
7510
7511 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7512 * sysdeps/mips/mips32/sfp-machine.h: ... here.
7513 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7514 * sysdeps/mips/mips64/Makefile: ... here.
7515 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7516 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7517 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7518 * sysdeps/mips/mips64/sfp-machine.h: ... here.
7519 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7520 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7521 * sysdeps/mips/mips64/n64/Implies: Likewise.
7522
92b67e8d
RM
75232015-02-10 Roland McGrath <roland@hack.frob.com>
7524
7525 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7526 <sys/time.h>, <string.h>, and <errno.h>.
7527 (dest_offset, dest_address, value, zero): Remove unused variables.
7528 (ldouble): Remove typedef.
7529 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7530 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
7531 1). Fix code style.
7532 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7533 (check): Function removed.
7534 (CHECK): New macro.
7535 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
7536 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7537 Don't call set_sigaction_FP and remove_sigaction_FP here.
7538 (ldouble_test): Just use 'long double' as macro argument, no need for
7539 the 'ldouble' typedef.
7540 (do_test): Set up SIGFPE handler at start, using plain signal rather
7541 than sigaction. Fix code style.
7542
132a1328
EF
75432015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
7544
7545 [BZ #17949]
7546 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7547 jump label.
7548
3001e54c
AZ
75492015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7550
bc0cdc49
AZ
7551 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7552 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7553
83658961
AZ
7554 * sysdeps/powerpc/configure.ac: Remove file.
7555 * sysdeps/powerpc/configure: Likewise.
7556
10169938
AZ
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7558 [sysdep_routines]: Remove wordcopy-power6 object.
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7560 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7562 (__memmove_ppc32): Likewise.
7563 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7564 file.
7565 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7566 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7567 Remove preprocessor.
7568
8548a53d
AZ
7569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7570 [sysdep_routines]: Remove wide chars objects.
7571 [wcsmbs]: New rule for wide char objects.
7572
b2692114
AZ
7573 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7574 Remove wordcopy-power6 obejct.
7575 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7576 Use local call for wordcopy and memcpy symbols.
7577 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7579 implementation for loader.
7580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7581
18e270aa
AZ
7582 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7583 Remove wordcopy-power7 object.
7584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7586 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7587 (_wordcopy_fwd_dest_aligned): Likewise.
7588 (_wordcopy_bwd_aligned): Likewise.
7589 (_wordcopy_bwd_dest_aligned): Likewise.
7590
6f0993a6
AZ
7591 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7592 Rewrite to call __memmove_ppc instead of include default
7593 implementation.
7594
3001e54c
AZ
7595 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7596 Remove wide chars objects.
7597 [wcsmbs]: New rule for wide char objects.
7598
59b61c82
AS
75992015-02-09 Andreas Schwab <schwab@suse.de>
7600
7601 [BZ #17912]
7602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7603 in terms of __O_DIRECTORY.
7604
ebd7aede
ST
76052015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7606
7607 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
7608 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7609 call PTR_MANGLE.
7610 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7611 PTR_DEMANGLE.
ebd7aede 7612
3999d26e
PE
76132015-02-07 Paul Eggert <eggert@cs.ucla.edu>
7614
7615 Add ersatz _Static_assert on older C hosts
7616 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7617 pre-C11 C platform that is not known to support _Static_assert.
7618
e9a5bc1c
ST
76192015-02-07 Richard Braun <rbraun@sceen.net>
7620
7621 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7622 sigstate.
e86c5b64 7623 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 7624
e2049d17
ST
76252015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7626
7627 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7628 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
7629 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7630 instead of int.
7631 * misc/fchflags.c (fchflags): Likewise.
7632 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7633 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7634 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7635 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7636 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7637 Declare macros.
7638 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
7639 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7640 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
7641 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7642 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7643 45.
a9a002fb
ST
7644 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7645 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
7646 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7647 MACH_RCV_TIMED_OUT.
f96ec27a
ST
7648 * hurd/hurd/signal.h (_hurd_self_sigstate,
7649 _hurd_critical_section_lock, _hurd_critical_section_unlock):
7650 Explicit casts from void *.
4fc81a77 7651 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 7652 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 7653
f05826f0
ST
7654 [BZ #4719]
7655 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7656 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7657 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7658 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7659 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7660 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7661
a5eb23de
ST
7662 [BZ #17944]
7663 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7664 duplicates ADDR->sun_path with sockaddr LEN limitation.
7665 * sysdeps/mach/hurd/connect.c: Include <string.h>
7666 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7667 * sysdeps/mach/hurd/sendmsg.c: Likewise.
7668 * sysdeps/mach/hurd/sendto.c: Likewise.
7669 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7670 implementing it by hand.
7671
ac9e0e5e
RM
76722015-02-06 Roland McGrath <roland@hack.frob.com>
7673
f8d1bb4c
RM
7674 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7675 Use sfi_breg on ldr.
7676 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7677 Likewise.
7678
022f4812
RM
7679 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7680 it's defined.
7681 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7682 Test SIGSETXID only if it's defined.
7683
1ac074e6
RM
7684 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7685
f50ad78b
RM
7686 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7687 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
7688
9e7265f4
RM
7689 * nptl/tst-align2.c: Moved ...
7690 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7691 * nptl/Makefile (tests): Remove tst-align2.
7692 * sysdeps/unix/sysv/linux/Makefile
7693 [$(subdir) = nptl] (tests): Add tst-align-clone.
7694 * nptl/tst-getpid1.c: Moved ...
7695 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7696 * nptl/tst-getpid2.c: Moved ...
7697 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7698 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7699 * sysdeps/unix/sysv/linux/Makefile
7700 [$(subdir) = nptl] (tests): ... here.
7701 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7702 * sysdeps/unix/sysv/linux/Makefile
7703 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7704
62ad2abc
RM
7705 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7706 Drop trailing \n from perror argument. Use return rather than exit.
7707
cfa69b0b
RM
7708 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7709 on [SA_SIGINFO].
7710 * nptl/tst-cancel21.c (do_test): Likewise.
7711 * debug/tst-backtrace6.c: Include <signal.h> first thing.
7712 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7713 [!SA_SIGINFO]: Make it a stub test.
7714
82727806
RM
7715 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7716 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7717
da3a1594
RM
7718 * posix/tst-getlogin.c: Move to ...
7719 * login/tst-getlogin.c: ... here.
7720 * posix/Makefile (tests): Move tst-getlogin to ...
7721 * login/Makefile (tests): ... here.
7722
b65c0ff9
RM
7723 * libio/tst-atime.c (do_test): Move local variables SV and E
7724 inside [ST_NOATIME] conditional.
7725
56606ab3
RM
7726 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7727
ebf7d6ee
RM
7728 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7729
ca0e0675
RM
7730 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7731 (wait_code): New function replaces macro.
7732 Call nanosleep rather than syscall.
7733
8c28bbc6
RM
7734 * nptl/pt-system.c: Rewritten. Put everything under
7735 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7736 Use IFUNC to redirect when possible.
7737
ec2a88b3
RM
7738 * nptl/pt-longjmp.c: Rewritten. Put everything under
7739 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7740 Use IFUNC to redirect when possible.
7741
beff1d13
RM
7742 * nptl/pt-fork.c: Rewritten. Put everything under
7743 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7744 Use IFUNC to redirect when possible.
7745 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7746
ea02c6b8
RM
7747 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7748 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7749 unconditionally nowadays. This included the only reference to
7750 __vdso_clock_gettime that appears outside libc proper.
7751 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7752 Remove version set (containing only __vdso_clock_gettime).
7753 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7754 Add attribute_hidden.
7755 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7756 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7757 libc_hidden_data_def.
7758 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7759 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7760
a1309c2b
RM
7761 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7762 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7763 setrpcent, and getrpcport to ...
7764 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7765 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7766 getrpcbynumber_r, and getrpcent_r to ...
7767 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7768 * inet/getrpcbyname.c: Moved ...
7769 * sunrpc/getrpcbyname.c: ... here.
7770 * inet/getrpcbyname_r.c: Moved ...
7771 * sunrpc/getrpcbyname_r.c: ... here.
7772 * inet/getrpcbynumber.c: Moved ...
7773 * sunrpc/getrpcbynumber.c: ... here.
7774 * inet/getrpcbynumber_r.c: Moved ...
7775 * sunrpc/getrpcbynumber_r.c: ... here.
7776 * inet/getrpcent.c: Moved ...
7777 * sunrpc/getrpcent.c: ... here.
7778 * inet/getrpcent_r.c: Moved ...
7779 * sunrpc/getrpcent_r.c: ... here.
7780 * inet/Makefile (routines): Move those to ...
7781 * sunrpc/Makefile (routines): ... here.
7782 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7783 the $(subdirs) list.
7784 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
7785 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7786 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7787 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7788
ac9e0e5e
RM
7789 * elf/Makefile (routines): Include $(all-dl-routines), not just
7790 $(dl-routines).
7791 (rtld-routines): Likewise. Use = rather than :=.
7792 * sysdeps/aarch64/Makefile [$(subdir) = elf]
7793 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7794 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7795 * sysdeps/arm/Makefile: Likewise.
7796 * sysdeps/i386/Makefile: Likewise.
7797 * sysdeps/x86_64/Makefile: Likewise.
7798 * sysdeps/hppa/Makefile [$(subdir) = elf]
7799 (sysdep_routines, sysdep-rtld-routines): Don't add
7800 $(sysdep-dl-routines) to these.
7801 * sysdeps/ia64/Makefile: Likewise.
7802 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7803 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7804 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7805 Don't add dl-static to these; sysdep-dl-routines alone is enough.
7806 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7807 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7809 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7810 * sysdeps/powerpc/Makefile [$(subdir) = elf]
7811 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7812 these; sysdep-dl-routines alone is enough.
7813
639e42eb
JM
78142015-02-06 Joseph Myers <joseph@codesourcery.com>
7815
1c7a4a51
JM
7816 [BZ #17932]
7817 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7818 where multiplication results in zero and third argument is finite
7819 and nonzero.
7820 * math/auto-libm-test-in: Add more tests of fma.
7821 * math/auto-libm-test-out: Regenerated.
7822
61f006c1
JM
7823 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7824 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7825 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7826 (_FP_CMP_EQ): Likewise.
7827 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7828
639e42eb
JM
7829 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7830 extra argument CHECK_NAN. Redefine as wrapper around
7831 _FP_EXTEND_CNAN.
7832
3c0c543b
CD
78332015-02-06 Carlos O'Donell <carlos@systemhalted.org>
7834
4e42b5b8
CD
7835 * version.h (RELEASE): Set to "stable".
7836 (VERSION): Set to "2.21"
7837 * include/features.h (__GLIBC_MINOR__): Set to 21.
7838
3c0c543b
CD
7839 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7840
5bd80bfe 78412015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 7842 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
7843
7844 [BZ #16618]
7845 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7846 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7847 size in bytes. Store needed elements in wpmax. Use needed size
7848 in bytes for extend_alloca.
7849
3f823f48
CD
78502015-02-05 Carlos O'Donell <carlos@systemhalted.org>
7851
04cb913d
CD
7852 * manual/install.texi: Latest tested versions are GCC 4.9.2,
7853 binutls 2.25, and texinfo 5.2.
7854 * INSTALL: Regenerate.
7855 * sysdeps/nios2/configure: Regenerate.
7856 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7857 * manual/contrib.texi: Update.
7858 * po/be.po: Update.
7859 * po/bg.po: Update.
7860 * po/ca.po: Update.
7861 * po/cs.po: Update.
7862 * po/da.po: Update.
7863 * po/de.po: Update.
7864 * po/el.po: Update.
7865 * po/eo.po: Update.
7866 * po/es.po: Update.
7867 * po/fi.po: Update.
7868 * po/fr.po: Update.
7869 * po/gl.po: Update.
7870 * po/hr.po: Update.
7871 * po/hu.po: Update.
7872 * po/ia.po: Update.
7873 * po/id.po: Update.
7874 * po/it.po: Update.
7875 * po/ja.po: Update.
7876 * po/ko.po: Update.
7877 * po/lt.po: Update.
7878 * po/nb.po: Update.
7879 * po/nl.po: Update.
7880 * po/pl.po: Update.
7881 * po/pt_BR.po: Update.
7882 * po/ru.po: Update.
7883 * po/rw.po: Update.
7884 * po/sk.po: Update.
7885 * po/sl.po: Update.
7886 * po/sv.po: Update.
7887 * po/tr.po: Update.
7888 * po/uk.po: Update.
7889 * po/vi.po: Update.
7890 * po/zh_CN.po: Update.
7891 * po/zh_TW.po: Update.
7892
3f823f48
CD
7893 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7894 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7895 * sysdeps/hppa/dl-irel.h: Remove #warning.
7896 * sysdeps/hppa/entry.h: Provide prototype for
7897 __canonicalize_funcptr_for_compare and cast argument.
7898 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7899 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7900 * sysdeps/hppa/sotruss-lib.c: New file.
7901 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7902 (atomic_compare_and_exchange_val_acq): Use __typeof__.
7903 (atomic_compare_and_exchange_bool_acq): Likewise.
7904 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7905 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7906
7907 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7908 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7909 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7910
34c56048
CLT
79112015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7912
7913 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7914 called function in non-PIC case.
7915
d4abeca5
DM
79162015-01-31 David S. Miller <davem@davemloft.net>
7917
edac0a60
DM
7918 * sysdeps/sparc/sparc32/bits/atomic.h
7919 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7920 unlock not after it.
7921 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7922 volatile register usage warnings from the compiler.
7923
d4abeca5
DM
7924 * sysdeps/sparc/nptl/sem_init.c: Delete.
7925 * sysdeps/sparc/nptl/sem_post.c: Delete.
7926 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7927 * sysdeps/sparc/nptl/sem_wait.c: Delete.
7928 * sysdeps/sparc/sparc32/sem_init.c: New file.
7929 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7930 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7931 padding explicitly initialized.
7932 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7933 padding for in-semaphore spinlock.
7934 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7935 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7936 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7937 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7938 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7939 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7940 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7941 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7942 version.
7943 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7944 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7945
5f3d0b78
L
79462015-01-30 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 [BZ #17801]
7949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7950 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7951 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7952 New.
7953 (index_AVX_Fast_Unaligned_Load): Likewise.
7954 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7955 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7956 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7957 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7958 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7959 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7960 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7961 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7962 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7963
b658fdd8
AS
79642015-01-29 Andreas Schwab <schwab@suse.de>
7965
7966 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7967
3cb26316
SP
79682015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7969
7970 [BZ #17892]
7971 * nscd/nscd_stat.c (send_stats): Initialize DATA.
7972
527de9e4
MS
79732015-01-28 Martin Sebor <msebor@redhat.com>
7974
7975 * math/README.libm-test: Clarify. Add "How to read the test output."
7976
06991eb8
CM
79772015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
7978
7979 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7980 Define to 0.
7981
df341342
JM
79822015-01-28 Joseph Myers <joseph@codesourcery.com>
7983
7984 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7985 (__HAVE_64B_ATOMICS): Define to 0.
7986
08cee2a4
AZ
79872015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7988
d4d0ecb2
AZ
7989 [BZ #17885]
7990 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7991 value to set as new flag.
7992
08cee2a4
AZ
7993 [BZ #16576]
7994 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7995 and use _ARCH_PPCSQ instead.
7996 (__ieee754_sqrt): Likewise.
7997 (__ieee754_sqrtf): Likewise.
7998 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7999 _ARCH_PPCSQ is defined.
8000 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8001 fsqrt instruction.
8002 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8003 _ARCH_PPCSQ is defined.
8004 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8005 fsqrts instruction.
8006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8007
5fe8e359
AK
80082015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8009
8010 * iconv/loop.c: Suppress array out of bound warning caused by GCC
8011 bug (GCC BZ #64739).
8012
24bb7432
AS
80132015-01-25 Andreas Schwab <schwab@linux-m68k.org>
8014
fa20da31
AS
8015 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8016 Mark _retval as used.
8017 (lll_futex_wake_unlock): Likewise.
8018 (lll_futex_timed_wait_requeue_pi): Likewise.
8019
45819cbc
AS
8020 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8021 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8022 register variables.
8023
403cc231
AS
8024 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8025 libm_hidden_def.
8026
24bb7432
AS
8027 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8028 (__bswap_64): Mark as __always_inline.
8029
9317ea65
B
80302015-01-25 Bram <bug_rh@spam.wizbit.be>
8031
8032 [BZ #15378]
8033 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8034 when none of the search directories exist.
8035
0e87343e
AZ
80362015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8037
bea58013
AZ
8038 [BZ #17869]
8039 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8040 power8 in .machine directive.
8041
0e87343e
AZ
8042 [BZ #17868]
8043 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8044 set dependency from opd value.
8045
ede0236c
L
80462015-01-23 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
8049 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8050 architecture.
ede0236c 8051
22971c35
L
80522015-01-23 H.J. Lu <hongjiu.lu@intel.com>
8053
8054 [BZ #17870]
8055 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8056 with uint64_t.
8057 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8058 (uint64_t) 1.
e0da28a1 8059 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
8060 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8061 Replace 1UL with (uint64_t) 1.
8062 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8063 int with uint64_t.
8064
da5bf245
RM
80652015-01-23 Roland McGrath <roland@hack.frob.com>
8066
2ec2d703
RM
8067 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8068 (if_freenameindex): Likewise.
8069
da5bf245
RM
8070 * resource/getrlimit64.c: Add missing libc_hidden_def.
8071
d7423856
JM
80722015-01-22 Joseph Myers <joseph@codesourcery.com>
8073
8074 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8075 __label__.
8076 (_FP_FMA): Likewise.
8077 (_FP_TO_INT_ROUND): Likewise.
8078 (_FP_FROM_INT): Likewise.
8079
6b2ba95b
AZ
80802015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8081
8082 [BZ #16418]
8083 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8084 Make code racy and cancel safe.
8085
ccdb048d
CD
80862015-01-21 Carlos O'Donell <carlos@redhat.com>
8087
191220b3
CD
8088 * sysdeps/arm/unwind-resume.h: Fix copyright year.
8089 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8090 attribution.
8091
0897c551
CD
8092 * pwd/tst-getpw.c: Rewrite.
8093
ccdb048d
CD
8094 [BZ #17702]
8095 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8096 (modules-names): Add moddummy1 and moddummy2.
8097 ($(objpfx)tst-rec-dlopen): Define.
8098 * dlfcn/moddummy1.c: New file.
8099 * dlfcn/moddummy2.c: New file.
8100 * dlfcn/tst-rec-dlopen.c: New file.
8101 * elf/dl-cache.c (_dl_load_cache_lookup):
8102 Return char*. Copy result with alloca/strcpy/strdup.
8103 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8104 returns char*. Free cached. If not saving realname
8105 free cached.
8106 * elf/dl-open.c (dl_open_worker): Do not assert that
8107 _r_debug->r_state is RT_CONSISTENT.
8108 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8109 returns char*.
8110
042e1521
CD
81112015-01-21 Torvald Riegel <triegel@redhat.com>
8112 Carlos O'Donell <carlos@redhat.com>
8113
8114 [BZ #12674]
8115 * nptl/sem_waitcommon.c: New file.
8116 * nptl/sem_wait.c: Include sem_waitcommon.c.
8117 (__sem_wait_cleanup, do_futex_wait): Remove.
8118 (__new_sem_wait): Adapt.
8119 (__new_sem_trywait): New function.
8120 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8121 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8122 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8123 (sem_timedwait): Adapt.
8124 * nptl/sem_post.c (__new_sem_post): Adapt.
8125 (futex_wake): New function.
8126 (__old_sem_post): Add release MO fence.
8127 * nptl/sem_open.c (sem_open): Adapt.
8128 * nptl/sem_init.c (__new_sem_init): Adapt.
8129 (futex_private_if_supported): New function.
8130 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8131 (__old_sem_getvalue): Add using previous code.
8132 * sysdeps/nptl/internaltypes.h: Adapt.
8133 * nptl/tst-sem13.c (do_test): Adapt.
8134 * nptl/tst-sem11.c (main): Adapt.
8135 * nptl/sem_trywait.c: Remove.
8136 * nptl/DESIGN-sem.txt: Remove.
8137 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8138 (gen-as-const-headers): Remove structsem.sym.
8139 * nptl/structsem.sym: Remove.
8140 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8141 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8142 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8143 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8144 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8145 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8146 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8147 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8148 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8149 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8150 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8151 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8152 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8153 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8154 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8155 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8156 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8157 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8158 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8159 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8160 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8161 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8162
fe0e85af
CD
81632015-01-20 Carlos O'Donell <carlos@redhat.com>
8164
a8db092e
CD
8165 * INSTALL: Regenerated.
8166
fe0e85af
CD
8167 * po/libc.pot: Regenerated.
8168
522e6ee3
CLT
81692015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
8170 Sandra Loosemore <sandra@codesourcery.com>
8171 Andrew Jenner <andrew@codesourcery.com>
8172 Joseph Myers <joseph@codesourcery.com>
8173 Nathan Sidwell <nathan@codesourcery.com>
8174
8175 * NEWS: Mention new Nios II port.
8176 * sysdeps/nios2/Implies: New file.
8177 * sysdeps/nios2/Makefile: New file.
8178 * sysdeps/nios2/Subdirs: New file.
8179 * sysdeps/nios2/Versions: New file.
8180 * sysdeps/nios2/__longjmp.S: New file.
8181 * sysdeps/nios2/abort-instr.h: New file.
8182 * sysdeps/nios2/backtrace.c: New file.
8183 * sysdeps/nios2/bits/endian.h: New file.
8184 * sysdeps/nios2/bits/fenv.h: New file.
8185 * sysdeps/nios2/bits/link.h: New file.
8186 * sysdeps/nios2/bits/setjmp.h: New file.
8187 * sysdeps/nios2/bsd-_setjmp.S: New file.
8188 * sysdeps/nios2/bsd-setjmp.S: New file.
8189 * sysdeps/nios2/configure: New generated file.
8190 * sysdeps/nios2/configure.ac: New file.
8191 * sysdeps/nios2/crti.S: New file.
8192 * sysdeps/nios2/crtn.S: New file.
8193 * sysdeps/nios2/dl-init.c: New file.
8194 * sysdeps/nios2/dl-machine.h: New file.
8195 * sysdeps/nios2/dl-sysdep.h: New file.
8196 * sysdeps/nios2/dl-tls.h: New file.
8197 * sysdeps/nios2/dl-trampoline.S: New file.
8198 * sysdeps/nios2/gccframe.h: New file.
8199 * sysdeps/nios2/gmp-mparam.h: New file.
8200 * sysdeps/nios2/jmpbuf-offsets.h: New file.
8201 * sysdeps/nios2/jmpbuf-unwind.h: New file.
8202 * sysdeps/nios2/ldsodefs.h: New file.
8203 * sysdeps/nios2/libc-tls.c: New file.
8204 * sysdeps/nios2/libm-test-ulps: New file.
8205 * sysdeps/nios2/machine-gmon.h: New file.
8206 * sysdeps/nios2/math-tests.h: New file.
8207 * sysdeps/nios2/math_private.h: New file.
8208 * sysdeps/nios2/memusage.h: New file.
8209 * sysdeps/nios2/nptl/Makefile: New file.
8210 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8211 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8212 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8213 * sysdeps/nios2/nptl/pthreaddef.h: New file.
8214 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8215 * sysdeps/nios2/nptl/tls.h: New file.
8216 * sysdeps/nios2/preconfigure: New file.
8217 * sysdeps/nios2/s_fma.c: New file.
8218 * sysdeps/nios2/s_fmaf.c: New file.
8219 * sysdeps/nios2/setjmp.S: New file.
8220 * sysdeps/nios2/sfp-machine.h: New file.
8221 * sysdeps/nios2/sotruss-lib.c: New file.
8222 * sysdeps/nios2/stackguard-macros.h: New file.
8223 * sysdeps/nios2/stackinfo.h: New file.
8224 * sysdeps/nios2/start.S: New file.
8225 * sysdeps/nios2/sysdep.h: New file.
8226 * sysdeps/nios2/tls-macros.h: New file.
8227 * sysdeps/nios2/tst-audit.h: New file.
8228 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8229 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8230 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8231 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8232 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8233 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8234 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8235 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8236 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8237 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8238 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8239 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8240 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8241 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8242 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8243 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8244 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8245 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8246 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8247 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8248 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8249 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8250 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8251 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8252 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8253 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8254 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8255 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8256 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8257 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8258 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8259 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8260 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8261 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8262 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8263 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8264 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8265 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8266 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8267 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8268 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8269 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8270 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8271 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8272
026eb207
SL
82732015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8274
8275 [BZ #17844]
8276 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8277 (getutent): Use weak_alias in non SHARED case
8278 and default_symbol_version in SHARED case.
8279 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8280 (getutent_r, pututline): Likewise.
8281 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8282 (getutid): Likewise.
8283 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8284 (getutid_r): Likewise.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8286 (getutline): Likewise.
8287 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8288 (getutline_r): Likewise.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8290 (updwtmp): Likewise.
8291
1d532483
SL
82922015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8293
8294 [BZ #17848]
8295 * sysdeps/s390/s390-32/memcmp.S
8296 (memcmp_g5): Rename to __memcmp_g5.
8297 * sysdeps/s390/s390-32/memcpy.S
8298 (memcpy_g5): Rename to __memcpy_g5.
8299 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8300 (memcpy_mvcle) Rename to __memcpy_mvcle.
8301 * sysdeps/s390/s390-32/memset.S
8302 (memset_g5): Rename to __memset_g5.
8303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8304 (IFUNC_RESOLVE): Prefix ifunc-resolve function
8305 and use prefixed functions.
8306 * sysdeps/s390/s390-32/multiarch/memcmp.S
8307 (memcmp_z196): Rename to __memcmp_z196.
8308 (memcmp_z10): Rename to __memcmp_z10.
8309 (memcmp): Set alias to __memcmp_g5.
8310 (bcmp): Set alias to __memcmp_g5.
8311 * sysdeps/s390/s390-32/multiarch/memcpy.S
8312 (memcpy_z196): Rename to __memcpy_z196.
8313 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8314 (memcpy_z10): Rename to __memcpy_z10.
8315 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8316 (memcpy): Set alias to __memcpy_g5.
8317 * sysdeps/s390/s390-32/multiarch/memset.S
8318 (memset_z196): Rename to __memset_z196.
8319 Jump to __memset_mvcle instead of memset_mvcle.
8320 (memset_z10): Rename to __memset_z10.
8321 Jump to __memset_mvcle instead of memset_mvcle.
8322 (memset_mvcle) Rename to __memset_mvcle.
8323 (memset): Set alias to __memset_g5.
8324 * sysdeps/s390/s390-64/memcmp.S
8325 (memcmp_z900): Rename to __memcmp_z900.
8326 * sysdeps/s390/s390-64/memcpy.S
8327 (memcpy_z900): Rename to __memcpy_z900.
8328 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8329 (memcpy_mvcle) Rename to __memcpy_mvcle.
8330 * sysdeps/s390/s390-64/memset.S
8331 (memset_z900): Rename to __memset_z900.
8332 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8333 (IFUNC_RESOLVE): Prefix ifunc-resolve function
8334 and use prefixed functions.
8335 * sysdeps/s390/s390-64/multiarch/memcmp.S
8336 (memcmp_z196): Rename to __memcmp_z196.
8337 (memcmp_z10): Rename to __memcmp_z10.
8338 (memcmp): Set alias to __memcmp_z900.
8339 (bcmp): Set alias to __memcmp_z900.
8340 * sysdeps/s390/s390-64/multiarch/memcpy.S
8341 (memcpy_z196): Rename to __memcpy_z196.
8342 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8343 (memcpy_z10): Rename to __memcpy_z10.
8344 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8345 (memcpy): Set alias to __memcpy_z900.
8346 * sysdeps/s390/s390-64/multiarch/memset.S
8347 (memset_z196): Rename to __memset_z196.
8348 Jump to __memset_mvcle instead of memset_mvcle.
8349 (memset_z10): Rename to __memset_z10.
8350 Jump to __memset_mvcle instead of memset_mvcle.
8351 (memset_mvcle) Rename to __memset_mvcle.
8352 (memset): Set alias to __memset_z900.
8353
53fbd169
JM
83542015-01-14 Joseph Myers <joseph@codesourcery.com>
8355
8356 [BZ #17748]
8357 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8358 __fesetenv instead of fesetenv.
8359
d639a363
SP
83602015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8361
8362 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8363 macro.
8364
d3b00f46
AZ
83652015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366
ce6615c9
AZ
8367 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8368 regression on LE.
8369
d3b00f46
AZ
8370 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8371 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8372 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8373 strncmp-power8 object.
8374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8375 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8376 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8377 * NEWS: Update.
8378
72607db0
RS
83792015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8380 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8383 trailing byte check.
8384
54dc5461
DM
83852015-01-13 David S. Miller <davem@davemloft.net>
8386
8387 * include/signal.h (__sigreturn): Guard with __USE_MISC.
8388
1c6e6f23
RM
83892015-01-13 Roland McGrath <roland@hack.frob.com>
8390
8391 * login/logout.c (logout): Use memset rather than bzero.
8392 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8393 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8394 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8395 (_gethtbyaddr): Likewise.
8396 * locale/programs/simple-hash.c (bcopy): Macro removed.
8397
96d6fd6c
AZ
83982015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399
8bedcb5f
AZ
8400 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8401 Add strcmp-power8 object.
8402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8403 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8404 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8405 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8406 __strcmp_power8 implementation.
8407 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8408 * NEWS: Update.
8409
f06a4faf
AZ
8410 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8411 Add strncpy-power8 and stpncpy-power8 objects.
8412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8413 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8414 implementations.
8415 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8416 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8417 __stpncpy_power8 implementation.
8418 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8419 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8420 __strncpy_power8 implementation.
8421 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8422 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8423 * NEWS: Update.
8424
9f2f36e5
AZ
8425 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8426 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8427 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8428
96d6fd6c 8429 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
8430 strncat-power8 object.
8431 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8432 __strcat_power8 implementation.
8433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8434 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8435 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8436 optimized strcat for power8.
8437
8438 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
8439 strcpy-power8 and stpcpy-power8 objects.
8440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8441 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8442 implementations.
8443 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8444 multiarch stpcpy implementation for POWER8.
8445 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8446 multiarch strcpy implementation for POWER8.
8447 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8448 __strcpy_power8 function.
8449 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8450 stpcpy for POWER8.
8451 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8452 strcpy for POWER8.
8453 * NEWS: Update.
8454
0f9e5854
LH
84552015-01-13 Leonhard Holz <leonhard.holz@web.de>
8456
8457 [BZ #16009]
8458 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8459 weights and rules. Use do_xfrm_cached if data fits in cache,
8460 do_xfrm otherwise. Moved former main loop to...
8461 * (do_xfrm_cached): New function.
8462 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8463 find_idx, find_position and stack_push.
8464 * (find_idx): New function.
8465 * (find_position): Likewise.
8466 * localedata/sort-test.sh: Added test run for do_xfrm.
8467 * localedata/xfrm-test.c (main): Added command line option
8468 -nocache to run the test with strings that are too large for
8469 the STRXFRM cache.
8470
c60ec0e0
TR
84712015-01-13 Torvald Riegel <triegel@redhat.com>
8472
8473 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8474 variable to lll_futex_wake call, not the value itself.
8475
34e93d6c
JM
84762015-01-12 Joseph Myers <joseph@codesourcery.com>
8477
5a9e4c09
JM
8478 [BZ #17803]
8479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8480 twom64. Adjust value to 0x1p-64L.
8481 (__scalblnl): Only return standard underflowing result for K <=
8482 -64 not K <= -63; adjust exponent for underflowing result by 64
8483 not 63.
8484 * math/libm-test.inc (scalbn_test_data): Add more tests.
8485 (scalbln_test_data): Likewise.
8486
34e93d6c
JM
8487 [BZ #17834]
8488 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8489 0x1p63L.
8490 (__scalblnl): Get new exponent of adjusted subnormal value from ES
8491 not HX.
8492 * math/libm-test.inc (scalbn_test_data): Add more tests.
8493 (scalbln_test_data): Likewise.
8494
ca677d3c
AZ
84952015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 Stefani Seibold <stefani@seibold.net>
8497
8498 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8499 (sysdep_routines): Add dl-vdso here, ...
8500 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8501 (sysdep_routines): ... not here.
8502 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8503 fallback when vDSO is not presented.
8504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8505 Define with libc_hidden_proto/libc_hidden_data_def definitions.
8506 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8507 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8508 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8510 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8512 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8514 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
8515 fallback configurable symbol when vDSO is not available.
8516 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8517 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
8518 be able to redefine fallback symbol when vDSO is not available.
8519 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8520 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8521
49a9f6ab 85222015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 8523
56cf2763
AZ
8524 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8525 (TLS_INIT_TP): Add tm_capable initialization.
8526 (TLS_DEFINE_INIT_TP): Likewise.
8527 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8528 TCB.
8529 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8530 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8531 calculation.
8532 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8533 transactoion is lock elision is built and TCB tm_capable is set.
8534 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8536 (INTERNAL_SYSCALL_NCS): Likewise.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8538 (INTERNAL_SYSCALL_NCS): Likewise.
8539 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8540
4b45943a
AZ
8541 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8542 for powerpc.
8543 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8544 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8545 and remove it for 32 bits case.
8546 [pthread_rwlock_t] (__rwelision): New field for lock elision.
8547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8548 initialization.
8549 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8550 Disable lock elision with rdlocks if elision is not available.
8551
8d2c0a59
AZ
8552 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8553 (sysdep_routines): Add lock elision objects.
8554 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8555 [pthread_mutex_t] (__spins): Rework to add lock elision field.
8556 [pthread_mutex_t] (__elision): Add field.
8557 [__PTHREAD_SPINS]: Adjust to init lock elision field.
8558 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8559 elision definitions for powerpc.
8560 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8561 implementation of lock elision for powerpc.
8562 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8563 implementation of timed lock elision for powerpc.
8564 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8565 implementation of trylock with lock elision for powerpc.
8566 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8567 implementaion of unlock for lock elision for powerpc.
8568 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8569 automatic enable lock elision for mutexes.
8570 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8571 transaction execution definitions for powerpc.
8572 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8573 definitions.
8574 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8575 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8578 * NEWS: Update.
8579
bc0ed9f7
RM
85802015-01-09 Roland McGrath <roland@hack.frob.com>
8581
8582 * sysdeps/posix/shm-directory.c: Use <> rather than ""
8583 for #include of <shm-directory.h>.
8584
585d9c18
CLT
85852015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
8586
8587 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8588 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8589
aee6626c
MF
85902015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
8591
8592 [BZ #17791]
8593 * NEWS: Mention bug fix.
8594 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8595 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8596 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8597
9e560f48
TR
85982015-01-09 Torvald Riegel <triegel@redhat.com>
8599
8600 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8601
e1cfbd0c
TR
86022015-01-09 Torvald Riegel <triegel@redhat.com>
8603
8604 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8605
cf71e44f
DH
86062015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8607
8608 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8609 pointer and cast to uintptr_t.
8610
b360ee62
DH
86112015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8612
8613 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8614 removed.
8615 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8616
caff764e
DH
86172015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8618
8619 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8620 of 0.
8621
59ff172f
RM
86222015-01-08 Roland McGrath <roland@hack.frob.com>
8623
c97d27f1
RM
8624 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8625 <nptl/pthreadP.h> instead.
8626 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8627
08734ccd
RM
8628 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8629 already defined.
8630 [__SIGRTMIN] (init): Function removed.
8631 [__SIGRTMIN] (initialized): Variable removed.
8632 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8633 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8634 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8635 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8636 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8637 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8638 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8639 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8640 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8641 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8642 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8643 * sysdeps/nptl/allocrtsig.c: New file.
8644 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8645 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8646 * sysdeps/generic/testrtsig.h: File removed.
8647
7b052e33
RM
8648 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8649 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8650
cc40d25e
RM
8651 * nptl/nptl-init.c (pthread_functions): Conditionalize
8652 .ptr__nptl_setxid initialization on [SIGSETXID].
8653
9287adf0
RM
8654 * sysdeps/nptl/sys/procfs.h: New file.
8655 * nptl_db/Makefile (headers): Add it.
8656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8657
59ff172f
RM
8658 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8659 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8660 * nptl/pthread_attr_setaffinity.c: Include it.
8661 * nptl/pthread_setattr_default_np.c: Likewise.
8662 * nptl/check-cpuset.h: New file.
8663
b9205857
RH
86642015-01-08 Richard Henderson <rth@redhat.com>
8665
8666 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8667 (CFLAGS-tst-execstack-prog.c): Likewise.
8668 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8669
1a0a8d15
CLT
86702015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
8671 Sandra Loosemore <sandra@codesourcery.com>
8672 Andrew Jenner <andrew@codesourcery.com>
8673 Joseph Myers <joseph@codesourcery.com>
8674 Nathan Sidwell <nathan@codesourcery.com>
8675
8676 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8677 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8678 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8679 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8680 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8681 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8682 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
8683 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8684 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8685 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8686 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8687 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8688 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
8689 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8690 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8691 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8692 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8693
dd6e8af6
AZ
86942015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8695
8696 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8697 timespec struct member in syscall macro.
8698 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8699 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8700 first timeval struct member in syscall macro.
8701 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8702
8116321f
JM
87032015-01-07 Joseph Myers <joseph@codesourcery.com>
8704
8705 [BZ #17748]
8706 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8707 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8708 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8709 __feupdateenv and define as weak alias of __feupdateenv. Use
8710 libm_hidden_weak.
8711 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8712 libm_hidden_def.
8713 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8714 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
8715 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8716 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8717 libm_hidden_def.
8718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8719 __feupdateenv and define as weak alias of __feupdateenv. Use
8720 libm_hidden_weak.
8721 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8722 libm_hidden_def.
8723 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8724 __feupdateenv and define as weak alias of __feupdateenv. Use
8725 libm_hidden_weak.
8726 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8727 libm_hidden_def.
8728 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8729 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8730 (__feupdateenv): Likewise.
8731 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8732 __feupdateenv and define as weak alias of __feupdateenv. Use
8733 libm_hidden_weak.
8734 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8735 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8736 libm_hidden_def.
8737 * sysdeps/tile/math_private.h (__feupdateenv): New inline
8738 function.
8739 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8740 libm_hidden_def.
8741 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8742 __feupdateenv instead of feupdateenv.
8743 (default_libc_feupdateenv_test): Likewise.
8744 (libc_feresetround_ctx): Likewise.
8745
882dfe18
AZ
87462015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8747
8748 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8749 prototype.
8750
39a12f8d
CM
87512015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
8752
8753 * posix/regcomp.c (parse_bracket_exp): Initialize type to
8754 COLL_SYM in a couple of places to avoid uninitialized variable
8755 wanings on tilegx gcc 4.8.2.
8756
dc400d7b
RE
87572015-01-07 Richard Earnshaw <rearnsha@arm.com>
8758
8759 * sysdeps/aarch64/strcpy.S: New file.
8760 * sysdeps/aarch64/stpcpy.S: New file.
8761 * NEWS: Updated.
8762
ec582ca0
RE
87632015-01-07 Richard Earnshaw <rearnsha@arm.com>
8764
8765 * sysdeps/aarch64/strrchr.S: New file.
8766 * NEWS: Updated.
8767
d5b1c5ed
EB
87682015-01-07 Eric Biggers <ebiggers3@gmail.com>
8769
8770 [BZ #17658]
8771 * stdlib/setenv.c: Fix memory leak when setting large,
8772 duplicate string.
8773
fb87ee96
VN
87742015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
8775
60f046a8 8776 [BZ #17273]
fb87ee96
VN
8777 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8778 and tabs from buffer before parsing fstab entry.
8779 * misc/tst-mntent.c (main): Add test for mount entry with
8780 trailing spaces and tabs.
8781
cd42798a
JM
87822015-01-06 Joseph Myers <joseph@codesourcery.com>
8783
01238691
JM
8784 [BZ #17748]
8785 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
8786 * math/fesetround.c (fesetround): Rename to __fesetround and
8787 define as weak alias of __fesetround. Use libm_hidden_weak.
8788 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8789 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8790 * sysdeps/arm/fesetround.c (fesetround): Likewise.
8791 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8792 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8793 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8794 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8795 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8796 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8797 __fesetround_inline.
8798 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8799 __fesetround_inline instead of __fesetround.
8800 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8801 __fesetround and define as weak alias of __fesetround. Use
8802 libm_hidden_weak. Call __fesetround_inline instead of
8803 __fesetround.
8804 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8805 __fesetround and define as weak alias of __fesetround. Use
8806 libm_hidden_weak.
8807 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8808 Likewise.
8809 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8810 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8811 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8812 * sysdeps/tile/math_private.h (__fesetround): New inline function.
8813 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8814 __fesetround and define as weak alias of __fesetround. Use
8815 libm_hidden_weak.
8816 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8817 __fesetround instead of fesetround.
8818 (default_libc_feholdexcept_setround): Likewise.
8819 (libc_feholdsetround_ctx): Likewise.
8820 (libc_feholdsetround_noex_ctx): Likewise.
8821
cd42798a
JM
8822 [BZ #17748]
8823 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8824 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8825 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8826 and define as weak alias of __fesetenv. Use libm_hidden_weak.
8827 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8828 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8829 define as weak alias of __fesetenv. Use libm_hidden_weak.
8830 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8831 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8832 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8833 define as weak alias of __fesetenv. Use libm_hidden_weak.
8834 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8835 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8836 define as weak alias of __fesetenv. Use libm_hidden_weak.
8837 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8838 libm_hidden_def.
8839 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8840 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8841 Likewise.
8842 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8843 define as weak alias of __fesetenv. Use libm_hidden_weak.
8844 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8845 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8846 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8847 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8848 and define as weak alias of __fesetenv. Use libm_hidden_weak.
8849 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8850 __fesetenv instead of fesetenv.
8851 (libc_feresetround_noex_ctx): Likewise.
8852 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8853 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8854 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8855 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8856 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8857 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8858 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8859 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8860 (__feupdateenv): Likewise.
8861 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8862 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8863 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8864 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8865
38949026
AJ
88662015-01-06 Aurelien Jarno <aurelien@aurel32.net>
8867
1cf98e27 8868 [BZ #17806]
38949026
AJ
8869 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8870 addresses have been freed.
8871
5fe55e9c
AJ
88722015-01-06 Aurelien Jarno <aurelien@aurel32.net>
8873
8874 * resolv/res_init.c (__res_vinit): Improve comments about nserv
8875 and nservall.
8876
dc8ab018
OB
88772015-01-06 Ondřej Bílka <neleai@seznam.cz>
8878
8879 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8880 Clean up check_pf allocation pattern. addresses
8881
14bb4e57
AZ
88822015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8883
8884 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8885 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8886 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8887 * nptl/pthread_exit.c (__pthread_exit): Likewise.
8888 * nptl/pthread_join.c (pthread_join): Likewise.
8889 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8890 * sysdeps/posix/waitid.c (__waitid): Likewise.
8891 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8892 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8893 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8894 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8896 Likewise.
8897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8898 (__libc_pread64): Likewise.
8899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8900 (__libc_pwrite): Likewise.
8901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8902 (__libc_pwrite64): Likewsie.
8903 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8904 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8905 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8906 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8907 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8908 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8909 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8911 Likewise.
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8913 (__libc_pread64): Likewise.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8915 Likewise.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8917 (__libc_pwrite64): Likewise.
8918 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8919 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8920 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8921 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8922 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8923 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8924 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8925 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8926 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8927 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8928 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8929 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8930 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8931 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8932 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8934 Likewise.
8935
10a5e112
AS
89362015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8937
8938 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8939 (CFLAGS-test-double.c): Likewise.
8940 (CFLAGS-test-ldouble.c): Likewise.
8941 (CPPFLAGS-test-ifloat.c): Likewise.
8942 (CPPFLAGS-test-idouble.c): Likewise.
8943 (CPPFLAGS-test-ildoubl.c): Likewise.
8944 (CFLAGS-test-test-fenv.c): Remove variable.
8945 (CFLAGS-test-misc.c): Likewise.
8946
57ada0e7
L
89472015-01-06 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 [BZ #17797]
8950 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8951 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8952 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8953 CLOCKS_PER_SEC == 1000000.
8954 * time/clocktest.c (main): Replace %ld with %jd and cast to
8955 intmax_t.
8956
46abb64d
RM
89572015-01-05 Roland McGrath <roland@hack.frob.com>
8958
8959 * sysdeps/generic/unwind-resume.h: New file.
8960 * sysdeps/gnu/unwind-resume.c: Include it.
8961 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8962 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8963 argument list.
8964 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8965 global rather than static.
8966 (_Unwind_Resume): Update user.
8967 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8968 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
8969 rather than static. Add __attribute__ ((cold)).
8970 (_Unwind_Resume, __gcc_personality_v0): Update callers.
8971 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8972 * sysdeps/arm/arm-unwind-resume.S: New file.
8973 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8974 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8975 * sysdeps/arm/Makefile [$(subdir) = csu]
8976 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8977 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8978 Add rt-arm-unwind-resume.
8979 [$(subdir) = nptl]
8980 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8981 Add pt-arm-unwind-resume.
8982 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8983 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8984
ef9faf13
JM
89852015-01-05 Joseph Myers <joseph@codesourcery.com>
8986
8987 [BZ #17748]
8988 * include/fenv.h (__feholdexcept): Declare. Use
8989 libm_hidden_proto.
8990 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8991 define as weak alias of __feholdexcept. Use libm_hidden_weak.
8992 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8993 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8994 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8995 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8996 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8997 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8998 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8999 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9000 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9001 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9002 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9003 (feholdexcept): Likewise.
9004 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9006 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9007 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9008 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9009 __feholdexcept instead of feholdexcept.
9010 (default_libc_feholdexcept_setround): Likewise.
9011
295a453e
SE
90122015-01-05 Steve Ellcey <sellcey@imgtec.com>
9013
9014 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9015 to avoid using stl/str to align destination.
9016
882c4b9f
SE
90172015-01-05 Steve Ellcey <sellcey@imgtec.com>
9018
9019 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9020
ac4c11f5
JM
90212015-01-05 Joseph Myers <joseph@codesourcery.com>
9022
9023 [BZ #17796]
9024 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9025 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9026 Define as weak alias not strong alias.
9027
03403e30
SE
90282015-01-05 Steve Ellcey <sellcey@imgtec.com>
9029
9030 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9031 bltzal with addiupc.
9032 (RTLD_START): Ditto.
9033
1dca195e
CM
90342015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
9035
00b8b9ba
SP
9036 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9037 for __vdso_* functions in declarations.
9038 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9039 definitions.
9040 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9041 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 9042
1dca195e
CM
9043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9044 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9045 function with cast from llround().
9046 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9047 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9048 Define.
9049
a287953a
JM
90502015-01-05 Joseph Myers <joseph@codesourcery.com>
9051
ab70da77
JM
9052 [BZ #17793]
9053 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9054 Define as weak alias not strong alias.
9055
b8986484
JM
9056 [BZ #17635]
9057 * ctype/ctype-c99.c: New file. isblank implementation moved from
9058 ...
9059 * ctype/ctype-extn.c: ... here.
9060 (__isblank_l): Move to ...
9061 * ctype/ctype-c99_l.c: ... here. New file.
9062 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9063 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9064 Remove variable.
9065 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9066 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9067 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9068 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9069 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9070
a287953a
JM
9071 [BZ #17777]
9072 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9073 (posix_fadvise64): Define as weak alias not strong alias.
9074 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9075 (posix_fallocate64): Likewise.
9076 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9077 Remove variable.
9078 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9079 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9080 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9081 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9082 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9083
b1efe3bb
MF
90842015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
9085
9086 [BZ #16191]
9087 * NEWS: Mention bug fix.
9088 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9089 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9090 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9091 (HOST_STACK_END_ADDR): Likewise.
9092
9706dc5f
JM
90932015-01-02 Joseph Myers <joseph@codesourcery.com>
9094
b93c2205
JM
9095 [BZ #17748]
9096 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
9097 * math/fegetround.c (fegetround): Rename to __fegetround and
9098 define as weak alias of __fegetround. Use libm_hidden_weak.
9099 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9100 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9101 * sysdeps/arm/fegetround.c (fegetround): Likewise.
9102 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9103 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9104 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9105 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9106 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9107 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9108 Undefine after rather than before function definition; use
9109 parentheses around function name in definition.
9110 (__fegetround): Also undefine macro after function definition.
9111 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9112 __fegetround and define as weak alias of __fegetround. Use
9113 libm_hidden_weak. Do not undefine as macro.
9114 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9115 Likewise.
9116 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9117 __fegetround and define as weak alias of __fegetround. Use
9118 libm_hidden_weak.
9119 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9120 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9121 * sysdeps/tile/math_private.h (__fegetround): New inline function.
9122 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9123 __fegetround and define as weak alias of __fegetround. Use
9124 libm_hidden_weak.
9125 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9126 __fegetround instead of fegetround.
9127
253a59cc
JM
9128 [BZ #17782]
9129 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9130 Condition macro definition on [__USE_MISC].
9131
27dae011
JM
9132 [BZ #17781]
9133 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9134 (struct sigaction): Change type of sa_flags field to int.
9135
172019c0
JM
9136 [BZ #17780]
9137 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9138 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9139 __glibc_reserved0.
9140
522ad1d6
JM
9141 * nptl/version.c (banner): Use single year in copyright notice.
9142
9706dc5f
JM
9143 * NEWS: Update copyright dates.
9144 * catgets/gencat.c (print_version): Likewise.
9145 * csu/version.c (banner): Likewise.
9146 * debug/catchsegv.sh: Likewise.
9147 * debug/pcprofiledump.c (print_version): Likewise.
9148 * debug/xtrace.sh (do_version): Likewise.
9149 * elf/ldconfig.c (print_version): Likewise.
9150 * elf/ldd.bash.in: Likewise.
9151 * elf/pldd.c (print_version): Likewise.
9152 * elf/sotruss.sh: Likewise.
9153 * elf/sprof.c (print_version): Likewise.
9154 * iconv/iconv_prog.c (print_version): Likewise.
9155 * iconv/iconvconfig.c (print_version): Likewise.
9156 * locale/programs/locale.c (print_version): Likewise.
9157 * locale/programs/localedef.c (print_version): Likewise.
9158 * login/programs/pt_chown.c (print_version): Likewise.
9159 * malloc/memusage.sh (do_version): Likewise.
9160 * malloc/memusagestat.c (print_version): Likewise.
9161 * malloc/mtrace.pl: Likewise.
9162 * manual/libc.texinfo: Likewise.
9163 * nptl/version.c (banner): Likewise.
9164 * nscd/nscd.c (print_version): Likewise.
9165 * nss/getent.c (print_version): Likewise.
9166 * nss/makedb.c (print_version): Likewise.
9167 * posix/getconf.c (main): Likewise.
9168 * scripts/test-installation.pl: Likewise.
9169 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9170
b8607aac
WN
91712015-01-02 Will Newton <will.newton@linaro.org>
9172
9173 * sysdeps/arm/armv7/configure: Removed.
9174 * sysdeps/arm/armv7/configure.ac: Likewise.
9175
b168057a
JM
91762015-01-02 Joseph Myers <joseph@codesourcery.com>
9177
9178 * All files with FSF copyright notices: Update copyright dates
9179 using scripts/update-copyrights.
9180 * intl/plural.c: Regenerated.
9181 * locale/programs/charmap-kw.h: Likewise.
9182 * locale/programs/locfile-kw.h: Likewise.
9183
b217c15f
SP
91842015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9185
9186 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9187
73a268c7
JM
91882014-12-31 Joseph Myers <joseph@codesourcery.com>
9189
9190 [BZ #17748]
9191 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9192 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9193 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9194 and define as weak alias of __fegetenv. Use libm_hidden_weak.
9195 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9196 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9197 define as weak alias of __fegetenv. Use libm_hidden_weak.
9198 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9199 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9200 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9201 define as weak alias of __fegetenv. Use libm_hidden_weak.
9202 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9203 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9204 define as weak alias of __fegetenv. Use libm_hidden_weak.
9205 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9206 libm_hidden_def.
9207 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9208 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9209 Likewise.
9210 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9211 define as weak alias of __fegetenv. Use libm_hidden_weak.
9212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9213 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9214 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9215 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9216 and define as weak alias of __fegetenv. Use libm_hidden_weak.
9217 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9218 __fegetenv instead of fegetenv.
9219 (libc_feholdsetround_noex_ctx): Likewise.
9220
0bd95672
MF
92212014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
9222
9223 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9224 (Elf_MIPS_ABIFlags_v0): New structure.
9225 (EF_MIPS_FP64): Define.
9226 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9227 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9228 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9229 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9230 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9231 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9232 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9233 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9234 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9235 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9236 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9237 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9238 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9239 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9240 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9241 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9242 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9243 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9244 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9245 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9246 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9247 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9248 field.
9249 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9250 EF_MIPS_FP64.
9251 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9252 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9253 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9254 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9255 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9256 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9257 * sysdeps/mips/tst-abi-interlink.c: Likewise.
9258 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9259 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9260 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9261 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9262 record the current FP ABI extension.
9263 (mips-mode-switch): Define to show if kernel headers support mode
9264 switching.
9265 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9266 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9267 supported SYSV ABI version to 3.
9268 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9269 feature.
9270
f59ad976
RS
92712014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9272 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9273
9274 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9275 path.
9276 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9277
4a3d3999
JM
92782014-12-31 Joseph Myers <joseph@codesourcery.com>
9279
9280 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9281 __fegetround and redefine to call __fegetround. Remove condition
9282 on [!__NO_MATH_INLINES].
9283 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9284 function.
9285 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9287 Remove macro.
9288 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9289 instead of <fenv_libc.h>.
9290 (__llrintl): Call fegetround instead of __fegetround.
9291 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9292 instead of <fenv_libc.h>.
9293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9294 (__lrintl): Call fegetround instead of __fegetround.
9295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9296 instead of <fenv_libc.h>.
9297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9298 (__rintl): Call fegetround instead of __fegetround.
9299
195f3afc
SP
93002014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9301
9302 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9303 arrays.
9304
7062bd42
L
93052014-12-30 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 [BZ #17775]
9308 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9309 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9310 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9311
07256e18
AS
93122014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
9313
9314 * sysdeps/i386/tls-macros.h: Include <features.h>.
9315 (TLS_LE): Use non-PIC version for GCC >= 5.0.
9316 (TLS_IE): Likewise.
9317 (TLS_LD): Likewise.
9318 (TLS_GD): Likewise.
9319 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9320 define for GCC >= 5.0.
9321
1ff950ad
CM
93222014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
9323
9324 * math/test-fenv.c (test_single_exception, set_single_exc,
9325 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9326 feexcp_mask_test, feenable_test, fe_single_test): Add
9327 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9328 case where they are not used.
9329 * math/libm-test.inc: Likewise.
9330 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9331 unused in the absence of FP rounding/exception support.
9332 * stdio-common/tst-printf-round.c: Likewise.
9333 * stdlib/tst-strtod-round.c: Likewise.
9334 * stdlib/tst-strtod-underflow.c: Likewise.
9335
0747f818
JM
93362014-12-30 Joseph Myers <joseph@codesourcery.com>
9337
9338 [BZ #17723]
9339 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9340 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9341 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9342 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9343 libm_hidden_weak.
9344 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9345 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9346 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9347 libm_hidden_def.
9348 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9349 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9350 libm_hidden_weak.
9351 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9352 Likewise.
9353 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9354 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9355 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9356 libm_hidden_weak.
9357 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9358 libm_hidden_def.
9359 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9360 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9361 (__feraiseexcept): Likewise.
9362 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9363 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9364 libm_hidden_weak.
9365 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9366 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9367 libm_hidden_def.
9368 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9369 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9370 Use libm_hidden_def.
9371 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9372 libm_hidden_def.
9373 (feraiseexcept): Define as weak not strong alias. Use
9374 libm_hidden_weak.
9375 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9376 New inline function. Factored out of ...
9377 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
9378 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9379 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9380 feraiseexcept.
9381 * math/w_acos.c (__acos): Likewise.
9382 * math/w_asin.c (__asin): Likewise.
9383 * math/w_ilogb.c (__ilogb): Likewise.
9384 * math/w_j0.c (y0): Likewise.
9385 * math/w_j1.c (y1): Likewise.
9386 * math/w_jn.c (yn): Likewise.
9387 * math/w_log.c (__log): Likewise.
9388 * math/w_log10.c (__log10): Likewise.
9389 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9390 * sysdeps/aarch64/fpu/math_private.h
9391 (libc_feupdateenv_test_aarch64): Likewise.
9392 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9393 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9394 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9395 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9396 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9397 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9398 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9399 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9400 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9401 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9402
8d2b2763
L
94032014-12-30 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 [BZ #17732]
9406 * io/test-utime.c (main): Replace %ld with %jd and cast to
9407 intmax_t.
41fad830 9408 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
9409 * nptl/tst-mutex5.c: Include <stdint.h>.
9410 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
9411 * posix/tst-regex.c (run_test): Likewise.
9412 (run_test_backwards): Likewise.
5d619de4
L
9413 * rt/tst-clock.c: Include <stdint.h>.
9414 (clock_test): Replace %ld with %jd and cast to intmax_t.
9415 * rt/tst-cpuclock1.c: Include <stdint.h>.
9416 (do_test): Replace %lu with %ju and cast to uintmax_t.
9417 * rt/tst-cpuclock2.c: Include <stdint.h>.
9418 (do_test): Replace %lu with %ju and cast to uintmax_t.
9419 * rt/tst-mqueue1.c: Include <stdint.h>.
9420 (check_attrs): Replace %ld with %jd and cast to intmax_t.
9421 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9422 intmax_t.
9423 * rt/tst-mqueue4.c (do_test): Likewise.
9424 * rt/tst-timer4.c: Include <stdint.h>.
9425 (check_ts): Replace %ld with %jd and cast to intmax_t.
9426 (do_test): Likewise.
ad86fbc3
L
9427 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9428 and cast to intmax_t.
37f46900 9429 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
9430 * time/clocktest.c (main): Likewise.
9431 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 9432 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 9433
8b4416d8
AS
94342014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
9435 H.J. Lu <hongjiu.lu@intel.com>
9436
9437 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9438 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9439 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9440 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9441 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9442 version if bit_Fast_Unaligned_Load is set.
9443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9450 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9451 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9452 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9453 to 4.
9454 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9455 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9456 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9457 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9458
e47b8d3b
CM
94592014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
9460
6d6d7fde
CM
9461 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9462 instead of #if to avoid a Wundef warning.
9463 * stdlib/tst-limits.c (do_test): Likewise.
9464
cd2c37c9
CM
9465 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9466 parallel other exception macros.
9467 (fegetenv): Convert from macro to extern inline so that it applies
9468 retroactively to inline functions already seen by the compiler.
9469 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9470
e47b8d3b
CM
9471 * posix/Makefile (before-compile): Use $(objpfx) for
9472 posix-conf-vars-def.h.
9473
4a6aca7b
SP
94742014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9475
7910c2ae
SP
9476 * posix/getconf.c (main): Use size_t for type of I.
9477 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9478 NSPEC.
9479
50cbbaa9
SP
9480 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9481 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9482 * posix/posix-envs.def: Likewise.
9483 * sysdeps/posix/sysconf.c: Likewise.
9484 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9485 (specs): Remove array.
9486 * scripts/gen-posix-conf-vars.awk: Support generation of specs
9487 array.
9488
3b566046
SP
9489 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9490 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9491 (__sysconf): Use CONF_IS_* macros.
9492
4a6aca7b
SP
9493 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9494 ($(objpfx)posix-conf-vars-def.h): New target.
9495 * posix/posix-conf-vars.list: New file.
9496 * posix/posix-conf-vars.h: New file.
9497 * posix/confstr.c: Include posix-conf-vars.h.
9498 (confstr): Use CONF_IS_* macros.
9499 * posix/posix-envs.def: Include posix-conf-vars.h. Use
9500 CONF_IS_* macros.
9501 * scripts/gen-posix-conf-vars.awk: New file.
9502
7c1395a7
CM
95032014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
9504
0025b4cc
CM
9505 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9506 fegetround): Add no-op macros to avoid linknamespace issues.
9507
d8aaf74b
CM
9508 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9509 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9510
5d24aa60
CM
9511 * sysdeps/unix/sysv/linux/tile/sysdep.h
9512 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9513 assembly-specific section to avoid a redefinition warning.
9514
7c1395a7
CM
9515 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9516 long before casting to pointer to avoid a cast warning.
9517
3c87c616
CM
95182014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
9519
9520 * sysdeps/tile/tilegx/Implies: New file.
9521
f559d8cf
RE
95222014-12-23 Richard Earnshaw <rearnsha@arm.com>
9523
9524 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9525
7d81e8d6
FW
95262014-12-23 Florian Weimer <fweimer@redhat.com>
9527
9528 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9529
90aa3d09
JM
95302014-12-22 Joseph Myers <joseph@codesourcery.com>
9531
9532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9533 not define.
9534 * sysdeps/unix/sysv/linux/utimes.c: Do not include
9535 <kernel-features.h>.
9536 (__utimes) [__NR_utimes]: Make code unconditional.
9537 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9539 (__ASSUME_UTIMES): Do not undefine.
9540 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9541 (__ASSUME_UTIMES): Likewise.
9542 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9543 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9544 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9545 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9546
4c0c0e2a
SE
95472014-12-22 Steve Ellcey <sellcey@imgtec.com>
9548
9549 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9550
0dacd7a3
CM
95512014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
9552
b638f96a
CM
9553 [BZ #17747]
9554 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9555 alias to weak alias for j0l, y0l.
9556 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9557 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9558
0dacd7a3
CM
9559 [BZ #17746]
9560 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9561 conversion.
9562
528479c4
SE
95632014-12-22 Steve Ellcey <sellcey@imgtec.com>
9564
9565 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9566 to zero if not already defined.
9567
f56f9124
JM
95682014-12-22 Joseph Myers <joseph@codesourcery.com>
9569
9570 [BZ #17724]
9571 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9572 (__kernel_standard_f): Remove. Moved to k_standardf.c.
9573 (__kernel_standard_l): Remove. Moved to k_standardl.c with
9574 (char *) casts added.
9575 * sysdeps/ieee754/k_standardf.c: New file.
9576 * sysdeps/ieee754/k_standardl.c: Likewise.
9577 * math/Makefile (libm-support): Remove k_standard.
9578 (libm-calls): Add k_standard.
9579
8622d556
WD
95802014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9581
9582 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9583 Optimize to avoid an unnecessary FPCR read.
9584
f3806bdb
WD
95852014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9586
9587 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9588 Optimize to reduce FPCR/FPSR accesses.
9589
9b47df58
WD
95902014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9591
9592 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9593 Call libc_fetestexcept_aarch64.
9594
97be3cac
WD
95952014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9596
9597 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9598 Call libc_fesetround_aarch64.
9599
935ab817
JM
96002014-12-22 Joseph Myers <joseph@codesourcery.com>
9601
9602 [BZ #17733]
9603 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9604 (__bind): Do not define as weak alias.
9605 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9606 define.
9607 (__getsockname): Do not define as weak alias.
9608
cc8623f1
WN
96092014-12-22 Will Newton <will.newton@linaro.org>
9610
9611 * manual/install.texi: Document that we require bison 2.7
9612 or above.
9613 * INSTALL: Regenerate.
9614 * configure.ac: Use AC_CHECK_PROG_VER instead of
9615 AC_PATH_PROG when checking for bison and check for
9616 version 2.7 or above.
9617 * configure: Regenerate.
9618
a19ca65a
CM
96192014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
9620
92901170 9621 [BZ #17745]
e969965a
CM
9622 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9623 * sysdeps/tile/ffsll.c (ffsll): To here.
9624
a19ca65a
CM
9625 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9626
050f7298
L
96272014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9630 if not defined.
9631 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9632 definition.
9633 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9634 hidden ___tls_get_addr.
9635 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9636 hidden __tls_get_addr.
9637 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9638 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9639 Likewise.
9640
6df5547e
AS
96412014-12-21 Andreas Schwab <schwab@linux-m68k.org>
9642
9643 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9644 _dl_init call.
9645
7432d613
L
96462014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9649 from "call _dl_init@PLT".
9650 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 9651
98fe149e
AK
96522014-12-21 Anders Kaseorg <andersk@mit.edu>
9653
9654 * manual/search.texi: (Array Sort Function): Clarify stable sorting
9655 guarantees.
9656
d12455f5
CM
96572014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
9658
9659 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9660
95dee05f
CM
96612014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9662
92901170 9663 [BZ #17744]
95dee05f
CM
9664 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9665 strnlen.
9666
2ef4b74a
SE
96672014-12-19 Steve Ellcey <sellcey@imgtec.com>
9668
9669 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9670 of multu on MIPSr6.
9671 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9672 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9673 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9674 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9675 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9676
96772014-12-19 Steve Ellcey <sellcey@imgtec.com>
9678
9679 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9680 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9681 (PTR_SUBU): Use subu for mips32r6/mips64r6.
9682 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 9683 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
9684 mips32r6/mips64r6.
9685 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9686
3eb38795
OB
96872014-12-19 Ondřej Bílka <neleai@seznam.cz>
9688
9689 * string/strncat.c (STRNCAT): Simplify implementation.
9690
6d4188dd
DM
96912014-12-19 David S. Miller <davem@davemloft.net>
9692
0d4ba8be
DM
9693 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9694 access the quad as both a long double and as a series of 4 words.
9695
6d4188dd
DM
9696 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9697 link_map->l_info array access.
9698
4ef91cdc
CM
96992014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9700
804c54f7
CM
9701 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9702
4ef91cdc
CM
9703 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9704 * math/atest-exp2.c (TIMEOUT): Likewise.
9705 * math/atest-sincos.c (TIMEOUT): Likewise.
9706
afd176d6
L
97072014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9708
9709 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9710 -Wno-error with -fno-builtin-lround.
9711
a4a43a90
TR
97122014-12-19 Torvald Riegel <triegel@redhat.com>
9713
9714 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9715 Contains futex constants and functions moved over from ...
9716 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
9717 <lowlevellock-futex.h>.
9718 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9719 (lll_timedwait_tid): Add comments and parentheses around macro
9720 arguments.
9721
76f71081
TR
97222014-12-19 Torvald Riegel <triegel@redhat.com>
9723
9724 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9725 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
9726 (__lll_private_flag): Remove.
9727 (lll_futex_wait): Likewise.
9728 (lll_futex_timed_wait): Likewise.
9729 (lll_futex_wake): Likewise.
9730 (lll_futex_requeue): Likewise.
9731 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9732 (__lll_timedwait_tid): Spell out argument names.
9733 (lll_timedwait_tid): Add comments and parentheses around macro
9734 arguments.
9735 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9736 LLL_SHARED and LLL_PRIVATE usable from assembly code.
9737
6b814909
TR
97382014-12-19 Torvald Riegel <triegel@redhat.com>
9739
9740 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9741 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9742 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9743 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9744 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9745 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9746 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9747 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9748 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9749 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9750 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9751 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9752 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9753 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9754 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9756 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9757 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9758 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9759
9cd4d4ab
L
97602014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/x86_64/x32/Makefile: New file.
9763
c9c1a2d0
L
97642014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9767 1L with (mp_limb_t) 1.
9768
af102d95
RM
97692014-12-17 Roland McGrath <roland@hack.frob.com>
9770
dd690454
RM
9771 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9772 * nptl/libc_pthread_init.c: ... here.
9773 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9774 * nptl/register-atfork.c: ... here.
9775
74eb826c
RM
9776 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9777 Use pthread_sigmask rather than INTERNAL_SYSCALL.
9778 Use assert_perror to check its return value.
9779 (__gai_create_helper_thread): Likewise.
9780
c9ce306b
RM
9781 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9782
af102d95
RM
9783 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9784
8ac5a76a
JM
97852014-12-17 Joseph Myers <joseph@codesourcery.com>
9786
ea41469b
JM
9787 [BZ #17725]
9788 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9789 __profil_counter.
9790 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9791 Likewise.
9792 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9793 Likewise.
9794 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9795 Likewise.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9797 (profil_counter): Likewise.
9798 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9799 (profil_counter): Likewise.
9800 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9803 Likewise.
9804 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9805 (profil_counter): Likewise.
9806 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9807 Likewise.
9808 [!__profil_counter] (profil_counter): Define as weak alias of
9809 __profil_counter.
9810 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9811 (profil_counter): Rename to __profil_counter.
9812 [!__profil_counter] (profil_counter): Define as weak alias of
9813 __profil_counter.
9814 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9815 (profil_counter): Rename to __profil_counter.
9816 [!__profil_counter] (profil_counter): Define as weak alias of
9817 __profil_counter.
9818 * sysdeps/posix/profil.c: Update comment referring to
9819 profil_counter.
9820 (__profil): Use __profil_counter instead of profil_counter.
9821 * sysdeps/posix/sprofil.c (profil_counter): Rename to
9822 __profil_counter. Use __profil_counter_ushort and
9823 __profil_counter_uint in definitions.
9824 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9825 instead of profil_counter_uint and profil_counter_ushort.
9826
8ac5a76a
JM
9827 [BZ #17722]
9828 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9829 define as weak alias of __inet_makeaddr.
9830 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9831 as weak alias of __inet_addr.
9832 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9833 as weak alias of __inet_pton. Use libc_hidden_weak.
9834 * include/arpa/inet.h (__inet_pton): Declare. Use
9835 libc_hidden_proto.
9836 (inet_makeaddr): Don't use libc_hidden_proto.
9837 (__inet_makeaddr): Declare. Use libc_hidden_proto.
9838 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9839 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
9840 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9841 Remove variable.
9842 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9843 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9844
66ce3cb1
SE
98452014-12-17 Steve Ellcey <sellcey@imgtec.com>
9846
9847 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9848
d22ce01b
SL
98492014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9850
9851 * stdio-common/bug-vfprintf-nargs.c (do_test):
9852 Cast value to intptr_t to avoid format warning
9853 for usage with PRIdPTR printing macro.
9854
eca2772b
SL
98552014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9856
9857 * libio/tst-widetext.c (do_test):
9858 Use format type %td instead of %Zd for ptrdiff_t
9859 in order to avoid format warning.
9860
bdf079da
AS
98612014-12-17 Andreas Schwab <schwab@suse.de>
9862
9863 * nscd/mem.c (gc): Add size_t cast to match printf format.
9864
3eb5d2fc
RM
98652014-12-16 Roland McGrath <roland@hack.frob.com>
9866
9867 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9868 (init): Apply PTR_MANGLE to pointers before storing them.
9869 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9870 before using them.
9871
d003ada2
JM
98722014-12-16 Joseph Myers <joseph@codesourcery.com>
9873
380292ba
JM
9874 [BZ #17719]
9875 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9876 define as weak alias of __memrchr.
9877 (__memrchr): Do not define as strong alias of memrchr.
9878 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9879 Remove variable.
9880 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9881 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9882 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9883
9a44d530
JM
9884 [BZ #17717]
9885 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9886 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
9887 (if_indextoname): Rename to __if_indextoname and define as weak
9888 alias of __if_indextoname. Use libc_hidden_weak.
9889 (if_freenameindex): Rename to __if_freenameindex and define as
9890 weak alias of __if_freenameindex.
9891 (if_nameindex): Rename to __if_nameindex and define as weak alias
9892 of __if_nameindex.
9893 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9894 __if_nametoindex and define as weak alias of __if_nametoindex.
9895 Use libc_hidden_weak.
9896 (if_freenameindex): Rename to __if_freenameindex and define as
9897 weak alias of __if_freenameindex.
9898 (if_nameindex): Rename to __if_nameindex and define as weak alias
9899 of __if_nameindex.
9900 (if_indextoname): Rename to __if_indextoname and define as weak
9901 alias of __if_indextoname. Use libc_hidden_weak.
9902 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9903 __if_nametoindex and define as weak alias of __if_nametoindex.
9904 Use libc_hidden_weak.
9905 (if_freenameindex): Rename to __if_freenameindex and define as
9906 weak alias of __if_freenameindex. Use libc_hidden_weak.
9907 (if_nameindex_netlink): Use __if_freenameindex instead of
9908 if_freenameindex.
9909 (if_nameindex): Rename to __if_nameindex and define as weak alias
9910 of __if_nameindex. Use libc_hidden_weak.
9911 (if_indextoname): Rename to __if_indextoname and define as weak
9912 alias of __if_indextoname. Use libc_hidden_weak.
9913 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9914 libc_hidden_proto.
9915 [!_ISOMAC] (__if_freenameindex): Likewise.
9916 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9917 if_nametoindex.
9918 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9919 variable.
9920 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9921 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9922 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9923 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9924 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9925 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9926 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9927
d003ada2
JM
9928 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9929 Remove variable.
9930 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9931 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9932
a0d424ef
SP
99332014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9934
0cd85520
SP
9935 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9936 subscript above bounds'
9937
a0d424ef
SP
9938 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9939 bounds.
9940
0e426475
AS
99412014-12-16 Arjun Shankar <arjun.is@lostca.se>
9942
8b460906
AS
9943 * libio/tst-fopenloc.c: Use test-skeleton.c.
9944
fa13e15b
AS
9945 * stdlib/tst-bsearch.c: Use test-skeleton.c.
9946 (entry): Rename to ITEM.
9947 (do_test, comp): Adjust.
9948
0e426475
AS
9949 * stdio-common/tst-fseek.c: Use test-skeleton.c.
9950
4f646bce
TR
99512014-12-16 Torvald Riegel <triegel@redhat.com>
9952
9953 * string/tester.c: Include <libc-internal.h>.
9954 (test_memset): Ignore -Wmemset-transposed-args.
9955
a07c4427
TR
99562014-12-16 Torvald Riegel <triegel@redhat.com>
9957
9958 * misc/tst-mntent2.c (do_test): Fix warning.
9959
1469f466
TR
99602014-12-16 Torvald Riegel <triegel@redhat.com>
9961
9962 * elf/tst-unique4lib.cc(a): Mark as used.
9963
11e3417a
FW
99642014-12-16 Florian Weimer <fweimer@redhat.com>
9965
9966 [BZ #17630]
9967 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9968 names.
9969
ae61fc7b
AM
99702014-12-16 Allan McRae <allan@archlinux.org>
9971
9972 * stdio-common/Makefile (tests): Re-add bug26.
9973
363a9899
OB
99742014-12-15 Ondřej Bílka <neleai@seznam.cz>
9975
9976 [BZ #17657]
9977 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9978 static array.
9979
d52c62df
TR
99802014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
9981
9982 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9983 (__lll_lock_wait): Likewise.
9984 (__lll_timedlock_wait): Likewise.
9985 (__lll_timedwait_tid): Likewise.
9986 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9987 (__lll_robust_timedlock_wait): Likewise.
9988 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9989 (lll_cond_trylock): Likewise.
9990 (__lll_lock): Likewise.
9991 (__lll_robust_lock): Likewise.
9992 (__lll_cond_lock): Likewise.
9993 (lll_robust_cond_lock): Likewise.
9994 (__lll_timedlock): Likewise.
9995 (__lll_robust_timedlock): Likewise.
9996 (__lll_unlock): Likewise.
9997 (__lll_robust_unlock): Likewise.
9998 (lll_wait_tid): Likewise.
9999 (lll_timedwait_tid): Likewise.
10000
045a6bcd
TR
100012014-12-15 Torvald Riegel <triegel@redhat.com>
10002
10003 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10004
7f786dc1
TR
100052014-12-15 Torvald Riegel <triegel@redhat.com>
10006
10007 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10008
e7e21cba
AZ
100092014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
10010
10011 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10012 * stdio-common/tst-sprintf.c: Likewise.
10013
bc89c0fc
TR
100142014-12-15 Torvald Riegel <triegel@redhat.com>
10015
10016 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10017
a5357b7c
JL
100182014-12-15 Jeff Law <law@redhat.com>
10019
10020 [BZ #16617]
10021 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10022 on the heap. (CVE-2012-3406)
10023 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10024 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
10025 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10026
3a12c70f
WN
100272014-12-15 Will Newton <will.newton@linaro.org>
10028
10029 * manual/install.texi: Bump required version of texinfo
10030 to 4.7 from 4.5.
10031 * INSTALL: Regenerated.
10032 * configure.ac: Check for makeinfo version 4.7 and above.
10033 * configure: Regenerated.
10034
e4f639e4
RM
100352014-12-12 Roland McGrath <roland@hack.frob.com>
10036
10037 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10038 PREFIX, string constant to insert between directory and name.
10039 * sysdeps/posix/shm_open.c: Update caller.
10040 * sysdeps/posix/shm_unlink.c: Likewise.
10041 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10042 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10043 (SEM_SHM_PREFIX): New macro.
10044 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10045 [$(have-thread-library) = no].
10046 * nptl/Makefile (libpthread-routines): Add shm-directory.
10047 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10048 * sysdeps/nptl/shm-directory.h: New file.
10049 * sysdeps/posix/shm-directory.c
10050 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10051 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10052 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10053 INTERNAL_SYSCALL.
10054 (__where_is_shmfs): Function removed.
10055 (mountpoint, defaultmount, defaultdir, __namedsem_once):
10056 Variables removed.
10057 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10058 Use SHM_GET_NAME.
10059 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
10060
10061 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10062 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10063 unconditional for use inside libpthread.
10064 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10065
439c43f6
RM
100662014-12-12 Roland McGrath <roland@hack.frob.com>
10067
c76d1ff5
RM
10068 * nptl/pthread_getaffinity.c: New file.
10069 * nptl/pthread_setaffinity.c: New file.
10070 * nptl/pthread_getname.c: New file.
10071 * nptl/pthread_setname.c: New file.
10072
439c43f6
RM
10073 * nptl/pthread_create.c (START_THREAD_DEFN)
10074 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10075
48e435cd
SL
100762014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10077 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10078
10079 * resolv/res_send.c (send_vc): Disable warning resplen may
10080 be used uninitialized.
10081
9d9c0019
SL
100822014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10083
10084 * nptl/tst-mutex6.c
10085 (ATTR_NULL): New define checks ATTR against NULL.
10086 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10087 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10088
9173840b
JL
100892014-12-11 James Lemke <jwlemke@codesourcery.com>
10090
10091 [BZ #17581]
10092 * malloc/hooks.c
10093 (mem2mem_check): Revert my previous change.
10094 (malloc_check_get_size): Revert my previous change.
10095 (mem2chunk_check): Revert my previous change.
10096
78e21c5d
RM
100972014-12-11 Roland McGrath <roland@hack.frob.com>
10098
10099 * sysdeps/posix/shm-directory.c: New file.
10100 * sysdeps/posix/shm-directory.h: New file.
10101 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10102 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10103 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
10104 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10105 Transmute EPERM to EACCES.
10106 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10107 from ...
10108 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
10109 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10110
f82c43af
KK
101112014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10112
10113 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10114 pointer and cast to uintptr_t.
10115 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10116 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10117 Add cast to avoid warning.
10118 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10119
fc00cf7b
JM
101202014-12-11 Joseph Myers <joseph@codesourcery.com>
10121
10122 * nptl/semaphore.h: Move to ...
10123 * sysdeps/pthread/semaphore.h: ... here.
10124 * Makefile (installed-headers): Change nptl/semaphore.h to
10125 sysdeps/pthread/semaphore.h.
10126
1c4053db
RM
101272014-12-11 Roland McGrath <roland@hack.frob.com>
10128
73b0c1a1
RM
10129 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10130 generated error format strings.
10131
1c4053db
RM
10132 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10133 -Wformat-extra-args warnings for scanf formats.
10134 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10135 test of zero-length format (duh).
10136 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10137 corner-case scanf format test.
10138 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10139 generated fprintf format string.
10140 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10141 corner-case sprintf format tests.
10142 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10143 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10144 -Wformat-extra-args warnings throughout.
10145 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10146 (CFLAGS-scanf4.c): Likewise.
10147 (CFLAGS-scanf7.c): Likewise.
10148 (CFLAGS-tst-sprintf.c): Likewise.
10149 (CFLAGS-tst-printf.c): Likewise.
10150 (CFLAGS-tst-printfsz.c): Likewise.
10151
47d51f4f
JM
101522014-12-11 Joseph Myers <joseph@codesourcery.com>
10153
a1edbf3c
JM
10154 * include/cpio.h: New file.
10155 * include/fmtmsg.h: Likewise.
10156
47d51f4f
JM
10157 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
10158 corresponding format argument to size_t.
10159 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
10160 arguments.
10161 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
10162 corresponding format argument to size_t.
10163 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
10164 arguments.
10165 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
10166 corresponding format argument to size_t.
10167 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10168 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10169 (CFLAGS-tst-mbswcs2.c): Likewise.
10170 (CFLAGS-tst-mbswcs3.c): Likewise.
10171 (CFLAGS-tst-mbswcs4.c): Likewise.
10172 (CFLAGS-tst-mbswcs5.c): Likewise.
10173 (CFLAGS-tst-trans.c): Likewise
10174
e9813cfb
RM
101752014-12-11 Roland McGrath <roland@hack.frob.com>
10176
10177 * posix/regexbug1.c (main): Use "%s" format with regerror results,
10178 rather than assuming they won't contain any '%'s.
10179
f627ca82
CM
101802014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
10181
10182 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10183 inhibit_loop_to_libcall to avoid recursive calls.
10184 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10185 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10186
7f296942
AZ
101872014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
10188
10189 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10190 prototype.
10191
d0276e18
SE
101922014-12-11 Steve Ellcey <sellcey@imgtec.com>
10193
10194 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10195 integer value instead of boolean.
10196
fc56e970
SE
101972014-12-11 Steve Ellcey <sellcey@imgtec.com>
10198
10199 * malloc/malloc.c: Fix powerof2 check.
10200
40e53917
SL
102012014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10202
10203 * locale/programs/locfile.h (maybe_swap_uint32):
10204 Remove inline and add unused attribute.
10205
1ea166df
SL
102062014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10207
9d9c0019 10208 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
10209 Truncating assembler expression to a .long expression.
10210
acf869f4
AS
102112014-12-11 Andreas Schwab <schwab@suse.de>
10212
10213 * elf/rtld.c (struct map_args): Constify str member.
10214 (do_preload): Constify fname argument.
10215
9d969099
AZ
102162014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217
10218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10219 constants definition.
10220
da5bcaa4
AS
102212014-12-11 Andreas Schwab <schwab@suse.de>
10222
b0a3c164
AS
10223 [BZ #16657]
10224 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10225 FORCE_ELISION instead of DO_ELISION.
10226 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10227 Remove.
10228 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10229 Likewise.
10230
da5bcaa4
AS
10231 * iconvdata/gconv-modules: Remove duplicate entry.
10232
6d248857
WN
102332014-12-11 Will Newton <will.newton@linaro.org>
10234
10235 Merge gettext 0.19.3 into intl/.
10236
10237 This involves a number of cosmetic changes to comments
10238 and ANSI function definitions and prototypes throughout
10239 all the files. The gettext copyright header is used but
10240 with the date ranges taken from the glibc copy.
10241
10242 * NEWS: Add gettext merge to 2.21.
10243 * intl/bindtextdom.c: Switch to gettext copyright.
10244 Use ANSI definitions and prototypes.
10245 Use gl_* locking primitives rather than __libc_* ones.
10246 Use __builtin_expect rather than __glibc_likely/unlikely.
10247 * intl/dcgettext.c: Switch to gettext copyright.
10248 Use ANSI definitions and prototypes.
10249 * intl/dcigettext.c: Switch to gettext copyright.
10250 Use ANSI definitions and prototypes.
10251 (INTDIV0_RAISES_SIGFPE): New define.
10252 Use gl_* locking primitives rather than __libc_* ones.
10253 Include eval-plural.h instead of plural-eval.c.
10254 Use __builtin_expect rather than __glibc_likely/unlikely.
10255 * intl/dcngettext.c: Switch to gettext copyright.
10256 Use ANSI definitions and prototypes.
10257 * intl/dgettext.c: Likewise.
10258 * intl/dngettext.c: Likewise.
10259 * intl/plural-eval.c: Renamed to...
10260 * intl/eval-plural.h: ...this.
10261 * intl/explodename.c: Switch to gettext copyright.
10262 Use ANSI definitions and prototypes.
10263 (_nl_explode_name): Use strchr instead of __rawmemchr.
10264 * intl/finddomain.c: Switch to gettext copyright.
10265 Use ANSI definitions and prototypes.
10266 Use gl_* locking primitives rather than __libc_* ones.
10267 (_nl_find_domain): Use malloc rather than alloca for
10268 allocation of temporary locale name.
10269 * intl/gettext.c: Switch to gettext copyright.
10270 Use ANSI definitions and prototypes.
10271 * intl/gettextP.h: Switch to gettext copyright.
10272 Use ANSI definitions and prototypes.
10273 Use gl_* locking primitives rather than __libc_* ones.
10274 * intl/gmo.h: Switch to gettext copyright.
10275 (struct sysdep_string): Move struct segment_pair outside of
10276 struct definition.
10277 * intl/hash-string.c: Use ANSI definitions and prototypes.
10278 * intl/hash-string.h: Switch to gettext copyright.
10279 Use ANSI definitions and prototypes.
10280 * intl/l10nflist.c: Switch to gettext copyright.
10281 Use ANSI definitions and prototypes.
10282 (_nl_normalize_codeset): Avoid integer overflow.
10283 * intl/loadinfo.h: Switch to gettext copyright.
10284 Use ANSI definitions and prototypes.
10285 (LIBINTL_DLL_EXPORTED): New define.
10286 (PATH_SEPARATOR): New define.
10287 * intl/loadmsgcat.c: Switch to gettext copyright.
10288 * intl/localealias.c: Switch to gettext copyright.
10289 Use ANSI definitions and prototypes.
10290 (_nl_expand_alias): Use PATH_SEPARATOR.
10291 * intl/ngettext.c: Switch to gettext copyright.
10292 Use ANSI definitions and prototypes.
10293 * intl/plural-exp.c: Likewise.
10294 * intl/plural-exp.h: Switch to gettext copyright.
10295 Use ANSI definitions and prototypes.
10296 (struct expression): Move definition of enum operator outside
10297 of struct definition.
10298 * intl/plural.c: Regenerate.
10299 * intl/plural.y: Switch to gettext copyright.
10300 Use ANSI definitions and prototypes.
10301 Port to bison 3.0.
10302 * intl/textdomain.c: Switch to gettext copyright.
10303 Use ANSI definitions and prototypes.
10304 Use gl_* locking primitives rather than __libc_* ones.
10305
48c43298
SE
103062014-12-10 Steve Ellcey <sellcey@imgtec.com>
10307
10308 * debug/warning-nop.c: Add used atrribute.
10309
2b89bce9
JM
103102014-12-10 Joseph Myers <joseph@codesourcery.com>
10311
c153ac9f
JM
10312 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10313
2b89bce9
JM
10314 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10315 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10316 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10317
2cfbdb9a
JM
103182014-12-10 Joseph Myers <joseph@codesourcery.com>
10319 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320
10321 [BZ #17634]
10322 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10323 Undefine after defining function. Define as weak alias of
10324 __wcschr. Use libc_hidden_weak.
10325 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
10326 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10327 (libc_hidden_def): Also define __GI___wcschr alias.
10328 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10329 __wcschr and define as weak alias of __wcschr.
10330 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10331 __wcschr.
10332 [!WCSCHR] (DEFAULT_WCSCHR): Define.
10333 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10334 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
10335 libc_hidden_weak. Do not use libc_hidden_def.
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10337 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10338 __GI___wcschr alias.
10339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10340 [IS_IN (libc)] (wcschr): Define as macro expanding to
10341 __redirect_wcschr.
10342 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10343 [IS_IN (libc)] (__wcschr_power6): Likewise.
10344 [IS_IN (libc)] (__wcschr_power7): Likewise.
10345 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
10346 instead of wcschr.
10347 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10348 __libc_wcschr.
10349 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10350 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10351 __wcschr and define as weak alias of __wcschr. Use
10352 libc_hidden_builtin_def.
10353 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10354 as weak alias of __wcschr. Use libc_hidden_weak.
10355 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10356 wcschr.
10357 * time/era.c (_nl_init_era_entries): Likewise.
10358 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10359 variable.
10360 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10361 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10362
1b8bf351
JM
103632014-12-10 Joseph Myers <joseph@codesourcery.com>
10364
10365 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10366 format for long int variable.
10367
f5f46d51
AK
103682014-12-10 Anders Kaseorg <andersk@MIT.EDU>
10369
10370 [BZ #10672]
07008f7d 10371 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
10372 qsort stable.
10373
217a74a8
AS
103742014-12-10 Andreas Schwab <schwab@suse.de>
10375
10376 [BZ #12847]
10377 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10378 user-controlled locks.
10379
aa76a5c7
RE
103802014-12-10 Richard Earnshaw <rearnsha@arm.com>
10381
10382 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10383 register.
10384
2084e7ca
JM
103852014-12-10 Joseph Myers <joseph@codesourcery.com>
10386
a4ecc9eb
JM
10387 * configure.ac (--disable-werror): New configure option.
10388 (enable_werror): New AC_SUBST.
10389 * configure: Regenerated.
10390 * config.make.in (enable-werror): New variable.
10391 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10392 -Wno-error=undef.
10393 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10394 * manual/install.texi (Configuring and compiling): Document
10395 --disable-werror.
10396 * INSTALL: Regenerated.
10397 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10398 (CFLAGS-tst-chk2.c): Likewise.
10399 (CFLAGS-tst-chk3.c): Likewise.
10400 (CFLAGS-tst-chk4.cc): Likewise.
10401 (CFLAGS-tst-chk5.cc): Likewise.
10402 (CFLAGS-tst-chk6.cc): Likewise.
10403 (CFLAGS-tst-lfschk1.c): Likewise.
10404 (CFLAGS-tst-lfschk2.c): Likewise.
10405 (CFLAGS-tst-lfschk3.c): Likewise.
10406 (CFLAGS-tst-lfschk4.cc): Likewise.
10407 (CFLAGS-tst-lfschk5.cc): Likewise.
10408 (CFLAGS-tst-lfschk6.cc): Likewise.
10409
0f88636c
JM
10410 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10411 (main): Disable -Wdeprecated-declarations around calls to
10412 register_printf_function.
10413
c81e9deb
JM
10414 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10415 (do_test): Disable -Wdiv-by-zero around some calls to
10416 fwrite_unlocked and fread_unlocked.
10417
2084e7ca
JM
10418 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10419 (DIAG_POP_NEEDS_COMMENT): Likewise.
10420 (_DIAG_STR1): Likewise.
10421 (_DIAG_STR): Likewise.
10422 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10423 * stdio-common/bug21.c: Include <libc-internal.h>.
10424 (do_test): Disable -Wformat around call to sscanf.
10425 * stdio-common/scanf14.c: Include <libc-internal.h>.
10426 (main): Disable -Wformat around some calls to scanf functions.
10427
df7ecc6b
TR
104282014-12-09 Torvald Riegel <triegel@redhat.com>
10429
10430 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10431
2aa3862e
AZ
104322014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433
10434 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10435 stack variable alignment.
10436
c5c2b7c3
JM
104372014-12-06 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #17682]
10440 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10441 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10442 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10443 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10444 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10445 __getrlimit instead of getrlimit.
10446 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10447 __gettimeofday instead of gettimeofday.
10448 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10449 Likewise.
10450 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10451 Likewise.
10452 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10453 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10454 Remove variable.
10455 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10456 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10457
9752c3cd
AZ
104582014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10459
10460 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10461 for wide-character tests.
10462
4bee4cd9
RM
104632014-12-04 Roland McGrath <roland@hack.frob.com>
10464
10465 * io/openat64.c: #include <libc-internal.h>
10466 (__openat64): Prototypify. Use ignore_value on MODE.
10467 * io/openat.c: Likewise.
10468 * misc/reboot.c: #include <libc-internal.h>
10469 (reboot): Prototypify. Use ignore_value on HOWTO.
10470 * misc/ptrace.c: #include <libc-internal.h>
10471 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
10472
84dbedb6
JM
104732014-12-04 Joseph Myers <joseph@codesourcery.com>
10474
10475 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10476 XPG4, UNIX98 and XOPEN2K.
10477 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10478 Remove variable.
10479 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10480
b7a3e1c4 104812014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 10482
af50dfc1 10483 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
10484 * libio/iofopen.c: Likewise.
10485 * libio/wfileops.c: Likewise.
10486
fe8b4d98
SP
10487 [BZ #17653]
10488 * libio/fileops.c (_IO_new_file_underflow): Unset cached
10489 offset on EOF.
10490 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10491 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10492 (fgets_func): Function pointer to fgets and fgetws.
10493 (do_ftell_test): Add test to verify ftell value after read
10494 EOF.
10495 (do_test): Set fgets_func.
10496
61b4f792
SP
10497 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10498 O_TRUNC flag for w and w+ modes.
10499 (do_rewind_test): Likewise.
10500 (do_ftell_test): Likewise.
10501 (do_write_test): Likewise.
10502
be349d70
SP
10503 [BZ #17647]
10504 * libio/fileops.c (do_ftell): Seek only when there are
10505 unflushed writes.
10506 * libio/wfileops.c (do_ftell_wide): Likewise.
10507 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10508 test case.
10509 (do_one_test): Call it.
10510
e3d6dba5
JM
105112014-12-03 Joseph Myers <joseph@codesourcery.com>
10512
10513 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10514 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10515 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10516 Remove variable.
10517 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10518 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10519 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10520
7f994279
JM
105212014-12-02 Joseph Myers <joseph@codesourcery.com>
10522
28a91e8f
JM
10523 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10524 Remove variable.
10525 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10526
7f994279
JM
10527 [BZ #17668]
10528 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10529 as weak alias of __getifaddrs. Use libc_hidden_weak.
10530 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10531 __freeifaddrs. Use libc_hidden_weak.
10532 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10533 define as weak alias of __getifaddrs. Use libc_hidden_weak.
10534 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10535 __freeifaddrs. Use libc_hidden_weak.
10536 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10537 __getifaddrs and define as weak alias of __getifaddrs. Use
10538 libc_hidden_weak.
10539 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10540 __freeifaddrs. Use libc_hidden_weak.
10541 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10542 Remove variable.
10543 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10544 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10545
bbe4c142
PJ
105462014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
10547
10548 [BZ #17601]
10549 * sysdeps/mips/start.S (__start): Use indirect jump to call
10550 __libc_start_main.
10551
66cadc05
JM
105522014-12-02 Joseph Myers <joseph@codesourcery.com>
10553
909e16d9
JM
10554 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10555
4e0b9016
JM
10556 * nptl/tst-mutex1.c: Include <stdbool.h>.
10557 [!ATTR] (ATTR_NULL): New macro.
10558 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10559 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10560 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10561
b1aff6a4
JM
10562 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10563 to char *.
10564
266865c0
JM
10565 [BZ #17665]
10566 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10567 Change conditional to [__USE_MISC].
10568
84e5e756
JM
10569 [BZ #17664]
10570 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10571 fgets_unlocked.
10572 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10573 __fgets_unlocked.
10574 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10575 fgets_unlocked.
10576 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10577 Remove variable.
10578 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10579 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10580 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10581 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10582 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10583 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10584 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10585 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10586 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10587
66cadc05
JM
10588 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10589
2e8a2de2 105902014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
10591
10592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10593 Remove strpbrk objects.
10594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10595 (__libc_ifunc_impl_list): Remove strpbrk implementation.
10596 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10597 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10598 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10599 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10600
bb2542e0
AZ
10601 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10602 Remove strcspn objects.
10603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10604 (__libc_ifunc_impl_list): Remove strcspn implementation.
10605 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10606 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10607 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10608 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
10609
10610 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10611 Remove strspn objetcs.
10612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10613 (__libc_ifunc_impl_list): Remove strspn implementation.
10614 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10615 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10616 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10617 * sysdeps/powerpc/powerpc64/strspn.S: New file.
10618
08f1e1d2
JL
106192014-12-01 James Lemke <jwlemke@codesourcery.com>
10620
10621 [BZ #17581]
10622 * malloc/hooks.c
10623 (mem2mem_check): Add a terminator to the chain of checking blocks.
10624 (malloc_check_get_size): Use it here.
10625 (mem2chunk_check): Ditto.
10626
a8a7d7d2
RS
106272014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10628
10629 * sysdeps/powerpc/powerpc64/strtok.S: New file.
10630 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10631
97114a38
CD
106322014-11-29 Carlos O'Donell <carlos@redhat.com>
10633
c8dc1727
CD
10634 * bits/ioctl-types.h: Indent preprocessor directives correctly.
10635
6d03458e
CD
10636 * nptl/nptl-init.c: Include libc-internal.h.
10637 (__pthread_initialize_minimal_internal): Use ROUND_UP.
10638
97114a38
CD
10639 * elf/ldconfig.c (search_dir): Expand comment.
10640
0e7e69ba
JM
106412014-11-29 Joseph Myers <joseph@codesourcery.com>
10642
10643 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10644 variable.
10645 (linknamespace-symlist-stdlibs-tests): Likewise.
10646 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10647 instead of $(objpfx)symlist-stdlibs.
10648 (linknamespace-libs-isoc): New variable.
10649 (linknamespace-libs): Use $(linknamespace-libs-isoc).
10650 (linknamespace-libs-ISO): New variable.
10651 (linknamespace-libs-ISO99): Likewise.
10652 (linknamespace-libs-ISO11): Likewise.
10653 (linknamespace-libs-XPG3): Likewise.
10654 (linknamespace-libs-XPG4): Likewise.
10655 (linknamespace-libs-POSIX): Likewise.
10656 (linknamespace-libs-UNIX98): Likewise.
10657 (linknamespace-libs-XOPEN2K): Likewise.
10658 (linknamespace-libs-POSIX2008): Likewise.
10659 (linknamespace-libs-XOPEN2K8): Likewise.
10660 ($(objpfx)symlist-stdlibs): Replace by
10661 $(linknamespace-symlist-stdlibs-tests). Use
10662 $(linknamespace-libs-$*) as set of libraries.
10663 ($(linknamespace-header-tests)): Update dependencies. Use
10664 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10665 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10666 * conform/linknamespace.pl: Remove comment about considering
10667 definitions of symbols from irrelevant libraries.
10668
d8dd0080
L
106692014-11-28 H.J. Lu <hongjiu.lu@intel.com>
10670
10671 [BZ #13862]
10672 * elf/dl-tls.c: Include <atomic.h>.
10673 (oom): Remove #ifdef SHARED/#endif.
10674 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10675 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
10676 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10677 big enough.
10678 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10679 * nptl/Makefile (tests): Add tst-stack4.
10680 (modules-names): Add tst-stack4mod.
10681 ($(objpfx)tst-stack4): New.
10682 (tst-stack4mod.sos): Likewise.
10683 ($(objpfx)tst-stack4.out): Likewise.
10684 ($(tst-stack4mod.sos)): Likewise.
10685 (clean): Likewise.
10686 * nptl/tst-stack4.c: New file.
10687 * nptl/tst-stack4mod.c: Likewise.
10688
167da422
B
106892014-11-27 J. Brown <jb999@gmx.de>
10690
10691 * sysdeps/x86/bits/string.h: Add recent CPUs.
10692
9114625b
JM
106932014-11-27 Joseph Myers <joseph@codesourcery.com>
10694
6b5189eb
JM
10695 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10696 sigblock.
10697
49051f8e
JM
10698 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10699 feof.
10700
9114625b
JM
10701 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10702 variable.
10703
e7300fef
SL
107042014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
10705
10706 * nscd/connections.c: Include libc-internal.h because of macro
10707 usage ignore_value.
10708
1721f0a4
SP
107092014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10710
10711 * string/bits/string3.h (__warn_memset_zero_len): Don't
10712 declare for gcc newer than 5.0.
10713 (memset): Don't test for zero-length __LEN for gcc newer than
10714 5.0.
10715
be970916
JM
107162014-11-27 Joseph Myers <joseph@codesourcery.com>
10717
d88548f4
JM
10718 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10719 size_t for %zu format.
10720
be970916
JM
10721 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10722 difference, not %ju.
10723
3b20fd5c
JM
107242014-11-26 Joseph Myers <joseph@codesourcery.com>
10725
8915eace
JM
10726 * include/libc-internal.h (ignore_value): New macro.
10727 * nscd/connections.c (restart): Wrap calls to setuid and setgid
10728 with ignore_value.
10729
f1a5a0e3
JM
10730 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10731 definition.
10732
59ef1715
JM
10733 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10734 pthread_cleanup_push to void *.
10735
a6f3079b
JM
10736 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10737 Undefine.
10738
706688aa
JM
10739 [BZ #16619]
10740 [BZ #16740]
10741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10742 instead of 1L << 52.
10743
12da14a5
JM
10744 * libio/bug-rewind.c (do_test): Check fwscanf return values.
10745 * libio/bug-rewind2.c (do_test): Likewise.
10746
bd5dadac
JM
10747 * debug/test-stpcpy_chk-ifunc.c: Remove file.
10748 * debug/test-strcpy_chk-ifunc.c: Likewise.
10749 * wcsmbs/test-wcschr-ifunc.c: Likewise.
10750 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10751 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10752 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10753 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10754 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10755 * Rules [$(multi-arch) = no] (tests): Do not filter out
10756 $(tests-ifunc).
10757 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10758 * debug/Makefile (tests-ifunc): Remove variable.
10759 (tests): Do not add $(tests-ifunc).
10760 * wcsmbs/Makefile (tests-ifunc): Remove variable.
10761 (tests): Do not add $(tests-ifunc).
10762 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10763 [TEST_IFUNC]: Remove conditionals.
10764 * string/test-string.h (TEST_IFUNC): Remove macro.
10765 [TEST_IFUNC]: Remove conditionals.
10766
3b20fd5c
JM
10767 * string/test-strchr.c [!WIDE] (L): New macro.
10768 [WIDE] (L): Likewise.
10769 (check1): Use CHAR instead of char. Use L on string and character
10770 constants.
10771
704f7947
AZ
107722014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
10773
10774 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10775 tests.
10776 * sysdeps/powerpc/bits/atomic.h
10777 (__arch_atomic_exchange_and_add_32_acq): Add definition.
10778 (__arch_atomic_exchange_and_add_32_rel): Likewise.
10779 (atomic_exchange_and_add_acq): Likewise.
10780 (atomic_exchange_and_add_rel): Likewise.
10781 * sysdeps/powerpc/powerpc32/bits/atomic.h
10782 (__arch_atomic_exchange_and_add_64_acq): Add definition.
10783 (__arch_atomic_exchange_and_add_64_rel): Likewise.
10784 * sysdeps/powerpc/powerpc64/bits/atomic.h
10785 (__arch_atomic_exchange_and_add_64_acq): Add definition.
10786 (__arch_atomic_exchange_and_add_64_rel): Likewise.
10787
cdcb42d7
TR
107882014-11-26 Torvald Riegel <triegel@redhat.com>
10789
10790 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10791 Change synchronization of __sched_fifo_min_prio and
10792 __sched_fifo_max_prio.
10793 * nptl/pthread_mutexattr_getprioceiling.c
10794 (pthread_mutexattr_getprioceiling): Likewise.
10795 * nptl/pthread_mutexattr_setprioceiling.c
10796 (pthread_mutexattr_setprioceiling): Likewise.
10797 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10798 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10799 Likewise.
10800
c82f5c0c
JM
108012014-11-26 Joseph Myers <joseph@codesourcery.com>
10802
10803 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10804 void.
10805
439e1ad6
JM
108062014-11-25 Joseph Myers <joseph@codesourcery.com>
10807
10808 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10809 third argument const.
10810
b1eda10e
PE
108112014-11-25 Paul Eggert <eggert@cs.ucla.edu>
10812
10813 fnmatch: work around GCC compiler warning bug with uninit var
10814 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10815 This works around a bug with x86-64 GCC 4.9.2 and earlier
10816 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10817 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10818 used uninitialized in this function [-Wmaybe-uninitialized]".
10819
bde2667a
JM
108202014-11-25 Joseph Myers <joseph@codesourcery.com>
10821
10822 * posix/bug-regex31.c (main): Return RES not 0.
10823
5fbb5691
AB
108242014-11-25 Anton Blanchard <anton@samba.org>
10825
10826 * sysdeps/powerpc/bits/atomic.h
10827 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10828
467fec0b
BM
108292014-11-24 Sterling Augustine <saugustine@google.com>
10830
10831 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10832
e9ff8efb
RC
108332014-11-24 Ryan Cumming <etaoins@gmail.com>
10834
10835 [BZ #17608]
10836 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10837
9744496f
JM
108382014-11-24 Joseph Myers <joseph@codesourcery.com>
10839
10840 [BZ #17633]
10841 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10842 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10843 variable.
10844 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10845 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10846
6423d475
WD
108472014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
10848
10849 * string/strncpy.c (strncpy): Improve performance by using memset.
10850
108512014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
10852
10853 * string/strcpy.c (strcpy):
10854 Improve performance by using strlen and memcpy.
10855
5d178c37
LH
108562014-11-24 Leonhard Holz <leonhard.holz@web.de>
10857
10858 * string/strcoll_l.c (get_next_seq): __always_inline.
10859 * string/strcoll_l.c (do_compare): __always_inline.
10860
279bc5b3
SP
108612014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10862
7a9ebfa1
SP
10863 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10864 defined.
10865 * include/mqueue.h: Likewise.
10866 * include/stdlib.h: Likewise.
10867
4f41c682
SP
10868 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10869 (get_null_defines): Adjust.
10870 * sunrpc/Makefile: Adjust comment.
10871 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10872 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10873 (CFLAGS-interp.c): Likewise.
10874 (CFLAGS-ldconfig.c): Likewise.
10875 (CPPFLAGS-.os): Likewise.
10876 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10877 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10878 * extra-modules.mk (extra-modules.mk): Likewise.
10879 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10880 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10881 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10882 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10883 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10884 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10885 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10886 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10887 * iconvdata/Makefile (CPPFLAGS): Likewise.
10888 (cpp-srcs-left): Add libof for all iconvdata routines.
10889 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10890 * include/assert.h: Likewise.
10891 * include/ctype.h: Likewise.
10892 * include/errno.h: Likewise.
10893 * include/libc-symbols.h: Likewise.
10894 * include/math.h: Likewise.
10895 * include/netdb.h: Likewise.
10896 * include/resolv.h: Likewise.
10897 * include/stdio.h: Likewise.
10898 * include/stdlib.h: Likewise.
10899 * include/string.h: Likewise.
10900 * include/sys/stat.h: Likewise.
10901 * include/wctype.h: Likewise.
10902 * intl/l10nflist.c: Likewise.
10903 * libidn/idn-stub.c: Likewise.
10904 * libio/libioP.h: Likewise.
10905 * nptl/libc_multiple_threads.c: Likewise.
10906 * nptl/pthreadP.h: Likewise.
10907 * posix/regex_internal.h: Likewise.
10908 * resolv/res_hconf.c: Likewise.
10909 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10910 * sysdeps/arm/memmove.S: Likewise.
10911 * sysdeps/arm/sysdep.h: Likewise.
10912 * sysdeps/generic/_itoa.h: Likewise.
10913 * sysdeps/generic/symbol-hacks.h: Likewise.
10914 * sysdeps/gnu/errlist.awk: Likewise.
10915 * sysdeps/gnu/errlist.c: Likewise.
10916 * sysdeps/i386/i586/memcpy.S: Likewise.
10917 * sysdeps/i386/i586/memset.S: Likewise.
10918 * sysdeps/i386/i686/memcpy.S: Likewise.
10919 * sysdeps/i386/i686/memmove.S: Likewise.
10920 * sysdeps/i386/i686/mempcpy.S: Likewise.
10921 * sysdeps/i386/i686/memset.S: Likewise.
10922 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10923 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10924 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10925 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10926 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10928 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10930 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10932 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10933 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10934 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10935 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10936 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10937 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10938 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10940 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10942 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10943 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10945 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10946 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10948 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10949 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10952 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10955 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10962 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10963 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10965 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10966 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10967 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10968 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10969 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10971 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10974 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10975 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10976 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10977 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10980 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10981 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10983 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10984 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10985 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10986 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10987 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10988 * sysdeps/posix/closedir.c: Likewise.
10989 * sysdeps/posix/opendir.c: Likewise.
10990 * sysdeps/posix/readdir.c: Likewise.
10991 * sysdeps/posix/rewinddir.c: Likewise.
10992 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10993 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10996 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11005 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11008 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11010 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11011 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11013 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11027 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11028 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11029 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11030 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11031 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11032 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11033 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11034 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11035 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11036 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11037 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11038 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11039 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11040 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11041 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11042 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11043 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11044 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11045 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11046 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11048 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11049 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11050 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11051 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11052 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11053 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11054 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11055 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11056 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11057 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11058 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11059 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11060 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11061 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11062 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11063 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11064 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11065 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11066 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11067 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11068 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11069 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11070 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11071 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11072 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11075 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11076 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11078 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11079 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11080 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11081 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11082 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11083 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11084 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11088 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11090 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11091 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11093 * sysdeps/unix/alpha/sysdep.S: Likewise.
11094 * sysdeps/unix/alpha/sysdep.h: Likewise.
11095 * sysdeps/unix/make-syscalls.sh: Likewise.
11096 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11097 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11098 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11099 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11100 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11101 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11102 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11103 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11104 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11105 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11106 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11107 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11108 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11109 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11110 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11111 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11112 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11113 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11114 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11115 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11116 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11117 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11118 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11119 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11120 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11121 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11122 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11125 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11126 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11130 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11133 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11134 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11135 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11136 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11137 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11138 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11139 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11140 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11146 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11147 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11148 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11149 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11151 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11152 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11154 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11155 * sysdeps/x86_64/memcpy.S: Likewise.
11156 * sysdeps/x86_64/memmove.c: Likewise.
11157 * sysdeps/x86_64/memset.S: Likewise.
11158 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11159 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11160 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11161 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11162 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11165 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11166 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11167 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11168 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11170 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11171 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11172 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11173 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11175 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11176 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11177 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11178 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11179 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11181 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11182 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11183 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11184 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11185 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11187 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11188 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11189 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11190 * sysdeps/x86_64/strcmp.S: Likewise.
11191
76ca86a5
SP
11192 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11193
a3848485
SP
11194 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11195 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11196 * elf/rtld-Rules: Likewise.
11197 * elf/setup-vdso.h: Likewise.
11198 * include/assert.h: Likewise.
11199 * include/bits/stdlib-float.h: Likewise.
11200 * include/errno.h: Likewise.
11201 * include/sys/stat.h: Likewise.
11202 * include/unistd.h: Likewise.
11203 * sysdeps/aarch64/setjmp.S: Likewise.
11204 * sysdeps/alpha/setjmp.S: Likewise.
11205 * sysdeps/arm/__longjmp.S: Likewise.
11206 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11207 * sysdeps/arm/setjmp.S: Likewise.
11208 * sysdeps/arm/sysdep.h: Likewise.
11209 * sysdeps/generic/_itoa.h: Likewise.
11210 * sysdeps/generic/dl-sysdep.h: Likewise.
11211 * sysdeps/generic/ldsodefs.h: Likewise.
11212 * sysdeps/i386/dl-tls.h: Likewise.
11213 * sysdeps/i386/setjmp.S: Likewise.
11214 * sysdeps/m68k/setjmp.c: Likewise.
11215 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11216 * sysdeps/mach/hurd/opendir.c: Likewise.
11217 * sysdeps/posix/getcwd.c: Likewise.
11218 * sysdeps/posix/opendir.c: Likewise.
11219 * sysdeps/posix/profil.c: Likewise.
11220 * sysdeps/powerpc/dl-procinfo.h: Likewise.
11221 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11222 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11223 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11224 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11225 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11226 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11227 * sysdeps/s390/dl-tls.h: Likewise.
11228 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11229 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11230 * sysdeps/sh/sh3/setjmp.S: Likewise.
11231 * sysdeps/sh/sh4/setjmp.S: Likewise.
11232 * sysdeps/unix/alpha/sysdep.h: Likewise.
11233 * sysdeps/unix/arm/sysdep.S: Likewise.
11234 * sysdeps/unix/i386/sysdep.S: Likewise.
11235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11236 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11237 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11238 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11240 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11241 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11242 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11243 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11244 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11245 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11246 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11247 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11254 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11255 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11258 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11259 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11260 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11263 * sysdeps/x86_64/setjmp.S: Likewise.
11264
a109996e
SP
11265 * include/math.h: Use IS_IN instead of IS_IN_libm.
11266 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11278 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11287 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11288 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11289 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11290 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11291 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11293 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11294 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11295 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11296 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11300 Likewise.
11301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11302 Likewise.
11303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11304 Likewise.
11305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11306 Likewise.
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11308 Likewise.
11309 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11310 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11311 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11312 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11313 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11314 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11320 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11321 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11322 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11323 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11325 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11328 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11329 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11331 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11333 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11335 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11336
ce9f10f7
SP
11337 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11338 * nptl/pthreadP.h: Likewise.
11339 * nptl_db/structs.def: Likewise.
11340 * sysdeps/arm/sysdep.h: Likewise.
11341 * sysdeps/nptl/bits/libc-lock.h: Likewise.
11342 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11343 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11344 * sysdeps/unix/alpha/sysdep.h: Likewise.
11345 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11346 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11347 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11348 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11349 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11350 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11352 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11353 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11354 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11355 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11356 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11357 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11358 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11363 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11366 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11367 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11368 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11371
016afc75
SP
11372 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11373 * nptl/pthreadP.h: Likewise.
11374 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11375 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11376 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11377 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11378 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11379 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11380 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11381 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11382 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11383 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11384 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11385 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11387 Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11389 Likewise.
11390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11392 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11395 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11396 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11398
9b42a0b3
SP
11399 * dlfcn/dladdr.c: Use IS_IN.
11400 * dlfcn/dladdr1.c: Likewise.
11401 * dlfcn/dlclose.c: Likewise.
11402 * dlfcn/dlerror.c: Likewise.
11403 * dlfcn/dlinfo.c: Likewise.
11404 * dlfcn/dlmopen.c: Likewise.
11405 * dlfcn/dlopen.c: Likewise.
11406 * dlfcn/dlsym.c: Likewise.
11407 * dlfcn/dlvsym.c: Likewise.
11408
85f36372
SP
11409 * include/ifaddrs.h: Use IS_IN.
11410 * inet/check_pf.c: Likewise.
11411 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11412 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11413
fb6784e3
SP
11414 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11415 IS_IN_ldconfig.
11416 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11417 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11418
2886d2d1
SP
11419 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11420 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11421 IS_IN (libc).
11422
9a484857
SP
11423 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11424
a10178bd
SP
11425 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11426 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11427 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11428 * include/libc-symbols.h (IS_IN_LIB): New macro.
11429 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11430 * include/netdb.h: Likewise.
11431 * include/stap-probe.h: Remove all uses of IN_LIB.
11432
279bc5b3
SP
11433 * Makeconfig (module-cppflags-real): Define MODULE_NAME
11434 instead of IN_MODULE.
11435 * include/libc-symbols.h (IN_MODULE): Define using
11436 MODULE_NAME.
11437 (PASTE_NAME, PASTE_NAME1): New macros.
11438 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11439 of IN_LIB.
11440 (STAP_PROBE_ASM): Likewise.
11441
e0cfa510
ST
114422014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
11443
11444 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11445 __mach_init in dlopened libc.
11446
34d97d87
MF
114472014-11-22 Mike Frysinger <vapier@gentoo.org>
11448
11449 * sysdeps/arm/preconfigure.ac: Delete EABI check.
11450 * sysdeps/arm/preconfigure: Regenerate.
11451
33cd1f74
RM
114522014-11-21 Roland McGrath <roland@hack.frob.com>
11453
11454 * nptl/pthread_create.c (__pthread_create_2_1): Set
11455 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11456 when copying values from IATTR into PD.
11457
8c230039
WN
114582014-11-21 Will Newton <will.newton@linaro.org>
11459 Andrew Pinski <andrew.pinski@caviumnetworks.com>
11460
6d3db89b
AP
11461 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11462 Refactor inline-asm. Also add comment.
11463
01194ba1
WN
11464 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11465 ElfW macro instead of hardcoded Elf64 types.
11466 (la_aarch64_gnu_pltenter): Likewise.
11467 * sysdeps/aarch64/dl-machine.h
11468 (elf_machine_runtime_setup): Use ElfW(Addr).
11469
8c230039
WN
11470 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11471 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11472 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11473 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11474 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11475 (R_AARCH64_TLS_DTPMOD64): Rename to ..
11476 (R_AARCH64_TLS_DTPMOD): This.
11477 (R_AARCH64_TLS_DTPREL64): Rename to ...
11478 (R_AARCH64_TLS_DTPREL): This.
11479 (R_AARCH64_TLS_TPREL64): Rename to ...
11480 (R_AARCH64_TLS_TPREL): This.
11481 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11482 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11483 R_AARCH64_TLS_TPREL64.
11484 (elf_machine_rela): Likewise.
11485
0d79fa53
TR
114862014-11-21 Torvald Riegel <triegel@redhat.com>
11487
11488 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11489 by setting it to 0. 64b atomics are not supported currently.
11490
b59d114b
AO
114912014-11-21 Alexandre Oliva <aoliva@redhat.com>
11492
11493 [BZ #16469]
11494 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11495 search domain names.
11496
f3d945d5
AO
114972014-11-21 Alexandre Oliva <aoliva@redhat.com>
11498
11499 [BZ #16469]
11500 * NEWS: Update.
11501 * resolv/res_query.c (__libc_res_nquerydomain): Retain
11502 trailing dot.
11503 * posix/tst-getaddrinfo5.c: New.
11504 * posix/Makefile (tests): Add it.
11505
49698902
AO
115062014-11-21 Alexandre Oliva <aoliva@redhat.com>
11507
11508 [BZ #14498]
11509 * NEWS: Fixed.
11510 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11511 after parsing line but before break_if_match.
11512 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11513 if there is a protocol mismatch.
11514
81959214
MS
115152014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11516
11517 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11518 because the potential race is on the user-supplied stream.
11519
7729e0e9
AO
115202014-11-21 Alexandre Oliva <aoliva@redhat.com>
11521
11522 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11523 string literal if not passed a buffer.
11524 * manual/job.texi (ctermid): Update reasoning, note deviation
11525 from posix, suggest mtasurace when not passed a buffer, for
11526 future non-preliminary safety notes.
11527
a4ea5e28
AO
115282014-11-21 Alexandre Oliva <aoliva@redhat.com>
11529
11530 * manual/users.texi (cuserid): Fix MT-Safety note for the case
11531 of not passing it a buffer.
11532 Reported by Peng Haitao.
11533
a2b581cb
AO
115342014-11-21 Alexandre Oliva <aoliva@redhat.com>
11535
11536 * manual/Makefile ($(objpfx)stamp-summary): Require
11537 check-safety.sh to pass.
11538 * manual/check-safety.sh: Wish for verification that every
11539 @deftypefn and @deftypefun is followed by a @safety remark.
11540
f214ff74
RM
115412014-11-20 Roland McGrath <roland@hack.frob.com>
11542
7f0dfae0
RM
11543 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11544
2f531bbb
RM
11545 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11546 PTHREAD_CANCEL_ASYNCHRONOUS.
11547 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11548 send SIGCANCEL.
11549
f214ff74
RM
11550 * nptl/default-sched.h: New file.
11551 * sysdeps/unix/sysv/linux/default-sched.h: New file.
11552 * nptl/pthread_create.c: Include it.
11553 (__pthread_create_2_1): Use collect_default_sched instead of making
11554 Linux syscalls here directly.
11555
e37c91d4
TR
115562014-11-20 Torvald Riegel <triegel@redhat.com>
11557
11558 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11559 __pthread_once): Use C11 atomics.
11560
1eccfecd
TR
115612014-11-20 Torvald Riegel <triegel@redhat.com>
11562
11563 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11564
ff871426
TR
115652014-11-20 Torvald Riegel <triegel@redhat.com>
11566
11567 * include/atomic.h (__atomic_link_error, __atomic_check_size,
11568 atomic_thread_fence_acquire, atomic_thread_fence_release,
11569 atomic_thread_fence_seq_cst, atomic_load_relaxed,
11570 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11571 atomic_compare_exchange_weak_relaxed,
11572 atomic_compare_exchange_weak_acquire,
11573 atomic_compare_exchange_weak_release,
11574 atomic_exchange_acquire, atomic_exchange_release,
11575 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11576 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11577 atomic_fetch_and_acquire,
11578 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11579
1ea339b6
TR
115802014-11-20 Torvald Riegel <triegel@redhat.com>
11581
11582 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11583 USE_ATOMIC_COMPILER_BUILTINS): Define.
11584 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11585 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11586 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11587 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11588 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11589 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11590 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11591 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11592 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11593 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11594 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11595 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11596 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11597 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11598 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11600 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11602 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11604 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11606 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11608 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11610 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11612 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11614 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11616 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11618 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11619 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11620 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11622 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11624
cbd463e2
RM
116252014-11-19 Roland McGrath <roland@hack.frob.com>
11626
d960211f
RM
11627 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11628 the sched_priority value here. It was already checked when the user
11629 called pthread_attr_setschedparam.
11630
cbd463e2
RM
11631 * nptl/tst-bad-schedattr.c: New file.
11632 * nptl/Makefile (tests): Add it.
11633
a39208bd
CD
116342014-11-19 Carlos O'Donell <carlos@redhat.com>
11635 Florian Weimer <fweimer@redhat.com>
11636 Joseph Myers <joseph@codesourcery.com>
11637 Adam Conrad <adconrad@0c3.net>
11638 Andreas Schwab <schwab@suse.de>
11639 Brooks <bmoses@google.com>
11640
11641 [BZ #17625]
11642 * wordexp-test.c (__dso_handle): Add prototype.
11643 (__register_atfork): Likewise.
11644 (__app_register_atfork): New function.
11645 (registered_forks): New global.
11646 (register_fork): New function.
11647 (test_case): Add 3 new tests for WRDE_CMDSUB.
11648 (main): Call __app_register_atfork.
11649 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11650 fork count is non-zero fail the test.
11651 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11652 is set.
11653 (parse_dollars): Remove check for WRDE_NOCMD.
11654 (parse_dquote): Likewise.
11655
9cd47470
SP
116562014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11657
130ac68c
SP
11658 * Makeconfig (built-modules): List non-library modules to be
11659 built.
11660 (module-cppflags): Include libc-modules.h for
11661 everything except shlib-versions.v.i.
11662 (CPPFLAGS): Use it.
11663 (before-compile): Add libc-modules.h.
11664 ($(common-objpfx)libc-modules.h,
11665 $(common-objpfx)libc-modules.stmp): New targets.
11666 (common-generated): Add libc-modules.h and libc-modules.stmp.
11667 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11668 * include/libc-symbols.h: Don't include libc-modules.h.
11669 * include/libc-modules.h: Remove file.
11670 * scripts/gen-libc-modules.awk: New script to generate
11671 libc-modules.h.
11672 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11673 Depend on libc-modules.stmp.
11674
286663c3
SP
11675 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11676
9cd47470
SP
11677 * Makeconfig (in-module): Get value of libof set for the
11678 translation unit.
11679 (CPPFLAGS): Use $(in-module).
11680 * Makerules: Don't suffix routine names for nonlib.
11681 * include/libc-modules.h: New file.
11682 * include/libc-symbols.h: Include libc-modules.h
11683 (IS_IN): New macro to replace IS_IN_* macros.
11684 * elf/Makefile: Set libof-* for each routine.
11685 * elf/rtld-Rules: Likewise.
11686 * extra-modules.mk: Likewise.
11687 * iconv/Makefile: Likewise.
11688 * iconvdata/Makefile: Likewise.
11689 * locale/Makefile: Likewise.
11690 * malloc/Makefile: Likewise.
11691 * nss/Makefile: Likewise.
11692 * sysdeps/gnu/Makefile: Likewise.
11693 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11694 * sysdeps/unix/sysv/linux/Makefile: Likewise.
11695 * sysdeps/s390/s390-64/Makefile: Likewise.
11696 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
11697 CPPFLAGS for nscd instead of nonlib.
11698
32fed10f
RM
116992014-11-18 Roland McGrath <roland@hack.frob.com>
11700
d71035bd
RM
11701 * nptl/createthread.c: New file.
11702
6540b991
RM
11703 * nptl/createthread.c: Moved ...
11704 * sysdeps/unix/sysv/linux/createthread.c: ... here.
11705
32fed10f
RM
11706 * nptl/createthread.c: Add proper top-line comment.
11707 (do_clone): Folded into ...
11708 (create_thread): ... here. Take new arguments STOPPED_START and
11709 THREAD_RAN. Always set PD->stopped_start to something here. Don't
11710 increment __nptl_threads, do event-reporting logic, do
11711 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11712 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
11713 resource cleanup if sched_setaffinity or sched_setscheduler fails,
11714 just send SIGCANCEL.
11715 * nptl/pthread_create.c: Forward-declare create_thread before
11716 including createthread.c.
11717 (start_thread): Use new macro START_THREAD_DEFN to replace defining
11718 declaration, and new macro START_THREAD_SELF to replace argument.
11719 Remove return statement.
11720 (report_thread_creation): New function.
11721 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
11722 synchronization logic, and __nptl_nthreads increment here, around
11723 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
11724 PD->parent_cancelhandling here, before create_thread. When
11725 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11726 __deallocate_stack, and ENOMEM translation here.
11727
107a5bf0
JM
117282014-11-18 Joseph Myers <joseph@codesourcery.com>
11729
11730 [BZ #17616]
11731 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11732 (mptwo): Rename to __mptwo.
11733 (__inv): Use __mptwo instead of mptwo.
11734 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11735 (mptwo): Rename to __mptwo.
11736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11737 of mpone and __mptwo instead of mptwo.
11738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11739 instead of mpone.
11740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11741 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11742 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11743 of mpone and __mptwo instead of mptwo.
11744 (__mpranred): Use __mpone instead of mpone.
11745 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11746 variable.
11747 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11748 (test-xfail-ISO99/math.h/linknamespace): Likewise.
11749 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11750 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11751 (test-xfail-ISO11/math.h/linknamespace): Likewise.
11752 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11753 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11754 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11755 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11756 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11757 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11758 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11759 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11760 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11761 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11762 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11763 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11764 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11765 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11766
3b679ab3
TV
117672014-11-18 Tom de Vries <tom@codesoucery.com>
11768
11769 * manual/signal.texi (Primitives Interrupted by Signals): In section,
11770 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
11771
117722014-11-17 Richard Henderson <rth@redhat.com>
11773
11774 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11775 (_FP_PACK_RAW_2): Remove.
11776 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11777 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11778 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11779 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11780 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11781 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11782 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11783 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11784 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11785 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11786 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11787 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11788 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11789 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11790 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11791 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11792
0781a777
RM
117932014-11-14 Roland McGrath <roland@hack.frob.com>
11794
11795 * signal/signal.h [__USE_MISC]
11796 (struct sigvec): Remove type.
11797 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11798 (sigvec): Remove declaration.
11799 * sysdeps/posix/sigvec.c: Moved ...
11800 * signal/sigvec.c: ... here, replacing old file.
11801 (struct sigvec): New type, copied from old signal.h definition.
11802 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11803 (__sigvec): Convert definition to prototype.
11804 (sigvec): Replace weak_alias with compat_symbol.
11805 * signal/Versions (libc: GLIBC_2.21): New version set.
11806 * include/signal.h: Remove __sigvec declaration.
11807 * sysdeps/unix/bsd/sigvec.c: Remove file.
11808 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11809 * manual/signal.texi (BSD Handler): Remove subsection.
11810 Move siginterrupt up to ...
11811 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
11812 (Blocking in BSD): Fold subsection into its parent.
11813 * NEWS: Mention sigvec removal.
11814
a4733812
JM
118152014-11-14 Joseph Myers <joseph@codesourcery.com>
11816
5ae4fe60
JM
11817 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11818 (DLA_FMS): Make definition conditional only on [__FMA4__].
11819 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11820 definition.
11821
6a0dd472
JM
11822 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11823 Make definition conditional only on [PROF].
11824 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11825 definition.
11826 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11827 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11828
a4733812
JM
11829 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11830 !__GNUC__].
11831 * include/signal.h (__sigpause): Move declaration above call to
11832 libc_hidden_proto.
11833 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11834 variable.
11835 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11836 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11837
cf7246dd
DM
118382014-11-14 David S. Miller <davem@davemloft.net>
11839
11840 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11841 Define before including <string/memcpy.c> and <string/mempcpy.c>.
11842
c1b0aadc
JM
118432014-11-14 Joseph Myers <joseph@codesourcery.com>
11844
4863355a
JM
11845 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11846 * configure: Regenerated.
11847 * manual/install.texi (Tools for Compilation): Document a
11848 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11849 compiler verified to work.
11850 * INSTALL: Regenerated.
11851
c1b0aadc
JM
11852 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11853 redeclare with asm name.
11854 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11855 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11856 including <string.h>.
11857 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11858 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11859 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11861 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11862 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11863 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11864
2a1cfd94
JM
118652014-11-13 Joseph Myers <joseph@codesourcery.com>
11866
bf438382
JM
11867 * stdlib/strtol.c (__strtol): Use prototype definition.
11868
2a1cfd94
JM
11869 [BZ #17594]
11870 * stdlib/strtol.c (SYM__): New macro.
11871 (SYM__1): Likewise.
11872 (__strtol): Likewise.
11873 (strtol): Rename to __strtol and define as weak alias of
11874 __strtol. Use libc_hidden_weak.
11875
20ed0d26
SL
118762014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11877
11878 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11879 Use numbered labels in inline assembly.
11880
53244a4e
SL
118812014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11882
11883 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11884 Add setjmp LIBC_PROBE.
11885 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11886 Likewise.
11887 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11888 Add longjmp, longjmp_target LIBC_PROBE.
11889 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11890 Likewise.
11891
47df8251
SL
118922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11893
11894 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11895 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11896 to get rid of unused variable warning.
11897
618cebef
SL
118982014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11899
11900 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11901 Check for unwind_backtrace == NULL only in SHARED case.
11902 (__backchain_backtrace): Compile only in SHARED case.
11903 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11904 Likewise.
11905 (__backchain_backtrace): Declare as static.
11906
c6aab2cb
RM
119072014-11-12 Roland McGrath <roland@hack.frob.com>
11908
11909 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11910 (__libc_multiple_threads_ptr): Variable moved ...
11911 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11912
5a6fa4d7
JM
119132014-11-12 Joseph Myers <joseph@codesourcery.com>
11914
24f4f825
JM
11915 * conform/GlibcConform.pm: New file.
11916 * conform/conformtest.pl: Use GlibcConform module.
11917 * conform/linknamespace.pl: New file.
11918 * conform/list-header-symbols.pl: Likewise.
11919 * conform/Makefile (linknamespace-symlists-base): New variable.
11920 (linknamespace-symlists-tests): Likewise.
11921 (linknamespace-header-base): Likewise.
11922 (linknamespace-header-tests): Likewise.
11923 (tests-special): Add new tests.
11924 ($(linknamespace-symlists-tests)): New rule.
11925 (linknamespace-libs): New variable.
11926 ($(objpfx)symlist-stdlibs): New rule.
11927 ($(linknamespace-header-tests)): Likewise.
11928 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11929 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11930 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11931 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11932 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11933 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11934 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11935 (test-xfail-ISO/math.h/linknamespace): Likewise.
11936 (test-xfail-ISO/signal.h/linknamespace): Likewise.
11937 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11938 (test-xfail-ISO/time.h/linknamespace): Likewise.
11939 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11940 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11941 (test-xfail-ISO99/math.h/linknamespace): Likewise.
11942 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11943 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11944 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11945 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11946 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11947 (test-xfail-ISO11/math.h/linknamespace): Likewise.
11948 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11949 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11950 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11951 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11952 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11953 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11954 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11955 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11956 (test-xfail-XPG3/search.h/linknamespace): Likewise.
11957 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11958 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11959 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11960 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11961 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11962 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11963 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11964 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11965 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11966 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11967 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11968 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11969 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11970 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11971 (test-xfail-XPG4/search.h/linknamespace): Likewise.
11972 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11973 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11974 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11975 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11976 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11977 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11978 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11979 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11980 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11981 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11982 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11983 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11984 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11985 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11986 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11987 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11988 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11989 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11990 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11991 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11992 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11993 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11994 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11995 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11996 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11997 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11998 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11999 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12000 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12001 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12002 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12003 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12004 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12005 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12006 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12007 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12008 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12009 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12010 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12011 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12012 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12013 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12014 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12015 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12016 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12017 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12018 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12019 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12020 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12021 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12022 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12023 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12024 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12025 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12026 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12027 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12028 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12029 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12030 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12031 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12032 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12033 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12034 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12035 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12036 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12037 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12038 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12039 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12040 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12041 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12042 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12043 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12044 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12045 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12046 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12047 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12048 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12049 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12050 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12051 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12052 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12053 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12054 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12055 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12056 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12057 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12058 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12059 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12060 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12061 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12062 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12063 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12064 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12065 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12066 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12067 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12068 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12069 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12070 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12071 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12072 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12073 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12074 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12075 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12076 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12077 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12078 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12079 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12080 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12081 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12082 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12083 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12084 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12085 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12086 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12087 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12088 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12089
cc67478e
JM
12090 [BZ #17589]
12091 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12092 of fgets_unlocked.
12093
9975e3d3
JM
12094 [BZ #17585]
12095 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12096 (memmem): Rename to __memmem and define as weak alias of
12097 __memmem. Use libc_hidden_weak.
12098 (__memmem): Use libc_hidden_def.
12099 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
12100 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12101 memmem.
12102
c4eae752
JM
12103 [BZ #17582]
12104 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12105 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
12106 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12107 and define as weak alias of __fgets_unlocked. Use
12108 libc_hidden_weak.
12109 (__fgets_unlocked): Use libc_hidden_def.
12110 * include/stdio.h (__fgets_unlocked): Declare. Use
12111 libc_hidden_proto.
12112 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12113 __fgets_unlocked instead of fgets_unlocked.
12114 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12115 (GET_NPROCS_CONF_PARSER): Likewise.
12116 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12117 (GET_NPROCS_CONF_PARSER): Likewise.
12118
01cad84e
JM
12119 [BZ #17574]
12120 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12121 weak alias of __wmemset. Use libc_hidden_weak.
12122 (__wmemset): Use libc_hidden_def.
12123 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
12124 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12125 of wmemset.
12126
939da411
JM
12127 [BZ #17573]
12128 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12129 with asm name __mempcpy.
12130 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12131
293d9a41
JM
12132 [BZ #17572]
12133 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12134 and define as weak alias of __rawmemchr.
12135 (__rawmemchr): Do not define as strong alias of rawmemchr.
12136
bef8fd60
JM
12137 [BZ #17571]
12138 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12139 alias of __qsort_r.
12140 (qsort): Call __qsort_r instead of qsort_r.
12141 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12142 (__qsort_r): Declare. Call libc_hidden_proto.
12143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12144 instead of qsort_r.
12145 * nscd/gai.c (__qsort_r): Define to qsort_r.
12146 * posix/tst-rfc3484.c (__qsort_r): Likewise.
12147 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12148 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12149
c52ff39e
JM
12150 [BZ #17570]
12151 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12152 define as weak alias of __malloc_info.
12153
2f5c1b00
JM
12154 [BZ #17584]
12155 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12156 as weak alias of __rewinddir. Don't use libc_hidden_def.
12157 (__rewinddir): Use libc_hidden_def.
12158 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12159 as weak alias of __rewinddir. Don't use libc_hidden_def.
12160 (__rewinddir): Use libc_hidden_def.
12161 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12162 weak alias of __rewinddir. Don't use libc_hidden_def.
12163 (__rewinddir): Use libc_hidden_def.
12164 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12165 (__rewinddir): Use libc_hidden_proto.
12166 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12167 rewinddir.
12168 (__getcwd): Use __rewinddir instead of rewinddir.
12169
5a6fa4d7
JM
12170 [BZ #17583]
12171 * libio/fileno.c (fileno): Rename to __fileno and define as weak
12172 alias of __fileno. Use libc_hidden_weak.
12173 (__fileno): Use libc_hidden_def.
12174 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12175 * libio/ftello.c (ftello): Rename to __ftello and define as weak
12176 alias of __ftello.
12177 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12178 __ftello.
12179 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12180 (__fread_unlocked): Define as strong alias of _IO_fread. Use
12181 libc_hidden_def.
12182 (fread_unlocked): Don't use libc_hidden_ver.
12183 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12184 and define as weak alias of __fread_unlocked. Don't use
12185 libc_hidden_def.
12186 (__fread_unlocked): Use libc_hidden_def.
12187 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
12188 (ftello): Don't use libc_hidden_proto.
12189 (__ftello): Declare. Use libc_hidden_proto.
12190 (fread_unlocked): Don't use libc_hidden_proto.
12191 (__fread_unlocked): Declare. Use libc_hidden_proto.
12192 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12193 and __ftello instead of fileno, fread_unlocked and ftello.
12194
2581b98e
SP
121952012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12196
12197 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12198 GOT12.
12199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12200 Likewise.
12201 (_dl_start_user): Likewise.
12202 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12203
533bb7c2
SP
122042014-11-12 Carlos O'Donell <carlos@redhat.com>
12205 Siddhesh Poyarekar <siddhesh@redhat.com>
12206
12207 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12208 Move argv and envp down instead of moving argc up.
12209 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12210
fffa1cf8
LH
122112014-11-12 Leonhard Holz <leonhard.holz@web.de>
12212
12213 [BZ #17506]
12214 * test-skeleton.c (main): Return successful if one of
12215 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12216 * string/tst-strcoll-overflow.c: Define expected status.
12217
fb89b46d
TU
122182014-11-12 Tatiana Udalova <t.udalova@samsung.com>
12219
12220 [BZ #17475]
12221 * locale/iso-639.def: Define Bhili and Tulu language codes.
12222
5c40c3ba
AH
122232014-11-11 Alan Hayward <alan.hayward@arm.com>
12224
12225 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12226
b17fe01b 122272014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
12228
12229 [BZ #17555]
12230 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12231
bd805071
AS
122322014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
12233
12234 * configure.ac: Updated check of minimal required version to
12235 2.22.
12236 * manual/install.texi (Tools for Compilation): Updated version
12237 number.
12238 * configure: Regenerated.
12239 * INSTALL: Likewise.
12240
1400983e
AS
122412014-11-07 Andreas Schwab <schwab@linux-m68k.org>
12242
12243 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12244 __tls_get_addr.
12245
2c46a66a
JM
122462014-11-07 Joseph Myers <joseph@codesourcery.com>
12247
12248 * include/sys/wait.h (__libc_waitpid): Remove declaration.
12249 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12250 (__waitpid): Don't define as alias. Use libc_hidden_def not
12251 libc_hidden_weak.
12252 (waitpid): Define as alias of __waitpid.
12253 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12254 __waitpid.
12255 (__waitpid): Don't define as alias. Use libc_hidden_def not
12256 libc_hidden_weak.
12257 (waitpid): Define as alias of __waitpid.
12258 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12259 __libc_waitpid alias.
12260 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12261 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12262 Likewise.
12263 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12265 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12266 alias.
12267 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12268 __waitpid.
12269 (__waitpid): Don't define as alias. Use libc_hidden_def not
12270 libc_hidden_weak.
12271 (waitpid): Define as alias of __waitpid.
12272
da53d6db
CD
122732014-11-06 Carlos O'Donell <carlos@redhat.com>
12274
a2887bdb
CD
12275 * manual/llio.texi: Add comment that write safety has been
12276 fixed in Linux.
12277
da53d6db
CD
12278 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12279 (localplt-build-dso): Add elf/ld.so.
12280 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12281 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12282 and free for ld.so.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12284 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12286 Likewise.
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12288 Likewise.
12289 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12290 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12291 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12292 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12293 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12294 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12295 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12296 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12297 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12299 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12300
9cf27b8d
JM
123012014-11-05 Joseph Myers <joseph@codesourcery.com>
12302
12303 [BZ #14132]
12304 * include/libc-symbols.h (INTUSE): Remove macro.
12305 (INTDEF): Likewise.
12306 (INTVARDEF): Likewise.
12307 (_INTVARDEF): Likewise.
12308 (INTDEF2): Likewise.
12309 (INTVARDEF2): Likewise.
12310 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12311 rtld_hidden_def instead of INTVARDEF.
12312 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12313 (_dl_starting_up_internal): Remove declaration.
12314 (_dl_starting_up): Use rtld_hidden_proto.
12315 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12316 declaration.
12317 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12318 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12319 _dl_starting_up.
12320 * elf/dl-writev.h (_dl_writev): Likewise.
12321 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12322 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12323 _dl_starting_up_internal.
12324
af83568d
AZ
123252014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12326
12327 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12328 test-skeleton.c.
12329
b01ee67c
WN
123302014-11-05 Will Newton <will.newton@linaro.org>
12331
12332 * benchtests/Makefile: (bench-malloc): Add malloc thread
12333 scalability benchmark.
12334 * benchtests/bench-malloc-threads.c: New file.
12335
be9d4ccc
RE
123362014-11-05 Richard Earnshaw <rearnsha@arm.com>
12337
12338 * sysdeps/aarch64/strchrnul.S: New file.
12339
7110166d
AZ
123402014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12341
12342 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12343 definition.
12344 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12345 Likwise.
12346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12347 Likewise.
12348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12349 Likewise.
12350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12351 Likewise.
12352 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12353 Likewise.
12354
123552014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
12356
12357 * catgets/test-gencat.c: Use test-skeleton.c.
12358 * catgets/tst-catgets.c: Likewise.
12359 * csu/tst-empty.c: Likewise.
12360 * elf/tst-audit2.c: Likewise.
12361 * elf/tst-global1.c: Likewise.
12362 * elf/tst-pathopt.c: Likewise.
12363 * elf/tst-piemod1.c: Likewise.
12364 * elf/tst-tls10.c: Likewise.
12365 * elf/tst-tls11.c: Likewise.
12366 * elf/tst-tls12.c: Likewise.
12367 * gnulib/tst-gcc.c: Likewise.
12368 * iconvdata/tst-e2big.c: Likewise.
12369 * iconvdata/tst-loading.c: Likewise.
12370 * iconv/tst-iconv1.c: Likewise.
12371 * iconv/tst-iconv2.c: Likewise.
12372 * inet/test-inet6_opt.c: Likewise.
12373 * inet/tst-gethnm.c: Likewise.
12374 * inet/tst-network.c: Likewise.
12375 * inet/tst-ntoa.c: Likewise.
12376 * intl/tst-codeset.c: Likewise.
12377 * intl/tst-gettext2.c: Likewise.
12378 * intl/tst-gettext3.c: Likewise.
12379 * intl/tst-ngettext.c: Likewise.
12380 * intl/tst-translit.c: Likewise.
12381 * io/test-stat.c: Likewise.
12382 * libio/test-fmemopen.c: Likewise.
12383 * libio/tst-freopen.c: Likewise.
12384 * libio/tst-sscanf.c: Likewise.
12385 * libio/tst-ungetwc1.c: Likewise.
12386 * libio/tst-ungetwc2.c: Likewise.
12387 * libio/tst-widetext.c: Likewise.
12388 * localedata/tst-ctype.c: Likewise.
12389 * localedata/tst-digits.c: Likewise.
12390 * localedata/tst-leaks.c: Likewise.
12391 * localedata/tst-mbswcs1.c: Likewise.
12392 * localedata/tst-mbswcs2.c: Likewise.
12393 * localedata/tst-mbswcs3.c: Likewise.
12394 * localedata/tst-mbswcs4.c: Likewise.
12395 * localedata/tst-mbswcs5.c: Likewise.
12396 * localedata/tst-setlocale.c: Likewise.
12397 * localedata/tst-trans.c: Likewise.
12398 * localedata/tst-wctype.c: Likewise.
12399 * localedata/tst-xlocale1.c: Likewise.
12400 * login/tst-grantpt.c: Likewise.
12401 * malloc/tst-calloc.c: Likewise.
12402 * malloc/tst-malloc.c: Likewise.
12403 * malloc/tst-mallocstate.c: Likewise.
12404 * malloc/tst-mcheck.c: Likewise.
12405 * malloc/tst-mtrace.c: Likewise.
12406 * malloc/tst-obstack.c: Likewise.
12407 * math/atest-exp2.c: Likewise.
12408 * math/atest-exp.c: Likewise.
12409 * math/atest-sincos.c: Likewise.
12410 * math/test-matherr.c: Likewise.
12411 * math/test-misc.c: Likewise.
12412 * math/test-powl.c: Likewise.
12413 * math/tst-definitions.c: Likewise.
12414 * misc/tst-dirname.c: Likewise.
12415 * misc/tst-efgcvt.c: Likewise.
12416 * misc/tst-fdset.c: Likewise.
12417 * misc/tst-hsearch.c: Likewise.
12418 * misc/tst-mntent2.c: Likewise.
12419 * nptl/tst-sem7.c: Likewise.
12420 * nptl/tst-sem8.c: Likewise.
12421 * nptl/tst-sem9.c: Likewise.
12422 * nss/test-netdb.c: Likewise.
12423 * posix/tst-fnmatch.c: Likewise.
12424 * posix/tst-getlogin.c: Likewise.
12425 * posix/tst-gnuglob.c: Likewise.
12426 * posix/tst-mmap.c: Likewise.
12427 * pwd/tst-getpw.c: Likewise.
12428 * resolv/tst-inet_ntop.c: Likewise.
12429 * rt/tst-timer.c: Likewise.
12430 * stdio-common/test-fseek.c: Likewise.
12431 * stdio-common/test-popen.c: Likewise.
12432 * stdio-common/test-vfprintf.c: Likewise.
12433 * stdio-common/tst-cookie.c: Likewise.
12434 * stdio-common/tst-fileno.c: Likewise.
12435 * stdio-common/tst-gets.c: Likewise.
12436 * stdio-common/tst-obprintf.c: Likewise.
12437 * stdio-common/tst-perror.c: Likewise.
12438 * stdio-common/tst-sprintf2.c: Likewise.
12439 * stdio-common/tst-sprintf3.c: Likewise.
12440 * stdio-common/tst-sprintf.c: Likewise.
12441 * stdio-common/tst-swprintf.c: Likewise.
12442 * stdio-common/tst-tmpnam.c: Likewise.
12443 * stdio-common/tst-unbputc.c: Likewise.
12444 * stdio-common/tst-wc-printf.c: Likewise.
12445 * stdlib/tst-environ.c: Likewise.
12446 * stdlib/tst-fmtmsg.c: Likewise.
12447 * stdlib/tst-limits.c: Likewise.
12448 * stdlib/tst-rand48-2.c: Likewise.
12449 * stdlib/tst-rand48.c: Likewise.
12450 * stdlib/tst-random2.c: Likewise.
12451 * stdlib/tst-random.c: Likewise.
12452 * stdlib/tst-strtol.c: Likewise.
12453 * stdlib/tst-strtoll.c: Likewise.
12454 * stdlib/tst-tls-atexit.c: Likewise.
12455 * stdlib/tst-xpg-basename.c: Likewise.
12456 * string/test-ffs.c: Likewise.
12457 * string/tst-bswap.c: Likewise.
12458 * string/tst-inlcall.c: Likewise.
12459 * string/tst-strtok.c: Likewise.
12460 * string/tst-strxfrm.c: Likewise.
12461 * sysdeps/x86_64/tst-audit10.c: Likewise.
12462 * sysdeps/x86_64/tst-audit3.c: Likewise.
12463 * sysdeps/x86_64/tst-audit4.c: Likewise.
12464 * sysdeps/x86_64/tst-audit5.c: Likewise.
12465 * time/tst-ftime_l.c: Likewise.
12466 * time/tst-getdate.c: Likewise.
12467 * time/tst-mktime3.c: Likewise.
12468 * time/tst-mktime.c: Likewise.
12469 * time/tst-posixtz.c: Likewise.
12470 * time/tst-strptime2.c: Likewise.
12471 * time/tst-strptime3.c: Likewise.
12472 * wcsmbs/tst-btowc.c: Likewise.
12473 * wcsmbs/tst-mbrtowc.c: Likewise.
12474 * wcsmbs/tst-mbsrtowcs.c: Likewise.
12475 * wcsmbs/tst-wchar-h.c: Likewise.
12476 * wcsmbs/tst-wcpncpy.c: Likewise.
12477 * wcsmbs/tst-wcrtomb.c: Likewise.
12478 * wcsmbs/tst-wcsnlen.c: Likewise.
12479 * wcsmbs/tst-wcstof.c: Likewise.
12480
2004e7fb
JM
124812014-11-04 Joseph Myers <joseph@codesourcery.com>
12482
ab97ee8f
JM
12483 [BZ #14132]
12484 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12485 INTDEF.
12486 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12487 declaration.
12488 (_dl_mcount): Use rtld_hidden_proto.
12489 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12490 _dl_mcount.
12491 * elf/rtld.c (_rtld_global_ro): Likewise.
12492
c5684fdb
JM
12493 [BZ #14132]
12494 * elf/dl-init.c (_dl_init): Don't use INTDEF.
12495 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12496 of _dl_init_internal.
12497 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12498 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12499 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12500 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12501 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12502 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12503 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12504 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12505 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12506 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12507 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12508 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12509 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12510 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12511 * sysdeps/tile/dl-start.S (_start): Likewise.
12512 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12513 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12514
4243cbea
JM
12515 [BZ #14132]
12516 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12517 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12518 (rtld_progname): Make macro definition unconditional.
12519 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12520 INTDEF.
12521 (dlmopen_doit): Do not use INTUSE with _dl_argv.
12522 (dl_main): Likewise.
12523 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12524 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12525 instead of _dl_argv_internal.
12526 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12527 __GI__dl_argv instead of INTUSE(_dl_argv).
12528 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12529 __GI__dl_argv instead of _dl_argv_internal.
12530
2004e7fb
JM
12531 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12532 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12533 macro.
12534 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12535 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12536 New macro.
12537 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12538 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12539 macro.
12540 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12541 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12542
97827bfc
AS
125432014-11-04 Andreas Schwab <schwab@suse.de>
12544
12545 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12546
5e4df284
AZ
125472014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12548
12549 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12550 mtvsrd instruction in binary form.
12551
04b76b5a
AS
125522014-11-03 Andreas Schwab <schwab@suse.de>
12553
12554 [BZ #17522]
12555 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12556 for less than MB_LEN_MAX use a local buffer of that size.
12557 * libio/tst-fputws.c: New file.
12558 * libio/Makefile (tests): Add tst-fputws.
12559
4c6da7da
JM
125602014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
12561
12562 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12563 the size of the fpu_fr.fpu_dregs[] array.
12564
1679ba8e
JM
125652014-11-01 Joseph Myers <joseph@codesourcery.com>
12566
12567 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12568 (__nanosleep): Do not define as alias.
12569 (nanosleep): Define as alias of __nanosleep.
12570 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12571 __libc_nanosleep name.
12572
2626c183
JM
125732014-10-31 Joseph Myers <joseph@codesourcery.com>
12574
12575 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12576 install.texi in comment.
12577
7f981fc2
TR
125782014-10-31 Torvald Riegel <triegel@redhat.com>
12579
12580 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12581 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12582 ... add here and use lwsync or sync ...
12583 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12584 ... and add here using lwsync.
12585
d6f373d2
MF
125862014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
12587
12588 * elf/dl-machine-reject-phdr.h: New file.
12589 * elf/dl-load.c: #include that.
12590 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12591 if that returned true.
12592
67c37987
RM
125932014-10-31 Roland McGrath <roland@hack.frob.com>
12594
12595 [BZ #17496]
12596 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12597 gen-as-const-headers chunk. Add a big scare comment after the last
12598 safe place to touch before-compile.
12599
94a42455 126002014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 12601
f3f5d895
JM
12602 * manual/install.texi (Tools for Compilation): Update autoconf
12603 version requirements.
12604 * INSTALL: Regenerated.
12605
f62ff286
JM
12606 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12607 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12608 (__libc_pselect): Likewise.
94a42455
JM
12609
12610 [BZ #14138]
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12615
ff9dbdc0
TR
126162014-10-31 Torvald Riegel <triegel@redhat.com>
12617
12618 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12619 correct barrier instruction.
12620 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12621 Likewise.
12622 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12623 Likewise.
12624
b4f66884
RM
126252014-10-30 Roland McGrath <roland@hack.frob.com>
12626
12627 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12628 after defining inlines. Instead, just use parens to defeat macro
12629 expansion of __isctype in its declaration.
12630
e19c95fd
JM
126312014-10-30 Joseph Myers <joseph@codesourcery.com>
12632
12633 * include/sys/uio.h (__libc_readv): Remove declaration.
12634 (__libc_writev): Likewise.
12635 * misc/readv.c (__libc_readv): Rename to __readv.
12636 (__readv): Do not define as alias.
12637 (readv): Define as alias of __readv.
12638 * misc/writev.c (__libc_writev): Rename to __writev.
12639 (__writev): Do not define as alias.
12640 (writev): Define as alias of __writev.
12641 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12642 (__readv): Do not define as alias.
12643 (readv): Define unconditionally as alias of __readv.
12644 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12645 (__writev): Do not define as alias.
12646 (writev): Define unconditionally as alias of __writev.
12647 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12648 name.
12649 (writev): Do not define __libc_writev name.
12650
65b00b6c
RM
126512014-10-30 Roland McGrath <roland@hack.frob.com>
12652
12653 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12654 (convert_charseq): New function, broken out of ...
12655 (use_from_charmap): ... here. Call it.
12656 (use_to_charmap): Use convert_charseq and free instead of duplicating
12657 its code with a variable-length stack struct.
12658
d4e157aa
JM
126592014-10-30 Joseph Myers <joseph@codesourcery.com>
12660
12661 * include/fcntl.h (__libc_creat): Remove declaration.
12662 * io/creat.c (__libc_creat): Rename to creat.
12663 (creat): Do not define as alias.
12664 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12665 of creat instead of __libc_creat.
12666 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12667 to creat.
12668 (creat): Do not define as alias.
12669 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12670 __libc_creat.
12671 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12672 __libc_creat name.
12673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12674 Likewise.
12675
0c6891a0
CD
126762014-10-29 Carlos O'Donell <carlos@redhat.com>
12677
12678 * manual/llio.texi: Add comments discussing why write() may be
12679 considered MT-unsafe on Linux.
12680
cc00cece
CD
126812014-10-28 Carlos O'Donell <carlos@redhat.com>
12682
12683 * dl-load.c (local_strdup): Remove.
12684 (expand_dynamic_string_token): Use __strdup.
12685 (decompose_rpath): Likewise.
12686 (_dl_map_object): Likewise.
12687
51e623f2
JM
126882014-10-28 Joseph Myers <joseph@codesourcery.com>
12689
12690 [BZ #14132]
12691 * sysdeps/generic/unwind-dw2-fde.c
12692 (__register_frame_info_bases_internal): Do not declare.
12693 (__register_frame_info_table_bases_internal): Likewise.
12694 (__deregister_frame_info_bases_internal): Likewise.
12695 (__register_frame_info_bases): Declare and use hidden_proto before
12696 definition. Use hidden_def instead of INTDEF.
12697 (__register_frame_info_table_bases): Likewise.
12698 (__deregister_frame_info_bases): Likewise.
12699 (__register_frame_info): Do not use INTUSE.
12700 (__register_frame): Likewise.
12701 (__register_frame_info_table): Likewise.
12702 (__register_frame_table): Likewise.
12703 (__deregister_frame_info): Likewise.
12704 (__deregister_frame): Likewise.
12705
03d41216
GC
127062014-10-27 Gratian Crisan <gratian.crisan@ni.com>
12707
12708 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12709 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12710 not undefine.
12711 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12712 Likewise.
12713 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12714 Likewise.
12715
a4b3624d
JM
127162014-10-27 Joseph Myers <joseph@codesourcery.com>
12717
12718 [BZ #14138]
12719 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12720 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12721 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12722 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12723 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12724 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12727 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12728 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12729 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12730 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12731 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12732 syscall.
12733 (setfsuid): Likewise.
12734 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12735 (setfsuid): Likewise.
12736 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12737 (setfsuid): Likewise.
12738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12739 Likewise.
12740 (setfsuid): Likewise.
12741 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12742 (setfsuid): Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12744 Likewise.
12745 (setfsuid): Likewise.
12746
3574f2fd
AS
127472014-10-27 Andreas Schwab <schwab@suse.de>
12748
12749 [BZ #17501]
12750 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12751 check for Slow_SSE4_2 feature bit.
12752 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12753 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12754 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12755 Likewise. Fix check for Fast_Unaligned_Load feature bit.
12756
70996a37
RM
127572014-10-24 Roland McGrath <roland@hack.frob.com>
12758
461a7b1e
RM
12759 * configure.ac: Validate compiler version with a empirical test of
12760 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12761 $CC -v output.
12762 * configure: Regenerated.
12763
70996a37
RM
12764 * inet/htons.c (htons): Prototypify.
12765 * inet/htonl.c (htonl): Likewise.
12766
e80514b5
WD
127672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12768
12769 * string/strncat.c (strncat): Improve performance by using strlen.
12770
6e46de42
WD
127712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12772
12773 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12774
6a9ad2fa
WD
127752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12776
12777 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12778 Call libc_fetestexcept_aarch64.
12779
1c8810ed
WD
127802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12781
12782 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12783 Call libc_feholdexcept_aarch64.
12784
8b1af712
WD
127852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12786
12787 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12788 Call get_rounding_mode.
12789
a7b00c11
WD
127902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12791
12792 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12793 Simplify logic.
12794
3a84f1a6
WD
127952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12796
12797 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12798 Simplify logic.
12799
48eb7a94
JM
128002014-10-24 Joseph Myers <joseph@codesourcery.com>
12801
c8bc4038
JM
12802 [BZ #14138]
12803 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12804 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12805 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12806 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12807 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12808 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12809 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12810 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12811 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12812 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12813 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12814 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12815 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12816 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12817 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12818 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12819 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12820 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12821 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12822 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12823 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12828 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12832 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12833 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12834 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12835 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12836 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12837 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12838 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12840 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12843 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12844 syscall.
12845 (geteuid): Likewise.
12846 (getgid): Likewise.
12847 (getuid): Likewise.
12848 (getresgid): Likewise.
12849 (getresuid): Likewise.
12850 (getgroups): Likewise.
12851 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12852 (geteuid): Likewise.
12853 (getgid): Likewise.
12854 (getuid): Likewise.
12855 (getresgid): Likewise.
12856 (getresuid): Likewise.
12857 (getgroups): Likewise.
12858 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12859 (geteuid): Likewise.
12860 (getgid): Likewise.
12861 (getuid): Likewise.
12862 (getresgid): Likewise.
12863 (getresuid): Likewise.
12864 (getgroups): Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12866 Likewise.
12867 (geteuid): Likewise.
12868 (getgid): Likewise.
12869 (getuid): Likewise.
12870 (getresgid): Likewise.
12871 (getresuid): Likewise.
12872 (getgroups): Likewise.
12873 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12874 (geteuid): Likewise.
12875 (getgid): Likewise.
12876 (getuid): Likewise.
12877 (getresgid): Likewise.
12878 (getresuid): Likewise.
12879 (getgroups): Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12881 Likewise.
12882 (geteuid): Likewise.
12883 (getgid): Likewise.
12884 (getuid): Likewise.
12885 (getgroups): Likewise.
12886
48eb7a94
JM
12887 [BZ #14138]
12888 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12889 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12890 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12892 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12893 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12894 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12895 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12896 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12897 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12899 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12901 __chown.
12902 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12903 (lchown): Likewise.
12904 (fchown): Likewise.
12905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12906 Likewise.
12907 (lchown): Likewise.
12908 (fchown): Likewise.
12909 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12910 (lchown): Likewise.
12911 (fchown): Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12913 Likewise.
12914 (lchown): Likewise.
12915 (fchown): Likewise.
12916
ea9a7c8b
WD
129172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12918
12919 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12920 Simplify logic.
12921
e226de33
WD
129222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12923
12924 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12925 Cleanup logic.
12926
6e3d8ed3
WD
129272014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12928
12929 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12930 Remove unused include.
12931
eb04247d
WD
129322014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12933
12934 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12935 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12936 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12937 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12938
13d84554
CD
129392014-10-23 Carlos O'Donell <carlos@systemhalted.org>
12940 Helge Deller <deller@gmx.de>
12941
12942 [BZ #17508]
12943 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12944 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12945 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12946
15f9c5df
JM
129472014-10-23 Joseph Myers <joseph@codesourcery.com>
12948
12949 [BZ #14132]
12950 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12951 Remove macro definition.
12952 (__ashrdi3_v_glibc20): Likewise.
12953 (__lshrdi3_v_glibc20): Likewise.
12954 (__cmpdi2_v_glibc20): Likewise.
12955 (__ucmpdi2_v_glibc20): Likewise.
12956 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12957 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12958 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12959 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12960 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12961 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12962
c6dfed24
RM
129632014-10-22 Roland McGrath <roland@hack.frob.com>
12964
12965 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12966 old GNU extension [0] syntax.
12967 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12968 alloca rather than an array member with variable length.
12969 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12970 * nscd/nscd.c (invalidate_db): New function, broken out of ...
12971 (parse_opt): ... here. Likewise use alloca there.
12972 Validate the -i argument before checking for rootness.
12973 (send_shutdown): New function, broken out of ...
12974 (parse_opt): ... here.
12975
8c2b1ed8
RM
129762014-10-22 Roland McGrath <roland@hack.frob.com>
12977
12978 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12979 macro to get at the _rt_local_ro field.
12980 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12981 ([PIC] case) or _dl_hwcap ([!PIC] case).
12982 * sysdeps/arm/setjmp.S: Likewise.
12983
12984 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12985 * sysdeps/arm/configure.ac: New check to define it.
12986 * sysdeps/arm/configure: Regenerated.
12987 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12988 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12989 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12990 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12991 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12992 Use move/movt pair instead of a load.
12993 (LDST_GLOBAL): Macro removed.
12994 (LDR_GLOBAL): New macro replaces it.
12995 (LDR_HIDDEN): New macro.
12996 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12997 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12998
12999 * setjmp/tst-setjmp-static.c: New file.
13000 * setjmp/Makefile (tests): Add it.
13001 (tests-static): New variable.
13002
b5af9297
MR
130032014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
13004
13005 [BZ #17485]
13006 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13007
a13d0d74
JM
130082014-10-21 Joseph Myers <joseph@codesourcery.com>
13009
13010 [BZ #14132]
13011 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13012
f05e73f6
RM
130132014-10-21 Roland McGrath <roland@hack.frob.com>
13014
13015 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13016
6ab1d1ea
RM
130172014-10-20 Roland McGrath <roland@hack.frob.com>
13018
13019 * io/fts.c (dirent_not_directory): New function.
13020 (fts_build): Call it.
13021
ab49e763
RM
130222014-10-20 Roland McGrath <roland@hack.frob.com>
13023
e436eb79
RM
13024 * nptl/version.c (__nptl_main): Use normal __write rather than
13025 INTERNAL_SYSCALL.
13026 (banner): Update copyright years.
13027
6af246cf
RM
13028 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13029 gettimeofday.
13030 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13031 * nptl/pthread_cond_timedwait.c: Likewise.
13032 * nptl/pthread_mutex_timedlock.c: Likewise.
13033 * nptl/sem_timedwait.c: Likewise.
13034
ab49e763
RM
13035 * sysdeps/nptl/bits/libc-lock.h
13036 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13037 (__libc_lock_init_recursive): Return void, not 0.
13038 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13039 (__libc_rwlock_init): Likewise.
13040 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13041
f50277c1
TR
130422014-10-20 Torvald Riegel <triegel@redhat.com>
13043
13044 [BZ #15215]
13045 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13046 (__pthread_once_slow): ... here.
13047 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13048 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13049
63668b70
TR
130502014-10-20 Torvald Riegel <triegel@redhat.com>
13051
13052 [BZ #15215]
13053 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13054 __PTHREAD_ONCE_FORK_GEN_INCR): New.
13055 * sysdeps/nptl/fork.c (__libc_fork): Use them.
13056 * nptl/pthread_once.c (__pthread_once): Likewise.
13057 Update comments.
13058
42b7f5d4
JM
130592014-10-20 Joseph Myers <joseph@codesourcery.com>
13060
13061 [BZ #14138]
13062 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13063 name.
13064 (writev): Use __libc_writev as strong name.
13065 * sysdeps/unix/sysv/linux/readv.c: Remove file.
13066 * sysdeps/unix/sysv/linux/writev.c: Likewise.
13067
b0643088
RM
130682014-10-17 Roland McGrath <roland@hack.frob.com>
13069
114c4e09
RM
13070 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13071
674b8978
RM
13072 * sysdeps/i386/nptl/tls.h
13073 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13074 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13075 New macros.
13076 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13077 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13078 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13079 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13080 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13081 Call CHECK_THREAD_SYSINFO instead of doing an assert.
13082
184ee940
RM
13083 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13084 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13085 on [__NR_futex].
13086 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13087 broken out of ...
13088 (__pthread_mutex_init): ... here. Call it.
13089 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13090 Conditionalize PI cases on [__NR_futex].
13091 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13092 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13093 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13094
327ae257
RM
13095 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13096 conditional on [SIGSETXID].
13097 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13098 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13099 is defined. Likewise for SIGSETXID.
13100 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13101 Conditionalize definitions on [SIGSETXID].
13102 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13103 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13104 unblocking on [SIGCANCEL].
13105
b0643088
RM
13106 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13107 [__NR_set_robust_list].
13108
33cc770b
SP
131092014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13110
13111 * string/strcoll_l.c (get_next_seq): Fix up formatting.
13112 (do_compare): Likewise.
13113
0742aef6
LH
131142014-10-17 Leonhard Holz <leonhard.holz@web.de>
13115
13116 [BZ #15884]
13117 * string/strcoll_l.c: Don't include stdio.h.
13118 (coll_seq): Remove members idxarr and rulearr.
13119 (get_next_seq_cached): Remove function.
13120 (get_next_seq): Likewise.
13121 (get_next_seq_nocache): Rename to get_next_seq.
13122 (do_compare): Remove function.
13123 (do_compare_nocache): Rename to do_compare.
13124 (STRCOLL): Remove weight and rules cache.
13125
ee54ce44
RM
131262014-10-16 Roland McGrath <roland@hack.frob.com>
13127
13128 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13129 * sysdeps/arm/sfp-machine.h: ... to here.
13130 * sysdeps/arm/Implies: Remove arm/soft-fp.
13131
a75d3b02
JM
131322014-10-14 Joseph Myers <joseph@codesourcery.com>
13133
13134 * conform/data/sys/utsname.h-data (*_t): Allow.
13135 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13136 [POSIX] (WEXITED): Do not expect constant.
13137 [POSIX] (WSTOPPED): Likewise.
13138 [POSIX] (WNOHANG): Likewise.
13139 [POSIX] (WNOWAIT): Likewise.
13140 [POSIX] (siginfo_t): Do not expect type or elements.
13141 [POSIX] (pid_t): Do not expect type.
13142 [POSIX] (signal.h): Do not allow header.
13143 [POSIX] (sys/resource.h): Likewise.
13144 [POSIX] (si_*): Do not allow pattern.
13145 [POSIX] (W*): Likewise.
13146 [POSIX] (P_*): Likewise.
13147 [POSIX] (BUS_*): Likewise.
13148 [POSIX] (CLD_*): Likewise.
13149 [POSIX] (FPE_*): Likewise.
13150 [POSIX] (ILL_*): Likewise.
13151 [POSIX] (POLL_*): Likewise.
13152 [POSIX] (SEGV_*): Likewise.
13153 [POSIX] (SI_*): Likewise.
13154 [POSIX] (TRAP_*): Likewise.
13155 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13156 variable.
13157
fda389c8
SP
131582014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13159
13160 [BZ #12926]
13161 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13162 infinite loop when __recvmsg returns 0.
13163
6bc6bd3b
JM
131642014-10-10 Joseph Myers <joseph@codesourcery.com>
13165
fcb32af1
JM
13166 * CANCEL-FCT-WAIVE: Remove file.
13167 * CANCEL-FILE-WAIVE: Likewise.
13168
6bc6bd3b
JM
13169 [BZ #14132]
13170 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13171 instead of INTVARDEF.
13172 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13173 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13174 rtld_hidden_data_def instead of INTVARDEF.
13175 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13176 * elf/dl-deps.c (expand_dst): Likewise.
13177 * elf/dl-load.c (_dl_dst_count): Likewise.
13178 (_dl_dst_substitute): Likewise.
13179 (decompose_rpath): Likewise.
13180 (_dl_init_paths): Likewise.
13181 (open_path): Likewise.
13182 (_dl_map_object): Likewise.
13183 * elf/rtld.c (dl_main): Likewise.
13184 (process_dl_audit): Likewise.
13185 (process_envvars): Likewise.
13186 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13187 Remove declaration.
13188 (__libc_enable_secure): Use rtld_hidden_proto.
13189
b8c80a7e
KS
131902014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13191
13192 * elf/dl-load.c
13193 (add_path): New function broken out of _dl_rtld_di_serinfo.
13194 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
13195
ff12c11f
JM
131962014-10-09 Joseph Myers <joseph@codesourcery.com>
13197
5c0508a3
JM
13198 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13199 parentheses around macro arguments.
13200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13201 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13202 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13204 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13205 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13211 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13212 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13213 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13214 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13215 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13216 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13219 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13220 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13222 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13223 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13227 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13228 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13229 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13230 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13231 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13232 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13233 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13234 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13235 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13236 Likewise.
13237 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13238 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13239 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13241 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13242 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13244 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13245 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13246 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13247 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13248 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13249 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13250 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13251 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13254 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13255 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13256 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13258 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13259 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13260 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13261 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13262 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13263 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13264 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13265 (_FP_FRAC_SRS_1): Likewise.
13266 (_FP_FRAC_CLZ_1): Likewise.
13267 (_FP_MUL_MEAT_1_imm): Likewise.
13268 (_FP_MUL_MEAT_1_wide): Likewise.
13269 (_FP_MUL_MEAT_1_hard): Likewise.
13270 (_FP_SQRT_MEAT_1): Likewise.
13271 (_FP_FRAC_ASSEMBLE_1): Likewise.
13272 (_FP_FRAC_DISASSEMBLE_1): Likewise.
13273 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13274 (__FP_CLZ_2): Likewise.
13275 (_FP_MUL_MEAT_2_wide): Likewise.
13276 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13277 (_FP_MUL_MEAT_2_gmp): Likewise.
13278 (_FP_MUL_MEAT_2_120_240_double): Likewise.
13279 (_FP_SQRT_MEAT_2): Likewise.
13280 (_FP_FRAC_ASSEMBLE_2): Likewise.
13281 (_FP_FRAC_DISASSEMBLE_2): Likewise.
13282 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13283 (_FP_FRAC_CLZ_4): Likewise.
13284 (_FP_MUL_MEAT_4_wide): Likewise.
13285 (_FP_MUL_MEAT_4_gmp): Likewise.
13286 (_FP_SQRT_MEAT_4): Likewise.
13287 (_FP_FRAC_ASSEMBLE_4): Likewise.
13288 (_FP_FRAC_DISASSEMBLE_4): Likewise.
13289 * soft-fp/op-common.h (_FP_CMP): Likewise.
13290 (_FP_CMP_EQ): Likewise.
13291 (_FP_CMP_UNORD): Likewise.
13292 (_FP_TO_INT): Likewise.
13293 (_FP_FROM_INT): Likewise.
13294 [!__FP_CLZ] (__FP_CLZ): Likewise.
13295 (_FP_DIV_HELP_imm): Likewise.
13296 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13297 Likewise.
13298 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13300 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13302 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13303 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13304 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13306 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13307 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13308 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13309 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13310 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13311 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13312 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13313 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13314 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13315 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13316 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13318 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13320 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13321 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13325 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13326 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13327 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13328 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13329 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13330 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13331 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13332 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13333 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13334 (FP_UNPACK_RAW_SP): Likewise.
13335 (FP_PACK_RAW_S): Likewise.
13336 (FP_PACK_RAW_SP): Likewise.
13337 (FP_UNPACK_S): Likewise.
13338 (FP_UNPACK_SP): Likewise.
13339 (FP_UNPACK_SEMIRAW_S): Likewise.
13340 (FP_UNPACK_SEMIRAW_SP): Likewise.
13341 (FP_PACK_S): Likewise.
13342 (FP_PACK_SP): Likewise.
13343 (FP_PACK_SEMIRAW_S): Likewise.
13344 (FP_PACK_SEMIRAW_SP): Likewise.
13345 (_FP_SQRT_MEAT_S): Likewise.
13346 (FP_CMP_S): Likewise.
13347 (FP_CMP_EQ_S): Likewise.
13348 (FP_CMP_UNORD_S): Likewise.
13349 (FP_TO_INT_S): Likewise.
13350 (FP_FROM_INT_S): Likewise.
13351
a736ec37
JM
13352 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13353
ff12c11f
JM
13354 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13355 (FP_EX_INVALID_IMZ): Likewise.
13356 (FP_EX_INVALID_IMZ_FMA): Likewise.
13357 (FP_EX_INVALID_ISI): Likewise.
13358 (FP_EX_INVALID_ZDZ): Likewise.
13359 (FP_EX_INVALID_IDI): Likewise.
13360 (FP_EX_INVALID_SQRT): Likewise.
13361 (FP_EX_INVALID_CVI): Likewise.
13362 (FP_EX_INVALID_VC): Likewise.
13363 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13364 "invalid" exceptions.
13365 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13366 (_FP_ADD_INTERNAL): Likewise.
13367 (_FP_MUL): Likewise.
13368 (_FP_FMA): Likewise.
13369 (_FP_DIV): Likewise.
13370 (_FP_CMP_CHECK_NAN): Likewise.
13371 (_FP_SQRT): Likewise.
13372 (_FP_TO_INT): Likewise.
13373 (FP_EXTEND): Likewise.
13374
b6dcfe8c
AM
133752014-10-09 Allan McRae <allan@archlinux.org>
13376
13377 * po/fr.po: Update French translation from translation project.
13378
2d6a47ba
JM
133792014-10-09 Joseph Myers <joseph@codesourcery.com>
13380
cb831245
JM
13381 [BZ #14132]
13382 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13383 of INTDEF.
13384 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13385 (__cxa_atexit): Use libc_hidden_proto.
13386 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13387
5deeb190
JM
13388 [BZ #14132]
13389 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13390 declaration.
13391 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13392 [!_ISOMAC] (__iswspace_l_internal): Likewise.
13393 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13394 [!_ISOMAC] (__iswctype_internal): Likewise.
13395 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13396 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13397 alias.
13398 (fcntl): Remove __fcntl_internal alias.
13399 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13400 __connect_internal alias.
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13402 Likewise.
13403
454ac701
JM
13404 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13405 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13406 FP_DENORM_ZERO.
13407 (_FP_CHECK_FLUSH_ZERO): New macro.
13408 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13409 (_FP_CMP): Likewise.
13410 (_FP_CMP_EQ): Likewise.
13411 (_FP_TO_INT): Do not set inexact for subnormal arguments if
13412 FP_DENORM_ZERO.
13413 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13414 (FP_TRUNC): Likewise.
13415
0022e688
JM
13416 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13417 treated as invalid conversion, not as normal exponent.
13418
73e28d9c
JM
13419 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13420 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
13421 (_FP_CMP_EQ): Likewise.
13422 (_FP_CMP_UNORD): Likewise.
13423 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13424 (FP_CMP_EQ_D): Likewise.
13425 (FP_CMP_UNORD_D): Likewise.
13426 * soft-fp/extended.h (FP_CMP_E): Likewise.
13427 (FP_CMP_EQ_E): Likewise.
13428 (FP_CMP_UNORD_E): Likewise.
13429 * soft-fp/quad.h (FP_CMP_Q): Likewise.
13430 (FP_CMP_EQ_Q): Likewise.
13431 (FP_CMP_UNORD_Q): Likewise.
13432 * soft-fp/single.h (FP_CMP_S): Likewise.
13433 (FP_CMP_EQ_S): Likewise.
13434 (FP_CMP_UNORD_S): Likewise.
13435 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13436 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13437 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13438 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13439 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13440 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13441 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13442 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13443 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13444 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13445 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13446 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13447 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13448 to FP_CMP_Q.
13449 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13450 FP_CMP_Q.
13451 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13452 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13453 FP_CMP_EQ_Q.
13454 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13455 FP_CMP_Q.
13456 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13457 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13458 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13459 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13460 FP_CMP_EQ_Q.
13461 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13462 FP_CMP_Q.
13463 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13464 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13465 FP_CMP_EQ_Q.
13466 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13467 FP_CMP_Q.
13468 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13469 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13470 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13471 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13472 FP_CMP_EQ_Q.
13473
43059f42
JM
13474 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13475 a subnormal result, set the underflow exception if trapping on
13476 underflow is enabled.
13477 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13478 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13479 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13480 redefine to 0.
13481 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13482 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13483 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13484 * soft-fp/extendxftf2.c (__extendxftf2): Use
13485 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13486
2d6a47ba
JM
13487 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13488 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13489 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13490 FP_HANDLE_EXCEPTIONS.
13491 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13492 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13493 FP_HANDLE_EXCEPTIONS.
13494 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13495 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13496 FP_HANDLE_EXCEPTIONS.
13497 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13498 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13499 FP_HANDLE_EXCEPTIONS.
13500
620f462e
JM
135012014-10-08 Joseph Myers <joseph@codesourcery.com>
13502
13503 [BZ #14132]
13504 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13505 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13506 use INTUSE.
13507 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13508 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13509 Remove alias.
13510 (__adjtimex): Define using libc_hidden_ver.
13511 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13512 Remove declaration.
13513 (ntp_gettime): Call __adjtimex directly.
13514 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13515 Remove declaration.
13516 (ntp_gettimex): Call __adjtimex directly.
13517 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13518 __adjtimex_internal alias.
13519
c763c5d2
RM
135202014-10-08 Roland McGrath <roland@hack.frob.com>
13521
13522 [BZ #17460]
13523 * nscd/nscd.c (more_help): Rewrite list of tables collection
13524 using xstrdup and asprintf.
13525
13526 * nscd/nscd_conf.c: Remove local xstrdup declaration.
13527
7b8fb2b8
RM
135282014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13529 Roland McGrath <roland@hack.frob.com>
13530
13531 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13532 (do_lookup_unique): ... local function 'enter' here; update callers.
13533
abb280f7
JM
135342014-10-06 Joseph Myers <joseph@codesourcery.com>
13535
f7b42517
JM
13536 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13537 compat_symbol calls on [SHARED].
13538 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13539 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13540 Remove.
13541 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13542 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13543 (oldsetrlimit): Remove.
13544 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13546 (lchown): New syscall entry.
13547 (oldsetrlimit): Remove.
13548 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13549 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13550 (oldsetrlimit): Remove.
13551 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13552
abb280f7
JM
13553 [BZ #14138]
13554 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13555 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13556 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13557 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13559 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13560 (fchown): Likewise.
13561 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13562 (fchown): Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13564 Likewise.
13565
47d46237
AZ
135662014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13567
13568 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13569 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13570 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13571 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13572 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13573 Likewise.
13574 (__old_sem_post): Likewise.
13575
135762014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 13577
845a7343
CM
13578 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13579 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13580 HAVE_CLOCK_GETTIME_VSYSCALL macros.
13581 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13582 Use INLINE_VSYSCALL macro.
13583 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13584 __vdso_clock_gettime.
13585 * sysdeps/unix/sysv/linux/tile/init-first.c
13586 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13587 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13588 __vdso_clock_gettime.
13589
83d641ef
CM
13590 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13591 to set up frame more cleanly.
13592
d9cd52e6
CM
13593 * sysdeps/tile/memcmp.c: New file.
13594
4b68ea11
CM
13595 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13596
c86f7b80
CM
13597 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13598 * sysdeps/tile/tilegx/strcasestr.c: New file.
13599 * sysdeps/tile/tilegx/strnlen.c: New file.
13600 * sysdeps/tile/tilegx/strstr.c: New file.
13601
1c4c1a6f
CM
13602 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13603
99d86ea3
AS
136042014-10-06 Arjun Shankar <arjun.is@lostca.se>
13605
13606 * nptl/tst-setuid3.c: Write errors to stdout.
13607
06210a44
KS
136082014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13609
13610 * elf/dl-deps.c
13611 (preload): New functions broken out of _dl_map_object_deps.
13612 (_dl_map_object_deps): Remove a nested function. Update call sites.
13613
6268f532
JM
136142014-10-01 Joseph Myers <joseph@codesourcery.com>
13615
13616 [BZ #14138]
13617 * sysdeps/unix/sysv/linux/execve.c: Remove file.
13618 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13619
b925285f
SE
136202014-10-01 Steve Ellcey <sellcey@mips.com>
13621
13622 * sysdeps/mips/strcmp.S: New.
13623
754a15c6
JM
136242014-09-30 Joseph Myers <joseph@codesourcery.com>
13625
13626 [BZ #14138]
13627 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13628 (linkat): Likewise.
13629 (mkdirat): Likewise.
13630 (readlinkat): Likewise.
13631 (renameat): Likewise.
13632 (symlinkat): Likewise.
13633 (unlinkat): Likewise.
13634 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13635 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13636 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13637 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13638 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13639 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13640 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13641
85bb81c9
WN
136422014-09-30 Will Newton <will.newton@linaro.org>
13643
dc6fe23b
WN
13644 * math/math.h: Define long double math functions if
13645 _LIBC_TEST is defined.
13646 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13647
85bb81c9
WN
13648 * localedata/Makefile: Move assignment to tests-special
13649 into an ifdef testing run-built-tests.
13650 * timezone/Makefile: Likewise.
13651
b7e02da4
JM
136522014-09-29 Joseph Myers <joseph@codesourcery.com>
13653
13654 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13655 with $(BASH) not $(SHELL).
13656
62058ce6
CD
136572014-09-29 Carlos O'Donell <carlos@redhat.com>
13658 Matthew LeGendre <legendre1@llnl.gov>
13659
13660 [BZ #17411]
13661 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13662 l_reloc_result.
13663
8e257a29
KS
136642014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13665
13666 * stdio-common/printf_fp.c
13667 (hack_digit): New function, broken out of ...
13668 (__printf_fp): ... local function here. Update call sites.
13669 hack_digit now takes an additional parameter that is a pointer
13670 to a struct of the referenced locals. Those locals moved inside
13671 the struct and references updated.
13672
f4a58f0d
L
136732014-09-29 H.J. Lu <hongjiu.lu@intel.com>
13674
13675 * aclocal.m4: Require autoconf 2.69.
13676 * configure: Regenerated.
13677 * sysdeps/aarch64/configure: Likewise.
13678 * sysdeps/alpha/configure: Likewise.
13679 * sysdeps/arm/armv7/configure: Likewise.
13680 * sysdeps/arm/configure: Likewise.
13681 * sysdeps/ia64/configure: Likewise.
13682 * sysdeps/mach/configure: Likewise.
13683 * sysdeps/mips/configure: Likewise.
13684 * sysdeps/s390/configure: Likewise.
13685 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13687
13688 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13689 file.
13690 * sysdeps/ia64/configure.ac: Likewise.
13691
93ae1eba
JM
136922014-09-26 Joseph Myers <joseph@codesourcery.com>
13693
1810d3ab
JM
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13695 specify symbol version for ld.so. Do not include entry for
13696 libpthread.
13697 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13698 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13700
93ae1eba
JM
13701 [BZ #14171]
13702 * Makeconfig [$(build-shared) = yes]
13703 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13704 makefiles.
13705 [$(build-shared) = yes && $(soversions.mk-done) = t]
13706 ($(common-objpfx)gnu/lib-names.h): Remove rule.
13707 [$(build-shared) = yes && $(soversions.mk-done) = t]
13708 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
13709 to Makerules.
13710 [$(build-shared) = yes && $(soversions.mk-done) = t]
13711 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13712 here.
13713 [$(build-shared) = yes && $(soversions.mk-done) = t]
13714 (common-generated): Don't append gnu/lib-names.h and
13715 gnu/lib-names.stmp here.
13716 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13717 (lib-names-h-abi): New variable.
13718 [$(build-shared) = yes && $(soversions.mk-done) = t]
13719 (lib-names-stmp-abi): Likewise.
13720 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13721 abi-variants] (before-compile): Append
13722 $(common-objpfx)$(lib-names-h-abi).
13723 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13724 abi-variants] (common-generated): Append gnu/lib-names.h.
13725 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13726 abi-variants] (install-others-nosubdir): Depend on
13727 $(inst_includedir)/$(lib-names-h-abi).
13728 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13729 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13730 [$(build-shared) = yes && $(soversions.mk-done) = t]
13731 ($(common-objpfx)$(lib-names-h-abi)): New rule.
13732 [$(build-shared) = yes && $(soversions.mk-done) = t]
13733 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13734 [$(build-shared) = yes && $(soversions.mk-done) = t]
13735 (common-generated): Append $(lib-names-h-abi) and
13736 $(lib-names-stmp-abi).
13737 * scripts/lib-names.awk: Do not handle multi being set.
13738 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13739 Remove variable.
13740 (abi-lp64_be-ld-soname): Likewise.
13741 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13742 Likewise.
13743 (abi-hard-ld-soname): Likewise.
13744 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13745 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13746 Remove variable.
13747 (abi-o32_hard-ld-soname): Likewise.
13748 (abi-o32_soft_2008-ld-soname): Likewise.
13749 (abi-o32_hard_2008-ld-soname): Likewise.
13750 (abi-n32_soft-ld-soname): Likewise.
13751 (abi-n32_hard-ld-soname): Likewise.
13752 (abi-n32_soft_2008-ld-soname): Likewise.
13753 (abi-n32_hard_2008-ld-soname): Likewise.
13754 (abi-n64_soft-ld-soname): Likewise.
13755 (abi-n64_hard-ld-soname): Likewise.
13756 (abi-n64_soft_2008-ld-soname): Likewise.
13757 (abi-n64_hard_2008-ld-soname): Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13759 Likewise.
13760 (abi-64-v2-ld-soname): Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13762 ld.so entries.
13763 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13764 variable.
13765 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13766 entry.
13767 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13768 variable.
13769 (abi-64-ld-soname): Likewise.
13770 (abi-x32-ld-soname): Likewise.
13771 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13772 entry.
13773 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13774
68870f12
JM
137752014-09-23 Joseph Myers <joseph@codesourcery.com>
13776
13777 [BZ #14138]
13778 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13779 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13780 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13781 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13782 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13783 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13784 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13785 syscall entry for GLIBC_2.2 symbol version.
13786 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13787 Likewise.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13789 (setrlimit): Likewise.
13790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13791 Likewise.
13792
ea58f202
WN
137932014-09-23 Will Newton <will.newton@linaro.org>
13794
13795 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13796 _LINUX_ARM_SYSDEP_H include guard too.
13797 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13798 define.
13799
69eb9a18
RV
138002014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13801
13802 * sysdeps/unix/sysv/linux/eventfd.c:
13803 Make first argument unsigned.
13804 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13806
20e5a5f7
OB
138072014-09-20 Ondřej Bílka <neleai@seznam.cz>
13808
13809 * socket/recvmmsg.c (recvmmsg): Drop const argument.
13810 * socket/sys/socket.h: Likewise
13811 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13812
d3c827e7
AK
138132014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13814
13815 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13816
fe1cc35a
AS
138172014-09-17 Arjun Shankar <arjun.is@lostca.se>
13818
13819 * time/tst-ftime.c: New test.
13820 * time/Makefile (tests): Add tst-ftime.
13821
4e8afe69
JM
138222014-09-17 Joseph Myers <joseph@codesourcery.com>
13823
c4fe3ea7
JM
13824 * soft-fp/extended.h: Fix comment formatting.
13825 * soft-fp/op-1.h: Likewise.
13826 * soft-fp/op-2.h: Likewise.
13827 * soft-fp/op-4.h: Likewise.
13828 * soft-fp/op-8.h: Likewise.
13829 * soft-fp/op-common.h: Likewise.
13830 * soft-fp/soft-fp.h: Likewise.
13831
4e8afe69
JM
13832 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13833
af296fcd
JM
138342014-09-16 Joseph Myers <joseph@codesourcery.com>
13835
13836 [BZ #6652]
13837 * Makeconfig (soversions-default-setname): Remove variable.
13838 ($(common-objpfx)soversions.i): Don't pass default_setname to
13839 soversions.awk.
13840 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13841 oldest_abi to abi-versions.awk.
13842 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13843 * config.make.in (oldest-abi): Remove variable.
13844 * configure.ac (--enable-oldest-abi): Remove configure option.
13845 * configure: Regenerated.
13846 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13847 text.
13848 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13849 * scripts/soversions.awk: Do not handle default_setname variable.
13850 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13851 variable.
13852 * sysdeps/mach/hurd/configure: Regenerated.
13853 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13854 variable.
13855 * sysdeps/unix/sysv/linux/configure: Regenerated.
13856
545583d6
SP
138572014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13858
d330b980
SP
13859 * elf/Makefile (CFLAGS-interp.c): Remove.
13860 ($(elf-objpfx)runtime-linker.h): Generate header with linker
13861 path string.
13862 * elf/interp.c: Include generated runtime-linker.h
13863
02657da2
SP
13864 * Makerules (lib%.so): Don't include $(+interp) in
13865 prerequisites.
13866 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13867 * dlfcn/eval.c: Remove file.
13868
653b1080
SP
13869 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13870 macros.
13871
602f80ec
SP
13872 [BZ #17266]
13873 * misc/sys/cdefs.h: Define __extern_always_inline for clang
13874 4.2 and newer.
13875
545583d6
SP
13876 [BZ #17370]
13877 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13878
884ddc50
SP
138792014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13880 Jakub Jelinek <jakub@redhat.com>
13881
13882 [BZ #17266]
13883 * libio/stdio.h: Check definition of __fortify_function
13884 instead of __extern_always_inline to include bits/stdio2.h.
13885 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13886 check if __extern_always_inline is defined.
13887 [__USE_MISC || __USE_XOPEN]: Likewise.
13888 [__USE_ISOC99] Likewise.
13889 * misc/sys/cdefs.h (__fortify_function): Define only if
13890 __extern_always_inline is defined.
13891 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13892 __extern_always_inline and __extern_inline only for g++-4.3
13893 and newer or a compatible gcc.
13894
a7b87268
AS
138952014-09-15 Andreas Schwab <schwab@linux-m68k.org>
13896
13897 [BZ #17371]
13898 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13899 last change to handle zero prefix length.
13900
3f41521d
SP
139012014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13902
61fe374a
SP
13903 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13904 _SC_REGEX_VERSION.
13905
3f41521d
SP
13906 * posix/getconf.c (vars): Add _POSIX_IPV6 and
13907 _POSIX_RAW_SOCKETS.
13908
d8f879ee
AM
139092014-09-13 Allan McRae <allan@archlinux.org>
13910
13911 * po/ru.po: Update Russian translation from translation project.
13912
c079afb7
RM
139132014-09-12 Roland McGrath <roland@hack.frob.com>
13914
a62b3c15
RM
13915 * locale/programs/locale.c (show_locale_vars): Inline local function
13916 into its sole call site. Clean up some style nits.
13917 (print_item): New function, broken out of ...
13918 (show_info): ... local function here. Clean up style nits.
13919
d7e49b19
RM
13920 * locale/programs/ld-ctype.c (set_one_default): New function, broken
13921 out of ...
13922 (set_class_defaults): ... local function set_default here.
13923 Define set_default as a macro locally to pass constant parameters.
13924 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13925 rather than a shared local.
13926
c079afb7
RM
13927 * stdlib/rpmatch.c (try): New function, broken out of ...
13928 (rpmatch): ... local function here. Also, prototypify definition.
13929
0bd72468
JM
139302014-09-12 Joseph Myers <joseph@codesourcery.com>
13931
ba90e050
JM
13932 * scripts/soversions.awk: Do not handle configuration names.
13933 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13934 vendor and os variables to soversions.awk.
13935 * configure.ac: Do not modify gnu-* host_os.
13936 * configure: Regenerated
13937 * shlib-versions: Remove first column with configuration names.
13938 * nptl/shlib-versions: Likewise.
13939 * nptl_db/shlib-versions: Likewise.
13940 * sysdeps/hppa/shlib-versions: Likewise.
13941 * sysdeps/m68k/shlib-versions: Likewise.
13942 * sysdeps/mach/hurd/shlib-versions: Likewise.
13943 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13944 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13945 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13946 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13947 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13948 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13949 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13950 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13952 Likewise.
13953 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13954 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13955 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13958 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13961
73a39112
JM
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13963 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13965 Regenerated.
13966 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13968 Condition symbol version definitions on [HAVE_ELFV2_ABI].
13969
c729e7c1
JM
13970 * shlib-versions: Remove OS-specific entries. Moved to files in
13971 sysdeps.
13972 * sysdeps/mach/hurd/shlib-versions: New file.
13973 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13974
dc932a24
JM
13975 * nptl/shlib-versions: Remove architecture-specific entries.
13976 Moved to files in sysdeps.
13977 * shlib-versions: Likewise.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13979 file.
13980 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13981 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13982 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13983 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13984
0bd72468
JM
13985 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13986 (UDP_NO_CHECK6_RX): Likewise.
13987
920238e0
SP
139882014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13989
13990 * sysdeps/posix/sysconf.c (__sysconf): Spell
13991 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13992
ba7b4d29
FW
139932014-08-12 Florian Weimer <fweimer@redhat.com>
13994
13995 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13996 loading.
13997 * iconv/Versions (__gconv_transliterate): Export for use from
13998 gconv modules.
13999 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14000 (struct __gconv_trans_data, __gconv_trans_fct,
14001 __gconv_trans_context_fct, __gconv_trans_query_fct,
14002 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14003 definitions.
14004 (struct __gconv_step_data): Remove __trans member.
14005 (__gconv_transliterate): Declaration moved from gconv_int.h. No
14006 longer hidden. Remove unused trans_data argument.
14007 * iconv/gconv_int.h (struct trans_struct): Remove definition.
14008 (__gconv_translit_find): Remove declaration.
14009 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
14010 prototype.
14011 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14012 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14013 trans_data argument. Add hidden definition.
14014 (__gconv_translit_find): Remove.
14015 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14016 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14017 * iconv/skeleton.c: Remove transliteration initialization.
14018 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14019 __gconv_step_data initialization.
14020 * libio/iofwide.c (__libio_translit_): Remove.
14021 (_IO_fwide): Adjust struct __gconv_step_data initialization.
14022 * wcsmbs/btowc.c (__btowc): Likewise.
14023 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14024 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14025 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14026 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14027 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14028 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14029 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14030 * wcsmbs/wctob.c (wctob): Likewise.
14031
5379aebd
SP
140322014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14033
14034 [BZ #16194]
14035 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14036 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
14037 register usage.
14038 * sysdeps/x86/Makefile: Adjust.
14039
8c0ab919
RM
140402014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14041 Roland McGrath <roland@hack.frob.com>
14042
14043 * locale/weight.h: Add include guard.
14044 (findidx): Make static rather than auto; take new parameters
14045 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14046 * locale/weightwc.h: Likewise.
14047 * posix/fnmatch_loop.c
14048 (FCT): Change type of EXTRA from int32_t to wint_t.
14049 Don't include either header inside the function.
14050 Call FINDIDX rather than findidx, and pass new arguments.
14051 #undef FINDIDX at the end of the file.
14052 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14053 FINDIDX before including fnmatch_loop.c for the non-wide version.
14054 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14055 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14056 for the wide version.
14057 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14058 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14059 Pass new arguments to findidx.
14060 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14061 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14062 Don't #include it inside the function. Pass new arguments to findidx.
14063 * posix/regex_internal.h
14064 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14065 (re_string_elem_size_at): Don't #include it inside the function.
14066 Pass new arguments to findidx.
14067 * string/strcoll_l.c: #include WEIGHT_H at top level.
14068 (get_next_seq): Don't #include it inside the function.
14069 Pass new arguments to findidx.
14070 (get_next_seq_nocache): Likewise.
14071 * string/strxfrm_l.c: #include WEIGHT_H at top level.
14072 (STRXFRM): Don't #include it inside the function.
14073 Pass new arguments to findidx.
14074
52ffbdf2
FW
140752014-09-11 Florian Weimer <fweimer@redhat.com>
14076
14077 [BZ #17344]
14078 * malloc/malloc.c (unlink): Turn asserts into a call to
14079 malloc_printerr.
14080
984c0ea9
TL
140812014-09-11 Tim Lammens <tim.lammens@gmail.com>
14082
14083 [BZ #17370]
14084 * libio/wfileops (do_ftell_wide): Free OUT.
14085
3daee107
CM
140862014-09-10 Chris Metcalf <cmetcalf@tilera.com>
14087
14088 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14089
58b930ae
SP
140902014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14091
14092 [BZ #17363]
14093 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14094 group if the current group is empty.
14095
3b473fec
AZ
140962014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097
71ae8647
AZ
14098 * benchtests/bench-memset.c (test_main): Add more test from size
14099 from 32 to 512 bytes.
14100 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14101 Add POWER8 memset object.
14102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14103 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14104 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14105 implementation.
14106 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14107 Likewise.
14108 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14109 multiarch POWER8 memset optimization.
14110 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14111 POWER8 memset optimization.
14112
3b473fec
AZ
14113 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14114 Remove bzero multiarch objects.
14115 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14116 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14117 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14118 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14119 Remove define.
14120 [__bzero]: Redefine to specific name.
14121 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14122 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14123 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14124 define.
14125 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14126 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14127
e6fb9587
FW
141282014-09-10 Florian Weimer <fweimer@redhat.com>
14129
14130 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14131 warnings into errors.
14132
14133 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14134 __cxa_thread_atexit_impl prototype.
14135
9d3a350b
SE
141362014-09-09 Steve Ellcey <sellcey@mips.com>
14137
14138 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14139 Fix capitalization of error message.
14140
0febba23
SE
141412014-09-09 Steve Ellcey <sellcey@mips.com>
14142
14143 * sysdeps/mips/preconfigure: Modify ABI tests.
14144
645a0e9c
CD
141452014-09-07 Carlos O'Donell <carlos@systemhalted.org>
14146
14147 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14148
d83f0734
CD
141492014-09-07 Roland McGrath <roland@hack.frob.com>
14150 Carlos O'Donell <carlos@systemhalted.org>
14151
14152 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14154 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14155 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14156 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14157 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14158 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14159 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14160 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14161 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14162 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14163 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14164 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14165 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14166 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14167 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14168 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14169 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14170 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14171 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14172 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14173 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14174 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14175 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14176 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14177 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14178 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14179 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14180 Deconditionalize the code that was previously under [RESET_PID].
14181 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14182 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14183 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14184 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14185 include sysdep.h.
14186
21c83793
AM
141872014-09-08 Allan McRae <allan@archlinux.org>
14188
14189 * version.h (RELEASE): Set to "development".
14190 (VERSION): Set to "2.20.90"
14191
1cd9b65c
AM
141922014-09-07 Allan McRae <allan@archlinux.org
14193
b8079dd0
AM
14194 * version.h (RELEASE): Set to "stable".
14195 (VERSION): Set to "2.20"
14196 * include/features.h (__GLIBC_MINOR__): Set to 20.
14197
c46303ef
AM
14198 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14199 Liebler.
14200
1cd9b65c
AM
14201 * po/ko.po: Update Korean translation from translation project.
14202
8622092d
CM
142032014-09-06 Chris Metcalf <cmetcalf@tilera.com>
14204
14205 [BZ #17354]
14206 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14207 macro for handling signed relocations.
14208
41488498
FW
142092014-09-03 Florian Weimer <fweimer@redhat.com>
14210
14211 [BZ #17325]
14212 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14213 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14214 assert.
14215 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14216 * iconvdata/ibm935.c (BODY): Likewise.
14217 * iconvdata/ibm937.c (BODY): Likewise.
14218 * iconvdata/ibm939.c (BODY): Likewise.
14219 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14220 assert.
14221 * iconvdata/Makefile (iconv-test.out): Pass module list to test
14222 script.
14223 * iconvdata/run-iconv-test.sh: New test loop for checking for
14224 decoder crashers.
14225
a78b712d
KR
142262014-09-02 Khem Raj <raj.khem@gmail.com>
14227
14228 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14229 libm_hidden_ver.
14230
cb08abc6
AM
142312014-09-01 Allan McRae <allan@archlinux.org>
14232
2c31e102
AM
14233 * po/eo.po: Update Esperanto translation from translation project.
14234
cb08abc6
AM
14235 * po/ca.po: Update Catalan translation from translation project.
14236
17a62de1
ST
142372014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14238
14239 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14240 __proc_dostop call.
14241
9570bc53
MW
142422014-08-27 Mark Wielaard <mjw@redhat.com>
14243
14244 [BZ #17319]
14245 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14246 to call set_thread_area instead of hand written asm.
14247 (__NR_set_thread_area): Removed define.
14248 (TLS_FLAG_WRITABLE): Likewise.
14249 (__ASSUME_SET_THREAD_AREA): Remove check.
14250 (TLS_EBX_ARG): Remove define.
14251 (TLS_LOAD_EBX): Likewise.
14252
b0f955c9
ST
142532014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14254
14255 Simplify atomicity of socket creation in bind.
14256
14257 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14258 looking up the name after linking the file.
14259
529bf515
AM
142602014-08-27 Allan McRae <allan@archlinux.org>
14261
14262 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14263
a1a6a401
FW
142642014-08-26 Florian Weimer <fweimer@redhat.com>
14265
14266 [BZ #17187]
14267 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14268 trans_compare, open_translit, __gconv_translit_find):
14269 Remove module loading code.
14270
686ab290
AM
142712014-08-26 Allan McRae <allan@archlinux.org>
14272
e4e7cfd2
AM
14273 * po/vi.po: Update Vietnamese translation from translation project.
14274
6aa09f71
AM
14275 * po/uk.po: Update Ukrainian translation from translation project.
14276
edc0660e
AM
14277 * po/fr.po: Update French translation from translation project.
14278
7eea72ac
AM
14279 * po/ru.po: Update Russian translation from translation project.
14280
93c49eff
AM
14281 * po/pl.po: Update Polish translation from translation project.
14282
46acaf63
AM
14283 * po/cs.po: Update Czech translation from translation project.
14284
a9f5ce98
AM
14285 * po/de.po: Update German translation from translation project.
14286
373f2b78
AM
14287 * po/bg.po: Update Bulgarian translation from translation project.
14288
e7548bd8
AM
14289 * po/sv.po: Update Sweedish translation from translation project.
14290
c526bf4d
AM
14291 * po/nl.po: Update Dutch translation from translation project.
14292
686ab290
AM
14293 * po/es.po: Update Spanish translation from translation project.
14294
eb72478a
SP
142952014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14296
dd763fdb
SP
14297 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14298
318c7a58
SP
14299 * catgets/Makefile (CPPFLAGS-gencat): Remove.
14300 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14301 (CPPFLAGS-iconvconfig): Likewise.
14302 * timezone/Makefile (CPPFLAGS-zic): Likewise.
14303
eb72478a
SP
14304 * include/libc-symbols.h: Remove unnecessary check for
14305 NOT_IN_libc.
14306 * nptl/pthreadP.h: Likewise.
14307 * sysdeps/aarch64/setjmp.S: Likewise.
14308 * sysdeps/alpha/setjmp.S: Likewise.
14309 * sysdeps/arm/sysdep.h: Likewise.
14310 * sysdeps/i386/setjmp.S: Likewise.
14311 * sysdeps/m68k/setjmp.c: Likewise.
14312 * sysdeps/posix/getcwd.c: Likewise.
14313 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14314 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14315 * sysdeps/s390/s390-32/setjmp.S: Likewise.
14316 * sysdeps/s390/s390-64/setjmp.S: Likewise.
14317 * sysdeps/sh/sh3/setjmp.S: Likewise.
14318 * sysdeps/sh/sh4/setjmp.S: Likewise.
14319 * sysdeps/unix/alpha/sysdep.h: Likewise.
14320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14322 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14323 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14328 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14331 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14333 * sysdeps/x86_64/setjmp.S: Likewise.
14334
d44a052c
JM
143352014-08-13 Joseph Myers <joseph@codesourcery.com>
14336
14337 [BZ #17263]
14338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14339 <stdint.h>.
14340 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14341 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14342
508ce3ac
SP
143432014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14344
e44c8b0e
SP
14345 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14346
508ce3ac
SP
14347 [BZ #17262]
14348 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14349 and __x86_64__ when disabling x87 inline functions.
14350
b4acef1f
L
143512014-08-12 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 [BZ #17259]
14354 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14355 asm statement with __cpuid_count.
14356
61b1ef6e
MF
143572014-08-12 Mike Frysinger <vapier@gentoo.org>
14358
14359 * configure.ac: Change __ehdr_start code to dereference the struct.
14360 Run readelf on the output to look for relocations.
14361 * configure: Regenerated.
14362
898c62f4
JM
143632014-08-12 Joseph Myers <joseph@codesourcery.com>
14364
14365 [BZ #17261]
14366 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14367 value to 0.
14368 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14369
9a8a5720
RM
143702014-08-12 Roland McGrath <roland@hack.frob.com>
14371
14372 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14373
4e75751c
BO
143742014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
14375
14376 [BZ #16892]
14377 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14378 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14379
bb2ce416
SA
143802014-08-12 Sean Anderson <seanga2@gmail.com>
14381
14382 * malloc/malloc.c: Fix typo in comment.
14383
7950a4ee
AM
143842014-08-09 Allan McRae <allan@archlinux.org>
14385
14386 * Regenerate libc.po.
14387
f469c49f
MF
143882014-08-08 Mike Frysinger <vapier@gentoo.org>
14389
14390 * intl/tst-gettext2.sh: Check every lang file for creation.
14391
656b84c2
WD
143922014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
14393
14394 * sysdeps/aarch64/fpu/math_private.h
14395 (libc_feholdsetround_noex_aarch64_ctx): New function.
14396
538e9e45
W
143972014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
14398
14399 * sysdeps/arm/armv6/strcpy.S (strcpy):
14400 Fix performance issue in misaligned cases.
14401
d4795e4a
AZ
144022014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14403
14404 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14405 Move definition from termios.h.
14406 (struct termio): Likewise.
14407 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14408 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14409 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14410 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14411 Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14413 Move definition to ioctl-types.h
14414 (struct termio): Likewise.
14415 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14416 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14417 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14418 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14419 Likewise.
14420
64accb62
RH
144212014-08-05 Richard Henderson <rth@redhat.com>
14422
27bb6dc0
RH
14423 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14424 exceptions.
14425 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14426 Add fraiseexcpt.
14427 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14428 Use __feraiseexcept.
14429 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14430 Protect libm symbols with IS_IN_libm.
14431
64accb62
RH
14432 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14433
e5292691
BO
144342014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
14435
14436 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14437
5b4bd2d4
WN
144382014-08-04 Will Newton <will.newton@linaro.org>
14439
14440 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14441 file.
14442
fcadaeef
MF
144432014-08-04 Mike Frysinger <vapier@gentoo.org>
14444
14445 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14446 variants for each function.
14447
43a94c64
RM
144482014-08-04 Roland McGrath <roland@hack.frob.com>
14449
14450 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14451 appended ...
14452 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14453 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14454 appended ...
14455 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14456 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14457 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14458 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14459 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14460 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14461 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14462 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14463 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14464 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14465 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14467 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14468 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14469 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14470 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14471 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14472 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14473 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14475 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14477 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14479 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14480 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14481 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14482 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14483 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14484 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14485 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14486 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14487 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14488 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14489 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14490 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14491 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14492 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14493 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14494 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14495 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14497 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14499 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14501 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14502 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14503 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14504 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14505 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14506 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14507 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14508 Update #include.
14509 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14510 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14511
8f3c1fa4
RM
145122014-08-04 Roland McGrath <roland@hack.frob.com>
14513
14514 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14515 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14516 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14517 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14518 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14519 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14520
ca08746f
RM
145212014-08-04 Roland McGrath <roland@hack.frob.com>
14522
14523 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14524 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14525 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14526 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14527
9c925ff9
RM
145282014-08-04 Roland McGrath <roland@hack.frob.com>
14529
14530 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14531 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14532 (__libc_vfork): Define function under this name.
14533 (__vfork): Define as an alias.
14534 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14535 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14536
e641054c
RM
145372014-08-04 Roland McGrath <roland@hack.frob.com>
14538
14539 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14540 that was previously under [RESET_PID].
14541 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14542
dacdc867
AS
145432014-08-04 Andreas Schwab <schwab@suse.de>
14544
14545 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14546
41f725ff
MF
145472014-08-03 Mike Frysinger <vapier@gentoo.org>
14548
14549 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14550 (main): Likewise.
14551
277cfb31
RM
145522014-08-01 Roland McGrath <roland@hack.frob.com>
14553
14554 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14555
4896f049
RH
145562014-08-01 Richard Henderon <rth@redhat.com>
14557
14558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14559 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14560 typo in exact zero test.
14561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14564
6f64e7d7
RM
145652014-08-01 Roland McGrath <roland@hack.frob.com>
14566
14567 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14568 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14569 * sysdeps/arm/sysdep.h: ... here.
14570 [!__ASSEMBLER__]: Include <stdint.h>.
14571
3f3dd810
SP
145722014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14573
a476ac4b
SP
14574 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14575 (HAVE_WCTYPE_H): Likewise.
14576 (HAVE_ISWCTYPE): Likewise.
14577 (ENABLE_NLS): Likewise.
14578 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14579 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14580
78dd658a
SP
14581 * posix/regex_internal.c: Check if DEBUG is defined and is
14582 set.
14583
3f3dd810
SP
14584 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14585 (HAVE_MBSRTOWCS): Likewise.
14586 * posix/fnmatch.c: Include string.h unconditionally.
14587
95ee7fb1
SL
145882014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14589
14590 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14591 reversal.
14592
23fe486b
RM
145932014-07-31 Roland McGrath <roland@hack.frob.com>
14594
f61a113f
RM
14595 * sysdeps/generic/safe-fatal.h: New file.
14596 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14597 * nptl/forward.c: Include it.
14598 (__pthread_unwind): Use __safe_fatal as default action, rather
14599 than a bogus use of INTERNAL_SYSCALL that could never work.
14600
9fe7e787
RM
14601 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14602 * configure.ac (libc_cv_builtin_trap): New test.
14603 * configure: Regenerated.
14604 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14605 (ABORT_INSTRUCTION): Define using __builtin_trap.
14606
23fe486b
RM
14607 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14608 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14609 * sysdeps/nptl/nptl-signals.h: New file.
14610 * nptl/pthreadP.h: Include <nptl-signals.h>.
14611
f349489e
SL
146122014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14613
14614 * sysdeps/s390/s390-64/utf16-utf32-z9.c
14615 (ONE_DIRECTION): Define.
14616 * sysdeps/s390/s390-64/utf8-utf16-z9.c
14617 (ONE_DIRECTION): Define.
14618 * sysdeps/s390/s390-64/utf8-utf32-z9.c
14619 (ONE_DIRECTION): Define.
14620
2f438e20
SL
146212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14622
14623 * sysdeps/s390/Makefile: Delete file.
14624 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14625 * sysdeps/s390/__longjmp.c: Delete file.
14626 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14627 Remove fields __flags and __reserved.
14628 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14629 and add versioning.
14630 * sysdeps/s390/rtld-__longjmp.c: Delete file.
14631 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14632 * sysdeps/s390/rtld-setjmp.S: Likewise.
14633 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14634 * sysdeps/s390/s390-32/__longjmp.c: ... here.
14635 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14636 * sysdeps/s390/s390-32/setjmp.S: ... here.
14637 Add versioning.
14638 (__sigsetjmp): Remove setting __flags field.
14639 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14640 * sysdeps/s390/s390-64/__longjmp.c: ... here.
14641 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14642 * sysdeps/s390/s390-64/setjmp.S: ... here.
14643 Add versioning.
14644 (__sigsetjmp): Remove setting __flags field.
14645 * sysdeps/s390/setjmp.S: Delete file.
14646 * sysdeps/s390/sigjmp.c: Likewise.
14647 * sysdeps/s390/v1-longjmp.c: Likewise.
14648 * sysdeps/s390/v1-setjmp.h: Likewise.
14649 * sysdeps/s390/v1-sigjmp.c: Likewise.
14650 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14651 Remove v1-longjmp_chk.
14652 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14653 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14654 Include debug/longjmp_chk.c and add versioning.
14655 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14656 Include nptl/pt-longjmp.c and add versioning.
14657 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14658 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14659 Include __longjmp.c.
14660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14661 Move to ...
14662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14663 (__getcontext): Remove setting __flags field.
14664 Add versioning.
14665 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14666 Don't restore upper high grps.
14667 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14668 Likewise.
14669 (__swapcontext): Remove setting uc_flags field.
14670 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14671 Delete file.
14672 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14673 Include __longjmp.c.
14674 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14675 Move to ...
14676 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14677 (__getcontext): Remove setting __flags field.
14678 Add versioning.
14679 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14680 (__swapcontext): Remove setting uc_flags field.
14681 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14683 Remove fields uc_high_gprs and __reserved.
14684 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14685 New file with reverted content.
14686 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14688 Regenerated.
14689 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14690 Regenerated.
14691
6c9578a2
AS
146922014-07-31 Andreas Schwab <schwab@suse.de>
14693
14694 * config.h.in (HAVE_IFUNC): Define to 0.
14695 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14696 definedness.
14697
05f3633d
LM
146982014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
14699
14700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14701 memmove-avx-unaligned, memcpy-avx-unaligned and
14702 mempcpy-avx-unaligned.
14703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14704 Add tests for AVX memcpy functions.
14705 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14706 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14707 memcpy_chk.
14708 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14709 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14710 memmove_chk.
14711 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14713 mempcpy_chk.
14714 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14715 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14716 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14717
a53fbd8e
AZ
147182013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14719
14720 [BZ #17213]
14721 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14722 powerpc64le.
14723
0961f7e1
JL
147242014-07-29 Jeff Layton <jlayton@poochiereds.net>
14725
14726 [BZ #16839]
14727 * manual/llio.texi: Add section about open file description locks.
14728 * manual/examples/ofdlocks.c: Example of open file description
14729 lock usage.
14730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14731 F_OFD_SETLK, and F_OFD_SETLKW.
14732
cc5fb300
AM
147332014-07-23 Allan McRae <allan@archlinux.org>
14734
14735 * po/es.po: Update Spanish translation from translation project.
14736
23329dca
AS
147372014-07-18 Andreas Schwab <schwab@linux-m68k.org>
14738
14739 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14740
9c82da17
MR
147412014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
14742
14743 [BZ #17078]
14744 * sysdeps/arm/dl-machine.h (elf_machine_rela)
14745 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14746 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14747
29c4f53e
JM
147482014-07-17 Joseph Myers <joseph@codesourcery.com>
14749
831b9896
JM
14750 [BZ #17088]
14751 * math/fesetenv.c (__fesetenv)
14752 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14753 * math/feupdateenv.c (__feupdateenv)
14754 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14755
b21c2d50
JM
14756 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14757 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14758 (__ASSUME_SOCKETCALL): Do not define.
14759
067764ef
JM
14760 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14761 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14762 (__ASSUME_SOCKETCALL): Do not define.
14763 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14764 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14765 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14766 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14767 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14768 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14769 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14770 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14771
642530c1
JM
14772 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14773 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14774 (__ASSUME_SOCKETCALL): Do not define.
14775 (__ASSUME_IPC64): Define unconditionally.
14776 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14777 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14778 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14779 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14780 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14781 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14782 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14783 Likewise.
14784
03f77315
JM
14785 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14786 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14787 (__ASSUME_SOCKETCALL): Do not define.
14788 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14789 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14790 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14791 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14792 (__ASSUME_REQUEUE_PI): Define unconditionally.
14793 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14794 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14795 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14796 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14797 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14798 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14799
083b1f7c
JM
14800 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14801 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14802 (__ASSUME_SOCKETCALL): Do not define.
14803 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14804 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14805 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14806 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14807 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14808 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14809
5be44ea6
JM
14810 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14811 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14812 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14813 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14814 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14815 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14816 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14817 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14818 (__ASSUME_GETCPU_SYSCALL): Likewise.
14819
d95ffd4c
JM
14820 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14821 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
14822 cases for individual architectures.
14823 * sysdeps/gnu/configure: Regenerated.
14824 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14825 LIBC_SLIBDIR_RTLDDIR.
14826 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14827 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14828 LIBC_SLIBDIR_RTLDDIR.
14829 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14831 LIBC_SLIBDIR_RTLDDIR.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14833 Regenerated.
14834 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14835 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14836 file.
14837 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14838 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14839 file.
14840 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14841 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14842 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14843 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14844
29c4f53e
JM
14845 * sysdeps/aarch64/shlib-versions: Move to ...
14846 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14847 * sysdeps/alpha/shlib-versions: Move to ...
14848 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14849 * sysdeps/arm/shlib-versions: Move to ...
14850 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14851 * sysdeps/hppa/shlib-versions: Move all contents except for
14852 libgcc_s entry to ...
14853 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
14854 entry from ...
14855 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
14856 * sysdeps/ia64/shlib-versions: Move to ...
14857 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
14858 entry from ...
14859 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
14860 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14861 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14862 * sysdeps/microblaze/shlib-versions: Move to ...
14863 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14864 * sysdeps/mips/shlib-versions: Move to ...
14865 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
14866 entry from ...
14867 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
14868 * sysdeps/tile/shlib-versions: Move to ...
14869 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14870 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14871 from ...
14872 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
14873 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14874 entry from ...
14875 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
14876
32bead5b
WN
148772014-07-17 Will Newton <will.newton@linaro.org>
14878
57977c4b
WN
14879 * sysdeps/arm/bits/atomic.h
14880 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14881 (__arch_compare_and_exchange_bool_16_int): Likewise.
14882 (__arch_compare_and_exchange_bool_64_int): Likewise.
14883
32bead5b
WN
14884 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14885 into an #else block.
14886
37fccd41
RM
148872014-07-16 Roland McGrath <roland@hack.frob.com>
14888
14889 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14890 just Linux configurations. Test empirically that the compiler sets
14891 __ARM_EABI__, rather than using the tuple to decide.
14892 * sysdeps/arm/preconfigure: Regenerated.
14893 * sysdeps/unix/sysv/linux/arm/configure: File removed.
14894 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14895 contents appended ...
14896 * sysdeps/arm/configure.ac: ... here.
14897 * sysdeps/arm/configure: Regenerated.
14898
b365f3ec
RM
148992014-07-15 Roland McGrath <roland@hack.frob.com>
14900
8badf496
RM
14901 * nptl/pthread_kill.c: New file.
14902 * nptl/pthread_sigmask.c: New file.
14903 * nptl/pthread_sigqueue.c: New file.
14904
3df6f22e
RM
14905 * sysdeps/nptl/lowlevellock.h: New file.
14906 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14907 * sysdeps/nptl/lowlevellock-futex.h: New file.
14908
b365f3ec
RM
14909 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14910 Remove dead declarations.
14911
f2fef657
L
149122014-07-14 H.J. Lu <hongjiu.lu@intel.com>
14913
14914 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14915 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14916 config-cflags-avx2.
14917 * sysdeps/x86_64/configure.ac: Likewise.
14918 * sysdeps/i386/configure: Regenerated.
14919 * sysdeps/x86_64/configure: Likewise.
14920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14921 memset-avx2 only if config-cflags-avx2 is yes.
14922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14923 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14924 defined.
14925 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14926 only if HAVE_AVX2_SUPPORT is defined.
14927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14928
f6c44d47
AM
149292014-07-14 Alan Modra <amodra@gmail.com>
14930
14931 [BZ #17153]
14932 * elf/elf.h (DT_PPC64_NUM): Correct value.
14933 * NEWS: Add to fixed bug list.
14934
7ee03f00
JM
149352014-07-13 Jim Meyering <meyering@fb.com>
14936
14937 [BZ 17150]
14938 regex: don't deref NULL upon heap allocation failure
14939 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14940 failure in one more place.
14941 To trigger the segfault, configure grep -with-included-regex,
14942 build it, and run these commands:
14943 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14944
9d39d517
AS
149452014-07-13 Andreas Schwab <schwab@linux-m68k.org>
14946
14947 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14948
a75b89b7
RH
149492014-07-11 Richard Henderson <rth@redhat.com>
14950
14951 * sysdeps/aarch64/libm-test-ulps: Update.
14952
771eb141
FW
149532014-07-10 Florian Weimer <fweimer@redhat.com>
14954
14955 [BZ #17135]
14956 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14957 * nptl/allocatestack.c (__nptl_setxid_error): New function.
14958 (__nptl_setxid): Initialize error member. Call
14959 __nptl_setxid_error.
14960 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14961 * nptl/descr.h (struct xid_command): Add error member.
14962 * nptl/tst-setuid3.c: New file.
14963 * nptl/Makefile (tests): Add it.
14964
bc1da176
AZ
149652014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14966
14967 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14968 New define.
14969 (__lll_trylock): Use __lll_base_trylock.
14970 (__lll_cond_trylock): Likewise.
14971
887865fc
RM
149722014-07-10 Roland McGrath <roland@hack.frob.com>
14973
c0c6bac9
RM
14974 * nptl/pthread_create.c (start_thread): Use atomic_or and
14975 lll_futex_wake directly rather than lll_robust_dead.
14976 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14977 (lll_robust_dead): Macro removed.
6a42be57 14978 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
14979 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14980 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14981 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14982 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14983 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14984 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14985 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14986 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14987 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14988 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14989 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14990 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14991 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14992 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14993
887865fc
RM
14994 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14995 Use atomic_compare_and_exchange_val_acq directly rather than
14996 lll_robust_trylock.
14997 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14998 (__lll_robust_trylock, lll_robust_trylock): Removed.
14999 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15000 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15001 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15003 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15004 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15005 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15006 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15008 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15009 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15011 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15013
58536726
FW
150142014-07-02 Florian Weimer <fweimer@redhat.com>
15015
15016 * manual/locale.texi (Locale Names): New section documenting
15017 locale name syntax. Adjust menu and node chaining accordingly.
15018 (Choosing Locale): Reference Locale Names, Locale Categories.
15019 Mention setting LC_ALL=C. Reflect that name syntax is now
15020 documented.
15021 (Locale Categories): New section title. Reference Locale Names.
15022 LC_ALL is an environment variable, but not a category.
15023 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15024 description, now in Locale Name. Reference that section. Locale
15025 name syntax is now documented.
15026
4e8f95a0
FW
150272014-07-02 Florian Weimer <fweimer@redhat.com>
15028
15029 [BZ #17137]
15030 * locale/findlocale.c (name_present, valid_locale_name): New
15031 functions.
15032 (_nl_find_locale): Use the loc_name variable to store name
15033 candidates. Call name_present and valid_locale_name to check and
15034 validate locale names. Return an error if the locale is invalid.
15035
d1836456
FW
150362014-07-02 Florian Weimer <fweimer@redhat.com>
15037
15038 * locale/setlocale.c (setlocale): Use strdup for allocating
15039 composite name copy.
15040
d69b7f5a
SP
150412014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
888c679b
SP
15043 Sync up with gnulib.
15044 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15045 [!_LIBC && ENABLE_NLS]: Include gettext.h.
15046 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15047 and _GL_ARG_NONNULL.
15048 [USE_UNLOCKED_IO]: Include unlocked-io.h.
15049 [!_LIBC]: Include code for Windows and Cygwin.
15050 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15051 Include prototype for int strerror_r.
15052 [!_LIBC] (is_open): New function.
15053 (flush_stdout): New function.
15054 (print_errno_message): Use it.
15055 (error): Likewise.
15056 (error_at_line): Likewise.
15057 (error_tail) Add function attribute macros. Use
15058 __builtin_expect.
15059
180e0e4b
SP
15060 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15061
d22f1fe2
SP
15062 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15063
12f2254b
SP
15064 * io/ftw.c: Include sys/param.h unconditionally.
15065
c3c7c360
SP
15066 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15067
d62aa75a
SP
15068 [BZ #17125]
15069 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15070 libc_freeres_ptr.
15071 (freecache): New function to free CACHE on exit.
15072
d69b7f5a
SP
15073 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15074 initialization.
15075
5efe06a1
DM
150762014-07-09 David S. Miller <davem@davemloft.net>
15077
15078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15079
7000d82e
DM
15080 * sysdeps/sparc/nptl/internaltypes.h: Delete.
15081 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15082 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15083 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15084 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15085 * sysdeps/sparc/nptl/sem_init.c: Likewise.
15086 * sysdeps/sparc/nptl/sem_post.c: Likewise.
15087 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15088 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15089 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15090 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15091 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15092 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15093
c213442d
AS
150942014-07-09 Andreas Schwab <schwab@suse.de>
15095
4a2552c3
AS
15096 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15097 output.
15098 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15099 (do_test): Likewise.
15100
c213442d
AS
15101 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15102
82374e65
WN
151032014-07-09 Will Newton <will.newton@linaro.org>
15104
15105 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15106 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15107 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15108 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15109 * sysdeps/hppa/start.S (_start): Likewise.
15110
6680738a
SP
151112014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
6ee3eab4
SP
15113 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15114
6680738a
SP
15115 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15116 defined.
15117
80b5c505
SP
151182014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15119
e35c53e3
SP
15120 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15121 after checking that it is non-NULL.
15122
80b5c505
SP
15123 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15124
91f4b564
AZ
151252014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126
27b75f56
AZ
15127 * sysdeps/powerpc/memmove.c: Remove file.
15128 * sysdeps/powerpc/powerpc32/power4/memcopy.h
15129 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15130 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15131 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15132 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15133 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15134 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15135 string memmove instead of removed powerpc one.
15136
e7f95bb5
AZ
15137 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15138 [weak_alias]: Fix compiler warning due trailing data.
15139 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15140 [weak_alias]: Likewise.
15141 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15142 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15143
91f4b564
AZ
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15145 (__libc_ifunc_impl_list): Add memmove functions.
15146
7c33f1e5
SP
151472014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15148
15149 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15150 Remove code.
15151 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15152 Likewise
15153 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15154 Likewise
15155 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15156 Likewise
15157 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15158 Likewise
15159 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15160 Likewise
15161 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15162 Likewise
15163 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15164 Likewise
15165 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15166 Likewise
15167 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15168 Likewise
15169 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15170 Likewise
15171 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15172 Likewise
15173 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15174 Likewise
15175 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15176 Likewise
15177 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15178 Likewise
15179 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15180 Likewise
15181 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15182 Likewise
15183
3f17b03b
AZ
151842014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15185
87868c24
AZ
15186 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15187 to avoid alignment traps in non-cacheable memory.
15188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15189
07aedd78
AZ
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15191 multiarch objects.
15192 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15193 file: multiarch power7 memmove.
15194 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15195 multiarch default memmove.
15196 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15197 multiarch memove for powerpc32/power4.
15198
17762f66
AZ
15199 * string/bcopy.c: Use full path to include memmove.c.
15200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15201 multiarch objects.
15202 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15203 bcopy for powerpc64.
15204 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15205 bcopy for powerpc64.
15206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15207 and memmove implementations.
15208 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15209 optimized multiarch memmove for POWER7/powerpc64.
15210 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15211 default multiarch memmove for powerpc64.
15212 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15213 multiarch for powerpc64.
15214 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15215 for POWER7/powerpc64.
15216 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15217 memmove for POWER7/powerpc64.
15218
d6f68bbe
AZ
15219 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15220 glibc default one.
15221
3f17b03b
AZ
15222 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15223 __ELF_NATIVE_CLASS equal to 64.
15224
08192659
RM
152252014-07-07 Roland McGrath <roland@hack.frob.com>
15226
f4c4021b
RM
15227 * sysdeps/nptl/lowlevellock.h: File removed.
15228
f083450f
RM
15229 * NEWS: NPTL is no longer an add-on!
15230 * nptl/internaltypes.h: Moved ...
15231 * sysdeps/nptl/internaltypes.h: ... here.
15232 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15233 * sysdeps/nptl/fork.c: Likewise.
15234 * sysdeps/nptl/gai_misc.h: Likewise.
15235 * sysdeps/nptl/librt-cancellation.c: Likewise.
15236 * sysdeps/nptl/jmp-unwind.c: Likewise.
15237 * sysdeps/nptl/setxid.h: Likewise.
15238 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15239 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15240 * sysdeps/unix/sysv/linux/arm/Implies: New file.
15241 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15242 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15243 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15244 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15245 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15246 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15247 * sysdeps/unix/sysv/linux/mips/Implies: New file.
15248 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15249 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15250 * sysdeps/unix/sysv/linux/sh/Implies: New file.
15251 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15252 * sysdeps/unix/sysv/linux/tile/Implies: New file.
15253 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15255 * nptl/Makeconfig: Moved ...
15256 * sysdeps/nptl/Makeconfig: ... here.
15257 * nptl/configure: File removed.
15258 * nptl/ANNOUNCE: File removed.
15259 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15260 * sysdeps/unix/sysv/linux/configure: Regenerated.
15261
08192659
RM
15262 * nptl/Makefile (routines): Add libc_pthread_init,
15263 libc_multiple_threads, register-atfork and unregister-atfork.
15264 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15265 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15266 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15267 pthread-pi-defines.sym, structsem.sym.
15268 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15269 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15270 [$(subdir) = nptl] (tests): Add tst-setgetname.
15271 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15272 * sysdeps/unix/sysv/linux/sigaction.c: Just include
15273 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15274 [!LIBC_SIGACTION]: Remove aliases.
15275 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15276 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15277 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15278 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15279 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15280 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15284 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15285 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15286 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15287 __libc_allocate_rtsig_private.
15288 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15289 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15290 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15291 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15292 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15293 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15294 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15295 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15296 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15297 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15298 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15299 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15300 * nptl/internaltypes.h: ... here.
15301 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15302 * sysdeps/nptl/jmp-unwind.c: ... here.
15303 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15304 * nptl/libc-lowlevellock.c: ... here.
15305 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15306 * nptl/libc_multiple_threads.c: ... here.
15307 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15308 * nptl/libc_pthread_init.c: ... here.
15309 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15310 * nptl/lowlevelbarrier.sym: ... here.
15311 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15312 * nptl/lowlevelcond.sym: ... here.
15313 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15314 * nptl/lowlevellock.c: ... here.
15315 * nptl/lowlevellock.h: Moved ...
15316 * sysdeps/nptl/lowlevellock.h: ... here.
15317 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15318 * nptl/lowlevelrobustlock.c: ... here.
15319 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15320 * nptl/lowlevelrobustlock.sym: ... here.
15321 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15322 * nptl/lowlevelrwlock.sym: ... here.
15323 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15324 * nptl/pt-fork.c: ... here.
15325 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15326 * nptl/pthread-pi-defines.sym: ... here.
15327 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15328 * nptl/pthread_attr_getaffinity.c: ... here.
15329 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15330 * nptl/pthread_attr_setaffinity.c: ... here.
15331 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15332 * nptl/pthread_mutex_cond_lock.c: ... here.
15333 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15334 Update #include.
15335 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15336 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15337 * nptl/pthread_once.c: ... here, replacing old file.
15338 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15339 * nptl/pthread_yield.c: ... here.
15340 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15341 * nptl/register-atfork.c: ... here.
15342 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15343 * nptl/sem_post.c: ... here.
15344 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15345 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15346 * nptl/sem_timedwait.c: ... here.
15347 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15348 * nptl/sem_trywait.c: ... here.
15349 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15350 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15351 * nptl/sem_wait.c: ... here.
15352 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15353 * nptl/structsem.sym: ... here.
15354 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15355 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15356 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15357 * nptl/unregister-atfork.c: ... here.
15358 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15359 * nptl/unwindbuf.sym: ... here.
15360 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15361 * sysdeps/nptl/fork.c: ... here.
15362 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15363 * sysdeps/nptl/fork.h: ... here.
15364 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15365 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15366 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15367 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15368 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15369 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15370 * sysdeps/unix/sysv/linux/getpid.c: ... here.
15371 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15372 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15373 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15374 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15375 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15376 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15377 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15378 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15379 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15380 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15381 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15382 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15383 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15384 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15385 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15386 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15387 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15388 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15389 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15390 * sysdeps/unix/sysv/linux/raise.c: ... here.
15391 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15392 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15393 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15394 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15395 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15396 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15397 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15398 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15399 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15400 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15401 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15402 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15403 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15404 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15405 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15406
96baf6ff
SP
154072014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15408
15409 * sysdeps/generic/memcopy.h: Add comment for
15410 MEMCPY_OK_FOR_FWD_MEMMOVE.
15411
6b7b14b2
WN
154122014-07-04 Will Newton <will.newton@linaro.org>
15413
1570a72b
WN
15414 * string/memchr.c: Merge from gnulib.
15415 [_LIBC]: Remove conditionals.
15416 (__ptr_t): Remove define.
15417 (LONG_MAX_32_BITS): Likewise.
15418 (LONG_MAX): Likewise.
15419 (MEMCHR): Use ANSI prototype and optimize algorithm.
15420
6b7b14b2
WN
15421 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15422
38851324
SP
154232014-07-03 Roland McGrath <roland@hack.frob.com>
15424
3d9eb57c
RM
15425 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15426 (lll_futex_timed_wait_bitset): Fix syscall argument count.
15427
78b984ae
RM
15428 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15429 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15430 in a bare environment with no <stdlib.h> installed.
15431 * sysdeps/nptl/configure: Regenerated.
15432
2d5976a5
RM
15433 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15434
c1f5acd4
RM
15435 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15436 AC_EGREP_CPP for kernel header checks, so they only succeed if
15437 including <linux/version.h> actually works right.
15438 * sysdeps/unix/sysv/linux/configure: Regenerated.
15439
4d614fe5
RM
15440 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15441 value so it's not diagnosed as unused.
15442
38851324
SP
15443 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15444 thing) with "ifeq ($(subdir),rt)".
15445
b3ec00e5
RH
154462014-07-03 Richard Henderson <rth@redhat.com>
15447
69862e25
RH
15448 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15449 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15450 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15451
d5e16ade
RH
15452 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15453 (math_force_eval): New.
15454
ca7b945c
RH
15455 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15456 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15457
cd1175a3
RH
15458 * sysdeps/alpha/fpu/s_round.c: Remove file.
15459 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15460
b3ec00e5
RH
15461 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15462 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15463 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15464 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15465 (_dl_start, print_statistics): Likewise.
15466 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15467 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15468
15469 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15470 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15471 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15472 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15474 (HP_SMALL_TIMING_AVAIL): Define.
15475 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15476 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15477 (HP_SMALL_TIMING_AVAIL): Define.
15478 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15479 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15480
15481 * sysdeps/aarch64/hp-timing.h: New file.
15482
15483 * sysdeps/generic/hp-timing.h: Remove dead comment.
15484 * sysdeps/generic/hp-timing-common.h: New file.
15485 * sysdeps/alpha/hp-timing.h: Include it.
15486 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15487 * sysdeps/i386/i686/hp-timing.h: Likewise.
15488 * sysdeps/ia64/hp-timing.h: Likewise.
15489 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15492 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15493 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15494 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15495 (hp_timing_t): New.
15496
15497 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15498 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15499 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15500 * elf/rtld.c (_dl_start_final): Likewise.
15501 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15502 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15503 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15504 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15505 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15507 (HP_TIMING_DIFF_INIT): Remove.
15508 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15509 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15510 (HP_TIMING_DIFF_INIT): Remove.
15511 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15512 * sysdeps/i386/i686/hp-timing.c: Remove file.
15513 * sysdeps/x86_64/hp-timing.c: Remove file.
15514 * sysdeps/ia64/hp-timing.c: Remove file.
15515 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15516 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15517 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15518 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15519
15520 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15521 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15522 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15523 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15525 (HP_TIMING_ACCUM): Remove.
15526 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15528 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15529
15530 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15531 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15532 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15533 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15535 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15536 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15537 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15538
15539 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15540
225f410f
MR
155412014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
15542
15543 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15544
3247f285
SP
155452014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15546
15547 Sync up with gettext.
15548 * intl/loadmsgcat.c: Define O_BINARY if not defined.
15549 [_MSC_VER]: Include malloc.h
15550 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15551 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15552 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
15553 TEMP_FAILURE_RETRY. Cast return of alloca.
15554 [!_LIBC] Call gl_rwlock_init.
15555 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15556
d12704c7
SP
155572014-07-02 Roland McGrath <roland@hack.frob.com>
15558
15559 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15560 before checking its value.
15561
99f8dc92
SP
155622014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15563
05fdac77
SP
15564 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15565
99f8dc92
SP
15566 * debug/memcpy_chk.c: Don't include pagecopy.h.
15567 * debug/mempcpy_chk.c: Likewise.
15568 * string/memcpy.c: Likewise.
15569 * string/memmove.c: Likewise.
15570 * sysdeps/powerpc/memmove.c: Likewise.
15571 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
15572 definition of PAGE_COPY_FWD_MAYBE here...
15573 * sysdeps/generic/pagecopy.h: ... from here.
15574 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15575
bc8ea385
VR
155762014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15577 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578
15579 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15581 optimizations.
15582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15583 (__libc_ifunc_impl_list): Likewise.
15584 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15585 multiarch strcat for PPC64.
15586 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15587 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15588
fe5f34e4
RM
155892014-07-02 Roland McGrath <roland@hack.frob.com>
15590
15591 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15592
256aa665
SP
155932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15594
d4eb8195
SP
15595 * intl/loadmsgcat.c: Remove declaration of
15596 get_sysdep_segment_value.
15597 (get_sysdep_segment_value): Use ISO C style.
15598 (_nl_load_domain): Use ISO C style. Get rid of redundant
15599 semicolon. Fix typo and formatting in comment.
15600 (_nl_unload_domain): Use ISO C style.
15601
256aa665
SP
15602 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15603
b100f9aa
WN
156042014-07-02 Will Newton <will.newton@linaro.org>
15605
15606 * malloc/obstack.c: Merge from gnulib master.
15607 [HAVE_CONFIG_H]: Remove conditional code.
15608 [!_LIBC]: Include config.h.
15609 [!ELIDE_CODE]: Don't include inttypes.h, include
15610 stdint.h unconditionally.
15611 (print_and_abort): Mark as _Noreturn.
15612 (_obstack_allocated_p): Mark as __attribute_pure__.
15613 (obstack_free): Rename to __obstack_free.
15614 [!__attribute__]: Remove conditional code.
15615 * malloc/obstack.h: Merge from gnulib master.
15616 [__cplusplus]: Move conditional down.
15617 [!__attribute_pure__]: Define __attribute_pure__ here
15618 if it is not already defined.
15619 (_obstack_memory_used): Mark as __attribute_pure__.
15620 [!__obstack_free]: Define as obstack_free.
15621 [__GNUC__]: Remove check for ancient NeXT gcc.
15622
c4c41244
PE
156232014-07-02 Will Newton <will.newton@linaro.org>
15624 Paul Eggert <eggert@cs.ucla.edu>
15625
15626 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15627
e1e041c4
SP
156282014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15629
15630 * resolv/gethnamaddr.c: Add comment warning that the file is
15631 not maintained.
15632
ccf431ff
CD
156332014-07-01 Carlos O'Donell <carlos@redhat.com>
15634
d34570a6
CD
15635 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15636 entries.
15637
ccf431ff
CD
15638 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15639 entry for aio_cancel and aio_cancel64.
15640 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15641 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15642 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15643 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15644 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15645 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15646 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15647 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15648 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15649 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15650 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15651 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15652 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15653
ca06321d
RM
156542014-07-01 Roland McGrath <roland@hack.frob.com>
15655
15656 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15657 * nptl/pthread_mutex_lock.c: Likewise.
15658 * nptl/pthread_mutex_timedlock.c: Likewise.
15659 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15660
a1ac3184
RH
156612014-07-01 Richard henderson <rth@redhat.com>
15662
631021e0
RH
15663 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15664 (__isnan, __isnanl): Remove.
15665 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15666
a1ac3184
RH
15667 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15668
0c1d731f
SL
156692014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15670
15671 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15672
76985d3e
SP
156732014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 * resolv/nss_dns/dns-host.c (getanswer_r)
15676 [MULTI_PTRS_ARE_ALIASES]: Remove code.
15677
b0cb3096
JM
156782014-07-01 Joseph Myers <joseph@codesourcery.com>
15679
15680 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15681 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15682 undefine.
15683 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15684 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15685
4d76cb39
RM
156862014-07-01 Roland McGrath <roland@hack.frob.com>
15687
15688 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15689 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15690
15691 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15692 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15693
15694 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15695 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15696 ... here.
15697 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15698 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15699
15700 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15701 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15702 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15703 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15704
15705 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15706 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15707 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15708 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15709 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15710 Moved ...
15711 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15712 ... here.
15713 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15714 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15715 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15716 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15717 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15718 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15719 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15720 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15721 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15722 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15723 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15724 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15725 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15726 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15727 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15728 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15729 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15730 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15731 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15732 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15733 ... here.
15734 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15735 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15736 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15737 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15738 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15739 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15740 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15741 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15742
0cdcad17
DH
157432014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
15744
15745 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15746 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15747 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15748 Add sysdep.
15749
9b71d0e3
AZ
157502014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15751
15752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15753
665390c2
JM
157542014-06-30 Joseph Myers <joseph@codesourcery.com>
15755
ae05a9d7
JM
15756 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15757 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15758
a7672a2f
JM
15759 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15760
665390c2
JM
15761 * sysdeps/arm/libm-test-ulps: Regenerated.
15762
d7a05d07
MR
157632014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
15764 Roland McGrath <roland@hack.frob.com>
15765
15766 * test-skeleton.c (signal_handler): Kill the whole process group
15767 before killing the child individually.
15768 (main): Report any failure on `setpgid'.
15769
46f1d8a6
RM
157702014-06-30 Roland McGrath <roland@hack.frob.com>
15771
15772 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15773 from _TLS_H to _ARM_NPTL_TLS_H.
15774 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15775 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15776
9c37ec0b
JM
157772014-06-30 Joseph Myers <joseph@codesourcery.com>
15778
ce9c5b3e
JM
15779 [BZ #16539]
15780 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15781 (__expm1l): Return argument unchanged when small but not
15782 subnormal.
15783
3a6e9887
JM
15784 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15785 include macro name.
15786 (_FP_UNPACK_RAW_1_P): Likewise.
15787 (_FP_PACK_RAW_1): Likewise.
15788 (_FP_PACK_RAW_1_P): Likewise.
15789 (_FP_MUL_MEAT_1_wide): Likewise.
15790 (_FP_MUL_MEAT_DW_1_hard): Likewise.
15791 (_FP_MUL_MEAT_1_hard): Likewise.
15792 (_FP_DIV_MEAT_1_imm): Likewise.
15793 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15794 (_FP_DIV_MEAT_1_udiv): Likewise.
15795 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15796 (_FP_UNPACK_RAW_2): Likewise.
15797 (_FP_UNPACK_RAW_2_P): Likewise.
15798 (_FP_PACK_RAW_2): Likewise.
15799 (_FP_PACK_RAW_2_P): Likewise.
15800 (_FP_MUL_MEAT_DW_2_wide): Likewise.
15801 (_FP_MUL_MEAT_2_wide): Likewise.
15802 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15803 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15804 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15805 (_FP_MUL_MEAT_2_gmp): Likewise.
15806 (_FP_DIV_MEAT_2_udiv): Likewise.
15807 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15808 (_FP_FRAC_SRL_4): Likewise.
15809 (_FP_FRAC_SRST_4): Likewise.
15810 (_FP_FRAC_SRS_4): Likewise.
15811 (_FP_UNPACK_RAW_4): Likewise.
15812 (_FP_UNPACK_RAW_4_P): Likewise.
15813 (_FP_PACK_RAW_4): Likewise.
15814 (_FP_PACK_RAW_4_P): Likewise.
15815 (_FP_MUL_MEAT_DW_4_wide): Likewise.
15816 (_FP_MUL_MEAT_4_wide): Likewise.
15817 (_FP_MUL_MEAT_4_gmp): Likewise.
15818 (umul_ppppmnnn): Likewise.
15819 (_FP_DIV_MEAT_4_udiv): Likewise.
15820 (__FP_FRAC_ADD_4): Likewise.
15821 (__FP_FRAC_SUB_3): Likewise.
15822 (__FP_FRAC_SUB_4): Likewise.
15823 (__FP_FRAC_DEC_3): Likewise.
15824 (__FP_FRAC_DEC_4): Likewise.
15825 (__FP_FRAC_ADDI_4): Likewise.
15826 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15827 (_FP_FRAC_SRL_8): Likewise.
15828 (_FP_FRAC_SRS_8): Likewise.
15829
9c37ec0b
JM
15830 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15831 include macro name.
15832 (FP_UNPACK_RAW_EP): Likewise.
15833 (FP_PACK_RAW_E): Likewise.
15834 (FP_PACK_RAW_EP): Likewise.
15835 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15836 (_FP_ISSIGNAN): Likewise.
15837 (_FP_ADD_INTERNAL): Likewise.
15838 (_FP_FMA): Likewise.
15839 (_FP_CMP): Likewise.
15840 (_FP_SQRT): Likewise.
15841 (_FP_TO_INT): Likewise.
15842 (_FP_FROM_INT): Likewise.
15843 (FP_EXTEND): Likewise.
15844 (_FP_DIV_MEAT_N_loop): Likewise.
15845
2125f674
MR
158462014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
15847
15848 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15849 throughout.
15850
edea4028
JM
158512014-06-29 Joseph Myers <joseph@codesourcery.com>
15852
15853 [BZ #17097]
15854 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15855 result with correct sign in case of exponents that produce
15856 overflow except for X very close to 1.
15857
dd0ba018
PE
158582014-06-28 Paul Eggert <eggert@cs.ucla.edu>
15859
15860 mktime: merge #if/#ifdef usage from glibc
15861 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15862 as that works with both Glibc's and Gnulib's style.
15863 See thread starting at Siddhesh Poyarekar's bug report at:
15864 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15865
64df73c2
SP
158662014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15867
15868 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15869 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15870 * sysdeps/tile/tilegx/memmove.c: Remove file.
15871
f1eafb41
JM
158722014-06-27 Joseph Myers <joseph@codesourcery.com>
15873
15874 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15875 abi-name definition.
15876 * scripts/soversions.awk: Do not handle or generate ABI lines.
15877 * shlib-versions: Remove ABI entries.
15878 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15879 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15880
58eb0862
RM
158812014-06-27 Roland McGrath <roland@hack.frob.com>
15882
37caf178
RM
15883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15884 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15885 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15886 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15887 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15888 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15890 Moved ...
15891 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15892 ... here.
15893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15894 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15896 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15898 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15900 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15902 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15904 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15906 Moved ...
15907 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15909 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15911 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15913 Moved ...
15914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15916 Moved ...
15917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15919 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15921 Moved ...
15922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15924 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15926 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15928 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15930 Moved ...
15931 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15933 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15934 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15935 Moved ...
15936 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15937 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15938 Moved ...
15939 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15941 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15943 Moved ...
15944 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15945 ... here.
15946 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15947 Identical file removed.
15948 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15949 Moved ...
15950 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15952 Identical file removed.
15953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15954 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15956 Moved ...
15957 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15959 Identical file removed.
15960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15961 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15963 Identical file removed.
15964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15965 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15967 Identical file removed.
15968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15969 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15970 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15971 Identical file removed.
15972 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15973 Moved ...
15974 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15976 Identical file removed.
15977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15978 Moved ...
15979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15981 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15983 Identical file removed.
15984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15985 Moved ...
15986 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15987 ... here.
15988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15989 Identical file removed.
15990 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15991 Moved ...
15992 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15994 Identical file removed.
15995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15996 Moved ...
15997 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15999 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16001 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16002 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16003 Moved ...
16004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16005 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16006 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16007
58eb0862
RM
16008 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16009 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16010 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16011 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16012 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16013
6f12d062
AS
160142014-06-27 Arjun Shankar <arjun.is@lostca.se>
16015
16016 [BZ #17092]
16017 * nscd/nscd.c (monitor_child): Return exit status of child
16018 instead of return value from wait syscall.
16019
be254932
JM
160202014-06-27 Joseph Myers <joseph@codesourcery.com>
16021
cb403c34
JM
16022 * configure.ac (libc_commonpagesize): Remove variable.
16023 (libc_relro_required): Likewise.
16024 (libc_cv_z_relro): Remove configure test.
16025 * configure: Regenerated.
16026 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16027 variable.
16028 (libc_relro_required): Likewise.
16029 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16030 (libc_relro_required): Likewise.
16031 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16032 (libc_relro_required): Likewise.
16033 * sysdeps/arm/preconfigure: Regenerated.
16034 * sysdeps/ia64/preconfigure: Remove file.
16035 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16036 variable.
16037 (libc_relro_required): Likewise.
16038
be254932
JM
16039 [BZ #16561]
16040 [BZ #16562]
16041 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16042 (__ieee754_yn): Set FE_TONEAREST mode internally and then
16043 recompute overflowing results in original rounding mode.
16044 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16045 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16046 recompute overflowing results in original rounding mode.
16047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16048 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16049 recompute overflowing results in original rounding mode.
16050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16051 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16052 recompute overflowing results in original rounding mode.
16053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16054 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16055 recompute overflowing results in original rounding mode.
16056 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16057 (libc_feholdsetround_ctx): New macro.
16058 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16061
b351d85a
JM
160622014-06-26 Joseph Myers <joseph@codesourcery.com>
16063
16064 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16065 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16066 corresponding .cpsetup call.
16067
3cb4de47
RM
160682014-06-26 Roland McGrath <roland@hack.frob.com>
16069
16070 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16071 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16072 * sysdeps/arm/Makefile [$(subdir) = csu]
16073 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16074 (static-only-routines): Add aeabi_read_tp here.
16075 (shared-only-routines): Add libc-aeabi_read_tp here.
16076 (CFLAGS-libc-start.c): Add -fexceptions here.
16077 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16078 (sysdep_routines, static-only-routines, shared-only-routines):
16079 Don't add to these here.
16080 (CFLAGS-libc-start.c): Likewise.
16081
16082 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16083 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16084 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16085 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16086 * sysdeps/arm/Makefile [$(subdir) = rt]
16087 (librt-sysdep_routines, librt-shared-only-routines):
16088 Append rt-aeabi_unwind_cpp_pr1 here.
16089 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16090 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16091 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16092 (libpthread-sysdep_routines, libpthread-shared-only-routines):
16093 Append nptl-aeabi_unwind_cpp_pr1 here.
16094 (tests): Filter out tst-cleanupx4 here.
16095 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16096 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16097 Don't do those here.
16098
354426bb
JM
160992014-06-26 Joseph Myers <joseph@codesourcery.com>
16100
16101 * scripts/list-sources.sh: Do not handle ports specially.
16102
28b0a8c9
RM
161032014-06-26 Roland McGrath <roland@hack.frob.com>
16104
a3dd035d
RM
16105 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16106 * sysdeps/arm/feupdateenv.c: Likewise.
16107
28b0a8c9
RM
16108 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16109
e66a8203
JM
161102014-06-26 Joseph Myers <joseph@codesourcery.com>
16111
16112 * manual/texinfo.tex: Update to version 2014-05-05.10 with
16113 trailing whitespace removed.
16114 * scripts/config.guess: Update to version 2014-03-23.
16115 * scripts/config.sub: Update to version 2014-05-01
16116 * scripts/install-sh: Update to version 2013-12-25.23.
16117 * scripts/move-if-change: Update from gnulib.
16118
74171115
SP
161192014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16120
b97c9ce5
SP
16121 * debug/memmove_chk.c: Remove pagecopy.h include.
16122
4000f892
SP
161232014-06-26 Paul Eggert <eggert@cs.ucla.edu>
16124
74171115
SP
16125 * time/mktime.c (leapyear): Remove inline keyword. The code is now
16126 identical to gnulib mktime.
16127
a8779c28
JM
161282014-06-26 Joseph Myers <joseph@codesourcery.com>
16129
e64708de
JM
16130 * configure.ac: Do not test for machine being rs6000. Do not test
16131 for powerpc*-*soft.
16132 * configure: Regenerated.
16133
6a9350c8 16134 [BZ #11505]
a8779c28
JM
16135 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16136 test.
16137 * configure: Regenerated.
16138 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16139 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16140 Remove configure test.
16141 * sysdeps/arm/configure: Regenerated.
16142 * sysdeps/nptl/configure.ac: Do not check
16143 libc_cv_asm_cfi_directives.
16144 * sysdeps/nptl/configure: Regenerated.
16145 * sysdeps/x86_64/nptl/configure.ac: Remove file.
16146 * sysdeps/x86_64/nptl/configure: Remove generated file.
16147 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16148 unconditional.
16149 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16150
2aac0a86
SP
161512014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16152
059bf913
SP
16153 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16154 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16155 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16156 it is defined.
16157
4cf5b6d0
SP
16158 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16159 instead of whether it is defined.
16160 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16161 * sysdeps/hppa/dl-machine.h: Likewise.
16162 * sysdeps/ia64/dl-machine.h: Likewise.
16163 * sysdeps/m68k/dl-machine.h: Likewise.
16164 * sysdeps/microblaze/dl-machine.h: Likewise.
16165 * sysdeps/mips/dl-machine.: Likewise.
16166 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16167 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16168 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16169 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16170 * sysdeps/sh/dl-machine.h: Likewise.
16171 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16172 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16173 * sysdeps/tile/dl-machine.h: Likewise.
16174 * sysdeps/x86_64/dl-machine.h: Likewise.
16175
2aac0a86
SP
16176 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16177 code.
16178 (verify_persistent_db): Likewise.
16179
6ad2df0b
RM
161802014-06-26 Roland McGrath <roland@hack.frob.com>
16181
d8a483f3
RM
16182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16183 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16185 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16187 Moved ...
16188 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16189 ... here.
16190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16191 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16193 Identical file removed.
16194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16195 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16197 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16199 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16201 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16203 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16205 Moved ...
16206 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16208 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16210 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16212 Moved ...
16213 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16215 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16217 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16219 Identical file removed.
16220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16221 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16225 Moved ...
16226 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16227 ... here.
16228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16229 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16231 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16233 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16235 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16237 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16239 Moved ...
16240 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16242 Moved ...
16243 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16245 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16247 Moved ...
16248 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16250 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16251
52ae23b4
RM
16252 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16253 folded into ...
16254 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16255 * sysdeps/unix/sysv/linux/s390/Versions
16256 (libpthread: GLIBC_2.19): New version set.
16257 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16258 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16259 (librt: GLIBC_2.3.3): New version set.
16260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16261 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16262 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16263 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16264 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16265 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16266 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16267 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16268 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16269 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16270 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16271 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16272 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16273 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16274 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16275 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16276 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16277 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16278 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16279 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16280 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16282 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16283 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16284 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16285 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16286 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16287 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16288 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16289 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16290 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16291 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16296 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16298 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16299 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16300 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16302 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16304 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16305
39507e4a
RM
16306 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16307 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16308 (__libc_vfork): Define the function under this name.
16309 [!NOT_IN_libc] (__vfork): Make this an alias.
16310 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16312 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16313 (__libc_vfork): Define the function under this name.
16314 [!NOT_IN_libc] (__vfork): Make this an alias.
16315 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16316 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16317 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16320 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16321
e549ee56
RM
16322 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16323 code that was previously under [RESET_PID].
16324 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16325 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16327
6ad2df0b
RM
16328 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16329 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16330 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16331 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16332 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16333 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16334 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16335 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16336 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16337 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16338 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16339 Moved ...
16340 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16341 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16342 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16343 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16344 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16345 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16346 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16347 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16348 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16349 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16351 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16352 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16353 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16354 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16355 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16356 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16357 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16358 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16359 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16360 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16361 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16362 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16363 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16364 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16365 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16366 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16367 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16368 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16369
7c1c1d8e
RM
163702014-06-25 Roland McGrath <roland@hack.frob.com>
16371
16372 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16373 that was previously under [RESET_PID].
16374 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16375
3e239be6
JM
163762014-06-25 Joseph Myers <joseph@codesourcery.com>
16377
74385da5
JM
16378 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16379 not undefine and redefine.
16380 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16381 [O_CLOEXEC]: Make code unconditional.
16382 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16384 <kernel-features.h>.
16385 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16386 conditional variable definition.
16387 (shm_open) [O_CLOEXEC]: Make code unconditional.
16388 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16389 code.
16390
c2570a0b
JM
16391 * configure.ac (USE_REGPARMS): Don't define here.
16392 * configure: Regenerated.
16393 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16394 * sysdeps/i386/configure: Regenerated.
16395
11b076bb
JM
16396 * nptl/createthread.c: Don't include kernel-features.h.
16397 * nptl/pthread_cancel.c: Likewise.
16398 * nptl/pthread_condattr_setclock.c: Likewise.
16399 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16400 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16401 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16402 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16403 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16404 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16405 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16408 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16409 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16410 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16411 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16412 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16413 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16414 * nscd/gai.c: Likewise.
16415 * nss/nss_db/db-open.c: Likewise.
16416 * sysdeps/generic/ldsodefs.h: Likewise.
16417 * sysdeps/sh/nptl/tls.h: Likewise.
16418 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16419 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16420 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16421 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16422 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16423 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16424 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16425 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16426 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16427 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16428 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16429 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16430 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16431 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16432 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16433 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16434 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16435 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16436 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16437 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16439 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16440 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16441 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16443 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16444 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16445 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16446 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16447 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16448 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16449 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16450 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16451 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16452 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16453 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16454 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16455 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16456 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16457 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16458 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16459 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16460 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16461 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16462 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16463 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16464 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16465 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16466 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16467 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16468 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16469 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16470 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16471 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16472 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16473 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16474 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16475 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16498 * sysdeps/unix/sysv/linux/pread.c: Likewise.
16499 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16500 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16501 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16502 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16503 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16504 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16505 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16507 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16508 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16509 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16510 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16511 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16512 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16513 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16514 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16515 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16516 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16517 * sysdeps/unix/sysv/linux/system.c: Likewise.
16518 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16519 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16520 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16521 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16522 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16524 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16525
92072d57
JM
16526 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16527 * configure: Regenerated.
16528 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16529
3e239be6
JM
16530 * configure.ac (base_machine): Do not set specially for particular
16531 machines here.
16532 * configure: Regenerated.
16533 * sysdeps/powerpc/preconfigure: Move machine and base_machine
16534 settings from configure.ac.
16535 * sysdeps/i386/preconfigure: New file.
16536 * sysdeps/s390/preconfigure: Likewise.
16537 * sysdeps/sh/preconfigure: Likewise.
16538 * sysdeps/sparc/preconfigure: Likewise.
16539
06d50baa
RM
165402014-06-25 Roland McGrath <roland@hack.frob.com>
16541
74836003
RM
16542 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16543 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16544 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16545 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16546 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16547 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16548 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16549 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16550 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16551 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16552 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16553 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16554 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16555 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16556 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16557 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16558 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16559 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16560 * sysdeps/sparc/sparc64/Makefile: ... appended here.
16561
16562 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16563 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16564 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16565 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16566 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16567 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16568 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16569 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16570 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16571 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16572 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16573 * sysdeps/sparc/sparc32/sem_post.c: ... here.
16574 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16575 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16576 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16577 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16578 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16579 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16580 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16581 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16582 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16583 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16584 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16585 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16587 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16588 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16589 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16591 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16592 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16593 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16594 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16595 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16596 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16597 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16598 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16599 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16600
06d50baa
RM
16601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16602 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16606 Moved ...
16607 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16608 ... here.
16609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16614 Moved ...
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16617 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16619 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16621 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16623 Moved ...
16624 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16626 Moved ...
16627 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16629 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16631 Moved ...
16632 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16634 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16636 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16638 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16640 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16642 Moved ...
16643 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16644 ... here.
16645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16646 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16648 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16650 Moved ...
16651 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16653 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16655 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16657 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16659 Moved ...
16660 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16662 Moved ...
16663 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16665 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16667 Moved ...
16668 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16670 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16672 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16673
a4ccbc9b
JM
166742014-06-25 Joseph Myers <joseph@codesourcery.com>
16675
0828edbf
JM
16676 * timezone/checktab.awk: Update from tzcode 2014e.
16677 * timezone/private.h: Likewise.
16678 * timezone/tzfile.h: Likewise.
16679 * timezone/zdump.c: Likewise.
16680 * timezone/zic.c: Likewise.
16681
a4ccbc9b
JM
16682 * sysdeps/unix/sysv/linux/kernel-features.h
16683 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16685 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16686 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16687 Remove conditional code.
16688
9aea0cb8
WN
166892014-06-25 Will Newton <will.newton@linaro.org>
16690
16691 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16692 (_dl_arm_cap_flags): Add HWCAP2 values.
16693 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16694 (_DL_HWCAP_COUNT): Increase to 37.
16695 (_DL_HWCAP_LAST): New define.
16696 (_DL_HWCAP2_LAST): New define.
16697 (_dl_procinfo): Add support for printing
16698 AT_HWCAP2 entries.
16699 (_dl_string_hwcap): Use _dl_hwcap_string.
16700
6eaa65ce
AZ
167012014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16702
16703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16704
0f5b7185
JM
167052014-06-25 Joseph Myers <joseph@codesourcery.com>
16706
cfd2ea50
JM
16707 * README: Do not mention ports directory.
16708
cecf2ed4
JM
16709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16710 Remove macro.
16711 * sysdeps/unix/sysv/linux/futimes.c: Do not include
16712 <kernel-features.h>.
16713 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16714 conditional variable definition.
16715 (__futimes): Update comment.
16716 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16717 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16718
a638de82
JM
16719 [BZ #16560]
16720 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16721 arguments close to 0.
16722 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16723 Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16725 Likewise.
16726 * math/auto-libm-test-in: Add more tests of exp10.
16727 * math/auto-libm-test-out: Regenerated.
16728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16729
0f5b7185
JM
16730 * sysdeps/unix/sysv/linux/kernel-features.h
16731 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16732 * sysdeps/unix/sysv/linux/readv.c: Do not include
16733 <kernel-features.h>.
16734 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16735 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16736 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16737 unconditional.
16738 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16739 conditional code.
16740 * sysdeps/unix/sysv/linux/writev.c: Do not include
16741 <kernel-features.h>.
16742 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16743 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16744 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16745 unconditional.
16746 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16747 conditional code.
16748
c7aec4be
WN
167492014-06-25 Will Newton <will.newton@linaro.org>
16750
16751 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16752 comment changes throughout the file. Remove checks
16753 for HAVE_*_H definitions that are not required.
16754 (__gen_tempname): Call abort if an unknown kind value is
16755 passed.
16756
c5241f95
AS
167572014-06-25 Andreas Schwab <schwab@suse.de>
16758
16759 [BZ #17086]
16760 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16761 scalbln, scalblnf, scalblnl in libc.
16762
911422da
SP
167632014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
16765 [BZ #17086]
16766 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16767 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16768 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16769
0d749bbe
RM
167702014-06-24 Roland McGrath <roland@hack.frob.com>
16771
16772 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16773 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16774 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16775 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16776 Update #include.
16777 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16778 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16779 Update #include.
16780 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16781 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16782 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16783 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16784 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16785 * sysdeps/x86/bits/pthreadtypes.h: ... here.
16786 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16787 * sysdeps/x86/bits/semaphore.h: ... here.
16788 * sysdeps/x86/nptl/elide.h: Moved ...
16789 * sysdeps/x86/elide.h: ... here.
16790 * sysdeps/x86_64/nptl/Implies: File removed.
16791 * sysdeps/i386/nptl/Implies: File removed.
16792
0ea5d373
JM
167932014-06-24 Joseph Myers <joseph@codesourcery.com>
16794
4060283d
JM
16795 [BZ #16539]
16796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16797 return the argument for normal arguments with exponent below -64.
16798 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16799 Likewise.
16800 * math/auto-libm-test-in: Add another test of expm1.
16801 * math/auto-libm-test-out: Regenerated.
16802
e7dd3c8c
JM
16803 [BZ #16287]
16804 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16805 calling __erfcl for arguments at least 16.
16806 * math/auto-libm-test-in: Add more tests of erf.
16807 * math/auto-libm-test-out: Regenerated.
16808
0ea5d373
JM
16809 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16810 individual architectures.
16811 * sysdeps/unix/sysv/linux/configure: Regenerated.
16812 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16813 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16814 * sysdeps/unix/sysv/linux/powerpc/configure.ac
16815 (ldd_rewrite_script): Define variable.
16816 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16818 file.
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16820 generated file.
16821 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16822 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16823 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16824 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16825 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16826 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16827 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16828 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16829
2307e126
SP
168302014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
16832 [BZ #17084]
16833 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16834 Rename member __data.d to __data.__elision_data.
16835
c0a4ed77
W
168362014-06-24 Wilco <wdijkstr@arm.com>
16837
16838 * NEWS: Add 16918 to fixed bug list.
16839
b8c00573
W
168402014-06-24 Wilco <wdijkstr@arm.com>
16841
16842 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16843
b5570d92
W
168442014-06-24 Wilco <wdijkstr@arm.com>
16845
16846 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16847 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16848 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16849 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16850 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16851 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16852 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16853 Use _FPU_MASK_RM.
16854
947bdca2
W
168552014-06-24 Wilco <wdijkstr@arm.com>
16856
16857 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16858
00f669ed
W
168592014-06-24 Wilco <wdijkstr@arm.com>
16860
16861 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16862 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16863 * sysdeps/arm/fesetround.c (fesetround): Remove space.
16864 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16865
db59bad3
W
168662014-06-24 Wilco <wdijkstr@arm.com>
16867
16868 [BZ #16918]
16869 * sysdeps/arm/feupdateenv.c (feupdateenv):
16870 Rewrite to reduce FPSCR accesses and fix return value.
16871
001f7b77
W
168722014-06-24 Wilco <wdijkstr@arm.com>
16873
16874 * sysdeps/arm/fclrexcpt.c (feclearexcept):
16875 Optimize to avoid unnecessary FPSCR writes.
16876 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16877 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16878 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16879 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16880
4841e6a6
W
168812014-06-24 Wilco <wdijkstr@arm.com>
16882
16883 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16884 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16885 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16886 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16887 Call libc_fetestexcept_vfp.
16888 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16889 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16890 __SOFTFP__ ifdef so that they can be built for softfp.
16891
0813022c
SP
168922014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
08e5862f
SP
16894 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16895 argument type signed char.
16896
0813022c
SP
16897 * Makerules (check-abi): Dump diff of symlist if the test
16898 fails.
16899
3fc7236a
RM
169002014-06-23 Roland McGrath <roland@hack.frob.com>
16901
aba8ef95
RM
16902 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16903 using abort.
16904
3fc7236a
RM
16905 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16906 Remove unused variable ST.
16907
4da6db51
JM
169082014-06-23 Joseph Myers <joseph@codesourcery.com>
16909
4648909d
JM
16910 [BZ #16354]
16911 [BZ #17061]
16912 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16913 small arguments before calling __expm1.
16914 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16915 small arguments before calling __expm1f.
16916 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16917 small arguments before calling __expm1l.
16918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16919 Likewise.
16920 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16921 * math/auto-libm-test-in: Add more cosh tests. Do not allow
16922 spurious underflow for some cosh tests.
16923 * math/auto-libm-test-out: Regenerated.
16924 * sysdeps/i386/fpu/libm-test-ulps: Update.
16925
46a3d3c7
JM
16926 [BZ #17050]
16927 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16928 (__ieee754_y1): Set errno if return value overflows.
16929 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16930 (__ieee754_y1f): Set errno if return value overflows.
16931 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16932 (__ieee754_y1l): Set errno if return value overflows.
16933 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16934 (__ieee754_y1l): Set errno if return value overflows.
16935 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16936 * math/auto-libm-test-out: Regenerated.
16937
863893ec
JM
16938 * math/gen-auto-libm-tests.c: Document use of
16939 ignore-zero-inf-sign.
16940 (input_flag_type): Add value flag_ignore_zero_inf_sign.
16941 (input_flags): Add ignore-zero-inf-sign.
16942 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16943 * math/gen-libm-test.pl (generate_testfile): Handle
16944 ignore-zero-inf-sign.
16945 * math/auto-libm-test-in: Mark some cpow tests with
16946 ignore-zero-inf-sign and some with xfail-rounding.
16947 * math/auto-libm-test-out: Regenerated.
16948 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16949 * sysdeps/i386/fpu/libm-test-ulps: Update.
16950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951
4da6db51
JM
16952 [BZ #16315]
16953 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16954 overflowing or underflowing operations take place with sign of
16955 result.
16956 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16957 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16958 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16959 (__ieee754_pow): Recompute overflowing and underflowing results in
16960 original rounding mode.
16961 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16962 (__powl_helper): Allow negative argument X and scale negated value
16963 as needed. Avoid passing value outside [-1, 1] to f2xm1.
16964 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16965 overflowing or underflowing operations take place with sign of
16966 result.
16967 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16968 Include <math.h>.
16969 * math/auto-libm-test-in: Add more tests of pow.
16970 * math/auto-libm-test-out: Regenerated.
16971 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16972 (pow_tonearest_test_data): Remove.
16973 (pow_test_tonearest): Likewise.
16974 (pow_towardzero_test_data): Likewise.
16975 (pow_test_towardzero): Likewise.
16976 (pow_downward_test_data): Likewise.
16977 (pow_test_downward): Likewise.
16978 (pow_upward_test_data): Likewise.
16979 (pow_test_upward): Likewise.
16980 (main): Don't call removed functions.
16981 * sysdeps/i386/fpu/libm-test-ulps: Update.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16983
5686b236
RM
169842014-06-23 Roland McGrath <roland@hack.frob.com>
16985
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16987 Moved ...
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16990 Moved ...
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16993 Moved ...
16994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16996 Moved ...
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16999 File removed.
17000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17001 File removed.
17002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17003 File removed.
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17005 File removed.
17006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17007 File removed.
17008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17009 File removed.
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17011 File removed.
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17013 File removed.
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17015 File removed.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17017 File removed.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17019 File removed.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17021 File removed.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17023 Moved ...
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17026 Moved ...
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17028 ... here.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17030 Moved ...
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17033 Moved ...
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17036 Moved ...
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17039 Moved ...
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17042 Moved ...
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17045 Moved ...
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17048 Moved ...
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17052 ... here.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17054 Moved ...
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17057 Moved ...
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17059 ... here.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17061 Moved ...
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17063 ... here.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17065 Moved ...
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17067 ... here.
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17069 Moved ...
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17072 Moved ...
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17077 Moved ...
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17079 ... here.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17081 Moved ...
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17083 ... here.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17085 Moved ...
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17088 Moved ...
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17091 Moved ...
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17094 Moved ...
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17097 Moved ...
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17099 ... here.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17101 Moved ...
17102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17104 Moved ...
17105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17107 Moved ...
17108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17110 Moved ...
17111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17115 Moved ...
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17118 Moved ...
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17121 Moved ...
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17123 ... here.
17124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17125 Moved ...
17126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17127 ... here.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17129 Moved ...
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17131 ... here.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17133 Moved ...
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17136 Moved ...
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17139 Moved ...
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17142 Moved ...
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17144 ... here.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17146 Moved ...
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17148 ... here.
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17150 Moved ...
17151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17152 ... here.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17154 Moved ...
17155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17157 Moved ...
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17159
e6d90d67
WD
171602014-06-23 Will Newton <will.newton@linaro.org>
17161 Wilco <wdijkstr@arm.com>
17162
17163 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17164 implementation. Include get-rounding-mode.h.
17165 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17166 [!libc_feholdsetround_noex_ctx]: Define
17167 libc_feholdsetround_noex_ctx.
17168 [!libc_feholdsetround_noexf_ctx]: Define
17169 libc_feholdsetround_noexf_ctx.
17170 [!libc_feholdsetround_noexl_ctx]: Define
17171 libc_feholdsetround_noexl_ctx.
17172 (libc_feholdsetround_ctx): New function.
17173 (libc_feresetround_ctx): New function.
17174 (libc_feholdsetround_noex_ctx): New function.
17175 (libc_feresetround_noex_ctx): New function.
17176
d42df555
RM
171772014-06-23 Roland McGrath <roland@hack.frob.com>
17178
88a46474
RM
17179 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17180 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17181 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17182 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17183 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17184 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17185
15bed472
RM
17186 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17187 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17188 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17189 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17190 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17191 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17192 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17193 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17194 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17195 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17196 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17197 Moved ...
17198 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17199 ... here.
17200 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17201 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17205 Moved ...
17206 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17208 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17210 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17212 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17214 Moved ...
17215 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17217 Moved ...
17218 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17220 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17222 Moved ...
17223 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17227 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17228 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17229 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17233 Moved ...
17234 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17235 ... here.
17236 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17243 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17245 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17247 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17249 Moved ...
17250 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17252 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17254 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17256 Moved ...
17257 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17259 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17260 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17261 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17262
d42df555
RM
17263 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17264 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17265 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17266 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17267 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17268 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17270 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17272 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17273 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17274 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17276 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17278 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17279 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17280 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17282 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17283 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17284 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17285 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17286 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17287 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17288 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17289 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17290 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17291
76e5216e
JM
172922014-06-23 Joseph Myers <joseph@codesourcery.com>
17293
17294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17295 (FALLOC_FL_COLLAPSE_RANGE): New macro.
17296 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17297 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17298 (IPV6_PMTUDISC_INTERFACE): Likewise.
17299 (IPV6_PMTUDISC_OMIT): Likewise.
17300
7a81cbcc
AS
173012014-06-23 Andreas Schwab <schwab@suse.de>
17302
17303 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17304 Remove unused errout label.
17305
db224009
AZ
173062014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17307
17308 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17309 macro: hardware supports Vector Crypto instructions.
17310
f393b4aa
WN
173112014-06-23 Will Newton <will.newton@linaro.org>
17312
cc7d0447
WN
17313 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17314 rather than __builtin_expect.
17315
d6d06225
WN
17316 * elf/dl-lookup.c (undefined_msg): Remove variable.
17317 (_dl_lookup_symbol_x): Replace undefined_msg with string
17318 literal.
17319
f393b4aa
WN
17320 * elf/dl-lookup.c (do_lookup_unique): New function.
17321 (do_lookup_x): Move STB_GNU_UNIQUE handling code
17322 to a separate function.
17323
ac60763e
AS
173242014-06-23 Andreas Schwab <schwab@suse.de>
17325
17326 [BZ #17079]
17327 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17328 before reading the next line.
17329
c5c13355
WN
173302014-06-23 Will Newton <will.newton@linaro.org>
17331
17332 * test-skeleton.c (signal_handler): Use printf and %m
17333 rather than perror. Use printf rather than fprintf to
17334 stderr. Use puts rather than fputs to stderr.
17335 (main): Likewise.
17336
bd3675f9
LC
173372014-06-22 Ludovic Courtès <ludo@gnu.org>
17338
17339 * nscd/nscd.c (thread_info_t): Remove typedef.
17340 (thread_info): Remove variable.
17341
d03efb2f
AM
173422014-06-21 Allan McRae <allan@archlinux.org>
17343
17344 * NEWS: Mention CVE-2014-4043.
17345
bc4a86fa
RM
173462014-06-20 Roland McGrath <roland@hack.frob.com>
17347
dc9a54f8
RM
17348 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17349 * nptl/smp.h: ... here.
17350
bd7022c4
RM
17351 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17352
26ffd5e6
RM
17353 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17354 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17355 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17356 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17357
93a6d082
RM
17358 * nptl/allocatestack.c: Include <stack-aliasing.h>.
17359 * nptl/stack-aliasing.h: New file.
17360 * sysdeps/i386/i686/stack-aliasing.h: New file.
17361 * sysdeps/i386/i686/nptl/Makefile: File removed.
17362 * sysdeps/x86_64/stack-aliasing.h: New file.
17363 * sysdeps/x86_64/nptl/Makefile
17364 (CFLAGS-pthread_create.c): Variable removed.
17365
bc4a86fa
RM
17366 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17367 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17368 old file.
17369 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17370 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17371 old file.
17372
2272ffc1
JM
173732014-06-21 Joseph Myers <joseph@codesourcery.com>
17374
17375 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17376 (__ASSUME_SIGFRAME_V2): Remove macro.
17377 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17378 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17379 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17380 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17381 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17382 Declare as function. Remove conditional macro definitions.
17383 (__default_rt_sa_restorer): Likewise.
17384 (__default_sa_restorer_v1): Remove declaration.
17385 (__default_sa_restorer_v2): Likewise.
17386 (__default_rt_sa_restorer_v1): Likewise.
17387 (__default_rt_sa_restorer_v2): Likewise.
17388 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17389 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17390 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17391
4b88139b
RM
173922014-06-20 Roland McGrath <roland@hack.frob.com>
17393
17394 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17395 (libpthread-routines): Add sysdep.
17396 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17397 * sysdeps/unix/sysv/linux/sparc/Versions
17398 (libpthread: GLIBC_2.3.3): New version set.
17399 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17400 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17401 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17402 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17403 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
17404 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17405 Moved ...
17406 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17408 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17409 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17410 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17411 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17412 * sysdeps/sparc/nptl/sem_init.c: ... here.
17413 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17414 * sysdeps/sparc/nptl/sem_post.c: ... here.
17415 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17416 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17417 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17418 * sysdeps/sparc/nptl/sem_wait.c: ... here.
17419 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17420 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17421 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17422 (libpthread-routines): Add cpu_relax.
17423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17424 File removed.
17425 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17426 (librt: GLIBC_2.3.3): New version set.
17427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17428 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17429 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17430 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17433 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17435 Moved ...
17436 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17438 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17440 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17442 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17444 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17446 Moved ...
17447 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17448 Update #include.
17449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17450 Moved ...
17451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17452 Update #include.
17453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17454 Moved ...
17455 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17456 Update #include.
17457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17458 Moved ...
17459 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17460 Update #include.
17461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17462 Moved ...
17463 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17464 Update #include.
17465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17466 Moved ...
17467 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17468 Update #include.
17469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17470 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17476 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17478 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17480 Moved ...
17481 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17483 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17485 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17486
d7109027
JM
174872014-06-20 Joseph Myers <joseph@codesourcery.com>
17488
9bc6103d
JM
17489 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17490 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17491 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17492 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17493 * nscd/nscd.c: Likewise.
17494 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17495 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17496 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17497 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17498
d7109027
JM
17499 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17500 <kernel-features.h>.
17501 (init_mq_netlink): Remove conditional have_sock_cloexec
17502 definitions. Remove code conditional on have_sock_cloexec < 0.
17503 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17504 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17505 * sysdeps/unix/sysv/linux/opensock.c: Do not include
17506 <kernel-features.h>.
17507 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17508 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17509
d92d8f8a
L
175102014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17513 Add tests for memset_chk and memset.
17514
17515 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17516 with AVX2_Usable.
17517
4e6d2347
MR
175182014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17519
257ce712
MR
17520 [BZ #16046]
17521 * elf/tst-dl-iter-static.c: New file.
17522 * elf/Makefile (tests-static): Add tst-dl-iter-static.
17523
4e6d2347
MR
17524 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17525 error.
17526
a2a76afe
JM
175272014-06-20 Joseph Myers <joseph@codesourcery.com>
17528
7fd00f99
JM
17529 * sysdeps/unix/sysv/linux/kernel-features.h
17530 (__ASSUME_F_GETOWN_EX): Remove macro.
17531 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17532 <kernel-features.h>.
17533 (miss_F_GETOWN_EX): Remove variable or macro.
17534 (do_fcntl): Do not check miss_F_GETOWN_EX.
17535 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17536
4a103975
JM
17537 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17538 Remove macro.
17539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17540 [!__ASSUME_AT_RANDOM]: Remove conditional code.
17541 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17542
a2a76afe
JM
17543 * sysdeps/unix/sysv/linux/kernel-features.h
17544 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17545 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17546 [ADJ_OFFSET_SS_READ]: Make code unconditional.
17547 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17548
90e5dd48
MR
175492014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17550
17551 [BZ #17075]
17552 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17553 Fix calculation of the symbol's value.
17554 * sysdeps/arm/tst-armtlsdescloc.c: New file.
17555 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17556 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17557 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17558 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17559 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17560 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17561 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17562 (modules-names): Add `tst-armtlsdescmod',
17563 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17564 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17565 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17566 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17567 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17568 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17569 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17570 ($(objpfx)tst-armtlsdescloc): New dependency.
17571 ($(objpfx)tst-armtlsdescextnow): Likewise.
17572 ($(objpfx)tst-armtlsdescextlazy): Likewise.
17573 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17574 TLS scheme support.
17575 * sysdeps/arm/configure: Regenerate.
17576
809fdf0d
JM
175772014-06-20 Joseph Myers <joseph@codesourcery.com>
17578
17579 * include/fcntl.h (__atfct_seterrno): Remove prototype.
17580 (__atfct_seterrno_2): Likewise.
17581 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17582 <kernel-features.h>.
17583 (__ASSUME_ATFCTS): Do not undefine and redefine.
17584 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17585 (__have_atfcts): Remove conditional definition.
17586 (__fxstatat([__NR_fstatat64]: Make code unconditional.
17587 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17588 unreachable if [__ASSUME_ATFCTS].
17589 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17590 not undefine and redefine.
17591 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17592 <kernel-features.h>.
17593 (faccessat) [__NR_faccessat]: Make code unconditional.
17594 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17595 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17596 <kernel-features.h>.
17597 (fchmodat) [__NR_fchmodat]: Make code unconditional.
17598 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17599 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17600 <kernel-features.h>.
17601 (fchownat) [__NR_fchownat]: Make code unconditional.
17602 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17603 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17604 <kernel-features.h>.
17605 (futimesat) [__NR_futimesat]: Make code unconditional.
17606 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17607 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17608 <kernel-features.h>.
17609 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17610 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17611 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17612 <kernel-features.h>.
17613 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17614 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17615 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17616 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17617 <kernel-features.h>.
17618 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17619 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/linkat.c: Do not include
17621 <kernel-features.h>.
17622 (linkat) [__NR_linkat]: Make code unconditional.
17623 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17624 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17625 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17626 <kernel-features.h>.
17627 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17628 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17629 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17630 <kernel-features.h>.
17631 (mkdirat) [__NR_mkdirat]: Make code unconditional.
17632 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17633 * sysdeps/unix/sysv/linux/openat.c: Do not include
17634 <kernel-features.h>.
17635 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17636 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17637 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17638 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17640 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17641 <kernel-features.h>.
17642 (readlinkat) [__NR_readlinkat]: Make code unconditional.
17643 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
17644 result of INLINE_SYSCALL directly, not via int variable.
17645 * sysdeps/unix/sysv/linux/renameat.c: Do not include
17646 <kernel-features.h>.
17647 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17648 (renameat) [__NR_renameat]: Make code unconditional.
17649 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17650 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17651 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17652 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17653 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17654 (__ASSUME_ATFCTS): Do not undefine and redefine.
17655 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17656 <kernel-features.h>.
17657 (symlinkat) [__NR_symlinkat]: Make code unconditional.
17658 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17659 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17660 <kernel-features.h>.
17661 (unlinkat) [__NR_unlinkat]: Make code unconditional.
17662 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17663 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17664 (__ASSUME_ATFCTS): Do not undefine and redefine.
17665 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17666 <kernel-features.h>.
17667 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17668 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17669 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17670 <kernel-features.h>.
17671 (__xmknodat) [__NR_mknodat]: Make code unconditional.
17672 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17673
224c6c51
L
176742014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17675
17676 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17677
aa6ec754
AS
176782014-06-20 Andreas Schwab <schwab@linux-m68k.org>
17679
17680 [BZ #17069]
17681 * posix/regcomp.c (parse_reg_exp): Deallocate partially
17682 constructed tree before returning error.
17683 * posix/bug-regexp36.c: Expand test case.
17684
d8c2869d
SL
176852014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17686
3ef6b850
SL
17687 [BZ #6803]
17688 * math/libm-test.inc (scalbln_test_date):
17689 Add errno expectations.
17690 * math/w_scalblnf.c: New File.
17691 Add wrapper which checks for setting errno to ERANGE.
17692 Add weak_alias for corresponding scalbln function.
17693 * math/w_scalbln.c: Likewise.
17694 * math/w_scalblnl.c: Likewise.
17695 * math/Makefile (libm-calls): Add w_scalbln.
17696 * sysdeps/ieee754/flt-32/s_scalblnf.c:
17697 Remove weak_alias for corresponding scalbln function.
17698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17702 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17703 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17704 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17705 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17706 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17707 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17708 Remove long_double_symbol for scalblnl function in libm, libc.
17709 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17710 Add wrapper which checks for setting errno to ERANGE.
17711 Add long_double_symbol for scalblnl function in libm, libc.
17712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17713 Remove long_double_symbol for scalblnl in libm.
17714 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17715 Add wrapper which checks for setting errno to ERANGE.
17716 Add long_double_symbol for scalblnl function in libm.
17717 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17718 Do not use wrapper because of own implementation.
17719
c8daec5c
L
177202014-06-19 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17723 3 bytes for __pad1 for x32.
17724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17725
5c74e47c
LM
177262014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
17727 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17730 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17731 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17732 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17733 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17734
4d43ef1e
AS
177352014-06-19 Andreas Schwab <schwab@linux-m68k.org>
17736
17737 [BZ #17069]
17738 * posix/regcomp.c (parse_expression): Deallocate partially
17739 constructed tree before returning error.
17740 * posix/Makefile.c (tests): Add bug-regex36.
17741 (generated): Add bug-regex36.mtrace.
17742 (tests-special): Add $(objpfx)bug-regex36-mem.out
17743 (bug-regex36-ENV): New variable.
17744 ($(objpfx)bug-regex36-mem.out): New rule.
17745 * posix/bug-regex36.c: New file.
17746
51a7380b
WN
177472014-06-19 Will Newton <will.newton@linaro.org>
17748
17749 * malloc/malloc.c (systrim): If extra is zero then return
17750 early.
17751
91b84fe5
SP
177522014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17753
17754 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17755
f940b965
RE
177562014-06-19 Richard Earnshaw <rearnsha@arm.com>
17757
17758 * sysdeps/aarch64/strchr.S: New file.
17759
4ba7a00f
JM
177602014-06-18 Joseph Myers <joseph@codesourcery.com>
17761
17762 [BZ #17022]
17763 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17764 from arguments -2 or below.
17765 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17766 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17767
b3a9f56b
AS
177682014-06-18 Andreas Schwab <schwab@suse.de>
17769
17770 [BZ #17062]
17771 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17772 of a bracket expr not to run off the end of the string.
17773 * posix/Makefile (tests): Add tst-fnmatch3.
17774 * posix/tst-fnmatch3.c: New file.
17775
85d89278
JM
177762014-06-18 Joseph Myers <joseph@codesourcery.com>
17777
17778 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17779 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17780 [$(cross-compiling) = no]: Likewise.
17781 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17782 [$(cross-compiling) = no]: Likewise.
17783
754c5a08
RS
177842014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17785
17786 [BZ #17031]
17787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17788 double, adjusted for any remainder from the high double.
17789 * math/libm-test.inc (nearbyint): Add tests.
17790 (rint): Likewise.
17791
556f529d
AZ
177922014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17793
17794 * nptl/sysdeps/powerpc/Makefile: Moved ...
17795 * sysdeps/powerpc/nptl/Makefile: ... here.
17796 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17797 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17798 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17799 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17800 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17801 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17802 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17803 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17804 * nptl/sysdeps/powerpc/tls.h: Moved ...
17805 * sysdeps/powerpc/nptl/tls.h: ... here.
17806
91c03c53
JM
178072014-06-16 Joseph Myers <joseph@codesourcery.com>
17808
17809 [BZ #16681]
17810 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17811 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17812 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17813 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17814 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17815 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17816 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17817 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17818 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17819
a76e63c5
AS
178202014-06-17 Andreas Schwab <schwab@linux-m68k.org>
17821
17822 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17823
f2f6d82f
AS
178242014-06-16 Andreas Schwab <schwab@linux-m68k.org>
17825
ea8a15f6
AS
17826 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17827 defined operator.
17828
f2f6d82f
AS
17829 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17830 $TIMEOUTFACTOR.
17831
a7291117
FW
178322014-06-16 Florian Weimer <fweimer@redhat.com>
17833
17834 [BZ #17058]
17835 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17836 non-executed part of the test.
17837
3d7c00e3
AS
178382014-06-16 Andreas Schwab <schwab@suse.de>
17839
17840 * string/bits/string2.h (strdup, strndup): Update feature guard.
17841
6957fb31
DM
178422014-06-14 David S. Miller <davem@davemloft.net>
17843
17844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17845
11b9e55b
AS
178462014-06-14 Andreas Schwab <schwab@linux-m68k.org>
17847
1d2a0492
AS
17848 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17849 that was previously under [RESET_PID].
17850 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17851
11b9e55b
AS
17852 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17853 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17854 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17855 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17856 (__libc_vfork): New strong alias.
17857 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17858
0f6901d0
AK
178592014-06-14 Andi Kleen <ak@linux.intel.com>
17860
17861 * sysdeps/generic/elide.h: New file.
17862
38bbbb9f
SL
178632014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
17864
17865 * Makefile (installed-headers): Adjust path of pthread.h header.
17866
45193bb8
RM
178672014-06-13 Roland McGrath <roland@hack.frob.com>
17868
9a25fd1e
RM
17869 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17870 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17871 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17872 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17873
4004f7e4
RM
17874 * nptl/sysdeps/s390/Makefile: Moved ...
17875 * sysdeps/s390/nptl/Makefile: ... here.
17876 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17877 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17878 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17879 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17880 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17881 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17882 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17883 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17884 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17885 * sysdeps/s390/nptl/pthreaddef.h: ... here.
17886 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17887 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17888 * nptl/sysdeps/s390/tls.h: Moved ...
17889 * sysdeps/s390/nptl/tls.h: ... here.
17890
45193bb8
RM
17891 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17892 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17893
f6fdf533
DM
178942014-06-13 David S. Miller <davem@davemloft.net>
17895
17896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17899 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17904 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17905 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17906 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17907 Remove RESET_PID cpp guards.
17908 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17909 Remove RESET_PID cpp guards.
17910 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17911
f5d71e14
AS
179122014-06-13 Andreas Schwab <schwab@linux-m68k.org>
17913
17914 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17915 __sp to uintptr_t.
17916
b7aa8caa
AK
179172014-06-13 Andi Kleen <ak@linux.intel.com>
17918
4b266200
AZ
17919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17920 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17921 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17922 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17924 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17926 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17927 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17929 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17930 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17931 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17932 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17933 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17934 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17936 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
17939
17940 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
17941 (pthread_rwlock_rdlock): Add elision.
17942 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17943 (pthread_rwlock_wrlock): Add elision.
17944 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17945 (pthread_rwlock_trywrlock): Add elision.
17946 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17947 (pthread_rwlock_tryrdlock): Add elision.
17948 * nptl/pthread_rwlock_unlock.c: Include elide.h.
17949 (pthread_rwlock_tryrdlock): Add elision unlock.
17950 * nptl/sysdeps/pthread/pthread.h:
17951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17952 (PTHREAD_RWLOCK_INITIALIZER,
17953 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17954 Handle new elision field.
17955 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17956 * sysdeps/arm/nptl/bits/pthreadtypes.h
17957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17958 * sysdeps/sh/nptl/bits/pthreadtypes.h
17959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17960 * sysdeps/tile/nptl/bits/pthreadtypes.h
17961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17962 * sysdeps/a/nptl/bits/pthreadtypes.h
17963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17964 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17966 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17968 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17970 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17972 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17974 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17976 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17978 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17980 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17981 (elision_init): Set try_xbegin to zero when no RTM.
17982 * sysdeps/x86/nptl/bits/pthreadtypes.h
17983 (pthread_rwlock_t): Change __pad1 to __rwelision.
17984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 17985
a832bdd3
AK
179862014-06-13 Andi Kleen <ak@linux.intel.com>
17987
17988 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17989 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17990 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17991 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17992
995a46bb
MI
179932014-06-13 Meador Inge <meadori@codesourcery.com>
17994
17995 [BZ #16996]
03ed7738 17996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
17997 that the cached result has been set before returning it.
17998
45262aee
RM
179992014-06-12 Roland McGrath <roland@hack.frob.com>
18000
febf6cc5
RM
18001 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18002 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18003 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18004 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18005 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18006 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18007
e2682246
RM
18008 * nptl/sysdeps/sparc/Makefile: Moved ...
18009 * sysdeps/sparc/nptl/Makefile: ... here.
18010 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18011 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18012 * nptl/sysdeps/sparc/tls.h: Moved ...
18013 * sysdeps/sparc/nptl/tls.h: ... here.
18014 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18015 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18016 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18017 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18018 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18019 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18020 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18021 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18022 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18023 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18024 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18025 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18026 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18027 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18028 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18029 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18030 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18031 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18032 Update #include.
18033 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18035 Update #include.
18036 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18038 Update #include.
18039 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18041 Update #include.
18042
b0725f43
RM
18043 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18044
b14368b8
RM
18045 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18046 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18047
c5620eb3
RM
18048 * sysdeps/pthread/posix-timer.h: Include <list.h>.
18049 (struct list_links): Type removed.
18050 (struct thread_node, struct timer_node): Replace struct list_links
18051 with struct list_head.
18052 (list_unlink_ip): Likewise.
18053 * sysdeps/pthread/timer_routines.c
18054 (timer_free_list, thread_free_list, thread_active_list): Likewise.
18055 (list_append, list_insbefore): Likewise.
18056 (list_init): Function removed.
18057 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
18058 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18059 * sysdeps/pthread/Makefile: ... here, new file.
18060
18061 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18062 * sysdeps/nptl/Implies: ... here.
18063 * sysdeps/unix/sysv/linux/Implies: Add nptl.
18064 * nptl/sysdeps/pthread/list.h: Moved ...
18065 * include/list.h: ... here.
18066 * nptl/sysdeps/pthread/createthread.c: Moved ...
18067 * nptl/createthread.c: ... here.
18068 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18069 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18070 * nptl/pt-longjmp.c: ... here.
18071 * nptl/sysdeps/pthread/Makefile: Moved ...
18072 * sysdeps/nptl/Makefile: ... here.
18073 * nptl/sysdeps/pthread/Subdirs: Moved ...
18074 * sysdeps/nptl/Subdirs: ... here.
18075 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18076 * sysdeps/nptl/aio_misc.h: ... here.
18077 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18078 * sysdeps/nptl/bits/libc-lock.h: ... here.
18079 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18080 * sysdeps/nptl/bits/libc-lockP.h: ... here.
18081 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18082 * sysdeps/nptl/bits/stdio-lock.h: ... here.
18083 * nptl/sysdeps/pthread/configure: Moved ...
18084 * sysdeps/nptl/configure: ... here.
18085 * nptl/sysdeps/pthread/configure.ac: Moved ...
18086 * sysdeps/nptl/configure.ac: ... here.
18087 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18088 * sysdeps/nptl/gai_misc.h: ... here.
18089 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18090 * sysdeps/nptl/librt-cancellation.c: ... here.
18091 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18092 * sysdeps/nptl/malloc-machine.h: ... here.
18093 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18094 * sysdeps/nptl/pthread-functions.h: ... here.
18095 * nptl/sysdeps/pthread/pthread.h: Moved ...
18096 * sysdeps/nptl/pthread.h: ... here.
18097 * nptl/sysdeps/pthread/setxid.h: Moved ...
18098 * sysdeps/nptl/setxid.h: ... here.
18099 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18100 * sysdeps/nptl/sigfillset.c: ... here.
18101 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18102 * sysdeps/nptl/tcb-offsets.h: ... here.
18103 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18104 * sysdeps/nptl/tst-mqueue8x.c: ... here.
18105 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18106 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18107 * nptl/sysdeps/pthread/allocalim.h: Moved ...
18108 * sysdeps/pthread/allocalim.h: ... here.
18109 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18110 * sysdeps/pthread/bits/sigthread.h: ... here.
18111 * nptl/sysdeps/pthread/flockfile.c: Moved ...
18112 * sysdeps/pthread/flockfile.c: ... here.
18113 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18114 * sysdeps/pthread/ftrylockfile.c: ... here.
18115 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18116 * sysdeps/pthread/funlockfile.c: ... here.
18117 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18118 * sysdeps/pthread/posix-timer.h: ... here.
18119 * nptl/sysdeps/pthread/timer_create.c: Moved ...
18120 * sysdeps/pthread/timer_create.c: ... here.
18121 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18122 * sysdeps/pthread/timer_delete.c: ... here.
18123 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18124 * sysdeps/pthread/timer_getoverr.c: ... here.
18125 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18126 * sysdeps/pthread/timer_gettime.c: ... here.
18127 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18128 * sysdeps/pthread/timer_routines.c: ... here.
18129 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18130 * sysdeps/pthread/timer_settime.c: ... here.
18131 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18132 * sysdeps/pthread/tst-timer.c: ... here.
18133 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18134 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18135
e876b090
RM
18136 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18137 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18138
f6b07b3d
RM
18139 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18140 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18141 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18142 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18143 Update #include target.
18144 * nptl/sysdeps/i386/i686/Makefile: Moved ...
18145 * sysdeps/i386/i686/nptl/Makefile: ... here.
18146 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18147 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18148 Update #include target.
18149 * nptl/sysdeps/i386/i686/tls.h: Moved ...
18150 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
18151 * nptl/sysdeps/i386/Makefile: Moved ...
18152 * sysdeps/i386/nptl/Makefile: ... here.
18153 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18154 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18155 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18156 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18157 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18158 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18159 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18160 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18161 * sysdeps/i386/nptl/pthreaddef.h: ... here.
18162 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18163 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18164 * nptl/sysdeps/i386/tls.h: Moved ...
18165 * sysdeps/i386/nptl/tls.h: ... here.
18166
45262aee
RM
18167 * sysdeps/sh/Makefile [$(subdir) = csu]
18168 (gen-as-const-headers): Add tcb-offsets.sym.
18169 * nptl/sysdeps/sh/Makefile: File removed.
18170 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18171 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18172 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18173 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18174 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18175 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18176 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18177 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18178 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18179 * sysdeps/sh/nptl/pthreaddef.h: ... here.
18180 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18181 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18182 * nptl/sysdeps/sh/tls.h: Moved ...
18183 * sysdeps/sh/nptl/tls.h: ... here.
18184 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18185 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18186 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18187 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18188 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18189 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18190 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18191 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18192 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18193 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18195 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18196 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18197 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18198 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18199 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18200 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18201 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18203 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18204 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18205 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18207 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18209 Moved ...
18210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18212 Moved ...
18213 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18215 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18217 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18218 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18219 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18220 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18221 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18222 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18223 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18224 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18225 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18226 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18227 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18228 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18229 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18230 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18231 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18232
35a5e3e3
SL
182332014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18234
18235 * posix/spawn_faction_addopen.c: Include string.h.
18236
14642b85
RM
182372014-06-11 Roland McGrath <roland@hack.frob.com>
18238
18239 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18240 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18241 * nptl/sysdeps/x86_64/Makefile: Moved ...
18242 * sysdeps/x86_64/nptl/Makefile: ... here.
18243 * nptl/sysdeps/x86_64/configure: Moved ...
18244 * sysdeps/x86_64/nptl/configure: ... here.
18245 * nptl/sysdeps/x86_64/configure.ac: Moved ...
18246 * sysdeps/x86_64/nptl/configure.ac: ... here.
18247 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18248 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18249 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18250 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18251 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18252 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18253 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18254 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18255 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18256 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18257 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18258 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18259 * nptl/sysdeps/x86_64/tls.h: Moved ...
18260 * sysdeps/x86_64/nptl/tls.h: ... here.
18261 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18262 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18263 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18264 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18265
18266 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18267
31c44fea
AZ
182682014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18269
18270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18271
e81a4f9a
JM
182722014-06-11 Joseph Myers <joseph@codesourcery.com>
18273
18274 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18275 type.
18276 [POSIX] (off_t): Likewise.
18277 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18278 [POSIX] (S_ISBLK): Require macro.
18279 [POSIX] (S_ISCHR): Likewise.
18280 [POSIX] (S_ISDIR): Likewise.
18281 [POSIX] (S_ISFIFO): Likewise.
18282 [POSIX] (S_ISREG): Likewise.
18283 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18284 optional-macro.
18285 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18286 type.
18287 [POSIX] (time_t): Likewise.
18288 [POSIX] (timer_t): Likewise.
18289
89e435f3
FW
182902014-06-11 Florian Weimer <fweimer@redhat.com>
18291
18292 [BZ #17048]
18293 * posix/spawn_int.h (struct __spawn_action): Make the path string
18294 non-const to support deallocation.
18295 * posix/spawn_faction_addopen.c
18296 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18297 * posix/spawn_faction_destroy.c
18298 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
18299 path in all spawn_do_open actions.
18300 * posix/tst-spawn.c (do_test): Exercise the copy operation in
18301 posix_spawn_file_actions_addopen.
18302
c3a2ebe1
CM
183032014-06-11 Chris Metcalf <cmetcalf@tilera.com>
18304
18305 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18306 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18307 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18308 conditional code always true.
18309 (__libc_vfork): New alias.
18310
9503784a
RM
183112014-06-11 Roland McGrath <roland@hack.frob.com>
18312
c9cab3d2
RM
18313 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18314 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18315
d3996c79
RM
18316 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18317
ba5ec611
RM
18318 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18319 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18320
f12b4814
RM
18321 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18322 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18323
9503784a
RM
18324 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18325 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18326
e23d3d26
VR
183272014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18328
18329 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18330 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18331 multiarch strcmp for PPC64.
18332 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18333 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18335 multiarch optimizations.
18336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18337 (__libc_ifunc_impl_list): Likewise.
18338
42b1161e
SP
183392014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18340
18341 * benchtests/scripts/validate_benchout.py: New script.
18342 * benchtests/Makefile (bench-func): Call it.
18343 * benchtests/scripts/benchout.schema.json: New file.
18344
2d0fc4dc
CM
183452014-06-10 Chris Metcalf <cmetcalf@tilera.com>
18346
4a594c34
AZ
18347 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18348 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18349 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18350 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18351 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18352 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18353 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18354 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18355 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18356 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18357 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18358 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18359 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18360 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18361 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 18364 Moved ...
4a594c34 18365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 18366 ... here.
4a594c34 18367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 18368 Moved ...
4a594c34
AZ
18369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 18371 Moved ...
4a594c34 18372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 18373 ... here.
4a594c34 18374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 18375 Moved ...
4a594c34 18376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 18377 ... here.
4a594c34 18378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 18379 Moved ...
4a594c34
AZ
18380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 18382 Moved ...
4a594c34 18383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 18384 ... here.
4a594c34 18385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 18386 Moved ...
4a594c34 18387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 18388 ... here.
4a594c34 18389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 18390 Moved ...
4a594c34
AZ
18391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 18393 Moved ...
4a594c34 18394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 18395 ... here.
4a594c34 18396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 18397 Moved ...
4a594c34 18398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 18399 ... here.
4a594c34 18400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 18401 Moved ...
4a594c34 18402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 18403 ... here.
4a594c34 18404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 18405 Moved ...
4a594c34
AZ
18406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 18408 Moved ...
4a594c34 18409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 18410 ... here.
4a594c34 18411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 18412 Moved ...
4a594c34 18413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 18414 ... here.
4a594c34 18415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 18416 Moved ...
4a594c34 18417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 18418 ... here.
4a594c34 18419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 18420 Moved ...
4a594c34
AZ
18421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 18423 Moved ...
4a594c34 18424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 18425 ... here.
4a594c34 18426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 18427 Moved ...
4a594c34 18428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 18429 ... here.
4a594c34 18430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 18431 Moved ...
4a594c34
AZ
18432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 18434 Moved ...
4a594c34 18435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 18436 ... here.
4a594c34 18437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 18438 Moved ...
4a594c34
AZ
18439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 18441 Moved ...
4a594c34
AZ
18442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 18444 Moved ...
4a594c34 18445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 18446 ... here.
4a594c34 18447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 18448 Moved ...
4a594c34 18449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 18450 ... here.
4a594c34 18451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 18452 Moved ...
4a594c34 18453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 18454 ... here.
4a594c34 18455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 18456 Moved ...
4a594c34
AZ
18457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 18459 Moved ...
4a594c34 18460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 18461 ... here.
4a594c34 18462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 18463 Moved ...
4a594c34 18464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 18465 ... here.
4a594c34
AZ
18466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18467 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18469 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 18471 Moved ...
4a594c34 18472 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 18473 ... here.
4a594c34
AZ
18474 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18475 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18476 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18477 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18479 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18481 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18483 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18485 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 18487 Moved ...
4a594c34
AZ
18488 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 18490 Moved ...
4a594c34
AZ
18491 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18493 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 18495 Moved ...
4a594c34
AZ
18496 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18498 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18500 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18501 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18502 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 18503
0570cfed
W
185042014-06-10 Wilco <wdijkstr@arm.com>
18505
18506 * math/test-fenv-return.c: New file.
18507 * math/Makefile: Add new test test-fenv-return.
18508
f8ba1b56
JM
185092014-06-10 Joseph Myers <joseph@codesourcery.com>
18510
18511 [BZ #17042]
18512 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18513 when x - 1 is zero.
18514 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18515 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18516 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18517 0.0L for an argument of 1.0L.
18518 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18519 Likewise.
18520 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18521 value when x - 1 is zero.
18522 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18523 * sysdeps/i386/fpu/libm-test-ulps: Update.
18524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525
2c3520d9
BO
185262014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
18527
18528 [BZ #15119]
18529 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18530
acaa4d24
RM
185312014-06-09 Roland McGrath <roland@hack.frob.com>
18532
18533 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18534 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18535
962b744d
RM
185362014-06-09 Roland McGrath <roland@hack.frob.com>
18537
d752f0cc
RM
18538 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18539 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18540
34eda6d1
RM
18541 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18542 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18543
50f0a637
RM
18544 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18545 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18546
08f41f04
RM
18547 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18548 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18549
962b744d
RM
18550 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18551 if not already defined.
18552 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18553 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18554 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18555 (TLS_INIT_TP): Use it.
18556 (TLS_DEFINE_INIT_TP): New macro.
18557 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18558
09f19b05
JM
185592014-06-09 Joseph Myers <joseph@codesourcery.com>
18560
18561 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18562 constant.
18563 [POSIX] (IXANY): Likewise.
18564 [POSIX] (OLCUC): Likewise.
18565 [POSIX || POSIX2008] (CBAUD): Do not allow.
18566 [POSIX || POSIX2008] (DEFECHO): Likewise.
18567 [POSIX || POSIX2008] (ECHOCTL): Likewise.
18568 [POSIX || POSIX2008] (ECHOKE): Likewise.
18569 [POSIX || POSIX2008] (ECHOPRT): Likewise.
18570 [POSIX || POSIX2008] (EXTA): Likewise.
18571 [POSIX || POSIX2008] (EXTB): Likewise.
18572 [POSIX || POSIX2008] (FLUSHO): Likewise.
18573 [POSIX || POSIX2008] (LOBLK): Likewise.
18574 [POSIX || POSIX2008] (PENDIN): Likewise.
18575 [POSIX || POSIX2008] (SWTCH): Likewise.
18576 [POSIX || POSIX2008] (VDISCARD): Likewise.
18577 [POSIX || POSIX2008] (VDSUSP): Likewise.
18578 [POSIX || POSIX2008] (VLNEXT): Likewise.
18579 [POSIX || POSIX2008] (VREPRINT): Likewise.
18580 [POSIX || POSIX2008] (VSTATUS): Likewise.
18581 [POSIX || POSIX2008] (VWERASE): Likewise.
18582 (B*): Change to B[0123456789]*.
18583 * conform/data/time.h-data [POSIX || UNIX98]
18584 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18585 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18586 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18587 [POSIX] (tm_*): Do not allow.
18588
686554bf
JM
185892014-06-07 Joseph Myers <joseph@codesourcery.com>
18590
18591 * Makefile (install): Don't set LANGUAGE.
18592 * Makefile.in (install): Likewise.
18593 * assert/Makefile (test-assert-ENV): Remove variable.
18594 (test-assert-perr-ENV): Likewise.
18595 * elf/Makefile (neededtest4-ENV): Likewise.
18596 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18597 [$(cross-compiling) = no]: Don't set LANGUAGE.
18598 * io/ftwtest-sh (LANG): Remove variable.
18599 * libio/Makefile (tst-widetext-ENV): Likewise.
18600 * manual/install.texi (Running make install): Don't refer to
18601 environment settings for make install.
18602 * INSTALL: Regenerated.
18603 * nptl/tst-tls6.sh: Don't set LANG.
18604 * posix/globtest.sh (LANG): Remove variable.
18605 * string/Makefile (tester-ENV): Likewise.
18606 (inl-tester-ENV): Likewise.
18607 (noinl-tester-ENV): Likewise.
18608 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18609 [$(cross-compiling) = no]: Don't set LANGUAGE.
18610 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18611 without explicit environment settings.
18612
68e6b6b1
RM
186132014-06-06 Roland McGrath <roland@hack.frob.com>
18614
18615 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18616 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18617 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18618 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18619
4d3ae034
CM
186202014-06-06 Chris Metcalf <cmetcalf@tilera.com>
18621
18622 * crypt/crypt-private.h [DOS]: Add some includes taken from the
18623 other files in the crypt directory.
18624 * crypt/crypt.c: Remove duplicate includes.
18625 * crypt/crypt-entry.c: Likewise.
18626 * crypt/crypt_util.c: Likewise.
18627
8540f6d2
JM
186282014-06-06 Joseph Myers <joseph@codesourcery.com>
18629
18630 * Makeconfig (run-program-env): New variable.
18631 (run-program-prefix-before-env): Likewise.
18632 (run-program-prefix-after-env): Likewise.
18633 (run-program-prefix): Define in terms of new variables.
18634 (built-program-cmd-before-env): New variable.
18635 (built-program-cmd-after-env): Likewise.
18636 (built-program-cmd): Define in terms of new variables.
18637 (test-program-prefix-before-env): New variable.
18638 (test-program-prefix-after-env): Likewise.
18639 (test-program-prefix): Define in terms of new variables.
18640 (test-program-cmd-before-env): New variable.
18641 (test-program-cmd-after-env): Likewise.
18642 (test-program-cmd): Define in terms of new variables.
18643 * Rules (make-test-out): Use $(run-program-env).
18644 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18645 (help): Do not mention environment variables. Mention
18646 --timeoutfactor option.
18647 (timeoutfactor): New variable.
18648 (blacklist_exports): Remove function.
18649 (exports): Remove variable.
18650 (command): Do not include ${exports}.
18651 * manual/install.texi (Configuring and compiling): Do not mention
18652 test wrappers preserving environment variables. Mention that last
18653 assignment to a variable must take precedence.
18654 * INSTALL: Regenerated.
18655 * benchtests/Makefile (run-bench): Use $(run-program-env).
18656 * catgets/Makefile ($(objpfx)test1.cat): Use
18657 $(built-program-cmd-before-env), $(run-program-env) and
18658 $(built-program-cmd-after-env).
18659 ($(objpfx)test2.cat): Do not specify environment variables
18660 explicitly.
18661 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18662 $(run-program-env) and $(built-program-cmd-after-env).
18663 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18664 $(run-program-env) and $(test-program-cmd-after-env).
18665 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18666 explicitly.
18667 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18668 run_program_env and test_program_cmd_after_env arguments.
18669 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18670 * elf/tst-pathopt.sh: Use run_program_env argument.
18671 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18672 $(test-wrapper-env) and $(run-program-env).
18673 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18674 run_program_env arguments.
18675 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18676 * intl/Makefile ($(objpfx)tst-gettext.out): Use
18677 $(test-program-prefix-before-env), $(run-program-env) and
18678 $(test-program-prefix-after-env).
18679 ($(objpfx)tst-gettext2.out): Likewise.
18680 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18681 run_program_env and test_program_prefix_after_env arguments.
18682 * intl/tst-gettext2.sh: Likewise.
18683 * intl/tst-gettext4.sh: Do not set environment variables
18684 explicitly.
18685 * intl/tst-gettext6.sh: Likewise.
18686 * intl/tst-translit.sh: Likewise.
18687 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18688 $(test-program-prefix-before-env), $(run-program-env) and
18689 $(test-program-prefix-after-env).
18690 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18691 run_program_env and test_program_prefix_after_env arguments.
18692 * math/Makefile (run-regen-ulps): Use $(run-program-env).
18693 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18694 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
18695 explicitly with each use of ${test_wrapper_env}.
18696 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18697 $(test-program-prefix-before-env), $(run-program-env) and
18698 $(test-program-prefix-after-env).
18699 * posix/tst-getconf.sh: Do not set environment variables
18700 explicitly.
18701 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18702 run_program_env and test_program_prefix_after_env arguments.
18703 * stdio-common/tst-printf.sh: Do not set environment variables
18704 explicitly.
18705 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18706 $(test-program-prefix-before-env), $(run-program-env) and
18707 $(test-program-prefix-after-env).
18708 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18709 run_program_env and test_program_prefix_after_env arguments.
18710 Split $test calls into $test_pre and $test.
18711 * timezone/Makefile (build-testdata): Use
18712 $(built-program-cmd-before-env), $(run-program-env) and
18713 $(built-program-cmd-after-env).
18714
ed36bfa1
AZ
187152014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18716
18717 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18718 strlen for non SHARED builds.
18719
fc75bf46
SP
187202014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18721
18722 * nptl/allocatestack.c (check_list): Inlined function...
18723 (__reclaim_stacks): ... here.
18724
d89b3d80
OB
187252014-06-05 Ondřej Bílka <neleai@seznam.cz>
18726
18727 [BZ #15698]
18728 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18729 memory overrun.
18730
2bf18041
JM
187312014-06-05 Joseph Myers <joseph@codesourcery.com>
18732
18733 * Rules (make-test-out): Include
18734 LOCPATH=$(common-objpfx)localedata in default environment.
18735 * debug/Makefile (tst-chk1-ENV): Remove variable.
18736 (tst-chk2-ENV): Likewise.
18737 (tst-chk3-ENV): Likewise.
18738 (tst-chk4-ENV): Likewise.
18739 (tst-chk5-ENV): Likewise.
18740 (tst-chk6-ENV): Likewise.
18741 (tst-lfschk1-ENV): Likewise.
18742 (tst-lfschk2-ENV): Likewise.
18743 (tst-lfschk3-ENV): Likewise.
18744 (tst-lfschk4-ENV): Likewise.
18745 (tst-lfschk5-ENV): Likewise.
18746 (tst-lfschk6-ENV): Likewise.
18747 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18748 (tst-iconv7-ENV): Likewise.
18749 * intl/Makefile (LOCPATH-ENV): Likewise.
18750 (tst-codeset-ENV): Likewise.
18751 (tst-gettext3-ENV): Likewise.
18752 (tst-gettext5-ENV): Likewise.
18753 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18754 (tst-fopenloc-ENV): Likewise.
18755 (tst-fgetws-ENV): Remove variable.
18756 (tst-ungetwc1-ENV): Likewise.
18757 (tst-ungetwc2-ENV): Likewise.
18758 (bug-ungetwc2-ENV): Likewise.
18759 (tst-swscanf-ENV): Likewise.
18760 (bug-ftell-ENV): Likewise.
18761 (tst-fgetwc-ENV): Likewise.
18762 (tst-fseek-ENV): Likewise.
18763 (tst-ftell-partial-wide-ENV): Likewise.
18764 (tst-ftell-active-handler-ENV): Likewise.
18765 (tst-ftell-append-ENV): Likewise.
18766 * posix/Makefile (tst-fnmatch-ENV): Likewise.
18767 (tst-regexloc-ENV): Likewise.
18768 (bug-regex1-ENV): Likewise.
18769 (tst-regex-ENV): Likewise.
18770 (tst-regex2-ENV): Likewise.
18771 (bug-regex5-ENV): Likewise.
18772 (bug-regex6-ENV): Likewise.
18773 (bug-regex17-ENV): Likewise.
18774 (bug-regex18-ENV): Likewise.
18775 (bug-regex19-ENV): Likewise.
18776 (bug-regex20-ENV): Likewise.
18777 (bug-regex22-ENV): Likewise.
18778 (bug-regex23-ENV): Likewise.
18779 (bug-regex25-ENV): Likewise.
18780 (bug-regex26-ENV): Likewise.
18781 (bug-regex30-ENV): Likewise.
18782 (bug-regex32-ENV): Likewise.
18783 (bug-regex33-ENV): Likewise.
18784 (bug-regex34-ENV): Likewise.
18785 (bug-regex35-ENV): Likewise.
18786 (tst-rxspencer-ENV): Likewise.
18787 (tst-rxspencer-no-utf8-ENV): Likewise.
18788 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18789 (tst-sscanf-ENV): Likewise.
18790 (tst-swprintf-ENV): Likewise.
18791 (tst-swscanf-ENV): Likewise.
18792 (test-vfprintf-ENV): Likewise.
18793 (scanf13-ENV): Likewise.
18794 (bug14-ENV): Likewise.
18795 (tst-grouping-ENV): Likewise.
18796 * stdlib/Makefile (tst-strtod-ENV): Likewise.
18797 (tst-strtod3-ENV): Likewise.
18798 (tst-strtod4-ENV): Likewise.
18799 (tst-strtod5-ENV): Likewise.
18800 (testmb2-ENV): Likewise./
18801 * string/Makefile (tst-strxfrm-ENV): Likewise.
18802 (tst-strxfrm2-ENV): Likewise.
18803 (bug-strcoll1-ENV): Likewise.
18804 (test-strcasecmp-ENV): Likewise.
18805 (test-strncasecmp-ENV): Likewise.
18806 * time/Makefile (tst-strptime-ENV): Likewise.
18807 (tst-ftime_l-ENV): Likewise.
18808 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18809 (tst-mbrtowc-ENV): Likewise.
18810 (tst-wcrtomb-ENV): Likewise.
18811 (tst-mbrtowc2-ENV): Likewise.
18812 (tst-c16c32-1-ENV): Likewise.
18813 (tst-mbsnrtowcs-ENV): Likewise.
18814
cd1fb604
OB
188152014-06-05 Ondřej Bílka <neleai@seznam.cz>
18816
18817 * manual/resource.texi (How to get information about the memory
18818 subsystem?): Fix typo.
18819 Reported by Peon de la Parra Ivan <peon@keba.com>
18820
b42eca7d
GY
188212014-06-03 Guo Yixuan <culu.gyx@gmail.com>
18822
18823 [BZ #16882]
18824 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18825 (pthread_spin_lock): Branch out of spin loop to proper location.
18826 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18827 (pthread_spin_lock): Likewise.
18828
902b71f9
DM
18829 * nptl/tst-spin4.c: New test.
18830 * nptl/Makefile (tests): Add tst-spin4.
18831
f9d2d032
AS
188322014-06-03 Andreas Schwab <schwab@suse.de>
18833
18834 [BZ #15946]
18835 * resolv/res_send.c (send_dg): Reload file descriptor after
18836 calling reopen.
18837
cf7bfd28
SL
188382014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
18839
18840 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18841
111cc714
RH
188422014-06-03 Richard Henderson <rth@redhat.com>
18843
89b4bd6b
RH
18844 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18845 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18846 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18847 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
18848 in the SAVE_PID block.
18849 (__libc_vfork): New alias.
71840409 18850 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 18851
111cc714
RH
18852 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18853 child in registers, not on the stack. Remove RESET_PID conditionals.
18854 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18855
ccc39911
MS
188562014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
18857
18858 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18859
693096cc
W
188602014-06-03 Wilco <wdijkstr@arm.com>
18861
18862 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18863 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18864 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18865 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18866 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18867 Likewise.
18868
0b4366bc
W
188692014-06-03 Wilco <wdijkstr@arm.com>
18870
18871 * sysdeps/aarch64/fpu/math_private.h
18872 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18873 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18874 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18875 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18876 Fix declarations.
18877
8747cd03
KS
188782014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18879
18880 * crypt/crypt-private.h: Include ufc-crypt.h.
18881 (__b64_from_24bit): Declare extern.
18882 * crypt/crypt_util.c(__b64_from_24bit): New function.
18883 (b64t): New static const variable.
18884 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18885 (b64t): Remove variable.
18886 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18887 * crypt/sha256-crypt.c: Include crypt-private.h.
18888 (b64t): Remove variable.
18889 (__sha256_crypt_r): Remove b64_from_24bit and replace
18890 with __b64_from_24bit.
18891 * crypt/sha512-crypt.c: Likewise.
18892
d936d379
RM
188932014-06-02 Roland McGrath <roland@hack.frob.com>
18894
18895 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18896 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18897 Label the code __libc_vfork rather than __vfork.
18898 [!NOT_IN_libc] (vfork): Define as weak alias.
18899 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18900 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18901 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18902
9fa76613
SP
189032014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18904
18905 * malloc/malloc.c (malloc_info): Fix format specifier for
18906 n_mmaps.
18907
a88dadbe
W
189082014-06-02 Wilco <wdijkstr@arm.com>
18909
18910 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18911 FPCR write.
18912
c95b3011
W
189132014-06-02 Wilco <wdijkstr@arm.com>
18914
18915 [BZ #17009]
18916 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18917 Rewrite to reduce FPCR/FPSR accesses.
18918
6b4d7a90
DM
189192014-06-01 David S. Miller <davem@davemloft.net>
18920
18921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18922
30f3d07c
DM
189232014-05-31 David S. Miller <davem@davemloft.net>
18924
18925 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18926 to occur in round to nearest mode when |x| >= 2.0
18927
74f31c18
RH
189282014-05-30 Richard Henderson <rth@twiddle.net>
18929
f0712b54
RH
18930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18931 (PSEUDO_RET_NOERRNO): Remove.
18932 (ret): Don't redefine.
18933 (ret_NOERRNO): Define in terms of ret.
18934 (ret_ERRVAL): Likewise.
18935
74f31c18
RH
18936 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18937 use of PSEUDO_RET; perform the error check directly.
18938
30477995
MM
189392014-05-30 Marko Myllynen <myllynen@redhat.com>
18940
18941 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18942 with __int128_t.
18943
62a58816
SP
189442014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18945
18946 * malloc/malloc (malloc_info): Fix formatting.
18947
4d653a59
SP
189482014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18949 Roland McGrath <roland@hack.frob.com>
18950
18951 * malloc/malloc (malloc_info): Also print mmapped statistics.
18952
5190c17f
RM
189532014-05-30 Roland McGrath <roland@hack.frob.com>
18954
18955 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18956 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18957
987c0269
OB
189582014-05-30 Ondřej Bílka <neleai@seznam.cz>
18959
18960 * malloc/malloc.c (malloc_info): Inline mi_arena.
18961
af4e8ef9
RH
189622014-05-29 Richard Henderson <rth@twiddle.net>
18963
1670e207
RH
18964 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18965 Remove comma before expanding ASM_ARGS_##nr.
18966 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18967 Make _x0 a strict output; make _x8 a strict input; adjust expansion
18968 of ASM_ARGS_##nr.
18969 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18970 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18971 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18972 (ASM_ARGS_1): Add leading comma.
18973
11a28aee
RH
18974 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18975 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18976 to __errno_location.
18977 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18978 Remove the expected plt for __errno_location.
18979
a17e5ffb 18980 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 18981 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
18982 call to __read_tp.
18983
b5be4597
RH
18984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18985 Always allocate 64 bytes of stack frame. Use ldp/stp to create
18986 it and break it down.
18987 (DOCARGS_0, DOCARGS_1): Do nothing.
18988 (DOCARGS_2): Update to store into the new stack frame.
18989 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18990 (UNDOCARGS_1): Update to restore from the new stack frame.
18991 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18992 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18993
645d44ab
RH
18994 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18995 (SINGLE_THREAD_P): New parameter for result regno.
18996 (PSEUDO): Update to match; use cbz instead of beq.
18997
a8b4f04a
RH
18998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18999 Use ENTRY to define the _nocancel entry point. Share the syscall
19000 and syscall error check paths with the cancel path.
19001 (PSEUDO_END): New.
19002
af4e8ef9
RH
19003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19004 whitespace; tabs before and after asm mnemonics.
19005
26b0d2e1
EW
190062014-05-29 Eric Wong <normalperson@yhbt.net>
19007
19008 [BZ #15132]
19009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19010 Call fstat64 or stat64 internally, depending on arguments passed.
19011 Replace stat buffer argument with file descriptor argument.
19012 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19013 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19014 Pass fd to __internal_statvfs instead of calling fstat64.
19015 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19016 Pass fd to __internal_statvfs64 instead of calling fstat64.
19017 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19018 Pass -1 to __internal_statvfs instead of calling stat64.
19019 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19020 Pass -1 to __internal_statvfs64 instead of calling stat64.
19021
1efe2bd9
RM
190222014-05-28 Roland McGrath <roland@hack.frob.com>
19023
0d3b7a19
RM
19024 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19025 that was previously under [RESET_PID].
19026 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19027
1efe2bd9
RM
19028 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19029 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19030
a6bea3ca
RM
190312014-05-27 Roland McGrath <roland@hack.frob.com>
19032
30b6629e
RM
19033 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19034
a6bea3ca
RM
19035 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19036 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19037
3dfb9a5c
OB
190382014-05-27 Ondřej Bílka <neleai@seznam.cz>
19039
19040 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19041
774f9285
AS
190422014-05-27 Andreas Schwab <schwab@suse.de>
19043
19044 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19045 TLS_INIT_TP macro.
19046 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19047 * elf/rtld.c (init_tls, dl_main): Likewise.
19048 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19049 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19050 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19051 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19052 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19053 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19054 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19055 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19056 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19057 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19058 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19059 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19060 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19061 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19062 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19063 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19064 * sysdeps/generic/tls.h: Update description.
19065
36ffe739
WN
190662014-05-27 Will Newton <will.newton@linaro.org>
19067
19068 [BZ #16990]
19069 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19070 and restore r2 rather than just restoring.
19071
2482ae43
SP
190722014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19073
19074 [BZ #16724]
19075 * libio/tst-ftell-append.c: New test case.
19076 * libio/Makefile (tests): Add test case.
19077 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19078 append mode.
19079 * libio/wfileops.c (do_ftell_wide): Likewise.
19080
3d1024e8
AZ
190812014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19082
bab90016
AZ
19083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19084
c7a8d667
AZ
19085 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19086 ...
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19089 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19090 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19091 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19092 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19093 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19094 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19096 Moved ...
19097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19099 Moved ...
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19101 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19102 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19103 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19104 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19105 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19106 ...
19107 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19109 Moved ...
19110 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19111 here.
19112 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19113 ...
19114 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19115 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19116 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19117
daee7851
AZ
19118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19119 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19121 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19122
50a40819
AZ
19123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19124 merge into ...
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19127 ...
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19130 ...
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19133 Moved ...
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19135 here.
19136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19137 Moved ...
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19140 Moved ...
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19142
8464c2a1
AZ
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19144 conditional [RESET_PID].
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19147 removed.
19148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19149 removed.
19150
3d1024e8
AZ
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19152 <tcb-offsets.h>.
19153 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19154 (__libc_vfork): New strong alias.
19155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19156 removed.
19157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19158 Removed.
19159
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19161 <tcb-offsets.h>.
19162 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19163 (__libc_vfork): New strong alias.
19164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19165 removed.
19166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19167 removed.
19168
fdfd175d
CD
191692014-05-26 Carlos O'Donell <carlos@redhat.com>
19170
19171 * malloc/malloc.c (mi_arena): New function.
19172 (malloc_info): Remove nested function mi_arena. Call non-nosted
19173 function mi_arena.
19174
d298c416
AZ
191752014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19176
19177 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19178 by insrwi.
19179 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19180 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19181 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19182 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19183 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19184 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19186
b60ea6ff
AS
191872014-05-26 Andreas Schwab <schwab@suse.de>
19188
19189 [BZ #16984]
19190 * locale/programs/repertoire.c (repertoire_read): Add slash
19191 between I18NPATH element and file name.
19192 * locale/programs/locfile.c (locfile_read): Likewise.
19193
67365926
SL
191942014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
19195
19196 * nptl/pthread_mutexattr_settype.c
19197 (__pthread_mutexattr_settype):
19198 Disable lock elision for PTHREAD_MUTEX_NORMAL.
19199
f8bdf1f0
SL
192002014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
19201
19202 * nptl/tst-mutex5 (do_test):
19203 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19204
15eaf6ff
SP
192052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19206
19207 * benchtests/README: Document 'init' directive.
19208 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19209 BENCH_INIT.
19210 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19211 (parse_file): Recognize 'init' directive.
19212
75f11331
KM
192132014-05-26 Kyle McMartin <kyle@redhat.com>
19214
19215 [BZ #16796]
19216 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19217 alignment of struct pthread.
19218
c3ec475c
SP
192192014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19220
19221 [BZ #16878]
19222 * nscd/netgroupcache.c (addgetnetgrentX): Look for
19223 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19224 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19225 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19226
82aab97c
RH
192272014-05-25 Richard Henderson <rth@twiddle.net>
19228
aa2f176d
RH
19229 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19230 (SINGLE_THREAD_P_PIC): Remove.
19231 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19232 (SINGLE_THREAD_P_PIC): Remove.
19233
ca3cfa40
RH
19234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19235 branch to syscall error ...
19236 (PSEUDO): ... here.
19237 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19238 from __local_syscall_error to .Lsyscall_error.
19239 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19240 (SYSCALL_ERROR): Update label name.
19241
6e6c2d01
RH
19242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19243 Do not use DOARGS/UNDOARGS.
19244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19245 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19246 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19247 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19248 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19249
c69abcee
RH
19250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19251 block comment.
19252
82aab97c
RH
19253 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19254 define if !NOT_IN_libc.
19255 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19256 define with non-default symbol versions.
19257
8820e3ac
RH
192582014-05-23 Richard Henderson <rth@twiddle.net>
19259
900e445f
RH
19260 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19261 (vfork, __vfork): Define via compat_symbol.
19262
8820e3ac
RH
19263 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19264 [!HAVE_IFUNC] (vfork_compat): Remove.
19265 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19266
e59252a5
JM
192672014-05-23 Joseph Myers <joseph@codesourcery.com>
19268
19269 [BZ #16978]
19270 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19271 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19272 variable.
19273
132c7f5f
RH
192742014-05-23 Richard Henderson <rth@twiddle.net>
19275
bc89e962
RH
19276 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19277 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19278 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19279 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19280
19281 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19282 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19283 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19284 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19285 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19286 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19287 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19288 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19289 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19290 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19291 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19292 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19293 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19294 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19295 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19296 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19297 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19298 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19299 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19300 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19301 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19302 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19303 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19304 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19305 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19307 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19308 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19309 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19310 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19311 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19312 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19313 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19314 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19315 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19316 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19317 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19318 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19319 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19320 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19321 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19322 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19323 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19324 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19325 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19326 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19327 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19328 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19329 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19330 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19331 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19332 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19334 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19336 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19337
e2fa4bc2
RH
19338 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19339 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19340 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
19341 before exiting on error.
19342 (__libc_vfork): New strong alias.
19343 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19344 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19345
279b24e2
RH
19346 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19347 that was previously under [RESET_PID].
19348 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19349
132c7f5f
RH
19350 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19351
b72592e7
JM
193522014-05-23 Joseph Myers <joseph@codesourcery.com>
19353
19354 [BZ #16977]
19355 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19356 value when x - 1 is zero.
19357 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19358 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19359 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19360 0.0L for an argument of 1.0L.
19361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19362 Likewise.
19363 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19364 value when x - 1 is zero.
19365 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368
2302d679
RV
193692014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
19370
19371 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19372 alphasort and versionsort.
19373
32999d63
AZ
193742014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19377 macro.
19378 [copysignf]: Likewise.
19379
019324d0
SP
193802014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19381
19382 * crypt/md5-crypt.c: Fix formatting.
19383
34fff5c2
KS
193842014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19385
19386 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19387 (b64_from_24bit): New function.
19388
3d2badac
AZ
193892014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19390
19391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19392 libc_hidden_builtin_def to ifunc.
19393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19394 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19395
f7bb179f 193962014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
19397
19398 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19399 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19400
4134b50d
JM
194012014-05-21 Joseph Myers <joseph@codesourcery.com>
19402
bb7d0337
JM
19403 * nscd/Depend (linuxthreads): Remove.
19404 (nptl): Add.
19405 * resolv/Depend (linuxthreads): Remove.
19406 * rt/Depend (linuxthreads): Remove.
19407
4134b50d
JM
19408 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19409 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19410 $(common-objpfx)elf/.
19411 (link-libc-before-gnulib): Likewise.
19412 (elfobjdir): Remove variable.
19413 * Makefile (install): Use $(elf-objpfx) instead of
19414 $(common-objpfx)elf/.
19415 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19416 $(elfobjdir)/.
19417 (link-libc-deps): Likewise.
19418 ($(common-objpfx)libc.so): Likewise.
19419 ($(common-objpfx)linkobj/libc.so): Likewise.
19420 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19421 instead of $(common-objpfx)elf/.
19422 (symbolic-link-list): Likewise.
19423 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19424 [$(cross-compiling) = no]: Likewise.
19425 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19426 $(elfobjdir)/.
19427 (static-gnulib-arch): Likewise.
19428 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19429 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19430 $(common-objpfx)elf/.
19431
3612eb8f
RH
194322014-05-21 Richard Henderson <rth@redhat.com>
19433
a6b3657b
RH
19434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19435 (SINGLE_THREAD_P): Use the correct width load. Fold
19436 into the ldr offset.
19437
3612eb8f
RH
19438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19439 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19440
175cef41
JM
194412014-05-20 Joseph Myers <joseph@codesourcery.com>
19442
19443 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19444 (libgcc_s_resume): Use __attribute_used__.
19445 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19446 Likewise.
19447
e13bccd3
AZ
194482014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19449
19450 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19451 optimization when used with float constants.
19452
7c112a38
AZ
19453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19454
ae75a883
AJ
194552014-05-20 Aurelien Jarno <aurelien@aurel32.net>
19456
19457 [BZ #16915]
19458 * locale/nl_langinfo_l.c: Make direct reference to every
19459 _nl_current_CATEGORY symbol.
19460 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19461 (tests-static): Add tst-langinfo-static.
19462 (tests-special): Add tst-langinfo-static.out.
19463 ($(objpfx)tst-langinfo.out): Redirect output.
19464 ($(objpfx)tst-langinfo-static.out): New.
19465 * localedata/tst-langinfo.sh: Send output to stdout.
19466 * localedata/tst-langinfo-static.c: New file.
19467
4406c41c
AJ
19468 [BZ #16965]
19469 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19470 when the shift amount is modulo the limb size.
19471
4c0a1e63
RH
194722014-05-20 Richard Henderson <rth@redhat.com>
19473
de9d8f20
RH
19474 [BZ #16967]
19475 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19476 Change type of sa_flags from unsigned int to int.
19477
4c0a1e63
RH
19478 [BZ #16966]
19479 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
19480
19481 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19482
a60339aa
WN
194832014-05-20 Will Newton <will.newton@linaro.org>
19484
19485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19486 Test the return value of the system call in the nocancel case.
19487
7d05a816
YR
194882014-05-20 Will Newton <will.newton@linaro.org>
19489 Yvan Roux <yvan.roux@linaro.org>
19490
19491 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19492 #include of asm/ptrace.h.
19493 (PTRACE_GET_THREAD_AREA): Remove #undef.
19494 (PTRACE_GETHBPREGS): Likewise.
19495 (PTRACE_SETHBPREGS): Likewise.
19496 (struct user_regs_struct): New structure.
19497 (struct user_fpsimd_struct): New structure.
19498 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19499 #include of asm/ptrace.h and second #include of sys/user.h.
19500 (PTRACE_GET_THREAD_AREA): Remove #undef.
19501 (PTRACE_GETHBPREGS): Likewise.
19502 (PTRACE_SETHBPREGS): Likewise.
19503 (ELF_NGREG): Use new struct user_regs_struct.
19504 (elf_fpregset_t): Use new struct user_fpsimd_struct.
19505
af121e37
AZ
195062014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19507
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19510
834caf06
JM
195112014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19512
19513 [BZ #16958]
19514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19515 membar to avoid block loads/stores to overlap previous stores.
19516
e184a918
RH
195172014-05-17 Richard Henderson <rth@redhat.com>
19518
19519 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19520 Create the __##syscall_name##_nocancel entry point.
19521 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19522 Remove; let the sysdep-cancel.h code create it.
19523
f56c7a6a
DM
195242014-05-17 David S. Miller <davem@davemloft.net>
19525
19526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19527 Protect with __USE_GNU.
19528 (TIOCSET_TEMPT): Likewise.
19529 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19530 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19531 these are already provided in bits/ioctl-types.h
19532
f75616b2
RM
195332014-05-16 Roland McGrath <roland@hack.frob.com>
19534
3edeca86
RM
19535 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19536 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19537
f75616b2
RM
19538 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19539 Use wait4 regardless of [__NR_waitpid].
19540
deb0f7f6
MR
195412014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19542
19543 PR libgcc/60166
19544 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19545 (_FP_NANSIGN_Q): Set the quiet bit.
19546
79520f4b
JM
195472014-05-16 Joseph Myers <joseph@codesourcery.com>
19548
19549 * benchtests/Makefile
19550 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19551 not $(common-objpfx)math/libm.so.
19552 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19553 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19554 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19555 $(common-objpfx)dlfcn/libdl.so.
19556 ($(objpfx)tst-audit8): Depend on $(libm), not
19557 $(common-objpfx)math/libm.so.
19558 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19559 not $(common-objpfx)dlfcn/libdl.so.
19560 * math/Makefile
19561 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19562 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
19563 [$(build-shared) = yes].
19564 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19565 $(common-objpfx)nptl/libpthread.so.
19566 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19567 $(common-objpfx)math/libm.so$(libm.so-version) or
19568 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19569 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19570 $(common-objpfx)dlfcn/libdl.so.
19571 * setjmp/Makefile (link-libm): Remove variable.
19572 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19573 * stdio-common/Makefile (link-libm): Remove variable.
19574 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19575 * stdlib/Makefile (link-libm): Remove variable.
19576 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19577 ($(objpfx)tst-strtod-round): Likewise.
19578 ($(objpfx)tst-tininess): Likewise.
19579 ($(objpfx)tst-strtod-underflow): Likewise.
19580 ($(objpfx)tst-strtod6): Likewise.
19581 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19582 $(libdl), not $(common-objpfx)nptl/libpthread.so and
19583 $(common-objpfx)dlfcn/libdl.so.
19584
026b0fe4
AZ
195852014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19586
19587 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19588 BSD terminal modes definitions.
19589
def4bcb2
RM
195902014-05-16 Roland McGrath <roland@hack.frob.com>
19591
fe39b021
RM
19592 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19593 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19594
1d1fc46e 19595 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
19596 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19597 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19598 Don't do #include_next.
19599 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19600 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19601 Don't do #include_next.
19602 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19603 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19604 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19605 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19606
c72399fb
AM
196072014-05-16 Allan McRae <allan@archlinux.org>
19608
d51d659d
AM
19609 * po/sv.po: Update Swedish translation from translation project.
19610
c72399fb
AM
19611 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19612 in sed expression.
19613
d0583c40
AJ
196142014-05-16 Aurelien Jarno <aurelien@aurel32.net>
19615
19616 [BZ #16917]
19617 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19618 errno if the TIOCGPTN ioctl fails with an error different than
19619 EINVAL.
19620 * login/tst-ptsname.c: New file.
19621 * login/Makefile (tests): Add tst-ptsname.
19622
d16e6ec7
AJ
19623 [BZ #16943]
19624 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19625 and prlimit64.
19626
cf26a0cb
SP
196272014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19628
19629 [BZ #16849]
19630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19631 herrno to return EAI_AGAIN.
19632
5675da1e
RM
196332014-05-14 Roland McGrath <roland@hack.frob.com>
19634
a5d87b3d
RM
19635 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19636 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19637 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19638 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19639 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19640 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19641 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19642 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19644 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19645 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19646 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19647 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19648 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19649 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19650 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19651 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19652 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19653 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19654 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19655 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19656 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19657 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19658 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19659 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19660 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19661 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19662 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19663 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19664 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19666 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19668 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19670 Moved ...
19671 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19673 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19675 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19677 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19679 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19681 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19683 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19685 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19687 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19689 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19691 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19693 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19695 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19697 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19699 Moved ...
19700 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19702 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19704 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19706 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19708 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19712 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19714 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19716 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19718 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19720 Moved ...
19721 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19723 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19724
039890a6
RM
19725 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19726 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19727 (libpthread-sysdep_routines): Add elision-related stuff here instead.
19728 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19729 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19730 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19731 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19732 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19733 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19734 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19735 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19736 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19737 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19738 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19739 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19740 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19741 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19742 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19743 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19744 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19745 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19746 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19747 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19748 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19749 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19750 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19751 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19752 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19753 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19754 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19755 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19756
65c89320
RM
19757 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19758 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19759
348f8e8c
RM
19760 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19761 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19762 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19763 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19764 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19766 Moved ...
19767 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19769 Moved ...
19770 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19772 Moved ...
19773 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19775 Moved ...
19776 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19777 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19778 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19780 Moved ...
19781 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19782 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19783 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19786 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19787 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19789 Moved ...
19790 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19792 Moved ...
19793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19794 ... here.
19795 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19796 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19797 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19798 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19800 Moved ...
19801 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19802 ... here.
19803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19804 Moved ...
19805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19806 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19807 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19808 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19809 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19811 Moved ...
19812 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19814 Moved ...
19815 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19817 Moved ...
19818 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19820 Moved ...
19821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19822 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19823 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19825 Moved ...
19826 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19827 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19828 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19831 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19832 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19834 Moved ...
19835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19837 Moved ...
19838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19839 ... here.
19840 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19841 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19842 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19843 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19845 Moved ...
19846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19847 ... here.
19848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19849 Moved ...
19850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19851 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19852 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19853 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19854 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19855 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19856 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19858 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19859 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19860 Moved ...
19861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19863 Moved ...
19864 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19866 Moved ...
19867 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19869 Moved ...
19870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19871 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19872 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19873 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19874 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19876 Moved ...
19877 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19878 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19879 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19880 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19882 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19883 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19885 Moved ...
19886 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19888 Moved ...
19889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19890 ... here.
19891 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19892 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19893 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19894 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19896 Moved ...
19897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19898 ... here.
19899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19900 Moved ...
19901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19902 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19903 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19904 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19905 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19906 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19907 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19908 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19909 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19910 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19911 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19912
5085af05
RM
19913 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19914 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19915
708f0813
RM
19916 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19917 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19918
c96067bc
RM
19919 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19920 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19921 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19922 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19923 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19924 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19925 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19926 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19927 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19928 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19929 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19930 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19931 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19932 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19933 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19935 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19937 Moved ...
19938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19942 Moved ...
19943 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19945 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19947 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19951 Moved ...
19952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19954 Moved ...
19955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19959 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19961 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19962 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19963 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19964 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19965 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19966 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19967 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19968 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19969 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19970 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19971 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19972
ec136444
RM
19973 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19974 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19975 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19976 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19977 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19978
2fbdf533
RM
19979 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19980 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19981 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19982 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19983 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19984 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19985 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19986 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19987 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19988 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19989
4c68138b
RM
19990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19992
4eaae765
RM
19993 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19994 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
19995 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19996 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19997 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19998 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19999 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20000 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20001 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20002 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20003 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20004 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20005 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20006 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20007 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20008 Update #include.
20009 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20010 Likewise.
20011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20012 Likewise.
20013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20014 Likewise.
20015 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20016 Likewise.
20017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20018 Likewise.
20019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20020 Likewise.
20021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20022 Likewise.
20023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20024 Likewise.
20025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20026 Likewise.
4ef6befa
RM
20027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20029 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
20032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20034 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20037 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20038 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20039 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
20041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 20042
941d7dfd
RM
20043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20044 that was previously under [RESET_PID].
20045 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20046 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20047 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20048
1b731c35
RM
20049 * sysdeps/i386/nptl/Implies: New file.
20050 * sysdeps/x86_64/nptl/Implies: New file.
20051 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20052 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20053 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20054 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20055
e2787137
RM
20056 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20057 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20058 (__libc_vfork): New strong alias.
20059 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20060 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20061
20062 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20063 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20064 (__libc_vfork): New strong alias.
20065 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20066 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20067
5675da1e
RM
20068 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20070 (__libc_vfork): New strong alias.
20071 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20072 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20073 * nptl/pt-vfork.c: New file.
20074 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20075 (libpthread: GLIBC_2.20): New version set (empty).
20076
4f02e2b8
WN
200772014-05-14 Will Newton <will.newton@linaro.org>
20078
20079 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20080 rather than #if.
20081
0bf061d3
JM
200822014-05-14 Joseph Myers <joseph@codesourcery.com>
20083
1a84c3d6
JM
20084 [BZ #16564]
20085 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20086 arguments with exponent 65 or above.
20087 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20088 arguments 0x1p113L or above.
20089 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20090 to arguments 0x1p107L or above.
20091 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20092 positive arguments with exponent 65 or above.
20093 * math/auto-libm-test-in: Add more tests of log1p.
20094 * math/auto-libm-test-out: Regenerated.
20095
01dbacd2
JM
20096 [BZ #16928]
20097 * math/s_cacos.c (__cacos): Ensure zero real part of result from
20098 non-finite arguments is +0.
20099 * math/s_cacosf.c (__cacosf): Likewise.
20100 * math/s_cacosl.c (__cacosl): Likewise.
20101 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20102 * sysdeps/i386/fpu/libm-test-ulps: Update.
20103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20104
913d03c8
JM
20105 [BZ #16927]
20106 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20107 value.
20108 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20109 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20110 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20111 for explicit high bit of mantissa when testing for argument equal
20112 to 1.
20113 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20114 * sysdeps/i386/fpu/libm-test-ulps: Update.
20115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20116
0bf061d3
JM
20117 [BZ #16516]
20118 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20119 (__erf): Scale by 16 instead of 8 in potentially underflowing
20120 case. Ensure exception if result actually underflows.
20121 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20122 (__erff): Scale by 16 instead of 8 in potentially underflowing
20123 case. Ensure exception if result actually underflows.
20124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20125 (efx8): Remove variable.
20126 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20127 case. Ensure exception if result actually underflows.
20128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20129 (efx8): Remove variable.
20130 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20131 case. Ensure exception if result actually underflows.
20132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20133 (efx8): Remove variable.
20134 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20135 case. Ensure exception if result actually underflows.
20136 * math/auto-libm-test-in: Add more tests of erf.
20137 * math/auto-libm-test-out: Regenerated.
20138
73ba67cb
AS
201392014-05-14 Andreas Schwab <schwab@suse.de>
20140
3d8c8bff
AS
20141 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20142 Remove code conditionalized on USE___THREAD.
20143
73ba67cb
AS
20144 * config.h.in (HAVE_PT_CHOWN): Define as 0.
20145 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20146 not definedness.
20147
5c521ecd
JM
201482014-05-14 Joseph Myers <joseph@codesourcery.com>
20149
5e7698c6
JM
20150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20151 Define unconditionally.
20152 (__ASSUME_O_CLOEXEC): Likewise.
20153 (__ASSUME_SOCK_CLOEXEC): Likewise.
20154 (__ASSUME_IN_NONBLOCK): Likewise.
20155 (__ASSUME_PIPE2): Likewise.
20156 (__ASSUME_EVENTFD2): Likewise.
20157 (__ASSUME_SIGNALFD4): Likewise.
20158 (__ASSUME_DUP3): Likewise.
20159 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20160 (__ASSUME_DUP3): Do not define.
20161 (__ASSUME_EVENTFD2): Likewise.
20162 (__ASSUME_IN_NONBLOCK): Likewise.
20163 (__ASSUME_O_CLOEXEC): Likewise.
20164 (__ASSUME_PIPE2): Likewise.
20165 (__ASSUME_SIGNALFD4): Likewise.
20166 (__ASSUME_SOCK_CLOEXEC): Likewise.
20167 (__ASSUME_UTIMES): Undefine.
20168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20169 (__ASSUME_UTIMES): Do not define.
20170 (__ASSUME_O_CLOEXEC): Likewise.
20171 (__ASSUME_SOCK_CLOEXEC): Likewise.
20172 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20173 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20174 0x020621].
20175 (__ASSUME_PIPE2): Likewise.
20176 (__ASSUME_EVENTFD2): Likewise.
20177 (__ASSUME_SIGNALFD4): Likewise.
20178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20179 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20180 Do not define.
20181 (__ASSUME_EVENTFD2): Likewise.
20182 (__ASSUME_SIGNALFD4): Likewise.
20183 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20184 (__ASSUME_32BITUIDS): Likewise.
20185 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20186 (__ASSUME_IPC64): Likewise.
20187 (__ASSUME_ST_INO_64_BIT): Likewise.
20188 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20189 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20191 (__ASSUME_UTIMES): Do not define.
20192 (__ASSUME_PSELECT): Likewise.
20193 (__ASSUME_PPOLL): Likewise.
20194 (__ASSUME_O_CLOEXEC): Likewise.
20195 (__ASSUME_SOCK_CLOEXEC): Likewise.
20196 (__ASSUME_IN_NONBLOCK): Likewise.
20197 (__ASSUME_PIPE2): Likewise.
20198 (__ASSUME_EVENTFD2): Likewise.
20199 (__ASSUME_SIGNALFD4): Likewise.
20200 (__ASSUME_DUP3): Likewise.
20201 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20202 (__ASSUME_UTIMES): Likewise.
20203 (__ASSUME_O_CLOEXEC): Likewise.
20204 (__ASSUME_SOCK_CLOEXEC): Likewise.
20205 (__ASSUME_IN_NONBLOCK): Likewise.
20206 (__ASSUME_PIPE2): Likewise.
20207 (__ASSUME_EVENTFD2): Likewise.
20208 (__ASSUME_SIGNALFD4): Likewise.
20209 (__ASSUME_DUP3): Likewise.
20210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20211 (__ASSUME_UTIMES): Likewise.
20212 (__ASSUME_O_CLOEXEC): Likewise.
20213 (__ASSUME_SOCK_CLOEXEC): Likewise.
20214 (__ASSUME_IN_NONBLOCK): Likewise.
20215 (__ASSUME_PIPE2): Likewise.
20216 (__ASSUME_EVENTFD2): Likewise.
20217 (__ASSUME_SIGNALFD4): Likewise.
20218 (__ASSUME_DUP3): Likewise.
20219 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20220 Likewise.
20221 (__ASSUME_UTIMES): Likewise.
20222 (__ASSUME_EVENTFD2): Likewise.
20223 (__ASSUME_SIGNALFD4): Likewise.
20224 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20225 (__ASSUME_O_CLOEXEC): Likewise.
20226 (__ASSUME_SOCK_CLOEXEC): Likewise.
20227 (__ASSUME_IN_NONBLOCK): Likewise.
20228 (__ASSUME_PIPE2): Likewise.
20229 (__ASSUME_EVENTFD2): Likewise.
20230 (__ASSUME_SIGNALFD4): Likewise.
20231 (__ASSUME_DUP3): Likewise.
20232 (__ASSUME_UTIMES): Undefine.
20233
5c521ecd
JM
20234 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20235 feclearexcept. Remove symbol versioning code.
20236 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
20237 symbol versioning code.
20238 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
20239 symbol versioning code.
20240 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20241 feupdateenv. Remove symbol versioning code.
20242 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20243 fegetexceptflag. Remove symbol versioning code.
20244 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20245 fesetexceptflag. Remove symbol versioning code.
20246 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20247 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
20248 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20249 (__posix_fadvise64_l32): Remove prototype.
20250 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20251 code.
20252
5da9dfad
RM
202532014-05-13 Roland McGrath <roland@hack.frob.com>
20254
20255 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20256 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20257 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20258 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20259
893b4f37
SK
202602014-05-13 Sami Kerola <kerolasa@iki.fi>
20261
20262 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20263 current working directory
20264
e0db6517
RM
202652014-05-13 Roland McGrath <roland@hack.frob.com>
20266
58aa195d
RM
20267 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20268 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20269 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20270 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20271 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20272 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20273 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20274 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20275 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20276 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20277 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20278 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20279 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20280 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20281 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20282 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20283 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20284 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20285 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20286 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20287 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20288 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20289 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20290 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20291 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20292 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20293 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20294 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20295 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20296 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20297 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20298 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20299 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20300 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20301 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20302 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20303 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20304 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20305 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20306 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20307 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20308 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20309
8c6d01f0
RM
20310 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20311 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20312
20313 * sysdeps/unix/sysv/linux/arm/Makefile
20314 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20315 Add rt-aeabi_unwind_cpp_pr1.
20316 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20317 Add nptl-aeabi_unwind_cpp_pr1.
20318 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20319 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20320 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20321 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20322 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20323 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20324
20325 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20326 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20327 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20328 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20329
bba6da4e
RM
20330 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20331 Deconditionalize the code that was previously under [RESET_PID].
20332 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20333
e0db6517
RM
20334 * sysdeps/generic/exit-thread.h: New file.
20335 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20336 * include/unistd.h (__exit_thread): Remove declaration.
20337 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20338 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20339 * csu/libc-start.c: Include <exit-thread.h>.
20340 (LIBC_START_MAIN): Pass no argument to __exit_thread.
20341 * nptl/pthread_create.c: Include <exit-thread.h>.
20342 (start_thread): Call __exit_thread in place of __exit_thread_inline.
20343 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20344 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20345 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20346 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20347 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20348 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20349 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20350 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20351 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20352 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20353 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20354 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20355 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20356 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20357 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20358 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20359
01eb16fd
AS
203602014-05-13 Andreas Schwab <schwab@suse.de>
20361
20362 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20363
637461d9
JM
203642014-05-12 Joseph Myers <joseph@codesourcery.com>
20365
20366 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20367 (__ASSUME_UTIMES): Do not condition on kernel version.
20368 (__ASSUME_PSELECT): Define unconditionally.
20369 (__ASSUME_PPOLL): Likewise.
20370 (__ASSUME_ATFCTS): Likewise.
20371 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20372 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20373 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20374 (__ASSUME_UTIMENSAT): Define unconditionally.
20375 (__ASSUME_PRIVATE_FUTEX): Likewise.
20376 (__ASSUME_FALLOCATE): Likewise.
20377 (__ASSUME_O_CLOEXEC): Likewise.
20378 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20379 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20380 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20381 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20382 (__ASSUME_IN_NONBLOCK): Likewise.
20383 (__ASSUME_PIPE2): Likewise.
20384 (__ASSUME_EVENTFD2): Likewise.
20385 (__ASSUME_SIGNALFD4): Likewise.
20386 (__ASSUME_DUP3): Likewise.
20387 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20388 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20389 (__ASSUME_AT_RANDOM): Likewise.
20390 (__ASSUME_PREADV): Likewise.
20391 (__ASSUME_PWRITEV): Likewise.
20392 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20393 (__ASSUME_F_GETOWN_EX): Define unconditionally.
20394 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20395 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20396 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20397 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20398 (__ASSUME_O_CLOEXEC): Define unconditionally.
20399 (__ASSUME_PSELECT): Do not undefine conditionally.
20400 (__ASSUME_PPOLL): Likewise.
20401 (__ASSUME_ATFCTS): Likewise.
20402 (__ASSUME_SET_ROBUST_LIST): Likewise.
20403 (__ASSUME_UTIMENSAT): Likewise.
20404 (__ASSUME_FDATASYNC): Define unconditionally.
20405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20406 (__ASSUME_SIGFRAME_V2): Likewise.
20407 )__ASSUME_EVENTFD2): Likewise.
20408 (__ASSUME_SIGNALFD4): Likewise.
20409 (__ASSUME_PSELECT): Do not undefine conditionally.
20410 (__ASSUME_PPOLL): Likewise.
20411 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20412 (__ASSUME_PSELECT): Define unconditionally.
20413 (__ASSUME_PPOLL): Likewise.
20414 (__ASSUME_O_CLOEXEC): Likewise.
20415 (__ASSUME_SOCK_CLOEXEC): Likewise.
20416 (__ASSUME_IN_NONBLOCK): Likewise.
20417 (__ASSUME_PIPE2): Likewise.
20418 (__ASSUME_EVENTFD2): Likewise.
20419 (__ASSUME_SIGNALFD4): Likewise.
20420 (__ASSUME_DUP3): Likewise.
20421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20422 (__ASSUME_O_CLOEXEC): Likewise.
20423 (__ASSUME_SOCK_CLOEXEC): Likewise.
20424 (__ASSUME_IN_NONBLOCK): Likewise.
20425 (__ASSUME_PIPE2): Likewise.
20426 (__ASSUME_EVENTFD2): Likewise.
20427 (__ASSUME_SIGNALFD4): Likewise.
20428 (__ASSUME_DUP3): Likewise.
20429 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20430 (__ASSUME_EVENTFD2): Likewise.
20431 (__ASSUME_SIGNALFD4): Likewise.
20432 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20433
315eb1d8
AS
204342014-05-12 Andreas Schwab <schwab@suse.de>
20435
20436 [BZ #16932]
20437 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20438 (_nss_nis_gethostbyname4_r): Return error if item length is larger
20439 than maximum RPC packet size.
20440 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20441 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20442 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20443 (_nss_nis_getservbyport_r): Likewise.
20444
91df99f7
WN
204452014-05-12 Will Newton <will.newton@linaro.org>
20446
20447 * malloc/Makefile (tests): Add tst-mallopt.
20448 * malloc/tst-mallopt.c: New file.
20449
0a982a29
RM
204502014-05-09 Roland McGrath <roland@hack.frob.com>
20451
20452 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20453 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20454
0ded08a5
AZ
204552014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20456
20457 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20458 (tst-tlsmod6.so): Likewise.
20459
55d4d550
RM
204602014-05-09 Roland McGrath <roland@hack.frob.com>
20461
20462 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20463
77d08aca
JM
204642014-05-09 Joseph Myers <joseph@codesourcery.com>
20465
20466 [BZ #16064]
20467 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20468 and <dl-procinfo.h>.
20469 (__fegetenv): Save SSE state in envp->__eip if supported.
20470 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20471 envp->__eip if supported.
20472 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20473 and <dl-procinfo.h>.
20474 (__fesetenv): Always set __eip, __cs_selector, __opcode,
20475 __data_offset and __data_selector in environment to 0. Set SSE
20476 state if supported.
20477 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20478 test-fenv-sse.
20479 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20480 -mfpmath=sse.
20481 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20482
28162f4d
WN
204832014-05-09 Will Newton <will.newton@linaro.org>
20484
20485 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20486 and libc_relro_required for ARM.
20487 * sysdeps/arm/preconfigure: Regenerate.
20488
5a414ff7
DV
204892014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
20490 Stefan Liebler <stli@linux.vnet.ibm.com>
20491
20492 * config.make.in (enable-lock-elision): New Makefile variable.
20493 * configure.ac: Likewise.
20494 * configure: Regenerate.
20495 * sysdeps/s390/configure.ac:
20496 Add check for gcc transactions support.
20497 * sysdeps/s390/configure: Regenerate.
20498 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20499 Build elision files if enabled.
20500 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20501 Add lock elision support for s390.
20502 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20503 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20504 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20505 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20506 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20507 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20508 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20509 Likewise.
20510 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20511 Likewise.
20512 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20513 Likewise.
20514 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20515 Likewise.
20516 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20517 (__lll_timedlock_elision, __lll_lock_elision)
20518 (__lll_unlock_elision, __lll_trylock_elision)
20519 (lll_timedlock_elision, lll_lock_elision)
20520 (lll_unlock_elision, lll_trylock_elision): Add.
20521 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20522 (pthread_mutex_t): Add lock elision support for s390.
20523
1a2f40e5
W
205242014-05-14 Wilco <wdijkstr@arm.com>
20525
20526 * sysdeps/arm/fclrexcpt.c: Cleanup.
20527 * sysdeps/arm/fedisblxcpt.c: Cleanup.
20528 * sysdeps/arm/feenablxcpt.c: Cleanup.
20529 * sysdeps/arm/fegetenv.c: Cleanup.
20530 * sysdeps/arm/fegetexcept.c: Cleanup.
20531 * sysdeps/arm/fegetround.c: Cleanup.
20532 * sysdeps/arm/feholdexcpt.c: Cleanup.
20533 * sysdeps/arm/fesetenv.c: Cleanup.
20534 * sysdeps/arm/fesetround.c: Cleanup.
20535 * sysdeps/arm/feupdateenv.c: Cleanup.
20536 * sysdeps/arm/fgetexcptflg.c: Cleanup.
20537 * sysdeps/arm/fraiseexcpt.c: Cleanup.
20538 * sysdeps/arm/fsetexcptflg.c: Cleanup.
20539 * sysdeps/arm/ftestexcept.c: Cleanup.
20540 * sysdeps/arm/get-rounding-mode.h: Cleanup.
20541 * sysdeps/arm/setfpucw.c: Cleanup.
20542
f63c86fe
WN
205432014-05-09 Will Newton <will.newton@linaro.org>
20544
20545 * sysdeps/arm/armv7/strcmp.S: New file.
20546 * NEWS: Mention addition of ARMv7 optimized strcmp.
20547
7a1a51b5
RM
205482014-05-08 Roland McGrath <roland@hack.frob.com>
20549
95afbbe5
RM
20550 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20551 look for %.ac rather than %.in.
20552
20553 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20554 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20555 * sysdeps/mach/hurd/configure: Regenerated.
20556 * sysdeps/unix/sysv/linux/configure: Regenerated.
20557
7a1a51b5
RM
20558 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20559
5057ad3b
SE
205602014-05-07 Steve Ellcey <sellcey@mips.com>
20561
20562 [BZ# 16922]
20563 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20564 (LONG_SUB): Ditto.
20565 (PTR_SUB): Ditto.
20566
8dc97517
AS
205672014-05-07 Andreas Schwab <schwab@suse.de>
20568
20569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20570 when skipping over non-matching result from nscd.
20571
ce0c5b8f
OB
205722014-05-07 Ondřej Bílka <neleai@seznam.cz>
20573
20574 [BZ #16876]
20575 * nptl/sockperf.c (client): Check socket return value.
8dc97517 20576
a1189263
OB
20577 [BZ #16877]
20578 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20579 nscd security class.
ce0c5b8f 20580
0f58d252
RM
205812014-05-06 Roland McGrath <roland@hack.frob.com>
20582
20583 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20584 * sysdeps/arm/unwind.h: ... here.
20585
83df9ad0
AJ
205862014-05-06 Aurelien Jarno <aurelien@aurel32.net>
20587
ce0c5b8f
OB
20588 [BZ# 16916]
20589 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20590 Define.
83df9ad0 20591
f360f94a
VR
205922014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20593
20594 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20595 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20596 multiarch strncpy for PPC64.
20597 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20598 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20600 multiarch optimizations.
20601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20602 (__libc_ifunc_impl_list): Likewise.
20603 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20604 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20605 multiarch stpncpy for PPC64.
20606 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20608
978a41c3
AS
206092014-05-06 Andreas Schwab <schwab@suse.de>
20610
20611 [BZ #16912]
20612 * gmon/mcount.c (_MCOUNT_DECL): Use
20613 atomic_compare_and_exchange_bool_acq instead of
20614 catomic_compare_and_exchange_bool_acq.
20615
eb1ed03d
RM
206162014-05-05 Roland McGrath <roland@hack.frob.com>
20617
fe658845
RM
20618 * elf/Makefile (others, install-bin): Remove pldd.
20619 (pldd-modules): Variable removed.
20620 ($(objpfx)pldd): Target removed.
20621 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20622 (others, install-bin): Append pldd here.
20623 ($(objpfx)pldd): New target.
20624
eb1ed03d
RM
20625 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20626 to 0, so the first #if test emitted later doesn't see it undefined.
20627 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20628 * sysdeps/gnu/errlist.c: Regenerated.
20629
19c4bec0
AZ
206302014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20631
20632 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20633 [libc_hidden_builtin_def]: Define to empty value.
20634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20635 [libc_hidden_builtin_def]: Likewise.
20636 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20637 [libc_hidden_builtin_def]: Likewise.
20638 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20639 [libc_hidden_builtin_def]: Likewise.
20640 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20641 __redirect_memcpy and define ifunc as default hidden symbol.
20642 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20643 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20644
7776e669
AC
206452014-05-04 Adam Conrad <adconrad@0c3.net>
20646
20647 * locale/iso-4217.def: Reintroduce XDR currency.
20648
d69aeb12
AM
206492014-05-04 Allan McRae <allan@archlinux.org>
20650
20651 * po/eo.po: Update Esperanto translation from translation project.
20652
8f1df5cf
CD
206532014-05-02 Carlos O'Donell <carlos@redhat.com>
20654
20655 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20656 and FEATURE_INDEX_MAX to 1.
20657 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20658
13e402e7
SE
206592014-05-01 Steve Ellcey <sellcey@mips.com>
20660
20661 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20662 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20663 * iconvdata/big5.c (ONE_DIRECTION): Define.
20664 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20665 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20666 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20667 * iconvdata/cp932.c (ONE_DIRECTION): Define.
20668 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20669 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20670 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20671 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20672 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20673 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20674 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20675 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20676 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20677 * iconvdata/gbk.c (ONE_DIRECTION): Define.
20678 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20679 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20680 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20681 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20682 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20683 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20684 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20685 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20686 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20687 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20688 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20689 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20690 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20691 * iconvdata/iso646.c (ONE_DIRECTION): Define.
20692 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20693 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20694 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20695 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20696 * iconvdata/johab.c (ONE_DIRECTION): Define.
20697 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20698 * iconvdata/sjis.c (ONE_DIRECTION): Define.
20699 * iconvdata/t.61.c (ONE_DIRECTION): Define.
20700 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20701 * iconvdata/tscii.c (ONE_DIRECTION): Define.
20702 * iconvdata/uhc.c (ONE_DIRECTION): Define.
20703 * iconvdata/unicode.c (ONE_DIRECTION): Define.
20704 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20705 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20706 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20707
c727f032
RM
207082014-05-01 Roland McGrath <roland@hack.frob.com>
20709
8f2f08d0
RM
20710 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20711 (_IO_JUMPS_OFFSET): Define to 0.
20712
c727f032
RM
20713 * nptl/sysdeps/pthread/bits/libc-lock.h
20714 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20715 (__libc_lock_define_initialized_recursive): Always define using
20716 initializer. Modern compilers treat uninitialized (implicit zero) and
20717 explicit zero initializers the same (i.e. put the datum in bss).
20718
a849e800
AS
207192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20720
20721 * nscd/nscd-client.h: Include <string.h>.
20722
5331255b
DM
207232014-05-01 David S. Miller <davem@davemloft.net>
20724
20725 [BZ #16885]
20726 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20727 multiple zero bytes exist at the end of a string.
20728 Reported by Aurelien Jarno <aurelien@aurel32.net>
20729
20730 * string/test-strcmp.c (check): Add explicit test for situations where
20731 there are multiple zero bytes after the first.
20732
4fdfe821
AS
207332014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20734
20735 [BZ #16890]
20736 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20737 when compiling wprintf.
20738 * stdio-common/tstdiomisc.c (t3): New function.
20739 (main): Call it.
20740
0cdddc25
SE
207412014-05-01 Steve Ellcey <sellcey@mips.com>
20742
20743 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20744 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20745 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20746 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20747
6426d77e
SE
207482014-05-01 Steve Ellcey <sellcey@mips.com>
20749
20750 * stdlib/longlong.h: Updated from GCC.
20751
6d96f5e4
WN
207522014-05-01 Will Newton <will.newton@linaro.org>
20753 Bernard Ogden <bernie.ogden@linaro.org>
20754
7470db0c
WN
20755 * NEWS: Update fixed bug list.
20756
6d96f5e4
WN
20757 [BZ #15119]
20758 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20759
211d653c
DM
207602014-04-30 David S. Miller <davem@davemloft.net>
20761
4fa262fa
DM
20762 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20763 (libc_feholdexcept_setround_sparc_ctx): New function.
20764 (libc_fesetenv_sparc_ctx): Likewise.
20765 (libc_feupdateenv_sparc_ctx): Likewise.
20766 (libc_feholdsetround_sparc_ctx): Likewise.
20767 (libc_feholdexcept_setround_ctx): Define.
20768 (libc_feholdexcept_setroundf_ctx): Likewise.
20769 (libc_feholdexcept_setroundl_ctx): Likewise.
20770 (libc_fesetenv_ctx): Likewise.
20771 (libc_fesetenvf_ctx): Likewise.
20772 (libc_fesetenvl_ctx): Likewise.
20773 (libc_feupdateenv_ctx): Likewise.
20774 (libc_feupdateenvf_ctx): Likewise.
20775 (libc_feupdateenvl_ctx): Likewise.
20776 (libc_feresetround_ctx): Likewise.
20777 (libc_feresetroundf_ctx): Likewise.
20778 (libc_feresetroundl_ctx): Likewise.
20779 (libc_feholdsetround_ctx): Likewise.
20780 (libc_feholdsetroundf_ctx): Likewise.
20781 (libc_feholdsetroundl_ctx): Likewise.
20782
1d3d93ef
DM
20783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20784 with __USE_GNU instead of XOPEN cpp guards.
20785
8aa583c3
DM
20786 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20787 0.
20788
211d653c
DM
20789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20790 with XOPEN cpp guards.
20791
60c8f1f6
JB
207922014-04-30 Julian Brown <julian@codesourcery.com>
20793
20794 [BZ #16888]
20795 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20796 handling.
20797
9a461d46
JM
207982014-04-30 Joseph Myers <joseph@codesourcery.com>
20799
d0f5b3f8
JM
20800 [BZ #9894]
20801 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20802 Change to 2.6.32.
20803 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20804 * sysdeps/unix/sysv/linux/configure: Regenerated.
20805 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20806 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20807 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20808 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20809 * README: Update reference to required Linux kernel version.
20810 * manual/install.texi (Linux): Update reference to required Linux
20811 kernel headers version.
20812 * INSTALL: Regenerated.
20813
9a461d46
JM
20814 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20815 header inclusion.
20816 [POSIX] (limits.h): Likewise.
20817 [POSIX] (math.h): Likewise.
20818 [POSIX] (sys/wait.h): Likewise.
20819 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20820 function.
20821 [POSIX] (stddef.h): Do not allow header inclusion.
20822
1775babf
AZ
208232014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20824
57f41c40 20825 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 20826
8f630cca
YY
208272014-04-30 Yang Yingliang <yangyingliang@huawei.com>
20828
20829 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20830 Return immediately after lll_futex_wake.
20831
1cdeb237
SP
208322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20833
bc8f194c
SP
20834 [BZ #16791]
20835 * nscd/nscd-client.h (datahead_init_common): Initialize entire
20836 structure.
20837 (datahead_init_pos): Call datahead_init_common early.
20838 (datahead_init_neg): Likewise.
20839
1cdeb237
SP
20840 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20841 datahead_init_neg): New functions.
20842 * nscd/aicache.c (addhstaiX): Use them.
20843 * nscd/grpcache.c (cache_addgr): Likewise.
20844 * nscd/hstcache.c (cache_addhst): Likewise.
20845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20846 * nscd/netgroupcache.c (do_notfound): Likewise.
20847 (addgetnetgrentX): Likewise.
20848 (addinnetgrX): Likewise.
20849 * nscd/pwdcache.c (cache_addpw): Likewise.
20850 * nscd/servicescache.c (cache_addserv): Likewise.
20851
16b293a7
SP
208522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20853 Atsushi Onoe <atsushi@onoe.org>
20854
20855 [BZ #14308]
20856 [BZ #12994]
20857 [BZ #13651]
20858 * resolv/res_query.c (__libc_res_nsearch): Return if at least
20859 one response is valid.
20860 * resolv/res_send.c (send_dg): Check for validity of other
20861 response if the current response is a referral.
20862
a28a9b94
SE
208632014-04-29 Steve Ellcey <sellcey@mips.com>
20864
20865 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20866
2ca180e9
SL
208672014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
20868
20869 [BZ #16823]
20870 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20871 Always divide by positive zero when computing -Inf result.
20872 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20873 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20874
18f2945a
AZ
208752014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20876
20877 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20878 FPSCR if value do not change.
20879 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20880 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20881 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20882 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20883 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20884 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20885 function.
20886
5abebba4
CD
208872014-05-29 Carlos O'Donell <carlos@systemhalted.org>
20888
20889 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20890 * sysdeps/unix/sysv/linux/hppa: Move directory from
20891 ports/systeps/unix/sysv/linux/hppa.
20892 * README: Update listing for hppa-*-linux-gnu.
20893
f7ed60c2
OB
208942014-04-28 Ondřej Bílka <neleai@seznam.cz>
20895
fff763a5
OB
20896 [BZ #16754]
20897 * manual/stdio.texi (Hook functions): Fix types of stream hook
20898 functions.
f7ed60c2
OB
20899 [BZ #16854]
20900 * socket/sys/socket.h: Fix typo in comment.
20901
df639d73
WD
209022014-04-28 Wilco <wdijkstr@arm.com>
20903
f7ed60c2 20904 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
20905 * sysdeps/arm/math_private.h: New file.
20906 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20907
48332d82
L
209082014-04-25 H.J. Lu <hongjiu.lu@intel.com>
20909
20910 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20911 with __int128_t.
20912 (La_x86_64_retval): Likewise.
20913
e5e0d9a4
IB
209142014-04-24 Ian Bolton <ian.bolton@arm.com>
20915
20916 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20917 fpsr if value didn't change.
20918 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20919 to fpcr if value didn't change.
20920 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20921 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20922 fpsr or fpcr if value didn't change.
20923 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20924 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20925 fpcr if value didn't change.
20926 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20927 to fpsr if value didn't change.
20928
bacc75f7
SP
209292014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20930
20931 * nptl/tst-sem3.c: Use test-skeleton.c
20932 (main): Rename to do_test. Use return instead of
20933 exit.
20934 * nptl/tst-sem4.c: Use test-skeleton.c
20935 (main): Rename to do_test.
20936
a059d359
DM
209372014-04-22 David S. Miller <davem@davemloft.net>
20938
20939 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20940 (struct sigaction): New struct member __glibc_reserved0, change
20941 type of sa_flags to int.
20942
ea6c92f3
YZ
209432014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
20944
20945 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20946 (COUNT_LEADING_ZEROS_0): Define for AArch64.
20947
766c4a36
SP
209482014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20949
20950 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20951 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20952
140cc7ab
VK
209532014-04-22 Will Newton <will.newton@linaro.org>
20954 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
20955
20956 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20957 (__longjmp): Add longjmp and longjmp_target SystemTap
20958 probes.
20959 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20960 (__sigsetjmp): Add setjmp SystemTap probe.
20961
c54e5cf7
CD
209622014-04-17 Carlos O'Donell <carlos@redhat.com>
20963
20964 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20965 match manual order.
20966
75ffb047
AZ
209672014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20968
20969 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20970
2cd925f7
AZ
20971 * sysdeps/powerpc/fpu/fenv_private.h
20972 (libc_feholdexcept_setroundl_ctx): Define to
20973 libc_feholdexcept_setround_ppc_ctx.
20974 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20975 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20976 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20977 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20978
39e6cd8d
IB
209792014-04-17 Ian Bolton <ian.bolton@arm.com>
20980
20981 * sysdeps/aarch64/math-tests.h: New file.
20982
f9281df9
SY
209832014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
20984
20985 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20986 New.
20987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20988 Check and set bit_AVX2_Usable.
20989 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20990 macro.
20991 (bit_AVX2): Likewise.
20992 (index_AVX2_Usable): Likewise.
20993 (CPUID_AVX2): Likewise.
20994 (HAS_AVX2): Likewise.
20995
37d35007
WN
209962014-04-17 Will Newton <will.newton@linaro.org>
20997
7c677662
WN
20998 * manual/setjmp.texi (System V contexts): Add note that
20999 calling setcontext on a context created by a call to a
21000 signal handler is undefined. Update text to note that
21001 setcontext from a signal handler is possible but not
21002 recommended.
21003
37d35007 21004 [BZ #16629]
e04a4e9d
WN
21005 * stdlib/tst-setcontext.c: Include signal.h.
21006 (main): Check that the signal stack before and
21007 after swapcontext is the same.
21008
37d35007
WN
21009 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21010 Re-implement to restore registers in user code and avoid
21011 rt_sigreturn system call.
21012
423a7160
W
210132014-04-17 Wilco <wdijkstr@arm.com>
21014
21015 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21016 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21017 * math/test-fenv.c: Skip exception trap tests on targets which only
21018 support non-stop mode.
21019
bc93ab29
IB
210202014-04-17 Ian Bolton <ian.bolton@arm.com>
21021 Wilco Dijkstra <wilco.dijkstra@arm.com>
21022
21023 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21024 (libc_feholdsetround_aarch64_ctx)
21025 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21026 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21027 (libc_feresetround_ctx, libc_feresetroundf_ctx)
21028 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21029 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21030 (libc_feresetround_noexl_ctx): Define.
21031
95fc5fa3
RH
210322014-04-16 Richard Henderson <rth@redhat.com>
21033
ddb04724
RH
21034 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21035
d77c0899
RH
21036 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21037 unwind tables.
21038
a3df56fc
RH
21039 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21040 const from the non-libc, non-ldso copy.
21041
95fc5fa3
RH
21042 * sysdeps/alpha/libm-test-ulps: Regenerate.
21043
7e0b6763
IB
210442014-04-16 Ian Bolton <ian.bolton@arm.com>
21045 Wilco Dijkstra <wilco.dijkstra@arm.com>
21046
21047 * sysdeps/aarch64/fpu/math_private.h: New file.
21048
a9ea2e0c
MS
210492014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
21050
21051 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21052
ea8ba7cd
IZ
210532014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
21054
7e54fd04 21055 [BZ #16275]
ea8ba7cd
IZ
21056 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21057 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21059 Intel MPX bound registers before _dl_profile_fixup.
21060 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21061 registers after _dl_profile_fixup. Save and restore bound
21062 registers bnd0/bnd1 when calling _dl_call_pltexit.
21063 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21064 (LR_BND_OFFSET): Likewise.
21065 (LRV_BND0_OFFSET): Likewise.
21066 (LRV_BND1_OFFSET): Likewise.
21067
9f2a4fbc
ST
210682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21069
21070 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21071 to...
21072 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
21073 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21074 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21075 fields.
9f2a4fbc 21076
fd15a59b
ST
210772014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21078
21079 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21080
f19dfa0a
SL
210812014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21082
21083 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21084
4fa8bc3b
SL
210852014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21086
21087 [BZ #14770]
21088 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21089 * sysdeps/s390/configure: Regenerate.
21090
8ea587db
SL
21091 [BZ #16824]
21092 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21093 Set round-to-nearest internally to reduce error accumulation.
21094
aa5f0ff1
AM
210952014-04-16 Alan Modra <amodra@gmail.com>
21096
21097 [BZ #16740]
21098 [BZ #16619]
21099 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21100 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 21101 * NEWS: Update fixed bug list.
aa5f0ff1 21102
bb9c256f
SP
211032014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21104
21105 * benchtests/Makefile: Depend on libraries in build directory.
21106 (bench-math): Separate out math tests.
21107 (bench-pthread): Separate out pthread tests.
21108 (bench): Include math and pthread tests.
21109
f737dfd0
CD
211102014-04-14 Carlos O'Donell <carlos@redhat.com>
21111
21112 [BZ #16831]
21113 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21114 _dl_debug_initialize.
21115
0699f766
CD
21116 * configure.ac: Remove SELinux header check.
21117 * configure: Regenerate.
21118 * nscd/selinux.c (perms): Array of const char* to permission names.
21119 (nscd_request_avc_has_perm): Call security_deny_unknown to find
21120 default policy. Call string_to_security_class and string_to_av_perm to
21121 translate strings. Enforce default policy and call avs_has_perm with
21122 results of translated strings.
21123
809bd45f
DM
211242014-04-13 David S. Miller <davem@davemloft.net>
21125
21126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21127
89e691f2
AM
211282014-04-12 Allan McRae <allan@archlinux.org>
21129
21130 [BZ #16838]
21131 * manual/string.texi (Collation Functions): Fix qsort argument
21132 order in example.
21133 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21134
9c9daaeb
CM
211352014-04-11 Chris Metcalf <cmetcalf@tilera.com>
21136
21137 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21138 Make the test a no-op if there are no exceptions defined.
21139
95561fb9
PP
211402014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21141
fe8d072c 21142 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
21143 enable-hardcoded-path-in-tests
21144
970c602a
WN
211452014-04-11 Will Newton <will.newton@linaro.org>
21146
21147 * benchtests/Makefile (extra-objs): Add json-lib.o.
21148 (bench-func): Tidy up JSON output.
21149 * benchtests/bench-skeleton.c: Include json-lib.h.
21150 (main): Use JSON library functions to do output of
21151 benchmark results.
21152 * benchtests/bench-timing-type.c (main): Output the
21153 timing type simply, leaving formatting to the user.
21154 * benchtests/json-lib.c: New file.
21155 * benchtests/json-lib.h: Likewise.
21156
36875b06
TR
211572014-04-11 Torvald Riegel <triegel@redhat.com>
21158
21159 [BZ #15215]
21160 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21161 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
21162 memory barriers. Add comments.
21163 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21164 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21165 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21166 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21167 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21168 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21169
579db35a
SL
211702014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21171
21172 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21173 * sysdeps/s390/s390-64/configure.ac: ... this ...
21174 * sysdeps/s390/configure.ac: ... to here.
21175 * sysdeps/s390/s390-32/configure: Delete file.
21176 * sysdeps/s390/s390-64/configure: Delete file.
21177 * sysdeps/s390/configure: Regenerate.
21178
c12e9f37
JAPH
211792014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
21180
21181 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21182
439bda32
WN
211832014-04-11 Will Newton <will.newton@linaro.org>
21184
21185 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21186 to zero if it is not defined elsewhere. (mtrim): Test
21187 the value of MALLOC_DEBUG with #if rather than #ifdef.
21188
6a5d6ea1
TR
211892014-04-10 Torvald Riegel <triegel@redhat.com>
21190
21191 * benchtests/pthread_once-inputs: New file.
21192 * benchtests/pthread_once-source.c: New file.
21193 * benchtests/README: Update documentation.
21194
a4c75cfd
IZ
211952014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
21196 H.J. Lu <hongjiu.lu@intel.com>
21197
7e54fd04 21198 [BZ #16275]
a4c75cfd
IZ
21199 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21200 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21201 * sysdeps/x86_64/configure: Regenerated.
21202 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21203 macro.
21204 (REGISTER_SAVE_RAX): Likewise.
21205 (REGISTER_SAVE_RCX): Likewise.
21206 (REGISTER_SAVE_RDX): Likewise.
21207 (REGISTER_SAVE_RSI): Likewise.
21208 (REGISTER_SAVE_RDI): Likewise.
21209 (REGISTER_SAVE_R8): Likewise.
21210 (REGISTER_SAVE_R9): Likewise.
21211 (REGISTER_SAVE_BND0): Likewise.
21212 (REGISTER_SAVE_BND1): Likewise.
21213 (REGISTER_SAVE_BND2): Likewise.
21214 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
21215 bound registers when calling _dl_fixup.
21216
27822ce6
AZ
212172014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21218
21219 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
21220 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21221 of its definition.
27822ce6
AZ
21222 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21223 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21224 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21225 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21226 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21227 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21228 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21229
a88ddc90
PTB
212302014-04-09 Peter Brett <peter@peter-b.co.uk>
21231
21232 [BZ #15514]
21233 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21234 pathconf(_PC_NAME_MAX).
21235
01f8eac2
AZ
212362014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21239 Remove macro usage.
21240 (__PTHREAD_SPINS): Move definition to ...
21241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21242 (__PTHREAD_SPINS): ... here.
21243 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21244 (__PTHREAD_SPIN): Likewise.
21245 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21246 (__PTHREAD_SPIN): Likewise.
21247 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21248 (__PTHREAD_SPIN): Likewise.
21249 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21250 (__PTHREAD_SPIN): Likewise.
21251 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21252 (__PTHREAD_SPIN): Likewise.
21253 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21254 (__PTHREAD_SPIN): Likewise.
21255 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21256 (__PTHREAD_SPIN): Likewise.
21257 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21258 (__PTHREAD_SPIN): Likewise.
21259 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21260 (__PTHREAD_SPIN): Likewise.
21261 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21262 (__PTHREAD_SPIN): Likewise.
21263 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21264 (__PTHREAD_SPIN): Likewise.
21265 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21266 (__PTHREAD_SPIN): Likewise.
21267
de21c33c
AZ
21268 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21269 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21270 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21271 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21272 imply folder.
21273 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21274 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21275 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21276 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21277 correct imply path.
21278 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21279 strlen symbol for non multi-arch builds.
21280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21281 missing hidden_def and weak_alias.
21282
862c472e
CD
212832014-04-08 Carlos O'Donell <carlos@redhat.com>
21284
21285 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21286
8667f90e
WN
212872014-04-07 Will Newton <will.newton@linaro.org>
21288
21289 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21290 and contents. [!_LIBC] Remove #ifndef and contents.
21291 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
21292 * string/memccpy.c (__memccpy): Use ANSI prototype.
21293 * string/memfrob.c (memfrob): Likewise.
21294 * string/strcoll.c (STRCOLL): Likewise.
21295 * string/strlen.c (strlen): Likewise.
21296 * string/strtok.c (STRTOK): Likewise.
21297 * string/strcat.c: Remove unused #include of memcopy.h.
21298 (strcat): Use ANSI prototype.
21299 * string/strchr.c: Remove unused #include of memcopy.h.
21300 (strchr): Use ANSI prototype.
21301 * string/strcmp.c: Remove unused #include of memcopy.h.
21302 (strcmp): Use ANSI prototype.
21303 * string/strcpy.c: Remove unused #include of memcopy.h.
21304 (strcpy): Use ANSI prototype.
21305
7ffa9423
AZ
213062014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307
21308 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21309 * config.make.in (config-extra-cppflags): Set it from
21310 libc_extra_cppflags.
21311 * configure.ac (libc_extra_cflags): Make it accumulate over
21312 configure fragments.
21313 (libc_extra_cppflags): New flag.
21314 * configure. Regenerate.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
21316 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21317 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21319
8bd70862
AZ
21320 [BZ #16815]
21321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21322 result for FE_DOWNWARD rounding mode.
21323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21324 Likewise.
21325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21326
d42f3448
CM
213272014-04-04 Chris Metcalf <cmetcalf@tilera.com>
21328
21329 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21330 in function argument name.
21331
1c21d115
DS
213322014-04-03 David Svoboda <svoboda@cert.org>
21333
21334 [BZ #5666]
21335 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21336 explicitly.
21337
fcccd512
RM
213382014-04-03 Roland McGrath <roland@hack.frob.com>
21339
21340 * elf/dl-unmap-segments.h: New file.
21341 * sysdeps/generic/ldsodefs.h
21342 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21343 * elf/dl-close.c: Include <dl-unmap-segments.h>.
21344 * elf/dl-fptr.c: Likewise.
21345 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21346 * sysdeps/aarch64/tlsdesc.c: Likewise.
21347 * sysdeps/arm/tlsdesc.c: Likewise.
21348 * sysdeps/i386/tlsdesc.c: Likewise.
21349 * sysdeps/tile/dl-runtime.c: Likewise.
21350 * sysdeps/x86_64/tlsdesc.c: Likewise.
21351 * elf/dl-load.h: New file.
21352 * elf/dl-load.c: Include it.
21353 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21354 Macros moved to dl-load.h.
21355 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21356 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21357 Use _dl_unmap_segments in place of __munmap.
21358 Break out segment-mapping loop into ...
21359 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21360
f6488e2b
WN
213612014-04-03 Will Newton <will.newton@linaro.org>
21362
21363 * elf/dl-lookup.c (do_lookup_x): Remove comment
21364 referring to nested function and move variable
21365 declarations down to before first use.
21366
6f05bafe
JM
213672014-04-02 Joseph Myers <joseph@codesourcery.com>
21368
a84e78c8
JM
21369 [BZ #16799]
21370 [BZ #16800]
21371 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21372 with 0 numerator.
21373 * math/s_catanf.c (__catanf): Likewise.
21374 * math/s_catanh.c (__catanh): Likewise.
21375 * math/s_catanhf.c (__catanhf): Likewise.
21376 * math/s_catanhl.c (__catanhl): Likewise.
21377 * math/s_catanl.c (__catanl): Likewise.
21378 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21379 by positive zero when computing -Inf result.
21380 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21381 (catanh_test): Likewise.
21382 * sysdeps/i386/fpu/libm-test-ulps: Update.
21383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21384
6f05bafe
JM
21385 [BZ #16789]
21386 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21387 instead of using underflowing value in computing result.
21388 * math/s_clog10.c (__clog10): Likewise.
21389 * math/s_clog10f.c (__clog10f): Likewise.
21390 * math/s_clog10l.c (__clog10l): Likewise.
21391 * math/s_clogf.c (__clogf): Likewise.
21392 * math/s_clogl.c (__clogl): Likewise.
21393 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21394 (clog10_test): Likewise.
21395 * sysdeps/i386/fpu/libm-test-ulps: Update.
21396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21397
b0abbc21
AM
213982014-04-02 Alan Modra <amodra@gmail.com>
21399
21400 [BZ #16739]
21401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21402 output when value is near a power of two. Use int64_t for lx and
21403 remove casts. Use decimal rather than hex exponent constants.
21404 Don't use long double multiplication when double will suffice.
21405 * math/libm-test.inc (nextafter_test_data): Add tests.
21406 * NEWS: Add 16739 and 16786 to bug list.
21407
af6b1797
AM
21408 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21409
483818d7
AM
21410 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21411
f6c55796
WN
214122014-04-01 Will Newton <will.newton@linaro.org>
21413
21414 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21415 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
21416
13f7fe35
FW
214172014-04-01 Florian Weimer <fweimer@redhat.com>
21418
21419 [BZ #13347]
21420 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21421 * nptl/tst-setuid2.c: New file.
21422 * nptl/Makefile (xtests): Add tst-setuid2.
21423
c859b32e
AM
214242014-04-01 Alan Modra <amodra@gmail.com>
21425
21426 [BZ #16786]
21427 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21428
54fa2475
JM
214292014-03-31 Joseph Myers <joseph@codesourcery.com>
21430
8795b4a4
JM
21431 [BZ #6803]
21432 [BZ #6804]
21433 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21434 set errno as appropriate.
21435 * math/w_scalbf.c (__scalbf): Likewise.
21436 * math/w_scalbl.c (__scalbl): Likewise.
21437 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21438 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21439 * math/libm-test.inc (scalb_test_data): Add errno expectations.
21440 Add more NaN tests.
21441
54fa2475
JM
21442 [BZ #16349]
21443 * math/w_atan2.c: Include <errno.h>.
21444 (__atan2): Set errno for result underflowing to zero.
21445 * math/w_atan2f.c: Include <errno.h>.
21446 (__atan2f): Set errno for result underflowing to zero.
21447 * math/w_atan2l.c: Include <errno.h>.
21448 (__atan2l): Set errno for result underflowing to zero.
21449 * math/auto-libm-test-in: Don't allow missing errno for some atan2
21450 tests.
21451 * math/auto-libm-test-out: Regenerated.
21452
757d9dd5
AZ
214532014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21454
21455 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21456 Encode instruction correctly in little endian.
21457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21458 Likewise.
21459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21460 Likewise.
21461 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21462 Likewise.
21463 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21464 Likewise.
21465
d7a68734
JM
214662014-03-31 Joseph Myers <joseph@codesourcery.com>
21467
47c5adeb
JM
21468 [BZ #9894]
21469 * sysdeps/unix/sysv/linux/kernel-features.h
21470 [__sparc__ && !__arch64__ && !__sparc_v9__]
21471 (__ASSUME_SET_ROBUST_LIST): Do not define.
21472 [__sparc__ && !__arch64__ && !__sparc_v9__]
21473 (__ASSUME_FUTEX_LOCK_PI): Likewise.
21474 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21475 Likewise.
21476 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21477 (__ASSUME_FUTEX_LOCK_PI): Undefine.
21478 (__ASSUME_REQUEUE_PI): Likewise.
21479 (__ASSUME_SET_ROBUST_LIST): Likewise.
21480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21481 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21482 Undefine.
21483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21484 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21485 Likewise.
21486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21487 Likewise.
21488 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21489 Likewise.
21490 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21491 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21492 Undefine.
21493 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21494 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21495 Likewise.
21496
d7a68734
JM
21497 [BZ #16648]
21498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21499 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21500 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21501
c760f5c2
WN
215022014-03-31 Will Newton <will.newton@linaro.org>
21503
21504 * benchtests/Makefile (bench): Add ffs and ffsll to list
21505 of tests.
21506 * benchtests/ffs-inputs: New file.
21507 * benchtests/ffsll-inputs: Likewise.
21508
ea6029b1
JM
215092014-03-29 Joseph Myers <joseph@codesourcery.com>
21510
21511 [BZ #16770]
21512 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21513 too large before casting to int.
21514 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21515 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21516 * math/libm-test.inc (scalb_test_data): Add more tests.
21517
cf806aff
SP
215182014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21519
56737508
SP
21520 * benchtests/Makefile (DETAILED_OPT): New make option.
21521 (bench-func): Run benchmark program with -d if DETAILED_OPT is
21522 set.
21523 * benchtests/bench-skeleton.c: Include stdbool.h.
21524 (main): Store and print timings per input.
21525 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21526 member to each argument value.
21527 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21528 (_print_arg_data): Initialize per-input timing to 0.
21529
cb5e4aad
SP
21530 * benchtests/Makefile (timing-type): New binary.
21531 (bench-clean): Also remove bench-timing-type.
21532 (bench): New target for timing-type.
21533 (bench-func): Print output in JSON format.
21534 * benchtests/bench-skeleton.c (main): Print output in JSON
21535 format.
21536 * benchtests/bench-timing-type.c: New file.
21537 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21538 (TIMING_PRINT_STATS): Remove.
21539 * benchtests/scripts/bench.py (_print_arg_data): Store variant
21540 name separately.
21541
cf806aff
SP
21542 * benchtests/bench-modf.c: Remove.
21543 * benchtests/modf-inputs: New inputs file.
21544
289e0779
JM
215452014-03-28 Joseph Myers <joseph@codesourcery.com>
21546
21547 [BZ #16362]
21548 * math/s_clog10.c (M_PI_LOG10E): New macro.
21549 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21550 imaginary parts are 0.
21551 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21552 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21553 imaginary parts are 0.
21554 * math/s_clog10l.c (M_PI_LOG10El): New macro.
21555 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21556 imaginary parts are 0.
21557 * math/libm-test.inc (clog10_test_data): Update expected results
21558 for when real and imaginary parts are 0.
21559
277ae3f1
PP
215602014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
21561
21562 * elf/dl-load.c: Finish conversion of __builtin_expect into
21563 __glibc_{un}likely.
21564
03a7091f
JM
215652014-03-27 Joseph Myers <joseph@codesourcery.com>
21566
21567 [BZ #16348]
21568 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21569 1+x for argument with exponent below -67.
21570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21571 Likewise.
21572 * math/auto-libm-test-in: Add more tests of exp.
21573 * math/auto-libm-test-out: Regenerated.
21574
ea7d8b95
SP
215752014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21576
dd3022d7
SP
21577 [BZ #16759]
21578 * inet/getnetgrent_r.c (get_nonempty_val): New function.
21579 (nscd_getnetgrent): Use it.
21580
ea7d8b95
SP
21581 [BZ #16760]
21582 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21583 of stpcpy.
21584
df5b85da
AK
215852014-03-27 Andi Kleen <ak@linux.intel.com>
21586
57f41c40
AS
21587 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21588 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21589 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21590 (lll_robust_unlock): Remove out of line section. Use cfi
21591 intrinsics.
df5b85da 21592 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
21593 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21594 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21595 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21596 (lll_robust_unlock): Remove out of line section. Use cfi
21597 intrinsics.
df5b85da
AK
21598 (LLL_STUB_UNWIND_INFO*): Remove.
21599
fbd6b5a4
SP
216002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21601
21602 [BZ #16758]
21603 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21604 blank values.
21605
1b26b855
PP
216062014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
21607
21608 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21609
9be36fb8
JM
216102014-03-26 Joseph Myers <joseph@codesourcery.com>
21611
21612 [BZ #16198]
21613 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21614 fnstenv.
21615 * math/test-fenv-preserve.c: New file.
21616 * math/Makefile (tests): Add test-fenv-preserve.
21617
60a2f3c1
WN
216182014-03-26 Will Newton <will.newton@linaro.org>
21619
21620 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21621
a5e5f1e2
RM
216222014-03-25 Roland McGrath <roland@hack.frob.com>
21623
21624 * scripts/versionlist.awk: Partition the version sets and emit all
21625 GLIBC_* (sorted) before all others (sorted).
21626
00f4012a
JM
216272014-03-25 Joseph Myers <joseph@codesourcery.com>
21628
21629 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21630 GLIBC_2.2.5 version.
21631
7bc5a741
AZ
216322014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21633
21634 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21635 calls.
21636
7578473b
AZ
21637 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21638 previous change.
21639
f3f1dab3
AZ
21640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21641
6da36183
AS
216422014-03-25 Andreas Schwab <schwab@suse.de>
21643
21644 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21645 label to be used after in6ailist is initialized.
21646
f3f1dab3 216472014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 21648
7578473b 21649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
21650 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21651
046651c1
JM
216522014-03-25 Joseph Myers <joseph@codesourcery.com>
21653
21654 [BZ #16357]
21655 [BZ #16599]
21656 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21657 min_plus_half.
21658 (fp_formats): Update initializers.
21659 (init_fp_formats): Initialize new field.
21660 (output_for_one_input_case): Allow underflow for results up to
21661 min_plus_half.
21662 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21663 * math/auto-libm-test-in: Don't mark some underflows from asin and
21664 atanh as spurious.
21665 * math/auto-libm-test-out: Regenerated.
21666 * sysdeps/i386/fpu/libm-test-ulps: Update.
21667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668
003e49ed
AS
216692014-03-25 Andreas Schwab <schwab@suse.de>
21670
21671 * libio/Makefile (tst-ftell-partial-wide-ENV)
21672 (tst-ftell-active-handler-ENV): Define.
21673
de031874
SL
216742014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21675
21676 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21677
55a81e3b
PP
216782014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21679
21680 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21681
f3426898
JM
216822014-03-24 Joseph Myers <joseph@codesourcery.com>
21683
21684 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21685 * sysdeps/x86_64/fpu/multiarch/e_exp.c
21686 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21687
a42faf59
PP
216882014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21689
21690 [BZ #16634]
a42faf59 21691 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
21692 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21693 (open_path): Change from boolean 'secure' to complete flag 'mode'
21694 (_dl_map_object): Adjust.
a42faf59
PP
21695 * elf/Makefile (tests): Add tst-dlopen-aout.
21696 * elf/tst-dlopen-aout.c: New test.
21697
50936127
SL
216982014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21699
21700 [BZ #16714]
21701 * sysdeps/unix/sysv/linux/s390/bits/stat.h
21702 (struct stat): Rename member pad0 to __glibc_reserved0.
21703
26011b5c
SL
21704 [BZ #16712]
21705 * sysdeps/s390/s390-32/bits/wordsize.h
21706 (__WORDSIZE32_SIZE_ULONG): New define.
21707 * sysdeps/s390/s390-64/bits/wordsize.h
21708 (__WORDSIZE32_SIZE_ULONG): Likewise.
21709 * sysdeps/generic/stdint.h (SIZE_MAX):
21710 Define as UL if __WORDSIZE32_SIZE_ULONG.
21711
a2d86bf1
SL
21712 [BZ #16713]
21713 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21714 (__glibc_reserved0): New variable.
21715 (sa_flags): Change type to int.
21716
78b6eebc
SL
21717 * posix/Makefile (before-compile): Use += before-compile instead
21718 of a :=.
21719
f1399b5a
SL
21720 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21721 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21722
a071766e
AS
217232014-03-20 Andreas Schwab <schwab@suse.de>
21724
21725 [BZ #16743]
21726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21727 non-matching result from nscd.
21728
27c673b8
SP
217292014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21730
21731 * scripts/bench.py: Moved to ...
21732 * benchtests/scripts/bench.py: ... here.
21733 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21734
44152e4b
AS
217352014-03-24 Andreas Schwab <schwab@suse.de>
21736
21737 [BZ #16002]
21738 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21739 alloca_account and account alloca use for struct in6ailist.
21740
b376a11a
JM
217412014-03-24 Joseph Myers <joseph@codesourcery.com>
21742
21743 [BZ #16284]
21744 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21745 rounding mode to recompute results that overflow to infinity or
21746 underflow to zero.
21747 * math/auto-libm-test-in: Don't mark tests as expected to fail for
21748 bug 16284.
21749 * math/auto-libm-test-out: Regenerated.
21750 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21751 (ccosh_test): Likewise.
21752 (csin_test_data): Use plus_oflow.
21753 (csin_test): Use ALL_RM_TEST.
21754 (csinh_test_data): Use plus_oflow.
21755 (csinh_test): Use ALL_RM_TEST.
21756 * sysdeps/i386/fpu/libm-test-ulps: Update.
21757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21758
f7be7376
JM
217592014-03-21 Joseph Myers <joseph@codesourcery.com>
21760
1ca2d03e
JM
21761 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21762 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21763 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21764
f7be7376
JM
21765 [BZ #16731]
21766 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21767 when x - 1 is zero.
21768 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21769 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21770 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21771 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21772 argument is 1.
21773 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21774 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21775 zero.
21776 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21777 * sysdeps/i386/fpu/libm-test-ulps: Update.
21778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21779
fdf4534d
SP
217802014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21781
df26ea53
SP
21782 * scripts/bench.pl: Remove file.
21783 * scripts/bench.py: New benchmark script.
21784 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21785 * benchtests/README: Mention python dependency.
21786 * scripts/pylintrc: New file.
21787 * scripts/pylint: New file.
21788
fdf4534d
SP
21789 * bits/mathdef.h: Use #ifdef instead of #if.
21790 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21791 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21792 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21793 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21794 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21795 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21796
6f23d093
AZ
217972014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21799
21800 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21802 and strpbrk-ppc64 objects.
21803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21804 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21805 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21806 multiarch strpbrk for POWER7.
21807 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21808 multiarch strpbrk for PPC64.
21809 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21810 ifunc selector.
21811 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21812 strpbrk for POWER7.
21813
8c92dfff
JM
218142014-03-20 Joseph Myers <joseph@codesourcery.com>
21815
21816 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21817 (atan_test): Likewise.
21818 (atanh_test_data): Use NO_TEST_INLINE for two tests.
21819 (atanh_test): Use ALL_RM_TEST.
21820 (atan2_test_data): Likewise.
21821 (cabs_test): Likewise.
21822 (cacosh_test): Likewise.
21823 (carg_test): Likewise.
21824 (casin_test): Likewise.
21825 (casinh_test): Likewise.
21826 (cbrt_test): Likewise.
21827 (csqrt_test): Likewise.
21828 (erf_test): Likewise.
21829 (erfc_test): Likewise.
21830 (pow10_test): Likewise.
21831 (exp2_test): Likewise.
21832 (hypot_test): Likewise.
21833 (j0_test): Likewise.
21834 (j1_test): Likewise.
21835 (lgamma_test): Likewise.
21836 (gamma_test): Likewise.
21837 (sincos_test): Likewise.
21838 (tanh_test): Likewise.
21839 (y0_test): Likewise.
21840 (y1_test): Likewise.
21841 * sysdeps/i386/fpu/libm-test-ulps: Update.
21842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843
6eaf95cb
AZ
218442014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21845
a387428c
SP
21846 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
21848 and strcspn-ppc64 objects.
21849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21850 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21851 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21852 multiarch strcspn for POWER7.
21853 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21854 multiarch strcspn for PPC64.
21855 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21856 ifunc selector.
21857 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21858 strcspn for POWER7.
21859
ae3a5dff
JM
218602014-03-20 Joseph Myers <joseph@codesourcery.com>
21861
21862 * math/gen-libm-test.pl (generate_testfile): Expect only function
21863 name as argument to AUTO_TESTS_* and pass results for all rounding
21864 modes to parse_args.
21865 (parse_auto_input): Separate inputs of automatic tests from
21866 outputs before storing in %auto_tests.
21867 * math/libm-test.inc (acos_test_data): Update call to
21868 AUTO_TESTS_f_f.
21869 (acos_test): Use ALL_RM_TEST.
21870 (acos_tonearest_test_data): Remove.
21871 (acos_test_tonearest): Likewise.
21872 (acos_towardzero_test_data): Likewise.
21873 (acos_test_towardzero): Likewise.
21874 (acos_downward_test_data): Likewise.
21875 (acos_test_downward): Likewise.
21876 (acos_upward_test_data): Likewise.
21877 (acos_test_upward): Likewise.
21878 (acosh_test_data): Update call to AUTO_TESTS_f_f.
21879 (asin_test_data): Likewise.
21880 (asin_test): Use ALL_RM_TEST.
21881 (asin_tonearest_test_data): Remove.
21882 (asin_test_tonearest): Likewise.
21883 (asin_towardzero_test_data): Likewise.
21884 (asin_test_towardzero): Likewise.
21885 (asin_downward_test_data): Likewise.
21886 (asin_test_downward): Likewise.
21887 (asin_upward_test_data): Likewise.
21888 (asin_test_upward): Likewise.
21889 (asinh_test_data): Update call to AUTO_TESTS_f_f.
21890 (atan_test_data): Likewise.
21891 (atanh_test_data): Likewise.
21892 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21893 (cabs_test_data): Update call to AUTO_TESTS_c_f.
21894 (carg_test_data): Likewise.
21895 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21896 (ccos_test_data): Update call to AUTO_TESTS_c_c.
21897 (ccosh_test_data): Likewise.
21898 (cexp_test_data): Likewise.
21899 (clog_test_data): Likewise.
21900 (clog10_test_data): Likewise.
21901 (cos_test_data): Update call to AUTO_TESTS_f_f.
21902 (cos_test): Use ALL_RM_TEST.
21903 (cos_tonearest_test_data): Remove.
21904 (cos_test_tonearest): Likewise.
21905 (cos_towardzero_test_data): Likewise.
21906 (cos_test_towardzero): Likewise.
21907 (cos_downward_test_data): Likewise.
21908 (cos_test_downward): Likewise.
21909 (cos_upward_test_data): Likewise.
21910 (cos_test_upward): Likewise.
21911 (cosh_test_data): Update call to AUTO_TESTS_f_f.
21912 (cosh_test): Use ALL_RM_TEST.
21913 (cosh_tonearest_test_data): Remove.
21914 (cosh_test_tonearest): Likewise.
21915 (cosh_towardzero_test_data): Likewise.
21916 (cosh_test_towardzero): Likewise.
21917 (cosh_downward_test_data): Likewise.
21918 (cosh_test_downward): Likewise.
21919 (cosh_upward_test_data): Likewise.
21920 (cosh_test_upward): Likewise.
21921 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21922 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21923 (ctan_test_data): Likewise.
21924 (ctan_test): Use ALL_RM_TEST.
21925 (ctan_tonearest_test_data): Remove.
21926 (ctan_test_tonearest): Likewise.
21927 (ctan_towardzero_test_data): Likewise.
21928 (ctan_test_towardzero): Likewise.
21929 (ctan_downward_test_data): Likewise.
21930 (ctan_test_downward): Likewise.
21931 (ctan_upward_test_data): Likewise.
21932 (ctan_test_upward): Likewise.
21933 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21934 (ctanh_test): Use ALL_RM_TEST.
21935 (ctanh_tonearest_test_data): Remove.
21936 (ctanh_test_tonearest): Likewise.
21937 (ctanh_towardzero_test_data): Likewise.
21938 (ctanh_test_towardzero): Likewise.
21939 (ctanh_downward_test_data): Likewise.
21940 (ctanh_test_downward): Likewise.
21941 (ctanh_upward_test_data): Likewise.
21942 (ctanh_test_upward): Likewise.
21943 (erf_test_data): Update call to AUTO_TESTS_f_f.
21944 (erfc_test_data): Likewise.
21945 (exp_test_data): Likewise.
21946 (exp_test): Use ALL_RM_TEST.
21947 (exp_tonearest_test_data): Remove.
21948 (exp_test_tonearest): Likewise.
21949 (exp_towardzero_test_data): Likewise.
21950 (exp_test_towardzero): Likewise.
21951 (exp_downward_test_data): Likewise.
21952 (exp_test_downward): Likewise.
21953 (exp_upward_test_data): Likewise.
21954 (exp_test_upward): Likewise.
21955 (exp10_test_data): Update call to AUTO_TESTS_f_f.
21956 (exp10_test): Use ALL_RM_TEST.
21957 (exp10_tonearest_test_data): Remove.
21958 (exp10_test_tonearest): Likewise.
21959 (exp10_towardzero_test_data): Likewise.
21960 (exp10_test_towardzero): Likewise.
21961 (exp10_downward_test_data): Likewise.
21962 (exp10_test_downward): Likewise.
21963 (exp10_upward_test_data): Likewise.
21964 (exp10_test_upward): Likewise.
21965 (exp2_test_data): Update call to AUTO_TESTS_f_f.
21966 (expm1_test_data): Likewise.
21967 (expm1_test): Use ALL_RM_TEST.
21968 (expm1_tonearest_test_data): Remove.
21969 (expm1_test_tonearest): Likewise.
21970 (expm1_towardzero_test_data): Likewise.
21971 (expm1_test_towardzero): Likewise.
21972 (expm1_downward_test_data): Likewise.
21973 (expm1_test_downward): Likewise.
21974 (expm1_upward_test_data): Likewise.
21975 (expm1_test_upward): Likewise.
21976 (fma_test_data): Update call to AUTO_TESTS_fff_f.
21977 (fma_test): Use ALL_RM_TEST.
21978 (fma_towardzero_test_data): Remove.
21979 (fma_test_towardzero): Likewise.
21980 (fma_downward_test_data): Likewise.
21981 (fma_test_downward): Likewise.
21982 (fma_upward_test_data): Likewise.
21983 (fma_test_upward): Likewise.
21984 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21985 (j0_test_data): Update call to AUTO_TESTS_f_f.
21986 (j1_test_data): Likewise.
21987 (jn_test_data): Update call to AUTO_TESTS_if_f.
21988 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21989 (log_test_data): Update call to AUTO_TESTS_f_f.
21990 (log10_test_data): Likewise.
21991 (log1p_test_data): Likewise.
21992 (log2_test_data): Likewise.
21993 (pow_test_data): Update call to AUTO_TESTS_ff_f.
21994 (pow_tonearest_test_data): Likewise.
21995 (sin_test_data): Update call to AUTO_TESTS_f_f.
21996 (sin_test): Use ALL_RM_TEST.
21997 (sin_tonearest_test_data): Remove.
21998 (sin_test_tonearest): Likewise.
21999 (sin_towardzero_test_data): Likewise.
22000 (sin_test_towardzero): Likewise.
22001 (sin_downward_test_data): Likewise.
22002 (sin_test_downward): Likewise.
22003 (sin_upward_test_data): Likewise.
22004 (sin_test_upward): Likewise.
22005 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22006 (sinh_test_data): Update call to AUTO_TESTS_f_f.
22007 (sinh_test): Use ALL_RM_TEST.
22008 (sinh_tonearest_test_data): Remove.
22009 (sinh_test_tonearest): Likewise.
22010 (sinh_towardzero_test_data): Likewise.
22011 (sinh_test_towardzero): Likewise.
22012 (sinh_downward_test_data): Likewise.
22013 (sinh_test_downward): Likewise.
22014 (sinh_upward_test_data): Likewise.
22015 (sinh_test_upward): Likewise.
22016 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22017 (sqrt_test): Use ALL_RM_TEST.
22018 (sqrt_tonearest_test_data): Remove.
22019 (sqrt_test_tonearest): Likewise.
22020 (sqrt_towardzero_test_data): Likewise.
22021 (sqrt_test_towardzero): Likewise.
22022 (sqrt_downward_test_data): Likewise.
22023 (sqrt_test_downward): Likewise.
22024 (sqrt_upward_test_data): Likewise.
22025 (sqrt_test_upward): Likewise.
22026 (tan_test_data): Update call to AUTO_TESTS_f_f.
22027 (tan_test): Use ALL_RM_TEST.
22028 (tan_tonearest_test_data): Remove.
22029 (tan_test_tonearest): Likewise.
22030 (tan_towardzero_test_data): Likewise.
22031 (tan_test_towardzero): Likewise.
22032 (tan_downward_test_data): Likewise.
22033 (tan_test_downward): Likewise.
22034 (tan_upward_test_data): Likewise.
22035 (tan_test_upward): Likewise.
22036 (tanh_test_data): Update call to AUTO_TESTS_f_f.
22037 (tgamma_test_data): Likewise.
22038 (y0_test_data): Likewise.
22039 (y1_test_data): Likewise.
22040 (yn_test_data): Update call to AUTO_TESTS_if_f.
22041 (main): Do not call removed functions.
22042
d71aeee8
JM
220432014-03-19 Joseph Myers <joseph@codesourcery.com>
22044
22045 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22046 (ldexp_test_data): Remove.
22047 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
22048 scalbn_test_data.
22049 (scalb_test): Use ALL_RM_TEST.
22050
baaf1ded
AS
220512014-03-19 Andreas Schwab <schwab@suse.de>
22052
22053 * nscd/nscd.service: Also invalidate netgroup cache on reload.
22054
b1115e91
JM
220552014-03-19 Joseph Myers <joseph@codesourcery.com>
22056
22057 [BZ #16649]
22058 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22059 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22060 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22061 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22062 (__ASSUME_PREADV): Undefine.
22063 (__ASSUME_PWRITEV): Likewise.
22064
0283ecca
RM
220652014-03-18 Roland McGrath <roland@hack.frob.com>
22066
7d375303
RM
22067 * bits/mman-linux.h: Add comment about non-Linux use.
22068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22069 bits/mman-linux.h resting place.
22070
0283ecca
RM
22071 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22072 * bits/mman-linux.h: ... here.
22073
aebe1003
AZ
220742014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22075
22076 * conform/conformtest.pl: Add standard definition when calling C
22077 preprocessor on data files.
22078 (checknamespace): Remove unused variable.
22079
b29b6bb8
JM
220802014-03-18 Joseph Myers <joseph@codesourcery.com>
22081
22082 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22083 minus_oflow, plus_uflow and minus_uflow in expected results.
22084 * math/libm-test.inc (scalbn_test_data): Add more tests of
22085 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
22086 minus_uflow.
22087 (scalbn_test): Use ALL_RM_TEST.
22088 (scalbln_test_data): Add more tests of negative arguments. Use
22089 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22090 (scalbln_test): Use ALL_RM_TEST.
22091
c8f8fa15
RM
220922014-03-18 Roland McGrath <roland@hack.frob.com>
22093
22094 * scripts/abilist.awk: Ignore symbols marked with .hidden.
22095
fede7a5f
WN
220962014-03-18 Will Newton <will.newton@linaro.org>
22097
22098 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22099 inaccurate comment.
22100
80cf0a58
JM
221012014-03-18 Joseph Myers <joseph@codesourcery.com>
22102
22103 * Makerules [!subdir] (check-abi): Exit with error status if a
22104 test failed.
22105
b3620862
JM
221062014-03-17 Joseph Myers <joseph@codesourcery.com>
22107
22108 * math/libm-test.inc (nearbyint_test_data): Include all tests used
22109 for rint. Include results for all rounding modes.
22110 (nearbyint_test): Use ALL_RM_TEST.
22111 (rint_test_data): Include all tests used for nearbyint.
22112
788bba36
WN
221132014-03-17 Will Newton <will.newton@linaro.org>
22114
04ec140a
WN
22115 * nptl/sysdeps/pthread/pthread.h: Revert previous
22116 change.
22117
7579d8d5
WN
22118 * sysdeps/generic/ldsodefs.h: Revert previous
22119 change.
22120
c15cf13a
WN
22121 * libio/genops.c: Revert previous change.
22122 * libio/libioP.h: Likewise.
22123 * stdio-common/vfprintf.c: Likewise.
22124
d0ac1324
WN
22125 * sysdeps/generic/math_private.h: Revert previous
22126 change.
22127
9290130a
WN
22128 * sysdeps/generic/math_private.h: Check whether
22129 HAVE_RM_CTX is defined with #ifdef rather
22130 than #if.
22131
afb466fc
WN
22132 * argp/argp-fmtstream.h: Check whether
22133 __STRICT_ANSI__ is defined with #ifdef rather
22134 than #if.
22135 * argp/argp.h: Likewise.
22136
f7efd7c3
WN
22137 * libio/genops.c: Check whether
22138 _IO_JUMPS_OFFSET is defined with #ifdef rather
22139 than #if.
22140 * libio/libioP.h: Likewise.
22141 * stdio-common/vfprintf.c: Likewise.
22142
53f1bed3
WN
22143 * sysdeps/generic/ldsodefs.h: Check whether
22144 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22145 than #if.
22146
788bba36
WN
22147 * nptl/sysdeps/pthread/pthread.h: Check
22148 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22149 its value.
22150
fcd89ebe
SP
221512014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22152
ae42bbc5
SP
22153 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22154 setting O_APPEND.
22155 * libio/tst-ftell-active-handler.c (do_append_test): Add a
22156 test case.
22157
ea33158c
SP
22158 [BZ #16680]
22159 * libio/fileops.c (_IO_file_open): Seek to end of file but
22160 don't cache the offset.
22161 (get_file_offset): Remove function.
22162 (do_ftell): Use cached offset when available.
22163 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22164 don't cache the offset.
22165 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22166 case.
22167 (do_one_test): Call it.
22168 (do_ftell_test): Fix up expected old offset for a+ mode.
22169 * libio/wfileops.c (do_ftell_wide): Used cached offset when
22170 available.
22171
b1dbb426
SP
22172 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22173 up test status with function return status.
22174 (do_write_test): Likewise.
22175 (do_append_test): Likewise.
22176
fcd89ebe
SP
22177 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22178 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22179 Remove.
22180
9962a2d3
JM
221812014-03-17 Joseph Myers <joseph@codesourcery.com>
22182
22183 * math/gen-libm-test.pl (parse_args): Handle results specified for
22184 each rounding mode separately.
22185 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22186 tests and results from lrint_tonearest_test_data,
22187 lrint_towardzero_test_data, lrint_downward_test_data and
22188 lrint_upward_test_data.
22189 (lrint_test): Use ALL_RM_TEST.
22190 (lrint_tonearest_test_data): Remove.
22191 (lrint_test_tonearest): Likewise.
22192 (lrint_towardzero_test_data): Likewise.
22193 (lrint_test_towardzero): Likewise.
22194 (lrint_downward_test_data): Likewise.
22195 (lrint_test_downward): Likewise.
22196 (lrint_upward_test_data): Likewise.
22197 (lrint_test_upward): Likewise.
22198 (llrint_test_data): Merge in per-rounding-mode tests and results
22199 from llrint_tonearest_test_data, llrint_towardzero_test_data,
22200 llrint_downward_test_data and llrint_upward_test_data.
22201 (llrint_test): Use ALL_RM_TEST.
22202 (llrint_tonearest_test_data): Remove.
22203 (llrint_test_tonearest): Likewise.
22204 (llrint_towardzero_test_data): Likewise.
22205 (llrint_test_towardzero): Likewise.
22206 (llrint_downward_test_data): Likewise.
22207 (llrint_test_downward): Likewise.
22208 (llrint_upward_test_data): Likewise.
22209 (llrint_test_upward): Likewise.
22210 (rint_test_data): Merge in per-rounding-mode tests and results
22211 from rint_tonearest_test_data, rint_towardzero_test_data,
22212 rint_downward_test_data and rint_upward_test_data. Add
22213 per-rounding-mode results for tests not in those arrays.
22214 (rint_test): Use ALL_RM_TEST.
22215 (rint_tonearest_test_data): Remove.
22216 (rint_test_tonearest): Likewise.
22217 (rint_towardzero_test_data): Likewise.
22218 (rint_test_towardzero): Likewise.
22219 (rint_downward_test_data): Likewise.
22220 (rint_test_downward): Likewise.
22221 (rint_upward_test_data): Likewise.
22222 (rint_test_upward): Likewise.
22223 (main): Don't call removed functions.
22224
5006148e
RM
222252014-03-14 Roland McGrath <roland@hack.frob.com>
22226
22227 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22228 "Compiled on ..." crapola. It is anti-useful.
22229
d6fe5e58
JM
222302014-03-14 Joseph Myers <joseph@codesourcery.com>
22231
22232 * scripts/evaluate-test.sh: Handle fourth argument to determine
22233 whether test run should stop on failure.
22234 * Makeconfig (stop-on-test-failure): New variable.
22235 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22236 $(stop-on-test-failure).
22237 * Makefile (tests): Give a summary of results from testing and
22238 exit with failure status if they include an ERROR or FAIL.
22239 (xtests): Likewise.
22240 * manual/install.texi (Configuring and compiling): Mention
22241 stop-on-test-failure=y.
22242 * INSTALL: Regenerated.
22243
498a2233
RM
222442014-03-14 Roland McGrath <roland@hack.frob.com>
22245
22dbc19d
RM
22246 * scripts/versionlist.awk: New file.
22247 * Makerules [$(build-shared) = yes]
22248 (postclean-generated): Add Versions.def, not Versions.def.v and
22249 Versions.def.v.i.
22250 ($(common-objpfx)Versions.def.v.i): Target removed.
22251 ($(common-objpfx)Versions.def): New target.
22252 ($(common-objpfx)Versions.all): Depend on that rather that
22253 $(common-objpfx)Versions.def.v.
22254 * Versions.def: File removed.
22255
498a2233
RM
22256 * Makeconfig (+gccwarn): Add -Wundef.
22257 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22258 a dl-sysdep.h breaking its contract.
22259 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22260 * include/stackinfo.h: New file.
22261 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22262 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22263 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22264 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22265 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22266 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22267 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22268 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22269 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22270 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22271 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22272 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22273 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22274 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22275 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22276
c7de5025
AZ
222772014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22278
22279 [BZ #16707]
22280 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22281 implementation.
22282 * math/libm-test.inc (round_test_data): Add more tests.
22283
98fb27a3
AZ
22284 [BZ #16706]
22285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22286 implementation.
22287 * math/libm-test.inc (nearbyint_test_data): Add more tests.
22288
374f7f61
AZ
22289 [BZ #16701]
22290 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22291 implementation.
22292 * math/libm-test.inc (ceil_test_data): Add more tests.
22293
4655c291
AZ
22294 * math/libm-test.inc (trunc_test_data): Add more tests related to
22295 BZ#16414.
22296
d7329d4b
RM
222972014-03-14 Roland McGrath <roland@hack.frob.com>
22298
22299 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22300 with #if rather than #ifdef.
22301 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22302
aa4de9ce
L
223032014-03-14 H.J. Lu <hongjiu.lu@intel.com>
22304
22305 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22306 first. Disable AVX-512 GCC support if assembler doesn't support
22307 it.
22308 * sysdeps/x86_64/configure: Regenerated.
22309
2e03fae7
CD
223102014-03-13 Carlos O'Donell <carlos@redhat.com>
22311
22312 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22313 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22314 (__old_pthread_attr_setstack): Likewise.
22315 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22316 [!_STACK_GROWS_DOWN]: Likewise.
22317
43ca83ec
MF
223182014-03-13 Mike Frysinger <vapier@gentoo.org>
22319
22320 * config.make.in (have-bash2): Delete.
22321 * configure.ac (libc_cv_have_bash2): Delete.
22322 * configure: Regenerate.
22323 * elf/Makefile (common-ldd-rewrite): Rename to ...
22324 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
22325 (sh-ldd-rewrite): Delete.
22326 (bash-ldd-rewrite): Delete.
22327 (have-bash2): Delete checks.
57f41c40
AS
22328 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22329 ldd-rewrite.
c66e48b4
MF
22330
22331 * config.make.in (have-ksh): Delete.
22332 (KSH): Delete.
22333 * configure.ac (libc_cv_have_ksh): Delete.
22334 * configure: Regenerate.
22335
b93834ef
MF
22336 * elf/Makefile: Delete $(have-ksh) check.
22337 ($(objpfx)sotruss): Change KSH to BASH.
22338 * elf/sotruss.ksh: Rename to ...
22339 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
22340 function style to match POSIX. Drop ksh vim mode setting.
22341
f3a4632a
MF
22342 * manual/time.texi (Specifying the Time Zone with TZ): Change
22343 Tuesday to Thursday.
22344
5896c8bd
MF
22345 * debug/tst-longjmp_chk2.c: Update header comment.
22346 (stackoverflow_handler): Add comment. Call assert on pass value.
22347
2d63a517
IZ
223482014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
22349
7e54fd04 22350 [BZ #16194]
2d63a517
IZ
22351 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22352 (HAVE_AVX512_ASM_SUPPORT): Likewise.
22353 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22354 (La_x86_64_vector): Add zmm.
22355 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22356 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22357 ($(objpfx)tst-audit10): New target.
22358 ($(objpfx)tst-audit10.out): Likewise.
22359 (tst-audit10-ENV): New.
22360 (AVX512-CFLAGS): Likewise.
22361 (CFLAGS-tst-audit10.c): Likewise.
22362 (CFLAGS-tst-auditmod10a.c): Likewise.
22363 (CFLAGS-tst-auditmod10b.c): Likewise.
22364 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22365 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22366 * sysdeps/x86_64/configure: Regenerated.
22367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22368 AVX-512 zmm register support.
22369 (_dl_x86_64_save_sse): Likewise.
22370 (_dl_x86_64_restore_sse): Likewise.
22371 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22372 size vector registers.
22373 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22374 (ZMM_SIZE): Likewise.
22375 * sysdeps/x86_64/tst-audit10.c: New file.
22376 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22377 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22378
44c4e5d5
RM
223792014-03-13 Roland McGrath <roland@hack.frob.com>
22380
22381 * configure.ac (HAVE_EHDR_START): New check.
22382 * configure: Regenerated.
22383 * config.h.in (HAVE_EHDR_START): New #undef.
22384 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22385 assuming the lowest-addressed segment maps the start of the file.
22386
acd6e389
JM
223872014-03-13 Joseph Myers <joseph@codesourcery.com>
22388
22389 * INSTALL: Regenerated.
22390
6f918f36
WN
223912014-03-13 Will Newton <will.newton@linaro.org>
22392
22393 * manual/setjmp.texi (System V contexts): Improve
22394 clarity and grammar of documentation.
22395
798212a0
PP
223962014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22397
22398 [BZ #16381]
798212a0 22399 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 22400 (tests-pie): Add tst-pie2.
798212a0
PP
22401 * elf/tst-pie2.c: New file.
22402 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22403 for ET_EXEC.
22404 * elf/rtld.c (map_doit): Load executable as lt_executable.
22405 (dl_main): Likewise.
22406
abe6d90c
JM
224072014-03-12 Joseph Myers <joseph@codesourcery.com>
22408
22409 [BZ #16642]
22410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22411 (__ASSUME_PSELECT): Undefine.
22412
dd3946c6
AZ
224132014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22414
22415 [BZ #16689]
22416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22417 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22418 static build.
22419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22420 selector for static builds.
22421
c44496df
SP
224222014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22423
22424 [BZ #16695]
22425 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22426 key in the buffer.
22427
27c7220a
AZ
224282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22429
57f41c40
AS
22430 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22431 IFUNC selector for static builds.
27c7220a 22432
600fa361
JM
224332014-03-11 Joseph Myers <joseph@codesourcery.com>
22434
76c96cf7
JM
22435 * sysdeps/mips/math_private.h [__mips_hard_float]
22436 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22437 libc_feresetround_mips_ctx.
22438 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22439 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22440 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22441
600fa361
JM
22442 [BZ #16677]
22443 * math/s_nextafter.c (__nextafter): Do not return value from
22444 overflowing computation.
22445 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22446 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22448 Likewise.
22449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22450 Likewise.
22451 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22452 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22453
d7706c32
RM
224542014-03-11 Roland McGrath <roland@hack.frob.com>
22455
22456 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22457 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22458 Move sfi_sp use from the load-multiple (that no longer sets sp) to
22459 the new mov targetting sp.
22460
4facea47
AZ
224612014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22462
22463 [BZ #16683]
22464 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22465 Define it for static builds as well.
22466 (NO_BZERO_IMPL): Likewise.
22467
e65caf1f
VR
224682014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22469
22470 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22471 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22472 multiarch strspn for PPC64.
22473 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22474 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22476 (__libc_ifunc_impl_list): Likewise.
22477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22478 multiarch optimizations
22479 * string/strspn.c (strspn): Using macro to redefine symbol name.
22480
ba9cc071
AZ
224812014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22482 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22483
22484 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22485 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22486 multiarch strncat for PPC64.
22487 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22488 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22490 (__libc_ifunc_impl_list): Likewise.
22491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22492 multiarch optimizations
22493
8b4ff974
SP
224942014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22495
22496 [BZ #16639]
22497 * nscd/nscd.service: Make service type forking.
22498
54b46a4b
AZ
224992014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22500
22501 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22502 sign in non default rounding modes.
22503 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22504
e9996ef7
JM
225052014-03-08 Joseph Myers <joseph@codesourcery.com>
22506
22507 * math/libm-test.inc (ALL_RM_TEST): New macro.
22508 (ceil_test): Use ALL_RM_TEST.
22509 (cimag_test): Likewise.
22510 (conj_test): Likewise.
22511 (copysign_test): Likewise.
22512 (cproj_test): Likewise.
22513 (creal_test): Likewise.
22514 (fabs_test): Likewise.
22515 (floor_test): Likewise.
22516 (fmax_test): Likewise.
22517 (fmin_test): Likewise.
22518 (fmod_test): Likewise.
22519 (fpclassify_test): Likewise.
22520 (frexp_test): Likewise.
22521 (ilogb_test): Likewise.
22522 (isfinite_test): Likewise.
22523 (finite_test): Likewise.
22524 (isgreater_test): Likewise.
22525 (isgreaterequal_test): Likewise.
22526 (isinf_test): Likewise.
22527 (isless_test): Likewise.
22528 (islessequal_test): Likewise.
22529 (islessgreater_test): Likewise.
22530 (isnan_test): Likewise.
22531 (isnormal_test): Likewise.
22532 (issignaling_test): Likewise.
22533 (isunordered_test): Likewise.
22534 (logb_test): Likewise.
22535 (logb_downward_test_data): Remove.
22536 (logb_test_downward): Likewise.
22537 (lround_test): Use ALL_RM_TEST.
22538 (llround_test): Likewise.
22539 (modf_test): Likewise.
22540 (nexttoward_test): Likewise.
22541 (remainder_test): Likewise.
22542 (drem_test): Likewise.
22543 (remainder_tonearest_test_data): Likewise.
22544 (remainder_test_tonearest): Likewise.
22545 (drem_test_tonearest): Likewise.
22546 (remainder_towardzero_test_data): Likewise.
22547 (remainder_test_towardzero): Likewise.
22548 (drem_test_towardzero): Likewise.
22549 (remainder_downward_test_data): Likewise.
22550 (remainder_test_downward): Likewise.
22551 (drem_test_downward): Likewise.
22552 (remainder_upward_test_data): Likewise.
22553 (remainder_test_upward): Likewise.
22554 (drem_test_upward): Likewise.
22555 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
22556 (round_test): Use ALL_RM_TEST.
22557 (signbit_test): Likewise.
22558 (trunc_test): Likewise.
22559 (significand_test): Likewise.
22560 (main): Don't call removed functions.
22561
bc61d27c
JM
225622014-03-07 Joseph Myers <joseph@codesourcery.com>
22563
5c780849
JM
22564 [BZ #16674]
22565 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22566 || __USE_XOPEN2K8].
22567 (ILL_ILLOPN): Likewise.
22568 (ILL_ILLADR): Likewise.
22569 (ILL_ILLTRP): Likewise.
22570 (ILL_PRVOPC): Likewise.
22571 (ILL_PRVREG): Likewise.
22572 (ILL_COPROC): Likewise.
22573 (ILL_BADSTK): Likewise.
22574 (FPE_INTDIV): Likewise.
22575 (FPE_INTOVF): Likewise.
22576 (FPE_FLTDIV): Likewise.
22577 (FPE_FLTOVF): Likewise.
22578 (FPE_FLTUND): Likewise.
22579 (FPE_FLTRES): Likewise.
22580 (FPE_FLTINV): Likewise.
22581 (FPE_FLTSUB): Likewise.
22582 (SEGV_MAPERR): Likewise.
22583 (SEGV_ACCERR): Likewise.
22584 (BUS_ADRALN): Likewise.
22585 (BUS_ADRERR): Likewise.
22586 (BUS_OBJERR): Likewise.
22587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22588 (TRAP_TRACE): Likewise.
22589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22590 __USE_XOPEN2K8].
22591 (CLD_KILLED): Likewise.
22592 (CLD_DUMPED): Likewise.
22593 (CLD_TRAPPED): Likewise.
22594 (CLD_STOPPED): Likewise.
22595 (CLD_CONTINUED): Likewise.
22596 (POLL_IN): Likewise.
22597 (POLL_OUT): Likewise.
22598 (POLL_MSG): Likewise.
22599 (POLL_ERR): Likewise.
22600 (POLL_PRI): Likewise.
22601 (POLL_HUP): Likewise.
22602 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22603 Likewise.
22604 (ILL_ILLOPN): Likewise.
22605 (ILL_ILLADR): Likewise.
22606 (ILL_ILLTRP): Likewise.
22607 (ILL_PRVOPC): Likewise.
22608 (ILL_PRVREG): Likewise.
22609 (ILL_COPROC): Likewise.
22610 (ILL_BADSTK): Likewise.
22611 (FPE_INTDIV): Likewise.
22612 (FPE_INTOVF): Likewise.
22613 (FPE_FLTDIV): Likewise.
22614 (FPE_FLTOVF): Likewise.
22615 (FPE_FLTUND): Likewise.
22616 (FPE_FLTRES): Likewise.
22617 (FPE_FLTINV): Likewise.
22618 (FPE_FLTSUB): Likewise.
22619 (SEGV_MAPERR): Likewise.
22620 (SEGV_ACCERR): Likewise.
22621 (BUS_ADRALN): Likewise.
22622 (BUS_ADRERR): Likewise.
22623 (BUS_OBJERR): Likewise.
22624 (BUS_MCEERR_AR): Likewise.
22625 (BUS_MCEERR_AO): Likewise.
22626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22627 (TRAP_TRACE): Likewise.
22628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22629 __USE_XOPEN2K8].
22630 (CLD_KILLED): Likewise.
22631 (CLD_DUMPED): Likewise.
22632 (CLD_TRAPPED): Likewise.
22633 (CLD_STOPPED): Likewise.
22634 (CLD_CONTINUED): Likewise.
22635 (POLL_IN): Likewise.
22636 (POLL_OUT): Likewise.
22637 (POLL_MSG): Likewise.
22638 (POLL_ERR): Likewise.
22639 (POLL_PRI): Likewise.
22640 (POLL_HUP): Likewise.
22641 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22642 (ILL_ILLOPN): Likewise.
22643 (ILL_ILLADR): Likewise.
22644 (ILL_ILLTRP): Likewise.
22645 (ILL_PRVOPC): Likewise.
22646 (ILL_PRVREG): Likewise.
22647 (ILL_COPROC): Likewise.
22648 (ILL_BADSTK): Likewise.
22649 (FPE_INTDIV): Likewise.
22650 (FPE_INTOVF): Likewise.
22651 (FPE_FLTDIV): Likewise.
22652 (FPE_FLTOVF): Likewise.
22653 (FPE_FLTUND): Likewise.
22654 (FPE_FLTRES): Likewise.
22655 (FPE_FLTINV): Likewise.
22656 (FPE_FLTSUB): Likewise.
22657 (SEGV_MAPERR): Likewise.
22658 (SEGV_ACCERR): Likewise.
22659 (BUS_ADRALN): Likewise.
22660 (BUS_ADRERR): Likewise.
22661 (BUS_OBJERR): Likewise.
22662 (BUS_MCEERR_AR): Likewise.
22663 (BUS_MCEERR_AO): Likewise.
22664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22665 (TRAP_TRACE): Likewise.
22666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22667 __USE_XOPEN2K8].
22668 (CLD_KILLED): Likewise.
22669 (CLD_DUMPED): Likewise.
22670 (CLD_TRAPPED): Likewise.
22671 (CLD_STOPPED): Likewise.
22672 (CLD_CONTINUED): Likewise.
22673 (POLL_IN): Likewise.
22674 (POLL_OUT): Likewise.
22675 (POLL_MSG): Likewise.
22676 (POLL_ERR): Likewise.
22677 (POLL_PRI): Likewise.
22678 (POLL_HUP): Likewise.
22679 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22680 Likewise.
22681 (ILL_ILLOPN): Likewise.
22682 (ILL_ILLADR): Likewise.
22683 (ILL_ILLTRP): Likewise.
22684 (ILL_PRVOPC): Likewise.
22685 (ILL_PRVREG): Likewise.
22686 (ILL_COPROC): Likewise.
22687 (ILL_BADSTK): Likewise.
22688 (ILL_BADIADDR): Likewise.
22689 (ILL_BREAK): Likewise.
22690 (FPE_INTDIV): Likewise.
22691 (FPE_INTOVF): Likewise.
22692 (FPE_FLTDIV): Likewise.
22693 (FPE_FLTOVF): Likewise.
22694 (FPE_FLTUND): Likewise.
22695 (FPE_FLTRES): Likewise.
22696 (FPE_FLTINV): Likewise.
22697 (FPE_FLTSUB): Likewise.
22698 (FPE_DECOVF): Likewise.
22699 (FPE_DECDIV): Likewise.
22700 (FPE_DECERR): Likewise.
22701 (FPE_INVASC): Likewise.
22702 (FPE_INVDEC): Likewise.
22703 (SEGV_MAPERR): Likewise.
22704 (SEGV_ACCERR): Likewise.
22705 (SEGV_PSTKOVF): Likewise.
22706 (BUS_ADRALN): Likewise.
22707 (BUS_ADRERR): Likewise.
22708 (BUS_OBJERR): Likewise.
22709 (BUS_MCEERR_AR): Likewise.
22710 (BUS_MCEERR_AO): Likewise.
22711 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22712 (TRAP_TRACE): Likewise.
22713 (TRAP_BRANCH): Likewise.
22714 (TRAP_HWBKPT): Likewise.
22715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22716 __USE_XOPEN2K8].
22717 (CLD_KILLED): Likewise.
22718 (CLD_DUMPED): Likewise.
22719 (CLD_TRAPPED): Likewise.
22720 (CLD_STOPPED): Likewise.
22721 (CLD_CONTINUED): Likewise.
22722 (POLL_IN): Likewise.
22723 (POLL_OUT): Likewise.
22724 (POLL_MSG): Likewise.
22725 (POLL_ERR): Likewise.
22726 (POLL_PRI): Likewise.
22727 (POLL_HUP): Likewise.
22728 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22729 (ILL_ILLOPN): Likewise.
22730 (ILL_ILLADR): Likewise.
22731 (ILL_ILLTRP): Likewise.
22732 (ILL_PRVOPC): Likewise.
22733 (ILL_PRVREG): Likewise.
22734 (ILL_COPROC): Likewise.
22735 (ILL_BADSTK): Likewise.
22736 (FPE_INTDIV): Likewise.
22737 (FPE_INTOVF): Likewise.
22738 (FPE_FLTDIV): Likewise.
22739 (FPE_FLTOVF): Likewise.
22740 (FPE_FLTUND): Likewise.
22741 (FPE_FLTRES): Likewise.
22742 (FPE_FLTINV): Likewise.
22743 (FPE_FLTSUB): Likewise.
22744 (SEGV_MAPERR): Likewise.
22745 (SEGV_ACCERR): Likewise.
22746 (BUS_ADRALN): Likewise.
22747 (BUS_ADRERR): Likewise.
22748 (BUS_OBJERR): Likewise.
22749 (BUS_MCEERR_AR): Likewise.
22750 (BUS_MCEERR_AO): Likewise.
22751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22752 (TRAP_TRACE): Likewise.
22753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22754 __USE_XOPEN2K8].
22755 (CLD_KILLED): Likewise.
22756 (CLD_DUMPED): Likewise.
22757 (CLD_TRAPPED): Likewise.
22758 (CLD_STOPPED): Likewise.
22759 (CLD_CONTINUED): Likewise.
22760 (POLL_IN): Likewise.
22761 (POLL_OUT): Likewise.
22762 (POLL_MSG): Likewise.
22763 (POLL_ERR): Likewise.
22764 (POLL_PRI): Likewise.
22765 (POLL_HUP): Likewise.
22766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22767 (ILL_ILLOPN): Likewise.
22768 (ILL_ILLADR): Likewise.
22769 (ILL_ILLTRP): Likewise.
22770 (ILL_PRVOPC): Likewise.
22771 (ILL_PRVREG): Likewise.
22772 (ILL_COPROC): Likewise.
22773 (ILL_BADSTK): Likewise.
22774 (FPE_INTDIV): Likewise.
22775 (FPE_INTOVF): Likewise.
22776 (FPE_FLTDIV): Likewise.
22777 (FPE_FLTOVF): Likewise.
22778 (FPE_FLTUND): Likewise.
22779 (FPE_FLTRES): Likewise.
22780 (FPE_FLTINV): Likewise.
22781 (FPE_FLTSUB): Likewise.
22782 (SEGV_MAPERR): Likewise.
22783 (SEGV_ACCERR): Likewise.
22784 (BUS_ADRALN): Likewise.
22785 (BUS_ADRERR): Likewise.
22786 (BUS_OBJERR): Likewise.
22787 (BUS_MCEERR_AR): Likewise.
22788 (BUS_MCEERR_AO): Likewise.
22789 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22790 (TRAP_TRACE): Likewise.
22791 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22792 __USE_XOPEN2K8].
22793 (CLD_KILLED): Likewise.
22794 (CLD_DUMPED): Likewise.
22795 (CLD_TRAPPED): Likewise.
22796 (CLD_STOPPED): Likewise.
22797 (CLD_CONTINUED): Likewise.
22798 (POLL_IN): Likewise.
22799 (POLL_OUT): Likewise.
22800 (POLL_MSG): Likewise.
22801 (POLL_ERR): Likewise.
22802 (POLL_PRI): Likewise.
22803 (POLL_HUP): Likewise.
22804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22805 (ILL_ILLOPN): Likewise.
22806 (ILL_ILLADR): Likewise.
22807 (ILL_ILLTRP): Likewise.
22808 (ILL_PRVOPC): Likewise.
22809 (ILL_PRVREG): Likewise.
22810 (ILL_COPROC): Likewise.
22811 (ILL_BADSTK): Likewise.
22812 (FPE_INTDIV): Likewise.
22813 (FPE_INTOVF): Likewise.
22814 (FPE_FLTDIV): Likewise.
22815 (FPE_FLTOVF): Likewise.
22816 (FPE_FLTUND): Likewise.
22817 (FPE_FLTRES): Likewise.
22818 (FPE_FLTINV): Likewise.
22819 (FPE_FLTSUB): Likewise.
22820 (SEGV_MAPERR): Likewise.
22821 (SEGV_ACCERR): Likewise.
22822 (BUS_ADRALN): Likewise.
22823 (BUS_ADRERR): Likewise.
22824 (BUS_OBJERR): Likewise.
22825 (BUS_MCEERR_AR): Likewise.
22826 (BUS_MCEERR_AO): Likewise.
22827 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22828 (TRAP_TRACE): Likewise.
22829 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22830 __USE_XOPEN2K8].
22831 (CLD_KILLED): Likewise.
22832 (CLD_DUMPED): Likewise.
22833 (CLD_TRAPPED): Likewise.
22834 (CLD_STOPPED): Likewise.
22835 (CLD_CONTINUED): Likewise.
22836 (POLL_IN): Likewise.
22837 (POLL_OUT): Likewise.
22838 (POLL_MSG): Likewise.
22839 (POLL_ERR): Likewise.
22840 (POLL_PRI): Likewise.
22841 (POLL_HUP): Likewise.
22842 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22843 (ILL_ILLOPN): Likewise.
22844 (ILL_ILLADR): Likewise.
22845 (ILL_ILLTRP): Likewise.
22846 (ILL_PRVOPC): Likewise.
22847 (ILL_PRVREG): Likewise.
22848 (ILL_COPROC): Likewise.
22849 (ILL_BADSTK): Likewise.
22850 (ILL_DBLFLT): Likewise.
22851 (ILL_HARDWALL): Likewise.
22852 (FPE_INTDIV): Likewise.
22853 (FPE_INTOVF): Likewise.
22854 (FPE_FLTDIV): Likewise.
22855 (FPE_FLTOVF): Likewise.
22856 (FPE_FLTUND): Likewise.
22857 (FPE_FLTRES): Likewise.
22858 (FPE_FLTINV): Likewise.
22859 (FPE_FLTSUB): Likewise.
22860 (SEGV_MAPERR): Likewise.
22861 (SEGV_ACCERR): Likewise.
22862 (BUS_ADRALN): Likewise.
22863 (BUS_ADRERR): Likewise.
22864 (BUS_OBJERR): Likewise.
22865 (BUS_MCEERR_AR): Likewise.
22866 (BUS_MCEERR_AO): Likewise.
22867 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22868 (TRAP_TRACE): Likewise.
22869 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22870 __USE_XOPEN2K8].
22871 (CLD_KILLED): Likewise.
22872 (CLD_DUMPED): Likewise.
22873 (CLD_TRAPPED): Likewise.
22874 (CLD_STOPPED): Likewise.
22875 (CLD_CONTINUED): Likewise.
22876 (POLL_IN): Likewise.
22877 (POLL_OUT): Likewise.
22878 (POLL_MSG): Likewise.
22879 (POLL_ERR): Likewise.
22880 (POLL_PRI): Likewise.
22881 (POLL_HUP): Likewise.
22882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22883 (ILL_ILLOPN): Likewise.
22884 (ILL_ILLADR): Likewise.
22885 (ILL_ILLTRP): Likewise.
22886 (ILL_PRVOPC): Likewise.
22887 (ILL_PRVREG): Likewise.
22888 (ILL_COPROC): Likewise.
22889 (ILL_BADSTK): Likewise.
22890 (FPE_INTDIV): Likewise.
22891 (FPE_INTOVF): Likewise.
22892 (FPE_FLTDIV): Likewise.
22893 (FPE_FLTOVF): Likewise.
22894 (FPE_FLTUND): Likewise.
22895 (FPE_FLTRES): Likewise.
22896 (FPE_FLTINV): Likewise.
22897 (FPE_FLTSUB): Likewise.
22898 (SEGV_MAPERR): Likewise.
22899 (SEGV_ACCERR): Likewise.
22900 (BUS_ADRALN): Likewise.
22901 (BUS_ADRERR): Likewise.
22902 (BUS_OBJERR): Likewise.
22903 (BUS_MCEERR_AR): Likewise.
22904 (BUS_MCEERR_AO): Likewise.
22905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22906 (TRAP_TRACE): Likewise.
22907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22908 __USE_XOPEN2K8].
22909 (CLD_KILLED): Likewise.
22910 (CLD_DUMPED): Likewise.
22911 (CLD_TRAPPED): Likewise.
22912 (CLD_STOPPED): Likewise.
22913 (CLD_CONTINUED): Likewise.
22914 (POLL_IN): Likewise.
22915 (POLL_OUT): Likewise.
22916 (POLL_MSG): Likewise.
22917 (POLL_ERR): Likewise.
22918 (POLL_PRI): Likewise.
22919 (POLL_HUP): Likewise.
22920 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22921 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22922
bc61d27c
JM
22923 [BZ #16670]
22924 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22925 before #include of <time.h>.
22926 [!__USE_XOPEN2K] (__need_timespec): Likewise.
22927 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22928 (test-xfail-UNIX98/sched.h/conform): Likewise.
22929
302949e2
MS
229302014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
22931
22932 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22933 error absence of trapping exception support.
22934 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22935
a00f522a
JM
229362014-03-07 Joseph Myers <joseph@codesourcery.com>
22937
6f99f280
JM
22938 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22939 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22940 * timezone/Makefile (testdata): Move definition above include of
22941 Rules.
22942 (test-zones): New variable.
22943 (tests-special): Add zone files.
22944 (build-testdata): Use $(evaluate-test).
22945
0b20a9e8
JM
22946 * elf/Makefile (tests-special): Rename tests to end with .out.
22947 ($(objpfx)noload-mem): Likewise.
22948 ($(objpfx)tst-leaks1-mem): Likewise.
22949 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22950 * iconv/Makefile (xtests-special): Change test-iconvconfig to
22951 $(objpfx)test-iconvconfig.out.
22952 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
22953 set -e inside subshell and redirect output to file.
22954 * iconvdata/Makefile (generated): Rename tests to end with .out.
22955 Correct type.
22956 (tests-special): Rename tests to end with .out.
22957 ($(objpfx)mtrace-tst-loading): Likewise.
22958 * intl/Makefile (generated): Likewise.
22959 (tests-special): Likewise.
22960 ($(objpfx)mtrace-tst-gettext): Likewise.
22961 * misc/Makefile (generated): Likewise.
22962 (tests-special): Likewise.
22963 ($(objpfx)tst-error1-mem): Likewise.
22964 * nptl/Makefile (tests-special): Likewise.
22965 ($(objpfx)tst-stack3-mem): Likewise.
22966 (generated): Likewise.
22967 * posix/Makefile (generated): Likewise.
22968 (tests-special): Likewise.
22969 (xtests-special): Likewise.
22970 ($(objpfx)tst-fnmatch-mem): Likewise.
22971 ($(objpfx)bug-regex2-mem): Likewise.
22972 ($(objpfx)bug-regex14-mem): Likewise.
22973 ($(objpfx)bug-regex21-mem): Likewise.
22974 ($(objpfx)bug-regex31-mem): Likewise.
22975 ($(objpfx)tst-vfork3-mem): Likewise.
22976 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22977 ($(objpfx)tst-pcre-mem): Likewise.
22978 ($(objpfx)tst-boost-mem): Likewise.
22979 ($(objpfx)bug-ga2-mem): Likewise.
22980 ($(objpfx)bug-glob2-mem): Likewise.
22981 * resolv/Makefile (generate): Likewise.
22982 (tests-special): Likewise.
22983 (xtests-special): Likewise.
22984 (generated): Likewise.
22985 ($(objpfx)mtrace-tst-leaks): Likewise.
22986 ($(objpfx)mtrace-tst-leaks2): Likewise.
22987
265d52ab
JM
22988 * scripts/merge-test-results.sh: New file.
22989 * Makefile (tests-special-notdir): New variable.
22990 (tests): Run merge-test-results.sh.
22991 (xtests): Likewise.
22992 * Rules (tests-special-notdir): New variable.
22993 (xtests-special-notdir): Likewise.
22994 (tests): Run merge-test-results.sh
22995 (xtests): Likewise.
22996
54ee292d
JM
22997 * Makeconfig (test-xfail-name): New variable.
22998 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22999 compute variable name for expected failures.
23000 * conform/Makefile (conformtest-headers-data): New variable.
23001 (conformtest-standards): Likewise.
23002 (conformtest-headers-ISO): Likewise.
23003 (conformtest-headers-ISO99): Likewise.
23004 (conformtest-headers-ISO11): Likewise.
23005 (conformtest-headers-POSIX): Likewise.
23006 (conformtest-headers-XPG3): Likewise.
23007 (conformtest-headers-XPG4): Likewise.
23008 (conformtest-headers-UNIX98): Likewise.
23009 (conformtest-headers-XOPEN2K): Likewise.
23010 (conformtest-headers-POSIX2008): Likewise.
23011 (conformtest-headers-XOPEN2K8): Likewise.
23012 (conformtest-header-list-base): Likewise.
23013 (conformtest-header-list-tests): Likewise.
23014 (conformtest-header-base): Likewise.
23015 (conformtest-header-tests): Likewise.
23016 (tests-special): Add $(conformtest-header-list-tests). If
23017 [$(fast-check) && !$(cross-compiling)], add
23018 $(conformtest-header-tests) instead of
23019 $(objpfx)run-conformtest.out.
23020 (generated): Add $(conformtest-header-list-base). If
23021 [$(fast-check) && !$(cross-compiling)], add
23022 $(conformtest-header-base). Remove previous setting.
23023 ($(conformtest-header-list-tests)): New target.
23024 (test-xfail-run-conformtest): Remove variable.
23025 ($(objpfx)run-conformtest.out): Remove target.
23026 (test-xfail-ISO11/complex.h/conform): New variable.
23027 (test-xfail-ISO11/stdalign.h/conform): Likewise.
23028 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23029 (test-xfail-XPG3/varargs.h/conform): Likewise.
23030 (test-xfail-XPG4/varargs.h/conform): Likewise.
23031 (test-xfail-UNIX98/varargs.h/conform): Likewise.
23032 (test-xfail-XPG4/ndbm.h/conform): Likewise.
23033 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23034 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23035 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23036 (test-xfail-XPG3/fcntl.h/conform): Likewise.
23037 (test-xfail-XPG3/ftw.h/conform): Likewise.
23038 (test-xfail-XPG3/grp.h/conform): Likewise.
23039 (test-xfail-XPG3/langinfo.h/conform): Likewise.
23040 (test-xfail-XPG3/limits.h/conform): Likewise.
23041 (test-xfail-XPG3/pwd.h/conform): Likewise.
23042 (test-xfail-XPG3/search.h/conform): Likewise.
23043 (test-xfail-XPG3/signal.h/conform): Likewise.
23044 (test-xfail-XPG3/stdio.h/conform): Likewise.
23045 (test-xfail-XPG3/stdlib.h/conform): Likewise.
23046 (test-xfail-XPG3/string.h/conform): Likewise.
23047 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23048 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23049 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23050 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23051 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23052 (test-xfail-XPG3/sys/types.h/conform): Likewise.
23053 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23054 (test-xfail-XPG3/termios.h/conform): Likewise.
23055 (test-xfail-XPG3/time.h/conform): Likewise.
23056 (test-xfail-XPG3/unistd.h/conform): Likewise.
23057 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23058 (test-xfail-XPG4/fcntl.h/conform): Likewise.
23059 (test-xfail-XPG4/langinfo.h/conform): Likewise.
23060 (test-xfail-XPG4/netdb.h/conform): Likewise.
23061 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23062 (test-xfail-XPG4/signal.h/conform): Likewise.
23063 (test-xfail-XPG4/stdio.h/conform): Likewise.
23064 (test-xfail-XPG4/stdlib.h/conform): Likewise.
23065 (test-xfail-XPG4/stropts.h/conform): Likewise.
23066 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23067 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23068 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23069 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23070 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23071 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23072 (test-xfail-XPG4/sys/time.h/conform): Likewise.
23073 (test-xfail-XPG4/sys/types.h/conform): Likewise.
23074 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23075 (test-xfail-XPG4/termios.h/conform): Likewise.
23076 (test-xfail-XPG4/ucontext.h/conform): Likewise.
23077 (test-xfail-XPG4/unistd.h/conform): Likewise.
23078 (test-xfail-XPG4/utmpx.h/conform): Likewise.
23079 (test-xfail-POSIX/sched.h/conform): Likewise.
23080 (test-xfail-POSIX/signal.h/conform): Likewise.
23081 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23082 (test-xfail-POSIX/tar.h/conform): Likewise.
23083 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23084 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23085 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23086 (test-xfail-UNIX98/netdb.h/conform): Likewise.
23087 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23088 (test-xfail-UNIX98/sched.h/conform): Likewise.
23089 (test-xfail-UNIX98/signal.h/conform): Likewise.
23090 (test-xfail-UNIX98/stdio.h/conform): Likewise.
23091 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23092 (test-xfail-UNIX98/stropts.h/conform): Likewise.
23093 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23094 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23095 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23096 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23097 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23098 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23099 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23100 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23101 (test-xfail-UNIX98/unistd.h/conform): Likewise.
23102 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23103 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23104 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23105 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23106 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23107 (test-xfail-XOPEN2K/math.h/conform): Likewise.
23108 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23109 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23110 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23111 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23112 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23113 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23114 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23115 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23116 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23117 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23118 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23119 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23120 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23121 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23122 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23123 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23124 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23125 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23126 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23127 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23128 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23129 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23130 (test-xfail-POSIX2008/signal.h/conform): Likewise.
23131 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23132 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23133 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23134 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23135 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23136 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23137 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23138 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23139 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23140 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23141 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23142 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23143 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23144 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23145 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23146 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23147 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23148 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23149 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23150 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23151 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23152 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23153 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23154 (conformtest-cc-flags): Likewise.
23155 ($(conformtest-header-tests): New target.
23156 * conform/check-header-lists.sh: New file.
23157 * conform/run-conformtest.sh: Remove.
23158
a00f522a
JM
23159 * conform/conformtest.pl: Allow ' and \ in values given for
23160 constants.
23161 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23162 inclusion.
23163 [POSIX] (sys/types.h): Likewise.
23164 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23165 inclusion.
23166 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23167 inclusion.
23168 * conform/data/signal.h-data (SIGIO): Remove expectation.
23169 [XPG3] (SIGBUS): Do not expect.
23170 [POSIX || XPG3] (SIGPOLL): Likewise.
23171 [POSIX || XPG3] (SIGPROF): Likewise.
23172 [POSIX || XPG3] (SIGSYS): Likewise.
23173 [XPG3] (SIGTRAP): Likewise.
23174 [POSIX || XPG3] (SIGURG): Likewise.
23175 [POSIX || XPG3] (SIGVTALRM): Likewise.
23176 [POSIX || XPG3] (SIGXCPU): Likewise.
23177 [POSIX || XPG3] (SIGXFSZ): Likewise.
23178 [POSIX] (SA_SIGINFO): Expect.
23179 [XPG3] (siginfo_t): Do not expect type or contents.
23180 [POSIX] (si_pid): Do not expect element.
23181 [POSIX] (si_uid): Likewise.
23182 [POSIX] (si_addr): Likewise.
23183 [POSIX] (si_status): Likewise.
23184 [POSIX] (si_band): Likewise.
23185 [XPG4] (si_value): Likewise.
23186 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23187 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23188 [POSIX || XPG3] (ILL_ILLADR): Likewise.
23189 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23190 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23191 [POSIX || XPG3] (ILL_PRVREG): Likewise.
23192 [POSIX || XPG3] (ILL_COPROC): Likewise.
23193 [POSIX || XPG3] (ILL_BADSTK): Likewise.
23194 [POSIX || XPG3] (FPE_INTDIV): Likewise.
23195 [POSIX || XPG3] (FPE_INTOVF): Likewise.
23196 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23197 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23198 [POSIX || XPG3] (FPE_FLTUND): Likewise.
23199 [POSIX || XPG3] (FPE_FLTRES): Likewise.
23200 [POSIX || XPG3] (FPE_FLTINV): Likewise.
23201 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23202 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23203 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23204 [POSIX || XPG3] (BUS_ADRALN): Likewise.
23205 [POSIX || XPG3] (BUS_ADRERR): Likewise.
23206 [POSIX || XPG3] (BUS_OBJERR): Likewise.
23207 [POSIX || XPG3] (CLD_EXITED): Likewise.
23208 [POSIX || XPG3] (CLD_KILLED): Likewise.
23209 [POSIX || XPG3] (CLD_DUMPED): Likewise.
23210 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23211 [POSIX || XPG3] (CLD_STOPPED): Likewise.
23212 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23213 [POSIX || XPG3] (POLL_IN): Likewise.
23214 [POSIX || XPG3] (POLL_OUT): Likewise.
23215 [POSIX || XPG3] (POLL_MSG): Likewise.
23216 [POSIX || XPG3] (POLL_ERR): Likewise.
23217 [POSIX || XPG3] (POLL_PRI): Likewise.
23218 [POSIX || XPG3] (POLL_HUP): Likewise.
23219 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23220 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23221 (SIG*): Do not allow.
23222 [XPG3] (si_*): Likewise.
23223 [XPG3] (SI_*): Likewise.
23224 [XPG3 || XPG4] (sigev_*): Likewise.
23225 [XPG3 || XPG4] (SIGEV_*): Likewise.
23226 [XPG3 || XPG4] (sival_*): Likewise.
23227 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23228 [POSIX || XPG3] (BUS_*): Likewise.
23229 [POSIX || XPG3] (CLD_*): Likewise.
23230 [POSIX || XPG3] (FPE_*): Likewise.
23231 [POSIX || XPG3] (ILL_*): Likewise.
23232 [POSIX || XPG3] (POLL_*): Likewise.
23233 [POSIX || XPG3] (SEGV_*): Likewise.
23234 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23235 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23236 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23237 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23238 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23239 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23240 Specify type and value.
23241 (TVERSLEN): Likewise.
23242 (REGTYPE): Likewise.
23243 (AREGTYPE): Likewise.
23244 (LNKTYPE): Likewise.
23245 (SYMTYPE): Likewise.
23246 (CHRTYPE): Likewise.
23247 (BLKTYPE): Likewise.
23248 (DIRTYPE): Likewise.
23249 (FIFOTYPE): Likewise.
23250 (CONTTYPE): Likewise.
23251 (TSUID): Likewise.
23252 (TSGID): Likewise.
23253 (TSVTX): Likewise.
23254 (TUREAD): Likewise.
23255 (TUWRITE): Likewise.
23256 (TUEXEC): Likewise.
23257 (TGREAD): Likewise.
23258 (TGWRITE): Likewise.
23259 (TGEXEC): Likewise.
23260 (TOREAD): Likewise.
23261 (TOWRITE): Likewise.
23262 (TOEXEC): Likewise.
23263 [POSIX] (TSVTX): Expect constant.
23264
aa97dee1
JM
232652014-03-06 Joseph Myers <joseph@codesourcery.com>
23266
f214606a
JM
23267 * Makefile (tests): Change dependencies to ....
23268 (tests-special): ... additions to this variable.
23269 (tests): Depend on $(tests-special).
23270 * Makerules (check-abi-list): New variable.
23271 (check-abi): Depend on $(check-abi-list).
23272 [$(subdir) = elf] (tests-special): Add
23273 $(objpfx)check-abi-libc.out.
23274 [$(build-shared) = yes && subdir] (tests-special): Add
23275 $(check-abi-list).
23276 [$(build-shared) = yes && subdir] (tests): Do not depend on
23277 check-abi.
23278 * Rules (tests): Depend on $(tests-special).
23279 (xtests): Depend on $(xtests-special).
23280 * catgets/Makefile (tests): Change dependencies to ....
23281 (tests-special): ... additions to this variable.
23282 * conform/Makefile (tests): Change dependencies to ....
23283 (tests-special): ... additions to this variable.
23284 * elf/Makefile (tests): Change dependencies to ....
23285 (tests-special): ... additions to this variable.
23286 * grp/Makefile (tests): Change dependencies to ....
23287 (tests-special): ... additions to this variable.
23288 * iconv/Makefile (xtests): Change dependencies to ....
23289 (xtests-special): ... additions to this variable.
23290 * iconvdata/Makefile (tests): Change dependencies to ....
23291 (tests-special): ... additions to this variable.
23292 * intl/Makefile (tests): Change dependencies to ....
23293 (tests-special): ... additions to this variable. Also add
23294 $(objpfx)tst-gettext.out.
23295 * io/Makefile (tests): Change dependencies to ....
23296 (tests-special): ... additions to this variable.
23297 * libio/Makefile (tests): Change dependencies to ....
23298 (tests-special): ... additions to this variable.
23299 * malloc/Makefile (tests): Change dependencies to ....
23300 (tests-special): ... additions to this variable.
23301 * misc/Makefile (tests): Change dependencies to ....
23302 (tests-special): ... additions to this variable.
23303 * nptl/Makefile (tests): Change dependencies to ....
23304 (tests-special): ... additions to this variable.
23305 * nptl_db/Makefile (tests): Change dependencies to ....
23306 (tests-special): ... additions to this variable.
23307 * posix/Makefile (tests): Change dependencies to ....
23308 (tests-special): ... additions to this variable.
23309 (xtests): Change dependencies to ....
23310 (xtests-special): ... additions to this variable.
23311 * resolv/Makefile (tests): Change dependencies to ....
23312 (tests-special): ... additions to this variable.
23313 (xtests): Change dependencies to ....
23314 (xtests-special): ... additions to this variable.
23315 * stdio-common/Makefile (tests): Change dependencies to ....
23316 (tests-special): ... additions to this variable.
23317 (do-tst-unbputc): Remove target.
23318 (do-tst-printf): Likewise.
23319 * stdlib/Makefile (tests): Change dependencies to ....
23320 (tests-special): ... additions to this variable.
23321 * string/Makefile (tests): Change dependencies to ....
23322 (tests-special): ... additions to this variable.
23323 * sysdeps/x86/Makefile (tests): Change dependencies to ....
23324 (tests-special): ... additions to this variable.
23325
81700b53
JM
23326 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23327 whole file.
23328 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23329 whole file.
23330 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23331 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23332
2ea18461
JM
23333 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23334 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23335 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23336 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23337 * conform/data/libgen.h-data [XPG3]: Likewise.
23338 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23339 * conform/data/ndbm.h-data [XPG3]: Likewise.
23340 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23341 * conform/data/netdb.h-data [XPG3]: Likewise.
23342 * conform/data/netinet/in.h-data [XPG3]: Likewise.
23343 * conform/data/poll.h-data [XPG3]: Likewise.
23344 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23345 * conform/data/strings.h-data [XPG3]: Likewise.
23346 * conform/data/stropts.h-data [XPG3]: Likewise.
23347 * conform/data/sys/mman.h-data [XPG3]: Likewise.
23348 * conform/data/sys/resource.h-data [XPG3]: Likewise.
23349 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23350 Likewise.
23351 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23352 * conform/data/sys/time.h-data [XPG3]: Likewise.
23353 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23354 * conform/data/sys/uio.h-data [XPG3]: Likewise.
23355 * conform/data/sys/un.h-data [XPG3]: Likewise.
23356 * conform/data/syslog.h-data [XPG3]: Likewise.
23357 * conform/data/ucontext.h-data [XPG3]: Likewise.
23358 * conform/data/utmpx.h-data [XPG3]: Likewise.
23359 * conform/data/varargs.h-data [UNIX98]: Enable file.
23360
355bc986
JM
23361 * manual/Makefile (INSTALL_INFO): Remove variable setting.
23362
215db402
JM
23363 * math/libm-test.inc (struct test_f_f_data): Move expected results
23364 into structure for each rounding mode.
23365 (struct test_ff_f_data): Likewise.
23366 (struct test_ff_f_data_nexttoward): Likewise.
23367 (struct test_fi_f_data): Likewise.
23368 (struct test_fl_f_data): Likewise.
23369 (struct test_if_f_data): Likewise.
23370 (struct test_fff_f_data): Likewise.
23371 (struct test_c_f_data): Likewise.
23372 (struct test_f_f1_data): Likewise.
23373 (struct test_fF_f1_data): Likewise.
23374 (struct test_ffI_f1_data): Likewise.
23375 (struct test_c_c_data): Likewise.
23376 (struct test_cc_c_data): Likewise.
23377 (struct test_f_i_data): Likewise.
23378 (struct test_ff_i_data): Likewise.
23379 (struct test_f_l_data): Likewise.
23380 (struct test_f_L_data): Likewise.
23381 (struct test_fFF_11_data): Likewise.
23382 (RM_): New macro.
23383 (RM_FE_DOWNWARD): Likewise.
23384 (RM_FE_TONEAREST): Likewise.
23385 (RM_FE_TOWARDZERO): Likewise.
23386 (RM_FE_UPWARD): Likewise.
23387 (RUN_TEST_LOOP_f_f): Update references to expected results.
23388 (RUN_TEST_LOOP_2_f): Likewise.
23389 (RUN_TEST_LOOP_fff_f): Likewise.
23390 (RUN_TEST_LOOP_c_f): Likewise.
23391 (RUN_TEST_LOOP_f_f1): Likewise.
23392 (RUN_TEST_LOOP_fF_f1): Likewise.
23393 (RUN_TEST_LOOP_fI_f1): Likewise.
23394 (RUN_TEST_LOOP_ffI_f1): Likewise.
23395 (RUN_TEST_LOOP_c_c): Likewise.
23396 (RUN_TEST_LOOP_cc_c): Likewise.
23397 (RUN_TEST_LOOP_f_i): Likewise.
23398 (RUN_TEST_LOOP_f_i_tg): Likewise.
23399 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23400 (RUN_TEST_LOOP_f_b): Likewise.
23401 (RUN_TEST_LOOP_f_b_tg): Likewise.
23402 (RUN_TEST_LOOP_f_l): Likewise.
23403 (RUN_TEST_LOOP_f_L): Likewise.
23404 (RUN_TEST_LOOP_fFF_11): Likewise.
23405 * math/gen-libm-test.pl (parse_args): Output four copies of
23406 expected results for each test.
23407
67737b8f
JM
23408 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23409 (__ASSUME_UTIMES): Remove.
23410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23411 (__ASSUME_UTIMES): Likewise.
23412
aa97dee1
JM
23413 * math/gen-auto-libm-tests.c: Update comment on output format.
23414 (output_for_one_input_case): Generate before-rounding and
23415 after-rounding information as conditions on output flags not
23416 floating-point format.
23417 * math/auto-libm-test-out: Regenerated.
23418 * math/gen-libm-test.pl (cond_value): New function.
23419 (or_cond_value): Use cond_value.
23420 (generate_testfile): Handle conditional exceptions.
23421
e6b6a857
JM
234222014-03-05 Joseph Myers <joseph@codesourcery.com>
23423
2f0a0f44
JM
23424 * math/libm-test.inc (max_valid_error): New variable.
23425 (init_max_error): Take new argument specifying whether function
23426 results are exactly determined. Set max_valid_error and bound
23427 other variables for errors based on this argument.
23428 (set_max_error): Do not record results above max_valid_error.
23429 (check_float_internal): Only accept errors of up to 0.5ulps if
23430 also at most max_valid_error.
23431 (START): Take new argument EXACT and pass it to init_max_error.
23432 (acos_test): Update call to START.
23433 (acos_test_tonearest): Likewise.
23434 (acos_test_towardzero): Likewise.
23435 (acos_test_downward): Likewise.
23436 (acos_test_upward): Likewise.
23437 (acosh_test): Likewise.
23438 (asin_test): Likewise.
23439 (asin_test_tonearest): Likewise.
23440 (asin_test_towardzero): Likewise.
23441 (asin_test_downward): Likewise.
23442 (asin_test_upward): Likewise.
23443 (asinh_test): Likewise.
23444 (atan_test): Likewise.
23445 (atanh_test): Likewise.
23446 (atan2_test): Likewise.
23447 (cabs_test): Likewise.
23448 (cacos_test): Likewise.
23449 (cacosh_test): Likewise.
23450 (carg_test): Likewise.
23451 (casin_test): Likewise.
23452 (casinh_test): Likewise.
23453 (catan_test): Likewise.
23454 (catanh_test): Likewise.
23455 (cbrt_test): Likewise.
23456 (ccos_test): Likewise.
23457 (ccosh_test): Likewise.
23458 (ceil_test): Likewise.
23459 (cexp_test): Likewise.
23460 (cimag_test): Likewise.
23461 (clog_test): Likewise.
23462 (clog10_test): Likewise.
23463 (conj_test): Likewise.
23464 (copysign_test): Likewise.
23465 (cos_test): Likewise.
23466 (cos_test_tonearest): Likewise.
23467 (cos_test_towardzero): Likewise.
23468 (cos_test_downward): Likewise.
23469 (cos_test_upward): Likewise.
23470 (cosh_test): Likewise.
23471 (cosh_test_tonearest): Likewise.
23472 (cosh_test_towardzero): Likewise.
23473 (cosh_test_downward): Likewise.
23474 (cosh_test_upward): Likewise.
23475 (cpow_test): Likewise.
23476 (cproj_test): Likewise.
23477 (creal_test): Likewise.
23478 (csin_test): Likewise.
23479 (csinh_test): Likewise.
23480 (csqrt_test): Likewise.
23481 (ctan_test): Likewise.
23482 (ctan_test_tonearest): Likewise.
23483 (ctan_test_towardzero): Likewise.
23484 (ctan_test_downward): Likewise.
23485 (ctan_test_upward): Likewise.
23486 (ctanh_test): Likewise.
23487 (ctanh_test_tonearest): Likewise.
23488 (ctanh_test_towardzero): Likewise.
23489 (ctanh_test_downward): Likewise.
23490 (ctanh_test_upward): Likewise.
23491 (erf_test): Likewise.
23492 (erfc_test): Likewise.
23493 (exp_test): Likewise.
23494 (exp_test_tonearest): Likewise.
23495 (exp_test_towardzero): Likewise.
23496 (exp_test_downward): Likewise.
23497 (exp_test_upward): Likewise.
23498 (exp10_test): Likewise.
23499 (exp10_test_tonearest): Likewise.
23500 (exp10_test_towardzero): Likewise.
23501 (exp10_test_downward): Likewise.
23502 (exp10_test_upward): Likewise.
23503 (pow10_test): Likewise.
23504 (exp2_test): Likewise.
23505 (expm1_test): Likewise.
23506 (expm1_test_tonearest): Likewise.
23507 (expm1_test_towardzero): Likewise.
23508 (expm1_test_downward): Likewise.
23509 (expm1_test_upward): Likewise.
23510 (fabs_test): Likewise.
23511 (fdim_test): Likewise.
23512 (floor_test): Likewise.
23513 (fma_test): Likewise.
23514 (fma_test_towardzero): Likewise.
23515 (fma_test_downward): Likewise.
23516 (fma_test_upward): Likewise.
23517 (fmax_test): Likewise.
23518 (fmin_test): Likewise.
23519 (fmod_test): Likewise.
23520 (fpclassify_test): Likewise.
23521 (frexp_test): Likewise.
23522 (hypot_test): Likewise.
23523 (ilogb_test): Likewise.
23524 (isfinite_test): Likewise.
23525 (finite_test): Likewise.
23526 (isgreater_test): Likewise.
23527 (isgreaterequal_test): Likewise.
23528 (isinf_test): Likewise.
23529 (isless_test): Likewise.
23530 (islessequal_test): Likewise.
23531 (islessgreater_test): Likewise.
23532 (isnan_test): Likewise.
23533 (isnormal_test): Likewise.
23534 (issignaling_test): Likewise.
23535 (isunordered_test): Likewise.
23536 (j0_test): Likewise.
23537 (j1_test): Likewise.
23538 (jn_test): Likewise.
23539 (ldexp_test): Likewise.
23540 (lgamma_test): Likewise.
23541 (gamma_test): Likewise.
23542 (lrint_test): Likewise.
23543 (lrint_test_tonearest): Likewise.
23544 (lrint_test_towardzero): Likewise.
23545 (lrint_test_downward): Likewise.
23546 (lrint_test_upward): Likewise.
23547 (llrint_test): Likewise.
23548 (llrint_test_tonearest): Likewise.
23549 (llrint_test_towardzero): Likewise.
23550 (llrint_test_downward): Likewise.
23551 (llrint_test_upward): Likewise.
23552 (log_test): Likewise.
23553 (log10_test): Likewise.
23554 (log1p_test): Likewise.
23555 (log2_test): Likewise.
23556 (logb_test): Likewise.
23557 (logb_test_downward): Likewise.
23558 (lround_test): Likewise.
23559 (llround_test): Likewise.
23560 (modf_test): Likewise.
23561 (nearbyint_test): Likewise.
23562 (nextafter_test): Likewise.
23563 (nexttoward_test): Likewise.
23564 (pow_test): Likewise.
23565 (pow_test_tonearest): Likewise.
23566 (pow_test_towardzero): Likewise.
23567 (pow_test_downward): Likewise.
23568 (pow_test_upward): Likewise.
23569 (remainder_test): Likewise.
23570 (drem_test): Likewise.
23571 (remainder_test_tonearest): Likewise.
23572 (drem_test_tonearest): Likewise.
23573 (remainder_test_towardzero): Likewise.
23574 (drem_test_towardzero): Likewise.
23575 (remainder_test_downward): Likewise.
23576 (drem_test_downward): Likewise.
23577 (remainder_test_upward): Likewise.
23578 (drem_test_upward): Likewise.
23579 (remquo_test): Likewise.
23580 (rint_test): Likewise.
23581 (rint_test_tonearest): Likewise.
23582 (rint_test_towardzero): Likewise.
23583 (rint_test_downward): Likewise.
23584 (rint_test_upward): Likewise.
23585 (round_test): Likewise.
23586 (scalb_test): Likewise.
23587 (scalbn_test): Likewise.
23588 (scalbln_test): Likewise.
23589 (signbit_test): Likewise.
23590 (sin_test): Likewise.
23591 (sin_test_tonearest): Likewise.
23592 (sin_test_towardzero): Likewise.
23593 (sin_test_downward): Likewise.
23594 (sin_test_upward): Likewise.
23595 (sincos_test): Likewise.
23596 (sinh_test): Likewise.
23597 (sinh_test_tonearest): Likewise.
23598 (sinh_test_towardzero): Likewise.
23599 (sinh_test_downward): Likewise.
23600 (sinh_test_upward): Likewise.
23601 (sqrt_test): Likewise.
23602 (sqrt_test_tonearest): Likewise.
23603 (sqrt_test_towardzero): Likewise.
23604 (sqrt_test_downward): Likewise.
23605 (sqrt_test_upward): Likewise.
23606 (tan_test): Likewise.
23607 (tan_test_tonearest): Likewise.
23608 (tan_test_towardzero): Likewise.
23609 (tan_test_downward): Likewise.
23610 (tan_test_upward): Likewise.
23611 (tanh_test): Likewise.
23612 (tgamma_test): Likewise.
23613 (trunc_test): Likewise.
23614 (y0_test): Likewise.
23615 (y1_test): Likewise.
23616 (yn_test): Likewise.
23617 (significand_test): Likewise.
23618
e6b6a857
JM
23619 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23620 individual tests in comment.
23621 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23622 (prev_max_error): New variable.
23623 (prev_real_max_error): Likewise.
23624 (prev_imag_max_error): Likewise.
23625 (compare_ulp_data): Don't refer to test names in comment.
23626 (find_test_ulps): Remove function.
23627 (find_function_ulps): Likewise.
23628 (find_complex_function_ulps): Likewise.
23629 (init_max_error): Take function name as argument. Look up ulps
23630 for that function.
23631 (print_ulps): Remove function.
23632 (print_max_error): Use prev_max_error instead of calling
23633 find_function_ulps.
23634 (print_complex_max_error): Use prev_real_max_error and
23635 prev_imag_max_error instead of calling find_complex_function_ulps.
23636 (check_float_internal): Take max_ulp parameter instead of calling
23637 find_test_ulps. Don't call print_ulps.
23638 (check_float): Update call to check_float_internal.
23639 (check_complex): Update calls to check_float_internal.
23640 (START): Pass argument to init_max_error.
23641 * math/gen-libm-test.pl (%results): Don't include "kind"
23642 information.
23643 (parse_ulps): Don't handle ulps of individual tests.
23644 (print_ulps_file): Likewise.
23645 (output_ulps): Likewise.
23646 * math/README.libm-test: Update.
23647 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23648 individual tests.
23649 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23650 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23651 * sysdeps/arm/libm-test-ulps: Likewise.
23652 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23653 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23654 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23655 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23656 * sysdeps/microblaze/libm-test-ulps: Likewise.
23657 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23658 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23659 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23660 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23661 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23662 * sysdeps/sh/libm-test-ulps: Likewise.
23663 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23664 * sysdeps/tile/libm-test-ulps: Likewise.
23665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23666
45adef3c
JM
236672014-03-04 Joseph Myers <joseph@codesourcery.com>
23668
23669 * math/libm-test.inc (print_complex_max_error): Check separately
23670 whether real and imaginary errors are within allowed range and
23671 pass 0 to print_complex_function_ulps instead of value within
23672 allowed range.
23673
000232b9
SP
236742014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23675
d4b17258
SP
23676 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23677 formatting.
23678 (get_handles_fopen): Likewise.
23679 (do_write_test): Likewise.
23680
091eff71
SP
23681 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23682
fa3cd248
SP
23683 * libio/fileops.c (do_ftell): Use cached offset when
23684 available.
23685 * libio/iofwide.c (do_ftell_wide): Likewise.
23686 * libio/iofdopen.c (_IO_new_fdopen): Don't use
23687 _IO_file_attach.
23688 * libio/wfileops.c (_IO_fwide): Don't cache offset.
23689
000232b9
SP
23690 [BZ #16532]
23691 * libio/libioP.h (get_file_offset): New function.
23692 * libio/fileops.c (get_file_offset): Likewise.
23693 (do_ftell): Likewise.
23694 (_IO_new_file_seekoff): Split out ftell logic.
23695 * libio/wfileops.c (do_ftell_wide): Likewise.
23696 (_IO_wfile_seekoff): Split out ftell logic.
23697 * libio/tst-ftell-active-handler.c: New test case.
23698 * libio/Makefile (tests): Add it.
23699
116f4d1a
RM
237002014-03-03 Roland McGrath <roland@hack.frob.com>
23701
23702 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23703 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23704
532a6035
SP
237052014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23706
23707 [BZ #16639]
23708 * nscd/connections.c (nscd_init): Call do_exit.
23709 (start_threads): Call do_exit and notify_parent.
23710 (begin_drop_privileges): Call do_exit.
23711 (finish_drop_privileges): Likewise.
23712 * nscd/selinux.c (preserve_capabilities): Likewise.
23713 (install_real_capabilities): Likewise.
23714 (nscd_selinux_enabled): Likewise.
23715 (avc_create_thread): Likewise.
23716 (avc_alloc_lock): Likewise.
23717 (nscd_avc_init): Likewise.
23718 * nscd/nscd.c (parent_fd): New static variable.
23719 (main): Create a pipe between parent and child processes.
23720 Skip closing parent_fd.
23721 (monitor_child): New function.
23722 (do_exit): Likewise.
23723 (notify_parent): Likewise.
23724 * nscd/nscd.h (notify_parent): Likewise.
23725 (do_exit): Likewise.
23726
d6285c9f
CD
237272014-03-03 Carlos O'Donell <carlos@redhat.com>
23728
23729 * malloc/malloc.c (__libc_calloc): Revert last change.
23730
2b85d2a0
AZ
237312014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23732
23733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23734
c7debbdf
RS
237352014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23736
23737 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23739 implementation.
23740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23741 (__libc_ifunc_impl_list): Likewise.
23742 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23743 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23744 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23745 * string/strrchr.c: Define STRRCHR.
23746
235eed86
OB
237472014-02-28 Ondřej Bílka <neleai@seznam.cz>
23748
23749 * benchtest/bench-strtok.c (simple_strtok): Delete.
23750 (strtok_string): Use as benchmark.
23751 * string/strtok (STRTOK): New macro.
23752
8e25d1e7
CD
237532014-02-28 Carlos O'Donell <carlos@redhat.com>
23754
ef563f92
CD
23755 * manual/threads.texi: Add header and standard comments to all
23756 functions.
23757
8e25d1e7
CD
23758 * elf/dl-lookup.c (check_match): New function.
23759 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23760 (do_lookup_x): Remove nested function check_match. Use non-nested
23761 function check_match.
23762
ff71cc37
RM
237632014-02-28 Roland McGrath <roland@hack.frob.com>
23764
f08e9a26
RM
23765 * csu/Makefile (generated, before-compile): Use += rather than =.
23766 * catgets/Makefile (generated, generated-dirs): Likewise.
23767 * debug/Makefile (generated): Likewise.
23768 * dlfcn/Makefile (generated): Likewise.
23769 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23770 * iconvdata/Makefile (before-compile, generated): Likewise.
23771 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23772 * libio/Makefile (generated): Likewise.
23773 * malloc/Makefile (generated): Likewise.
23774 * manual/Makefile (generated, generated-dirs): Likewise.
23775 * misc/Makefile (generated): Likewise.
23776 * posix/Makefile (generated): Likewise.
23777 * resolv/Makefile (generated): Likewise.
23778 * sunrpc/Makefile (generated, generated-dirs): Likewise.
23779 * timezone/Makefile (generated, generated-dirs): Likewise.
23780
ff71cc37
RM
23781 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23782
fe13a20c
AZ
237832014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23784
57f41c40
AS
23785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23786 power8 implementation.
23787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23788 file: POWER8 llround ifunc implementation.
23789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23790 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
23791 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23792 POWER8 llround implementation.
23793
57f41c40
AS
23794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23795 power8 implementation.
23796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23797 file: POWER8 llrint ifunc implementation.
23798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23799 Add POWER8 implementation.
1ad8950a
AZ
23800 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23801 POWER8 llrint implementation.
23802
57f41c40
AS
23803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23804 power8 implementation.
23805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23806 file: POWER8 finite ifunc implementation.
23807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23808 Add POWER8 implementation.
cac626d6
AZ
23809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23810 Likewise.
23811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23812 POWER8 finite implementation.
23813 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23814
57f41c40
AS
23815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23816 power8 implementation.
23817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23818 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
23819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23820 POWER8 implementation.
23821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23822 Likewise.
57f41c40
AS
23823 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23824 isinf implementation.
4393fc11
AZ
23825 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23826
57f41c40
AS
23827 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23828 (INIT_ARCH): Add hwcap2 initialization.
23829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23830 power8 implementation.
23831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23832 file: POWER8 isnan ifunc implementation.
487972ae
AZ
23833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23834 POWER8 implementation.
23835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23836 Likewise.
57f41c40
AS
23837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23838 isnan implementation.
487972ae
AZ
23839 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23840
7d92b787
JY
238412014-02-27 Joey Ye <joey.ye@arm.com>
23842
23843 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23844 (_FP_NANFRAC_Q): Set to zero.
23845
1cadc858
SP
238462014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23847
23848 [BZ #16623]
23849 * math/auto-libm-test-in: New test inputs.
23850 * math/auto-libm-test-out: Regenerate.
23851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23852 and DA.
23853 (__cos): Likewise.
23854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23855
f8c17e79
JM
238562014-02-27 Joseph Myers <joseph@codesourcery.com>
23857
23858 * scripts/evaluate-test.sh: Take new argument indicating whether
23859 failure is expected.
23860 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23861 indicating whether failure is expected.
23862 * conform/Makefile (test-xfail-run-conformtest): New variable.
23863 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23864 level.
23865 * posix/Makefile (test-xfail-annexc): New variable.
23866 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23867
a5f891ac
JM
238682014-02-26 Joseph Myers <joseph@codesourcery.com>
23869
23870 * argp/Makefile: Include Makeconfig immediately after defining
23871 subdir.
23872 * assert/Makefile: Likewise.
23873 * benchtests/Makefile: Likewise.
23874 * catgets/Makefile: Likewise.
23875 * conform/Makefile: Likewise.
23876 * crypt/Makefile: Likewise.
23877 * csu/Makefile: Likewise.
23878 (all): Remove target.
23879 * ctype/Makefile: Include Makeconfig immediately after defining
23880 subdir.
23881 * debug/Makefile: Likewise.
23882 * dirent/Makefile: Likewise.
23883 * dlfcn/Makefile: Likewise.
23884 * gmon/Makefile: Likewise.
23885 * gnulib/Makefile: Likewise.
23886 * grp/Makefile: Likewise.
23887 * gshadow/Makefile: Likewise.
23888 * hesiod/Makefile: Likewise.
23889 * hurd/Makefile: Likewise.
23890 (all): Remove target.
23891 * iconvdata/Makefile: Include Makeconfig immediately after
23892 defining subdir.
23893 * inet/Makefile: Likewise.
23894 * intl/Makefile: Likewise.
23895 * io/Makefile: Likewise.
23896 * libio/Makefile: Likewise.
23897 (all): Remove target.
23898 * locale/Makefile: Include Makeconfig immediately after defining
23899 subdir.
23900 * login/Makefile: Likewise.
23901 * mach/Makefile: Likewise.
23902 (all): Remove target.
23903 * malloc/Makefile: Include Makeconfig immediately after defining
23904 subdir.
23905 (all): Remove target.
23906 * manual/Makefile: Include Makeconfig immediately after defining
23907 subdir.
23908 * math/Makefile: Likewise.
23909 * misc/Makefile: Likewise.
23910 * nis/Makefile: Likewise.
23911 * nss/Makefile: Likewise.
23912 * po/Makefile: Likewise.
23913 (all): Remove target.
23914 * posix/Makefile: Include Makeconfig immediately after defining
23915 subdir.
23916 * pwd/Makefile: Likewise.
23917 * resolv/Makefile: Likewise.
23918 * resource/Makefile: Likewise.
23919 * rt/Makefile: Likewise.
23920 * setjmp/Makefile: Likewise.
23921 * shadow/Makefile: Likewise.
23922 * signal/Makefile: Likewise.
23923 * socket/Makefile: Likewise.
23924 * soft-fp/Makefile: Likewise.
23925 * stdio-common/Makefile: Likewise.
23926 * stdlib/Makefile: Likewise.
23927 * streams/Makefile: Likewise.
23928 * string/Makefile: Likewise.
23929 * sunrpc/Makefile: Likewise.
23930 (all): Remove target.
23931 * sysvipc/Makefile: Include Makeconfig immediately after defining
23932 subdir.
23933 * termios/Makefile: Likewise.
23934 * time/Makefile: Likewise.
23935 * timezone/Makefile: Likewise.
23936 (all): Remove target.
23937 * wcsmbs/Makefile: Include Makeconfig immediately after defining
23938 subdir.
23939 * wctype/Makefile: Likewise.
23940
5b456e9d
SE
239412014-02-26 Steve Ellcey <sellcey@mips.com>
23942
23943 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23944 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23945 (libc_feholdexcept_setround_mips): Ditto.
23946 (libc_feholdsetround): New.
23947 (libc_feholdsetroundf): New.
23948 (libc_feholdsetroundl): New.
23949 (libc_feupdateenv_test_mips): New.
23950 (libc_feupdateenv_test): New.
23951 (libc_feupdateenv_testf): New.
23952 (libc_feupdateenv_testl): New.
23953 (libc_feresetround): New.
23954 (libc_feresetroundf): New.
23955 (libc_feresetroundl): New.
23956 (libc_fetestexcept_mips): New.
23957 (libc_fetestexcept): New.
23958 (libc_fetestexceptf): New.
23959 (libc_fetestexceptl): New.
23960 (HAVE_RM_CTX): New.
23961 (libc_feholdexcept_setround_mips_ctx): New.
23962 (libc_feholdexcept_setround_ctx): New.
23963 (libc_feholdexcept_setroundf_ctx): New.
23964 (libc_feholdexcept_setroundl_ctx): New.
23965 (libc_fesetenv_mips_ctx): New.
23966 (libc_fesetenv_ctx): New.
23967 (libc_fesetenv_ctxf): New.
23968 (libc_fesetenv_ctxl): New.
23969 (libc_feupdateenv_mips_ctx): New.
23970 (libc_feupdateenv_ctx): New.
23971 (libc_feupdateenvf_ctx): New.
23972 (libc_feupdateenvl_ctx): New.
23973 (libc_feholdsetround_mips_ctx): New.
23974 (libc_feholdsetround_ctx): New.
23975 (libc_feholdsetroundf_ctx): New.
23976 (libc_feholdsetroundl_ctx): New.
23977 (libc_feresetround_mips_ctx): New.
23978 (libc_feresetround_ctx): New.
23979 (libc_feresetroundf_ctx): New.
23980 (libc_feresetroundl_ctx): New.
23981
085d0e35
CD
239822014-02-26 Carlos O'Donell <carlos@redhat.com>
23983
f067bf1f
CD
23984 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23985
085d0e35
CD
23986 * manual/ipc.texi: New file.
23987 * manual/Makefile (chapters): Add ipc.
23988 * manual/job.texi: Add "Inter-Process Communication" to next.
23989 * manual/process.texi: Add "Inter-Process Communication" to prev.
23990
86e58c08
AZ
239912014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23992
23993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23994
4248f0da
OB
239952014-02-26 Ondřej Bílka <neleai@seznam.cz>
23996
23997 * malloc/malloc.c (__libc_calloc): Simplify implementation.
23998
cf822e3c
OB
23999 * manual/arith.texi: Fix spaces after sentences.
24000 * manual/charset.texi: Likewise.
24001 * manual/errno.texi: Likewise.
24002 * manual/install.texi: Likewise.
24003 * manual/llio.texi: Likewise.
24004 * manual/locale.texi: Likewise.
24005 * manual/maint.texi: Likewise.
24006 * manual/math.texi: Likewise.
24007 * manual/memory.texi: Likewise.
24008 * manual/message.texi: Likewise.
24009 * manual/probes.texi: Likewise.
24010 * manual/resource.texi: Likewise.
24011 * manual/signal.texi: Likewise.
24012 * manual/socket.texi: Likewise.
24013 * manual/stdio.texi: Likewise.
24014 * manual/string.texi: Likewise.
24015 * manual/time.texi: Likewise.
24016 * manual/users.texi: Likewise.
24017
ade40b10
CD
240182014-02-25 Carlos O'Donell <carlos@redhat.com>
24019
24020 [BZ #16632]
24021 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24022 _DEFAULT_SOURCE is defined.
24023
d0503676
CD
240242014-02-25 Ulrich Drepper <drepper@gmail.com>
24025 Carlos O'Donell <carlos@redhat.com>
24026
24027 [BZ #16613]
24028 * elf/dl-tls.c (_dl_count_modids): New function.
24029 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24030 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24031 audit library and increment generation counter.
24032 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24033 * elf/tst-audit9.c: New file.
24034 * elf/tst-auditmod9a.c: New file.
24035 * elf/tst-auditmod9b.c: New file.
24036 * elf/Makefile: Add rules to build and run tst-audit9.
24037
4cbf380c
FW
240382014-02-25 Florian Weimer <fweimer@redhat.com>
24039
24040 [BZ #15347]
24041 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24042
80a56cc3
WN
240432014-02-25 Will Newton <will.newton@linaro.org>
24044
24045 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24046 (__longjmp): Restore sp and lr before restoring callee
24047 saved registers. Add longjmp and longjmp_target
24048 SystemTap probe point.
24049 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24050 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24051 Define to zero to match jmpbuf layout.
24052 * sysdeps/arm/setjmp.S: Include stap-probe.h.
24053 (__sigsetjmp): Save sp and lr before saving callee
24054 saved registers. Add setjmp SystemTap probe point.
24055
3ea0f74e
SL
240562014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24057
24058 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24059
b04acb26
AS
240602014-02-24 Andreas Schwab <schwab@suse.de>
24061
24062 [BZ #15804]
24063 * elf/pldd.c (wait_for_ptrace_stop): New function.
24064 (main): Call it after attaching.
24065
098ad55c
RM
240662014-02-22 Roland McGrath <roland@hack.frob.com>
24067
d4ec6ae1
RM
24068 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24069 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24070 Versions files is now verboten.
24071 * hurd/Versions (libc: GLIBC_2.0):
24072 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24073 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24074 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24075 * mach/Versions: Likewise.
24076
098ad55c
RM
24077 * csu/Versions: Remove unused %include.
24078 * resolv/Versions: Likewise.
24079
acd7f096
JM
240802014-02-21 Joseph Myers <joseph@codesourcery.com>
24081
f0881698
JM
24082 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24083 ($(objpfx)check-local-headers.out): Likewise.
24084 ($(objpfx)begin-end-check.out): Likewise.
24085 * Makerules (check-abi-%.out): Likewise.
24086 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24087 ($(objpfx)test2.cat): Likewise.
24088 ($(objpfx)de/libc.cat): Likewise.
24089 ($(objpfx)test-gencat.out): Likewise.
24090 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24091 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24092 ($(objpfx)noload-mem): Likewise.
24093 ($(objpfx)tst-pathopt.out): Likewise.
24094 ($(objpfx)tst-rtld-load-self.out): Likewise.
24095 ($(objpfx)tst-array1-cmp.out): Likewise.
24096 ($(objpfx)tst-array1-static-cmp.out): Likewise.
24097 ($(objpfx)tst-array2-cmp.out): Likewise.
24098 ($(objpfx)tst-array3-cmp.out): Likewise.
24099 ($(objpfx)tst-array4-cmp.out): Likewise.
24100 ($(objpfx)tst-array5-cmp.out): Likewise.
24101 ($(objpfx)tst-array5-static-cmp.out): Likewise.
24102 ($(objpfx)check-textrel.out): Likewise.
24103 ($(objpfx)check-execstack.out): Likewise.
24104 ($(objpfx)check-localplt.out): Likewise.
24105 ($(objpfx)order2-cmp.out): Likewise.
24106 ($(objpfx)tst-leaks1-mem): Likewise.
24107 ($(objpfx)tst-leaks1-static-mem): Likewise.
24108 ($(objpfx)tst-initorder-cmp.out): Likewise.
24109 ($(objpfx)tst-initorder2-cmp.out): Likewise.
24110 ($(objpfx)tst-unused-dep.out): Likewise.
24111 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24112 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24113 * iconv/Makefile (test-iconvconfig): Likewise.
24114 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24115 ($(objpfx)iconv-test.out): Likewise.
24116 ($(objpfx)tst-tables.out): Likewise.
24117 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24118 ($(objpfx)tst-gettext.out): Likewise.
24119 ($(objpfx)tst-translit.out): Likewise.
24120 ($(objpfx)tst-gettext2.out): Likewise.
24121 ($(objpfx)tst-gettext4.out): Likewise.
24122 ($(objpfx)tst-gettext6.out): Likewise.
24123 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24124 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24125 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24126 ($(objpfx)tst-fopenloc-mem.out): Likewise.
24127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24128 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24129 * posix/Makefile ($(objpfx)globtest.out): Likewise.
24130 ($(objpfx)wordexp-tst.out): Likewise.
24131 ($(objpfx)annexc.out): Likewise.
24132 ($(objpfx)tst-fnmatch-mem): Likewise.
24133 ($(objpfx)bug-regex2-mem): Likewise.
24134 ($(objpfx)bug-regex14-mem): Likewise.
24135 ($(objpfx)bug-regex21-mem): Likewise.
24136 ($(objpfx)bug-regex31-mem): Likewise.
24137 ($(objpfx)tst-vfork3-mem): Likewise.
24138 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24139 ($(objpfx)tst-pcre-mem): Likewise.
24140 ($(objpfx)tst-boost-mem): Likewise.
24141 ($(objpfx)tst-getconf.out): Likewise.
24142 ($(objpfx)bug-ga2-mem): Likewise.
24143 ($(objpfx)bug-glob2-mem): Likewise.
24144 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24145 ($(objpfx)mtrace-tst-leaks2): Likewise.
24146 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24147 ($(objpfx)tst-printf.out): Likewise.
24148 ($(objpfx)tst-setvbuf1.out): Likewise.
24149 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24150 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24151 ($(objpfx)tst-fmtmsg.out): Likewise.
24152 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24153 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24154
acd7f096
JM
24155 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24156 * bits/sigaction.h [__USE_MISC]: Likewise.
24157 * bits/waitstatus.h: Update #endif comments.
24158 * ctype/ctype.h: Likewise.
24159 * dirent/dirent.h: Likewise.
24160 [__USE_MISC]: Remove redundant conditionals.
24161 * grp/grp.h: Update #endif comments.
24162 [__USE_GNU]: Remove redundant conditionals.
24163 [__USE_MISC]: Likewise.
24164 * inet/netinet/in.h [__USE_GNU]: Likewise.
24165 * io/sys/stat.h [__USE_MISC]: Likewise.
24166 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24167 * libio/bits/stdio.h: Update #endif comments.
24168 [__USE_MISC]: Remove redundant conditionals.
24169 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24170 * libio/stdio.h: Update #endif comments.
24171 [__USE_MISC]: Remove redundant conditionals.
24172 * math/bits/math-finite.h [__USE_MISC]: Likewise.
24173 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24174 * math/math.h: Update #else and #endif comments.
24175 [__USE_MISC]: Remove redundant conditionals.
24176 * misc/sys/uio.h: Update #endif comments.
24177 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24178 * posix/glob.h [__USE_MISC]: Likewise.
24179 * posix/sys/types.h: Update #endif comments.
24180 [__USE_MISC]: Remove redundant conditionals.
24181 * posix/sys/wait.h: Update #endif comments.
24182 [__USE_MISC]: Remove redundant conditionals.
24183 * posix/unistd.h: Update #endif comments.
24184 [__USE_MISC]: Remove redundant conditionals.
24185 * pwd/pwd.h [__USE_GNU]: Likewise.
24186 [__USE_MISC]: Likewise.
24187 * resolv/netdb.h [__USE_GNU]: Likewise.
24188 * signal/signal.h: Update #endif comments.
24189 [__USE_MISC]: Remove redundant conditionals.
24190 * stdlib/stdlib.h: Update #else and #endif comments.
24191 [__USE_MISC]: Remove redundant conditionals.
24192 [__USE_GNU]: Likewise.
24193 * string/bits/string2.h [__USE_MISC]: Likewise.
24194 * string/string.h: Update #endif comments.
24195 [__USE_MISC]: Remove redundant conditionals.
24196 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24197 Likewise.
24198 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24199 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24200 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24201 Likewise.
24202 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24203 Likewise.
24204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24205 comments.
24206 [__USE_MISC]: Remove redundant conditionals.
24207 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24208 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24209 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24210 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24211 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24212 Likewise.
24213 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24214 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24215 Likewise.
24216 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24217 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24218 Likewise.
24219 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24220 Likewise.
24221 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24222 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24223 Likewise.
24224 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24225 Likewise.
24226 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24227 * sysdeps/x86/bits/string.h: Update #endif comments.
24228 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24229 conditionals.
24230 * time/sys/time.h: Update #endif comments.
24231 * time/time.h: Likewise.
24232 [__USE_MISC]: Remove redundant conditionals.
24233
a5d82e4e
YG
242342014-02-21 Yury Gribov <y.gribov@samsung.com>
24235
24236 [BZ #16600]
24237 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24238
9a80491d
AS
242392014-02-21 Andreas Schwab <schwab@linux-m68k.org>
24240
24241 * Versions.def (librt): Add GLIBC_2.17.
24242
105fa381
AC
242432014-02-21 Adam Conrad <adconrad@0c3.net>
24244
24245 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24246 synonym for _SYS_AUXV_H to allow direct inclusion.
24247 * sysdeps/sparc/bits/hwcap.h: Likewise.
24248 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24249 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24250 * sysdeps/sparc/sysdep.h: Likewise.
24251
b8cd1c4e
SP
242522014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24253
24254 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24255
bd939d23
RS
242562014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24257
24258 * benchtests/bench-strrchr.c: Print length instead of position.
24259
5d7b57ca
JM
242602014-02-20 Joseph Myers <joseph@codesourcery.com>
24261
bc688c10
JM
24262 [BZ #16611]
24263 * sysdeps/unix/sysv/linux/kernel-features.h
24264 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24265 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24266 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24267 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24268 Likewise.
24269 [__i386__ || __powerpc__ || __sh__ || __sparc__]
24270 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24271 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24272 (__ASSUME_SENDMMSG): Define instead of using previous
24273 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24274 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24275 (__ASSUME_SENDMMSG_SYSCALL): Define.
24276 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24277 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24278 Likewise.
24279 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24280 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24281 Likewise.
24282 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24283 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24284 Likewise.
24285 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24286 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24287 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24288 [__ASSUME_SENDMMSG]: Change conditionals to
24289 [__ASSUME_SENDMMSG_SOCKETCALL].
24290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24291 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24292 Define.
24293 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24294 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24295 Likewise.
24296 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24297 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24298 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24299 [!__ASSUME_SENDMMSG]: Change conditional to
24300 [!__ASSUME_SENDMMSG_SOCKETCALL].
24301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24302 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24303 Define.
24304
0e31b18c
JM
24305 [BZ #16610]
24306 * sysdeps/unix/sysv/linux/kernel-features.h
24307 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24308 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24309 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24310 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24311 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24312 [__i386__ || __sparc__]
24313 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24314 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24315 (__ASSUME_RECVMMSG): Define instead of using previous
24316 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24317 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24318 (__ASSUME_RECVMMSG_SYSCALL): Define.
24319 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24321 Likewise.
24322 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24324 Likewise.
24325 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24327 Likewise.
24328 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24329 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24330 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24331 [__ASSUME_RECVMMSG]: Change condition to
24332 [__ASSUME_RECVMMSG_SOCKETCALL].
24333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24334 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24335 Define.
24336 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24337 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24338 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24339 Likewise.
24340 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24341 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24342 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24343 [!__ASSUME_RECVMMSG]: Change condition to
24344 [!__ASSUME_RECVMMSG_SOCKETCALL].
24345 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24346 (__ASSUME_RECVMMSG_SYSCALL): Define.
24347
dd481ccf
JM
24348 [BZ #16609]
24349 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24350 __powerpc__ || __s390__ || __sh__ || __sparc__]
24351 (__ASSUME_SOCKETCALL): Define.
24352 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24353 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24354 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24355 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24356 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24357 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24358 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24359 (__ASSUME_ACCEPT4): Define instead of using previous
24360 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24361 __powerpc__ || __sparc__ || __s390__)] condition.
24362 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24363 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24364 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24365 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24366 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24367 [!__ASSUME_ACCEPT4]: Change condition to
24368 [!__ASSUME_ACCEPT4_SOCKETCALL].
24369 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24370 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
24371 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24372 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24373 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24374 __ASSUME_ACCEPT4_SYSCALL.
24375 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24376 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24378 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24379 __ASSUME_ACCEPT4_SYSCALL.
24380 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24381 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24382 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24383 [__ASSUME_ACCEPT4]: Change condition to
24384 [__ASSUME_ACCEPT4_SOCKETCALL].
24385 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24386 (__ASSUME_SOCKETCALL): Define.
24387 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24389 (__ASSUME_SOCKETCALL): Define.
24390 (__ASSUME_ACCEPT4): Remove.
24391 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24392 Define.
24393 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24394 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24395 Likewise.
24396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24397 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24398
5d7b57ca
JM
24399 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24400 macro.
24401 (HWCAP_ARM_LPAE): Likewise.
24402 (HWCAP_ARM_EVTSTRM): Likewise.
24403 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24404 Add vpfd32, lpae and evtstrm.
24405 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24406 Increase to 22.
24407
63689d61
JM
244082014-02-19 Joseph Myers <joseph@codesourcery.com>
24409
24410 * math/auto-libm-test-in: Add tests of clog10.
24411 * math/auto-libm-test-out: Regenerated.
24412 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24413 * sysdeps/i386/fpu/libm-test-ulps: Update.
24414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24415
ab09bf61
AS
244162014-02-18 Andreas Schwab <schwab@suse.de>
24417
24418 [BZ #16574]
24419 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24420 Store non-zero if the second buffer was newly allocated.
24421 (send_dg): Likewise.
24422 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24423 to send_vc and send_dg.
24424 (res_nsend): Pass NULL for ansp2_malloced.
24425 * resolv/res_query.c (__libc_res_nquery): Add parameter
24426 answerp2_malloced and pass it down to __libc_res_nsend.
24427 (res_nquery): Pass additional NULL to __libc_res_nquery.
24428 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24429 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
24430 second answer buffer if answerp2_malloced was set.
24431 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24432 (__libc_res_nquerydomain): Add parameter
24433 answerp2_malloced and pass it down to __libc_res_nquery.
24434 (res_nquerydomain): Pass additional NULL to
24435 __libc_res_nquerydomain.
24436 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24437 additional NULL to __libc_res_nsend and __libc_res_nquery.
24438 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24439 additional NULL to __libc_res_nsearch.
24440 (_nss_dns_gethostbyname4_r): Revert last change. Use new
24441 parameter of __libc_res_nsearch to check for separately allocated
24442 second buffer.
24443 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24444 __libc_res_nquery.
24445 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24446 additional NULL to __libc_res_nquery.
24447 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24448 __libc_res_nsearch.
24449 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24450 * include/resolv.h: Update prototypes of __libc_res_nquery,
24451 __libc_res_nsearch, __libc_res_nsend.
24452
a4fb7861
JM
244532014-02-18 Joseph Myers <joseph@codesourcery.com>
24454
c6af2d89
JM
24455 * math/auto-libm-test-in: Add tests of fma.
24456 * math/auto-libm-test-out: Regenerated.
24457 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24458 (fma_towardzero_test_data): Likewise.
24459 (fma_downward_test_data): Likewise.
24460 (fma_upward_test_data): Likewise.
24461 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24462 mpc_mode.
24463 (rounding_modes): Add values for new field.
24464 (func_calc_method): Add value mpfr_fff_f.
24465 (func_calc_desc): Add mpfr_fff_f union field.
24466 (test_function): Add field exact_args.
24467 (FUNC): Add macro argument EXACT_ARGS.
24468 (FUNC_mpfr_f_f): Update call to FUNC.
24469 (FUNC_mpfr_f_f): Likewise.
24470 (FUNC_mpfr_ff_f): Likewise.
24471 (FUNC_mpfr_if_f): Likewise.
24472 (FUNC_mpc_c_f): Likewise.
24473 (FUNC_mpc_c_c): Likewise.
24474 (test_functions): Add fma. Update calls to FUNC.
24475 (handle_input_arg): Add argument exact_args.
24476 (add_test): Update call to handle_input_arg.
24477 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
24478 (output_for_one_input_case): Update call to calc_generic_results.
24479 Recalculate exact zero results in each rounding mode.
24480
a4fb7861
JM
24481 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24482 non-negative before setting low bit.
24483 * math/auto-libm-test-in: Mark one asin test possibly having
24484 spurious underflow.
24485 * math/auto-libm-test-out: Regenerated.
24486 * sysdeps/i386/fpu/libm-test-ulps: Update.
24487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24488
ef114eaf
DH
244892014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
24490
2b7f4f2c
SP
24491 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24492 * sysdeps/unix/sysv/linux/microblaze: Move directory from
24493 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
24494 * README: Add missing listing for microblaze*-*-linux-gnu.
24495
8125aedc
AM
244962014-02-16 Ondřej Bílka <neleai@seznam.cz>
24497
24498 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24499 duplicate code
24500
c70a4b1d
MF
245012014-02-16 Mike Frysinger <vapier@gentoo.org>
24502
24503 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24504 * sysdeps/unix/sysv/linux/ia64: Move directory from
24505 ports/sysdeps/unix/sysv/linux/ia64.
24506 * README: Update listing for ia64-*-linux-gnu.
24507
591aeaf7
TD
245082014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
24509 Joseph Myers <joseph@codesourcery.com>
24510
24511 * Makeconfig (test-name): New variable.
24512 (evaluate-test): Likewise.
24513 * Makerules (do-test-clean): Remove .test-result files.
24514 (common-mostlyclean): Likewise.
24515 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24516 * scripts/evaluate-test.sh: New file.
24517
6e89caf1
JM
245182014-02-14 Joseph Myers <joseph@codesourcery.com>
24519
7f98f180
JM
24520 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24521 separate $(objpfx)tst-fopenloc-cmp.out and
24522 $(objpfx)tst-fopenloc-mem.out targets.
24523 (tests): Update dependencies.
24524 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24525 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24526 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24527 (tst-rxspencer-no-utf8-ARGS): New variable.
24528 (tst-rxspencer-no-utf8-ENV): Likewise.
24529 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24530 instead of $(objpfx)tst-rxspencer-mem.
24531 ($(objpfx)tst-rxspencer-mem): Change target to
24532 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
24533 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24534 * posix/tst-rxspencer-no-utf8.c: New file.
24535
6e89caf1
JM
24536 * elf/Makefile ($(objpfx)order.out): Remove rule.
24537 [$(run-built-tests) = yes] (tests): Depend on
24538 $(objpfx)order-cmp.out.
24539 ($(objpfx)order-cmp.out): New rule.
24540 [$(run-built-tests) = yes] (tests): Depend on
24541 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24542 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24543 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24544 $(objpfx)tst-array5-static-cmp.out.
24545 ($(objpfx)tst-array1.out): Remove rule.
24546 ($(objpfx)tst-array1-cmp.out): New rule.
24547 ($(objpfx)tst-array1-static.out): Remove rule.
24548 ($(objpfx)tst-array1-static-cmp.out): New rule.
24549 ($(objpfx)tst-array2.out): Remove rule.
24550 ($(objpfx)tst-array2-cmp.out): New rule.
24551 ($(objpfx)tst-array3.out): Remove rule.
24552 ($(objpfx)tst-array3-cmp.out): New rule.
24553 ($(objpfx)tst-array4.out): Remove rule.
24554 ($(objpfx)tst-array4-cmp.out): New rule.
24555 ($(objpfx)tst-array5.out): Remove rule.
24556 ($(objpfx)tst-array5-cmp.out): New rule.
24557 ($(objpfx)tst-array5-static.out): Remove rule.
24558 ($(objpfx)tst-array5-static-cmp.out): New rule.
24559 [$(run-built-tests) = yes] (tests): Depend on
24560 $(objpfx)order2-cmp.out.
24561 ($(objpfx)order2.out): Remove rule.
24562 ($(objpfx)order2-cmp.out): New rule.
24563 ($(objpfx)tst-initorder.out): Remove rule.
24564 [$(run-built-tests) = yes] (tests): Depend on
24565 $(objpfx)tst-initorder-cmp.out.
24566 ($(objpfx)tst-initorder-cmp.out): New rule.
24567 ($(objpfx)tst-initorder2.out): Remove rule.
24568 [$(run-built-tests) = yes] (tests): Depend on
24569 $(objpfx)tst-initorder2-cmp.out.
24570 ($(objpfx)tst-initorder2-cmp.out): New rule.
24571 [$(run-built-tests) = yes] (tests): Depend on
24572 $(objpfx)tst-unused-dep-cmp.out.
24573 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24574 ($(objpfx)tst-unused-dep-cmp.out): New rule.
24575 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24576 on $(objpfx)tst-setvbuf1-cmp.out.
24577 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24578 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24579 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24580 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24581 ($(objpfx)tst-svc.out): Remove rule.
24582 ($(objpfx)tst-svc-cmp.out): New rule.
24583
ed9a38e2
JM
245842014-02-13 Joseph Myers <joseph@codesourcery.com>
24585
24586 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24587 * ctype/ctype.h [__USE_MISC]: Likewise.
24588 * dirent/dirent.h [__USE_MISC]: Likewise.
24589 * grp/grp.h [__USE_MISC]: Likewise.
24590 * io/fcntl.h [__USE_MISC]: Likewise.
24591 * io/sys/stat.h [__USE_MISC]: Likewise.
24592 * libio/stdio.h [__USE_MISC]: Likewise.
24593 * posix/unistd.h [__USE_MISC]: Likewise.
24594 * pwd/pwd.h [__USE_MISC]: Likewise.
24595 * stdlib.h [__USE_MISC]: Likewise.
24596 * string/bits/string2.h [__USE_MISC]: Likewise.
24597 * string/string.h [__USE_MISC]: Likewise.
24598 * time/time.h [__USE_MISC]: Likewise.
24599
d6680619
AS
246002014-02-13 Andreas Schwab <schwab@suse.de>
24601
24602 [BZ #16574]
24603 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24604 second answer buffer if it was separately allocated.
24605
ace614b8
JM
246062014-02-12 Joseph Myers <joseph@codesourcery.com>
24607
743151ae
JM
24608 * sysdeps/mips/math-tests.h: Include <features.h>.
24609 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24610 (ROUNDING_TESTS_long_double): Do not define.
24611 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24612 (EXCEPTION_TESTS_long_double): Likewise.
24613 * sysdeps/mips/mips64/libm-test-ulps: Update.
24614
498afc54
JM
24615 * include/features.h (__USE_BSD): Remove macro definitions.
24616 (__USE_SVID): Likewise.
24617 (_BSD_SOURCE): Likewise.
24618 (_SVID_SOURCE): Likewise.
24619 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24620 from definition of _DEFAULT_SOURCE.
24621 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24622 [_DEFAULT_SOURCE].
24623 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24624 * bits/mman.h [__USE_BSD]: Likewise.
24625 * bits/termios.h [__USE_BSD]: Likewise.
24626 * bits/waitstatus.h [__USE_BSD]: Likewise.
24627 * ctype/ctype.h [__USE_SVID]: Likewise.
24628 * dirent/dirent.h [__USE_BSD]: Likewise.
24629 * grp/grp.h [__USE_SVID]: Likewise.
24630 [__USE_BSD]: Likewise.
24631 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24632 * io/fcntl.h [__USE_BSD]: Likewise.
24633 * io/ftw.h [__USE_BSD]: Likewise.
24634 * io/sys/stat.h [__USE_BSD]: Likewise.
24635 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24636 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24637 * libio/stdio.h [__USE_SVID]: Likewise.
24638 [__USE_BSD]: Likewise.
24639 * math/math.h [__USE_SVID]: Likewise.
24640 [__USE_BSD]: Likewise.
24641 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24642 * misc/bits/syslog.h [__USE_BSD]: Likewise.
24643 * misc/search.h [__USE_SVID]: Likewise.
24644 * misc/sys/mman.h [__USE_BSD]: Likewise.
24645 * misc/sys/syslog.h [__USE_BSD]: Likewise.
24646 * misc/sys/uio.h [__USE_BSD]: Likewise.
24647 * posix/bits/unistd.h [__USE_BSD]: Likewise.
24648 * posix/glob.h [__USE_BSD]: Likewise.
24649 * posix/regex.h [__USE_BSD]: Likewise.
24650 * posix/sys/types.h [__USE_BSD]: Likewise.
24651 [__USE_SVID]: Likewise.
24652 * posix/sys/utsname.h [__USE_SVID]: Likewise.
24653 * posix/sys/wait.h [__USE_BSD]: Likewise.
24654 [__USE_SVID]: Likewise.
24655 * posix/unistd.h [__USE_BSD]: Likewise.
24656 [__USE_SVID]: Likewise.
24657 * pwd/pwd.h [__USE_SVID]: Likewise.
24658 * resolv/netdb.h [__USE_BSD]: Likewise.
24659 * setjmp/setjmp.h [__USE_BSD]: Likewise.
24660 * signal/signal.h [__USE_BSD]: Likewise.
24661 [__USE_SVID]: Likewise.
24662 * socket/sys/socket.h [__USE_BSD]: Likewise.
24663 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24664 * stdlib/stdlib.h [__USE_BSD]: Likewise.
24665 [__USE_SVID]: Likewise.
24666 * string/bits/string2.h [__USE_BSD]: Likewise.
24667 [__USE_SVID]: Likewise.
24668 * string/bits/string3.h [__USE_BSD]: Likewise.
24669 * string/endian.h [__USE_BSD]: Likewise.
24670 * string/string.h [__USE_SVID]: Likewise.
24671 [__USE_BSD]: Likewise.
24672 * string/strings.h [__USE_BSD]: Likewise.
24673 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24674 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24675 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24676 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24677 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24679 Likewise.
24680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24681 Likewise.
24682 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24683 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24684 Likewise.
24685 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24686 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24687 Likewise.
24688 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24689 Likewise.
24690 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24691 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24693 Likewise.
24694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24695 Likewise.
24696 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24697 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24698 * termios/termios.h [__USE_BSD]: Likewise.
24699 * time/sys/time.h [__USE_BSD]: Likewise.
24700 * time/time.h [__USE_BSD]: Likewise.
24701 [__USE_SVID]: Likewise.
24702
dd7b064c
JM
24703 * Makefile (subdir_targets): Remove subdir_lint.out.
24704
a2c4c199
JM
24705 * stdio-common/Makefile (do-tst-unbputc): Remove target.
24706 (do-tst-printf): Likewise.
24707 (tests): Depend directly on $(objpfx)tst-unbputc.out and
24708 $(objpfx)tst-printf.out.
24709
8756f740
JM
24710 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24711
1b6dd3f1
JM
24712 * Makerules (check-abi-%): Change target to
24713 $(objpfx)check-abi-%.out.
24714 (check-abi target): Update dependencies.
24715 (check-abi-pattern variable): Redirect output of diff to $@.
24716 (check-abi variable): Likewise.
24717 * elf/Makefile (check-abi): Update dependencies.
24718
ace614b8
JM
24719 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24720 unused.
24721 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24722 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24723 subnormal range.
24724 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24725 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24726 value has largest subnormal exponent.
24727 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24728 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24729 * sysdeps/aarch64/soft-fp/sfp-machine.h
24730 (_FP_TININESS_AFTER_ROUNDING): New macro.
24731 * sysdeps/alpha/soft-fp/sfp-machine.h
24732 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24733 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24734 Likewise.
24735 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24736 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24737 * sysdeps/mips/soft-fp/sfp-machine.h
24738 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24739 * sysdeps/powerpc/soft-fp/sfp-machine.h
24740 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24741 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24742 Likewise.
24743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24744 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24746 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24747 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24748 Likewise.
24749
fbfdf9cb
DAS
247502014-02-12 Dylan Alex Simon <dylan@dylex.net>
24751
24752 [BZ #16545]
24753 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24754 model 1.
24755
68b7efaa
RH
247562014-02-12 Richard Henderson <rth@redhat.com>
24757
c70a4b1d 24758 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
24759 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24760 * sysdeps/unix/sysv/linux/alpha: Move directory from
24761 ports/sysdeps/unix/sysv/linux/alpha.
24762 * README: Update listing for alpha-*-linux-gnu.
24763
cb4a2928
JM
247642014-02-11 Joseph Myers <joseph@codesourcery.com>
24765
c941736c
JM
24766 * include/features.h: Update comment documenting feature test
24767 macros.
24768 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
24769 _DEFAULT_SOURCE.
24770 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24771 (_SVID_SOURCE): Likewise.
24772 (_DEFAULT_SOURCE): Update description of default features.
24773 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24774 with _GNU_SOURCE.
24775 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24776 (S_ISVTX): Likewise.
24777 * manual/math.texi (Mathematical Constants): Likewise.
24778 * manual/signal.texi (Interrupted Primitives): Likewise.
24779 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24780 * math/test-matherr.c (_SVID_SOURCE): Do not define.
24781 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24782 Don't refer to _SVID_SOURCE in warning text.
24783
e8d8d7ec
JM
24784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24785
cb4a2928
JM
24786 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24787 already defined.
24788 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24789 * sysdeps/mips/dl-lookup.c: Remove.
24790 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24791
7e6424e3
AK
247922014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24793
24794 [BZ #16447]
24795 * math/auto-libm-test-in: Add testcase for expl.
24796 * math/auto-libm-test-out: Regenerate.
24797 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24798 calculation of unsafe.
24799 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24800
75eff3fe
MS
248012014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
24802
24803 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24804 * sysdeps/unix/sysv/linux/aarch64: Move directory from
24805 ports/sysdeps/unix/sysv/linux/aarch64.
24806 * README: Update listing for aarch64*-*-linux-gnu.
24807
d35f1e80
WN
248082014-02-11 Will Newton <will.newton@linaro.org>
24809
24810 * manual/probes.texi (Mathematical Function Probes): Use
24811 "triggered" instead of "hit".
24812
7b3436d4
WN
24813 * manual/probes.texi (Internal Probes): Add documentation
24814 of setjmp, longjmp and longjmp_target probes.
24815
b4f12ca3
WN
24816 * include/stap-probe.h: Add comment about probe argument
24817 format.
24818
c13a72b7
WN
24819 * malloc/mtrace.c (attribute_hidden): Remove unused macro
24820 definition. (tr_where, tr_freehook, tr_mallochook,
24821 tr_reallochook, tr_memalignhook): Use ANSI protoype.
24822
195b8165
DM
248232014-02-11 David S. Miller <davem@davemloft.net>
24824
24825 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24826 processing int_tests.
24827
2ad7600b
JM
248282014-02-10 Joseph Myers <joseph@codesourcery.com>
24829
24830 * sysdeps/mips: Move directory from ports/sysdeps/mips.
24831 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24832 * sysdeps/unix/sysv/linux/mips: Move directory from
24833 ports/sysdeps/unix/sysv/linux/mips.
24834 * README: Update listing for mips-*-linux-gnu and
24835 mips64-*-linux-gnu.
24836
73588a72
AS
248372014-02-10 Andreas Schwab <schwab@linux-m68k.org>
24838
24839 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24840 * sysdeps/unix/sysv/linux/m68k: Move directory from
24841 ports/sysdeps/unix/sysv/linux/m68k.
24842 * README: Update listing for m68k-*-linux-gnu.
24843
4372980f
CM
248442014-02-10 Chris Metcalf <cmetcalf@tilera.com>
24845
24846 * sysdeps/tile: Move directory from ports/sysdeps/tile.
24847 * sysdeps/unix/sysv/linux/generic: Move directory from
24848 ports/sysdeps/unix/sysv/linux/generic.
24849 * sysdeps/unix/sysv/linux/tile: Move directory from
24850 ports/sysdeps/unix/sysv/linux/tile.
24851 * README: Update listing for tile*-*-linux-gnu.
24852
a1ffb40e
OB
248532014-02-10 Ondřej Bílka <neleai@seznam.cz>
24854
57f41c40
AS
24855 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24856 __builtin_expect.
a1ffb40e
OB
24857 * benchtests/bench-memmem.c (simple_memmem): Likewise.
24858 * catgets/open_catalog.c (__open_catalog): Likewise.
24859 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24860 * debug/confstr_chk.c: Likewise.
24861 * debug/fread_chk.c (__fread_chk): Likewise.
24862 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24863 * debug/getgroups_chk.c: Likewise.
24864 * debug/mbsnrtowcs_chk.c: Likewise.
24865 * debug/mbsrtowcs_chk.c: Likewise.
24866 * debug/mbstowcs_chk.c: Likewise.
24867 * debug/memcpy_chk.c: Likewise.
24868 * debug/memmove_chk.c: Likewise.
24869 * debug/mempcpy_chk.c: Likewise.
24870 * debug/memset_chk.c: Likewise.
24871 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24872 * debug/strcat_chk.c (__strcat_chk): Likewise.
24873 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24874 * debug/strncat_chk.c (__strncat_chk): Likewise.
24875 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24876 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24877 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24878 * debug/wcpncpy_chk.c: Likewise.
24879 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24880 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24881 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24882 * debug/wcsncpy_chk.c: Likewise.
24883 * debug/wcsnrtombs_chk.c: Likewise.
24884 * debug/wcsrtombs_chk.c: Likewise.
24885 * debug/wcstombs_chk.c: Likewise.
24886 * debug/wmemcpy_chk.c: Likewise.
24887 * debug/wmemmove_chk.c: Likewise.
24888 * debug/wmempcpy_chk.c: Likewise.
24889 * debug/wmemset_chk.c: Likewise.
24890 * dirent/scandirat.c (SCANDIRAT): Likewise.
24891 * dlfcn/dladdr1.c (dladdr1): Likewise.
24892 * dlfcn/dladdr.c (dladdr): Likewise.
24893 * dlfcn/dlclose.c (dlclose_doit): Likewise.
24894 * dlfcn/dlerror.c (__dlerror): Likewise.
24895 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24896 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24897 * dlfcn/dlopen.c (dlopen_doit): Likewise.
24898 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24899 * dlfcn/dlsym.c (dlsym_doit): Likewise.
24900 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24901 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24902 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24903 Likewise.
24904 * elf/dl-conflict.c: Likewise.
24905 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24906 * elf/dl-dst.h: Likewise.
24907 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24908 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24909 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24910 * elf/dl-init.c (call_init, _dl_init): Likewise.
24911 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
24912 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24913 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24914 Likewise.
a1ffb40e
OB
24915 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24916 Likewise.
24917 * elf/dl-minimal.c (__libc_memalign): Likewise.
24918 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24919 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24920 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24921 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
24922 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24923 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
24924 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24925 * elf/dl-writev.h (_dl_writev): Likewise.
24926 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
24927 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24928 (dl_main): Likewise.
a1ffb40e
OB
24929 * elf/setup-vdso.h (setup_vdso): Likewise.
24930 * grp/compat-initgroups.c (compat_call): Likewise.
24931 * grp/fgetgrent.c (fgetgrent): Likewise.
24932 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24933 * grp/putgrent.c (putgrent): Likewise.
24934 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24935 Likewise.
24936 * hurd/hurdinit.c: Likewise.
24937 * iconvdata/8bit-gap.c (struct): Likewise.
24938 * iconvdata/ansi_x3.110.c : Likewise.
24939 * iconvdata/big5.c : Likewise.
24940 * iconvdata/big5hkscs.c : Likewise.
24941 * iconvdata/cp1255.c: Likewise.
24942 * iconvdata/cp1258.c : Likewise.
24943 * iconvdata/cp932.c : Likewise.
24944 * iconvdata/euc-cn.c: Likewise.
24945 * iconvdata/euc-jisx0213.c : Likewise.
24946 * iconvdata/euc-jp.c: Likewise.
24947 * iconvdata/euc-jp-ms.c : Likewise.
24948 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24949 * iconvdata/gb18030.c : Likewise.
24950 * iconvdata/gbbig5.c (const): Likewise.
24951 * iconvdata/gbgbk.c: Likewise.
24952 * iconvdata/gbk.c : Likewise.
24953 * iconvdata/ibm1364.c : Likewise.
24954 * iconvdata/ibm930.c : Likewise.
24955 * iconvdata/ibm932.c: Likewise.
24956 * iconvdata/ibm933.c : Likewise.
24957 * iconvdata/ibm935.c : Likewise.
24958 * iconvdata/ibm937.c : Likewise.
24959 * iconvdata/ibm939.c : Likewise.
24960 * iconvdata/ibm943.c: Likewise.
24961 * iconvdata/iso_11548-1.c: Likewise.
24962 * iconvdata/iso-2022-cn.c : Likewise.
24963 * iconvdata/iso-2022-cn-ext.c : Likewise.
24964 * iconvdata/iso-2022-jp-3.c: Likewise.
24965 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24966 * iconvdata/iso-2022-kr.c : Likewise.
24967 * iconvdata/iso646.c (gconv_end): Likewise.
24968 * iconvdata/iso_6937-2.c : Likewise.
24969 * iconvdata/iso_6937.c : Likewise.
24970 * iconvdata/iso8859-1.c: Likewise.
24971 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24972 * iconvdata/shift_jisx0213.c : Likewise.
24973 * iconvdata/sjis.c : Likewise.
24974 * iconvdata/t.61.c : Likewise.
24975 * iconvdata/tcvn5712-1.c : Likewise.
24976 * iconvdata/tscii.c: Likewise.
24977 * iconvdata/uhc.c : Likewise.
24978 * iconvdata/unicode.c (gconv_end): Likewise.
24979 * iconvdata/utf-16.c (gconv_end): Likewise.
24980 * iconvdata/utf-32.c (gconv_end): Likewise.
24981 * iconvdata/utf-7.c (base64): Likewise.
24982 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24983 * iconv/gconv_close.c (__gconv_close): Likewise.
24984 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
24985 * iconv/gconv_simple.c (internal_ucs4_loop_single)
24986 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24987 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24988 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24989 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
24990 * iconv/iconv.c (iconv): Likewise.
24991 * iconv/iconv_close.c: Likewise.
24992 * iconv/loop.c (SINGLE): Likewise.
24993 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24994 * include/atomic.h: Likewise.
24995 * inet/inet6_option.c (option_alloc): Likewise.
24996 * intl/bindtextdom.c (set_binding_values): Likewise.
24997 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24998 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24999 * intl/localealias.c (read_alias_file): Likewise.
25000 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
25001 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25002 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
25003 * libio/fmemopen.c (fmemopen): Likewise.
25004 * libio/iofgets.c (_IO_fgets): Likewise.
25005 * libio/iofgets_u.c (fgets_unlocked): Likewise.
25006 * libio/iofgetws.c (fgetws): Likewise.
25007 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25008 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
25009 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25010 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
25011 * locale/findlocale.c (_nl_find_locale): Likewise.
25012 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25013 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25014 Likewise.
25015 * locale/setlocale.c (setlocale): Likewise.
25016 * login/programs/pt_chown.c (main): Likewise.
25017 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25018 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
25019 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25020 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
25021 * math/e_exp2l.c: Likewise.
25022 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25023 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25024 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25025 * math/s_catan.c (__catan): Likewise.
25026 * math/s_catanf.c (__catanf): Likewise.
25027 * math/s_catanh.c (__catanh): Likewise.
25028 * math/s_catanhf.c (__catanhf): Likewise.
25029 * math/s_catanhl.c (__catanhl): Likewise.
25030 * math/s_catanl.c (__catanl): Likewise.
25031 * math/s_ccosh.c (__ccosh): Likewise.
25032 * math/s_ccoshf.c (__ccoshf): Likewise.
25033 * math/s_ccoshl.c (__ccoshl): Likewise.
25034 * math/s_cexp.c (__cexp): Likewise.
25035 * math/s_cexpf.c (__cexpf): Likewise.
25036 * math/s_cexpl.c (__cexpl): Likewise.
25037 * math/s_clog10.c (__clog10): Likewise.
25038 * math/s_clog10f.c (__clog10f): Likewise.
25039 * math/s_clog10l.c (__clog10l): Likewise.
25040 * math/s_clog.c (__clog): Likewise.
25041 * math/s_clogf.c (__clogf): Likewise.
25042 * math/s_clogl.c (__clogl): Likewise.
25043 * math/s_csin.c (__csin): Likewise.
25044 * math/s_csinf.c (__csinf): Likewise.
25045 * math/s_csinh.c (__csinh): Likewise.
25046 * math/s_csinhf.c (__csinhf): Likewise.
25047 * math/s_csinhl.c (__csinhl): Likewise.
25048 * math/s_csinl.c (__csinl): Likewise.
25049 * math/s_csqrt.c (__csqrt): Likewise.
25050 * math/s_csqrtf.c (__csqrtf): Likewise.
25051 * math/s_csqrtl.c (__csqrtl): Likewise.
25052 * math/s_ctan.c (__ctan): Likewise.
25053 * math/s_ctanf.c (__ctanf): Likewise.
25054 * math/s_ctanh.c (__ctanh): Likewise.
25055 * math/s_ctanhf.c (__ctanhf): Likewise.
25056 * math/s_ctanhl.c (__ctanhl): Likewise.
25057 * math/s_ctanl.c (__ctanl): Likewise.
25058 * math/w_pow.c: Likewise.
25059 * math/w_powf.c: Likewise.
25060 * math/w_powl.c: Likewise.
25061 * math/w_scalb.c (sysv_scalb): Likewise.
25062 * math/w_scalbf.c (sysv_scalbf): Likewise.
25063 * math/w_scalbl.c (sysv_scalbl): Likewise.
25064 * misc/error.c (error_tail): Likewise.
25065 * misc/pselect.c (__pselect): Likewise.
25066 * nis/nis_callback.c (__nis_create_callback): Likewise.
25067 * nis/nis_call.c (__nisfind_server): Likewise.
25068 * nis/nis_creategroup.c (nis_creategroup): Likewise.
25069 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25070 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25071 * nis/nis_getservlist.c (nis_getservlist): Likewise.
25072 * nis/nis_lookup.c (nis_lookup): Likewise.
25073 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
25074 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25075 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 25076 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
25077 * nis/nss_compat/compat-grp.c (getgrent_next_file)
25078 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25079 * nis/nss_compat/compat-initgroups.c (add_group)
25080 (internal_getgrent_r): Likewise.
25081 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25082 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25083 * nis/nss_compat/compat-spwd.c (getspent_next_file)
25084 (internal_getspnam_r): Likewise.
25085 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25086 (_nss_nis_getaliasbyname_r): Likewise.
25087 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25088 (_nss_nis_getntohost_r): Likewise.
25089 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25090 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25091 (_nss_nis_getgrgid_r): Likewise.
25092 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25093 (internal_nis_gethostent_r, internal_gethostbyname2_r)
25094 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25095 (_nss_nis_gethostbyname4_r): Likewise.
25096 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25097 (initgroups_netid): Likewise.
a1ffb40e 25098 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
25099 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25100 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25101 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25102 (_nss_nis_getprotobynumber_r): Likewise.
25103 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25104 (_nss_nis_getsecretkey): Likewise.
25105 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25106 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25107 (_nss_nis_getpwuid_r): Likewise.
25108 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25109 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25110 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25111 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25112 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25113 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
25114 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25115 Likewise.
57f41c40
AS
25116 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25117 (_nss_nisplus_getntohost_r): Likewise.
25118 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25119 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25120 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25121 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 25122 Likewise.
57f41c40
AS
25123 * nis/nss_nisplus/nisplus-initgroups.c
25124 (_nss_nisplus_initgroups_dyn): Likewise.
25125 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25126 (_nss_nisplus_getnetbyaddr_r): Likewise.
25127 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25128 (_nss_nisplus_getprotobynumber_r): Likewise.
25129 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25130 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
25131 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25132 Likewise.
57f41c40
AS
25133 * nis/nss_nisplus/nisplus-service.c
25134 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25135 (_nss_nisplus_getservbyport_r): Likewise.
25136 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25137 (_nss_nisplus_getspnam_r): Likewise.
25138 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25139 Likewise.
a1ffb40e
OB
25140 * nscd/aicache.c (addhstaiX): Likewise.
25141 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
25142 * nscd/connections.c (register_traced_file, send_ro_fd)
25143 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25144 (main_loop_epoll): Likewise.
a1ffb40e
OB
25145 * nscd/grpcache.c (addgrbyX): Likewise.
25146 * nscd/hstcache.c (addhstbyX): Likewise.
25147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25148 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
25149 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25150 (addinnetgrX): Likewise.
25151 * nscd/nscd-client.h (__nscd_acquire_maplock)
25152 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
25153 * nscd/nscd_getai.c (__nscd_getai): Likewise.
25154 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25156 Likewise.
25157 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
25159 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25160 (__nscd_get_map_ref): Likewise.
a1ffb40e 25161 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
25162 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25163 Likewise.
a1ffb40e
OB
25164 * nscd/pwdcache.c (addpwbyX): Likewise.
25165 * nscd/selinux.c (preserve_capabilities): Likewise.
25166 * nscd/servicescache.c (addservbyX): Likewise.
25167 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25168 * posix/fnmatch.c (fnmatch): Likewise.
25169 * posix/getopt.c (_getopt_internal_r): Likewise.
25170 * posix/glob.c (glob, glob_in_dir): Likewise.
25171 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
25172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25173 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
25174 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25175 * resolv/res_init.c: Likewise.
25176 * resolv/res_mkquery.c (res_nmkquery): Likewise.
25177 * resolv/res_query.c (__libc_res_nquery): Likewise.
25178 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25179 Likewise.
25180 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25181 * stdio-common/perror.c (perror): Likewise.
25182 * stdio-common/printf_fp.c (___printf_fp): Likewise.
25183 * stdio-common/tmpnam.c (tmpnam): Likewise.
25184 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25185 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
25186 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25187 Likewise.
a1ffb40e
OB
25188 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25189 * stdlib/putenv.c (putenv): Likewise.
25190 * stdlib/setenv.c (__add_to_environ): Likewise.
25191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25192 * stdlib/strtol_l.c (INTERNAL): Likewise.
25193 * string/memmem.c (memmem): Likewise.
25194 * string/strerror.c (strerror): Likewise.
25195 * string/strnlen.c (__strnlen): Likewise.
25196 * string/test-memmem.c (simple_memmem): Likewise.
25197 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25198 * sunrpc/pm_getport.c (__get_socket): Likewise.
25199 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25200 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
25201 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25202 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
25203 Likewise.
25204 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25207 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
25209 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25210 Likewise.
25211 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25212 Likewise.
a1ffb40e
OB
25213 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25214 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25216 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25217 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25219 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25221 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25222 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25223 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25225 Likewise.
25226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25227 Likewise.
25228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25229 Likewise.
25230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25233 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25234 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25235 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25236 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25239 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25240 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25242 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25243 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
25245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25246 Likewise.
a1ffb40e
OB
25247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25248 Likewise.
25249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25250 Likewise.
25251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25252 Likewise.
25253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25255 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25256 Likewise.
25257 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25258 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25259 * sysdeps/posix/opendir.c (__opendirat): Likewise.
25260 * sysdeps/posix/sleep.c: Likewise.
25261 * sysdeps/posix/tempname.c: Likewise.
25262 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25264 Likewise.
57f41c40
AS
25265 * sysdeps/powerpc/powerpc32/dl-machine.h
25266 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
25267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25269 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25271 Likewise.
25272 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
25273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25274 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25275 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25276 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
25277 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25278 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25279 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25280 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25281 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
25282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25283 (elf_machine_lazy_rel): Likewise.
a1ffb40e 25284 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
25285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25286 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
25287 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25288 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25289 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25290 * sysdeps/unix/grantpt.c (grantpt): Likewise.
25291 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25292 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25293 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25295 Likewise.
25296 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25297 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25298 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25299 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25300 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25301 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25302 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25303 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25305 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25306 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25307 Likewise.
25308 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25309 (__posix_fallocate64_l64): Likewise.
25310 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25311 (posix_fallocate): Likewise.
57f41c40
AS
25312 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25313 Likewise.
a1ffb40e 25314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
25315 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25316 (getifaddrs_internal): Likewise.
a1ffb40e
OB
25317 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25318 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25319 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25321 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25322 (__posix_fallocate64_l64): Likewise.
25323 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25324 Likewise.
25325 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
25326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25327 (__get_clockfreq): Likewise.
a1ffb40e
OB
25328 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25329 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25330 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25333 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25334 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25335 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25336 Likewise.
25337 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25338 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25339 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25341 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25342 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25343 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25344 Likewise.
25345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25346 (posix_fallocate): Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25348 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25349 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
25350 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25351 (elf_machine_rela, elf_machine_rela_relative)
25352 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
25353 * time/asctime.c (asctime_internal): Likewise.
25354 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25355 * time/tzset.c (__tzset_parse_tz): Likewise.
25356 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25357 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25358 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25359 * wcsmbs/wcsmbsload.h: Likewise.
25360
f3d338c9
OB
25361 [BZ #15894]
25362 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25363
57f41c40
AS
25364 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25365 (arena_get2): Remove THREAD_STATS conditionals.
25366 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25367 (__malloc_stats, int): Likewise.
bdfe308a 25368
d674667c
MF
253692014-02-08 Mike Frysinger <vapier@gentoo.org>
25370
25371 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25372 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
25373
6349768c
MF
25374 * manual/setjmp.texi: Fix typos/grammar errors.
25375
0b7c7473
MF
25376 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25377 Only return early when n is <= 0. Delete unused return statement.
25378
ac8cc9e3
MF
25379 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25380 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25381 * debug/tst-longjmp_chk3.c: New file.
25382
c5bb8e23
MF
25383 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25384 (test_main): Replace code with set_fortify_handler call.
25385 * debug/test-strcpy_chk.c: Likewise.
25386 * debug/tst-chk1.c: Likewise.
25387 * debug/tst-longjmp_chk.c: Likewise.
25388 * test-skeleton.c: Include fcntl.h & paths.h
25389 (set_fortify_handler): Define.
25390
10444e42
MF
25391 * debug/tst-longjmp_chk.c: Add header comment and include
25392 ../test-skeleton.c.
25393 (do_test): Mark static.
25394 (TEST_FUNCTION): Define.
25395
1e805e8d
MF
25396 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25397 (IP_PMTUDISC_INTERFACE): Likewise.
25398 (IP_MULTICAST_IF): Likewise.
25399 (IP_MULTICAST_TTL): Likewise.
25400 (IP_MULTICAST_LOOP): Likewise.
25401 (IP_ADD_MEMBERSHIP): Likewise.
25402 (IP_DROP_MEMBERSHIP): Likewise.
25403 (IP_UNBLOCK_SOURCE): Likewise.
25404 (IP_BLOCK_SOURCE): Likewise.
25405 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25406 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25407 (IP_MSFILTER): Likewise.
25408 (MCAST_JOIN_GROUP): Likewise.
25409 (MCAST_BLOCK_SOURCE): Likewise.
25410 (MCAST_UNBLOCK_SOURCE): Likewise.
25411 (MCAST_LEAVE_GROUP): Likewise.
25412 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25413 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25414 (MCAST_MSFILTER): Likewise.
25415 (IP_MULTICAST_ALL): Likewise.
25416 (IP_UNICAST_IF): Likewise.
25417
73f79bb7
MF
25418 * timezone/Makefile: Delete $(have-ksh) check.
25419 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25420 * timezone/tzselect.ksh: Add +x mode bits.
25421
8da79b60
MF
25422 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25423 (ANON_INODE_FS_MAGIC): Likewise.
25424 (BDEVFS_MAGIC): Likewise.
25425 (BINFMTFS_MAGIC): Likewise.
25426 (BTRFS_TEST_MAGIC): Likewise.
25427 (CRAMFS_MAGIC_WEND): Likewise.
25428 (DEBUGFS_MAGIC): Likewise.
25429 (ECRYPTFS_SUPER_MAGIC): Likewise.
25430 (EXT3_SUPER_MAGIC): Likewise.
25431 (EXT4_SUPER_MAGIC): Likewise.
25432 (FUTEXFS_SUPER_MAGIC): Likewise.
25433 (HOSTFS_SUPER_MAGIC): Likewise.
25434 (HUGETLBFS_MAGIC): Likewise.
25435 (MINIX3_SUPER_MAGIC): Likewise.
25436 (MTD_INODE_FS_MAGIC): Likewise.
25437 (NILFS_SUPER_MAGIC): Likewise.
25438 (OPENPROM_SUPER_MAGIC): Likewise.
25439 (PIPEFS_MAGIC): Likewise.
25440 (PSTOREFS_MAGIC): Likewise.
25441 (QNX6_SUPER_MAGIC): Likewise.
25442 (RAMFS_MAGIC): Likewise.
25443 (REISERFS_SUPER_MAGIC_STRING): Likewise.
25444 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25445 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25446 (SECURITYFS_MAGIC): Likewise.
25447 (SELINUX_MAGIC): Likewise.
25448 (SMACK_MAGIC): Likewise.
25449 (SOCKFS_MAGIC): Likewise.
25450 (SQUASHFS_MAGIC): Likewise.
25451 (STACK_END_MAGIC): Likewise.
25452 (TMPFS_MAGIC): Likewise.
25453 (USBDEVICE_SUPER_MAGIC): Likewise.
25454 (V9FS_MAGIC): Likewise.
25455 (XENFS_SUPER_MAGIC): Likewise.
25456 (CRAMFS_MAGIC): Fix typo in comment.
25457 (EXT2_SUPER_MAGIC): Update comment.
25458 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25459
464263cc
JM
254602014-02-08 Joseph Myers <joseph@codesourcery.com>
25461
c6bfe5c4
JM
25462 * sysdeps/arm: Move directory from ports/sysdeps/arm.
25463 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25464 * sysdeps/unix/sysv/linux/arm: Move directory from
25465 ports/sysdeps/unix/sysv/linux/arm.
25466 * README: Update listing for arm-*-linux-gnueabi.
25467
464263cc
JM
25468 * README: Remove mention of am33.
25469
32749f6c
RM
254702014-02-07 Roland McGrath <roland@hack.frob.com>
25471
25472 * bits/sigset.h (__sigemptyset): Use a statement expression rather
25473 than the comma operator, to avoid "rhs of comma has no effect"
25474 compiler warnings.
25475 (__sigfillset, __sigandset, __sigorset): Likewise.
25476 * include/signal.h (__sigemptyset): Likewise.
25477 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25478
d5b396c1
AM
254792014-02-07 Allan McRae <allan@archlinux.org>
25480
25481 * version.h (RELEASE): Set to "development".
25482 (VERSION): Set to "2.19.90"
25483 * NEWS: Add 2.20 section.
25484
3bfff2ed
CD
254852014-02-06 Carlos O'Donell <carlos@redhat.com>
25486
25487 [BZ #16529]
25488 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25489
ee7cc385
SP
254902014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25491
25492 * manual/contrib.texi: Update entry for Carlos O'Donell,
25493 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25494
f877c4f2
CD
254952014-02-05 Carlos O'Donell <carlos@rehdat.com>
25496
27e839f6
CD
25497 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25498
f877c4f2
CD
25499 * sysdeps/unix/sysv/linux/kernel-features.h
25500 [__LINUX_KERNEL_VERSION >= 0x020621]
25501 (__ASSUME_PROC_PID_TASK_COMM): Define.
25502
68159946
SP
255032014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25504
ba17cdbd
SP
25505 [BZ #16398]
25506 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25507 conversion when destination buffer does not have enough space.
25508 * libio/tst-ftell-partial-wide.c: New test case.
25509 * libio/Makefile (tests): Add tst-ftell-partial-wide.
25510
68159946
SP
25511 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25512 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
25513 Leonard and Allan McRae.
25514
2b528732
DM
255152014-02-04 David S. Miller <davem@davemloft.net>
25516
25517 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25518 32-bit.
25519
0ff82463
AZ
255202014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25521
57f41c40
AS
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25523 New file
c01603f7
AZ
25524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25525 New file
57f41c40
AS
25526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25527 New file.
25528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25529 New file.
c01603f7
AZ
25530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25531 New file.
57f41c40
AS
25532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25533 New file.
25534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25535 New file.
c01603f7
AZ
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25537 New file.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25539 New file.
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25541 New file.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25543 New file.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25545 New file.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25547 New file.
25548
255492014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25550
0ff82463
AZ
25551 * nptl/shlib-versions: Change powerpc*le start to 2.17.
25552 * shlib-versions: Likewise.
25553
1695c773
AZ
255542014-02-04 Roland McGrath <roland@hack.frob.com>
25555 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25556
25557 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25558 (abilist-pattern): New variable, set to %-le.abilist.
25559
25560 * Makerules (abilist-pattern): New variable.
25561 (vpath): Use $(abilist-pattern) in place of %.abilist.
25562 (check-abi-% pattern rule): Likewise.
25563 (check-abi, update-abi): Likewise.
25564
6c0ce4b4
EW
255652014-02-04 Eric Wong <normalperson@yhbt.net>
25566
25567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25568
481e3524
CD
255692014-02-03 Carlos O'Donell <carlos@redhat.com>
25570
25571 * manual/startup.texi: Add next, previous, and top entries for
25572 the `Program Arguments' and `Environment Variables' nodes.
25573
375592d3
AO
255742014-02-03 Alexandre Oliva <aoliva@redhat.com>
25575
25576 * manual/macros.texi: Add comments before MTASC-safety macros.
25577
f54838ba
AO
25578 * manual/users.texi: Document MTASC-safety properties.
25579
57f41c40
AS
25580 * manual/threads.texi (pthread_key_create, pthread_key_delete)
25581 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
25582 @deftypefun, and add @safety note.
25583 * manual/signal.texi: Move comments that analyze the above
25584 functions to their home place.
25585
fd3daba4
AM
255862014-02-03 Allan McRae <allan@archlinux.org>
25587
25588 * po/sl.po: Update Slovenian translation from translation project.
25589
597636d7
AO
255902014-02-02 Alexandre Oliva <aoliva@redhat.com>
25591
25592 * manual/time.texi (timegm): Add missing blank after @c.
25593 Reported by Joseph Myers <joseph@codesourcery.com>.
25594
ee196e3c
AO
255952014-02-01 Alexandre Oliva <aoliva@redhat.com>
25596
25597 * manual/check-safety.sh: New.
25598 * manual/Makefile ($(objpfx)stamp-summary): Run it.
25599
f8d529d5
AO
25600 * manual/terminal.texi: Document MTASC-safety properties.
25601
de55fdf4
AO
25602 * manual/filesys.texi: Document MTASC-safety properties.
25603
c3299c08
AO
25604 * manual/errno.texi: Document MTASC-safety properties.
25605
06e90b14
AO
25606 * manual/intro.texi: Document safety identifiers and
25607 conditionals.
25608
1acd4371
AO
25609 * manual/string.texi (wcstok): Fix prototype.
25610 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25611
23e5b8cb
AO
25612 * manual/time.texi: Document MTASC-safety properties.
25613
11087373
AO
25614 * manual/string.texi: Document MTASC-safety properties.
25615
5da2c93d
AO
25616 * manual/threads.texi: Document MTASC-safety properties.
25617
171e9210
AO
25618 * manual/stdio.texi: Document MTASC-safety properties.
25619
d9e02532
AO
25620 * manual/syslog.texi: Document MTASC-safety properties.
25621
6af8bab7
AO
25622 * manual/sysinfo.texi: Document MTASC-safety properties.
25623
663b02d7
AO
25624 * manual/startup.texi: Document MTASC-safety properties.
25625
973f180b
AO
25626 * manual/socket.texi: Document MTASC-safety properties.
25627
8f3c25c8
AO
25628 * manual/signal.texi: Document MTASC-safety properties.
25629
542210fb
AO
256302014-01-31 Alexandre Oliva <aoliva@redhat.com>
25631
25632 * manual/setjmp.texi: Document MTASC-safety properties.
25633
433c45a2
AO
25634 * manual/search.texi: Document MTASC-safety properties.
25635
c8ce789c
AO
25636 * manual/resource.texi: Document MTASC-safety properties.
25637
19f5d29c
AO
25638 * manual/process.texi: Document MTASC-safety properties.
25639
e2dfb7f4
AO
25640 * manual/platform.texi: Document MTASC-safety properties.
25641
8c1413f5
AO
25642 * manual/pipe.texi: Document MTASC-safety properties.
25643
03483ada
AO
25644 * manual/pattern.texi: Document MTASC-safety properties.
25645
29e7e2df
AO
25646 * manual/message.texi: Document MTASC-safety properties.
25647
9f529d7c
AO
25648 [BZ #12751]
25649 * manual/memory.texi: Document MTASC-safety properties.
25650
27aaa791
AO
25651 * manual/math.texi: Document MTASC-safety properties.
25652
f2d58726
AO
25653 * manual/locale.texi: Document MTASC-safety properties.
25654
2cc3615c
AO
25655 * manual/llio.texi: Document MTASC-safety properties.
25656
d9f0ec97
AO
25657 * manual/libdl.texi: New.
25658
e7c4409a
AO
25659 * manual/lang.texi: Document MTASC-safety properties.
25660
27bdc63c
AO
25661 * manual/job.texi: Document MTASC-safety properties.
25662
a7b90ea9
AO
25663 * manual/getopt.texi: Document MTASC-safety properties.
25664
c49130e3
AO
25665 * manual/ctype.texi: Document MTASC-safety properties.
25666
0d23a5c1
MR
256672014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
25668
25669 [BZ #16046]
25670 * csu/libc-tls.c (static_map): Remove variable.
25671 (__libc_setup_tls): Use main executable's link map for TLS data.
25672 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25673 casing for LM_ID_BASE and GL(dl_nns).
25674 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25675 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
25676 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25677 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25678 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25679 member.
25680 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25681 l_phnum members.
25682
0037bb60
AO
256832014-01-30 Alexandre Oliva <aoliva@redhat.com>
25684
25685 * manual/debug.texi: Document MTASC-safety properties.
25686
409e00bd
L
256872014-01-29 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 [BZ #16510]
25690 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25691 of __x86_64__ when disabling x87 inline functions.
25692
86e60666
AO
256932014-01-29 Alexandre Oliva <aoliva@redhat.com>
25694
25695 * manual/charset.texi: Document MTASC-safety properties.
25696
76167637
AO
25697 * manual/crypt.texi: Document MTASC-safety properties.
25698
e567f2a0
AO
25699 * manual/conf.texi: Document MTASC-safety properties.
25700
b719dafd
AO
25701 * manual/arith.texi: Document MTASC-safety properties.
25702
4a16c662
AO
25703 * manual/argp.texi: Document MTASC-safety properties.
25704
0a57b83e
AO
25705 * manual/macros.texi: Introduce macros to document multi
25706 thread, asynchronous signal and asynchronous cancellation
25707 safety properties.
25708 * manual/intro.texi: Introduce the properties themselves.
25709
feab2397
KK
257102014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25711
25712 * sysdeps/sh/sh4/Makefile: New file.
25713
1c0d11bc
AS
257142014-01-27 Andreas Schwab <schwab@linux-m68k.org>
25715
25716 * math/gen-libm-test.pl ($srcdir): New variable.
25717 ($auto_input): Use it.
25718
af37a8a3
SP
257192014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
d7b00f98
SP
25721 [BZ #16506]
25722 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25723 access beyond array bounds when parsing netgroups file.
25724
af37a8a3
SP
25725 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25726 the old buffer before realloc.
25727
0c00f062
AM
257282014-01-27 Allan McRae <allan@archlinux.org>
25729
25730 * po/fr.po: Update French translation from translation project.
25731
7d69a1b0
KK
257322014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25733
25734 * sysdeps/sh/libm-test-ulps: Regenerate.
25735
6e697ff7
DM
257362014-01-24 David S. Miller <davem@davemloft.net>
25737
25738 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25739
9cadb35c
KK
257402014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25741
25742 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25743 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25744
5d41dadf
SP
257452013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25746
25747 [BZ #16474]
25748 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25749 string pointers after reallocation.
25750
0bad441c
KK
257512014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25752
25753 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25754 __SH4A__ instead of __SH_FPU_ANY__.
25755
7007c661
KK
257562014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25757
25758 * sysdeps/sh/fpu_control.h: New file.
25759 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25760 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25761 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25762 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25763 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25764 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25765 * sysdeps/sh/sys/ucontext.h: Remove.
25766 * sysdeps/sh/sys: Remove directory.
25767
0f0c35e4
AK
257682014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25769
25770 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25771 s390/sys/ucontext.h.
25772 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25774
4959e284
L
257752014-01-20 H.J. Lu <hongjiu.lu@intel.com>
25776
25777 [BZ #15605]
25778 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25779
d98720e0
AZ
257802014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25781
25782 [BZ#16431]
25783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25784 Adjust the vDSO correctly for internal calls.
25785 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25786
91cbd0bc
AM
257872014-01-20 Allan McRae <allan@archlinux.org>
25788
25789 * po/ca.po: Update Catalan translation from translation project.
25790
7a02cfad
MF
257912014-01-16 Mike Frysinger <vapier@gentoo.org>
25792
25793 * sysdeps/s390/sotruss-lib.c: New file.
25794
736c304a
AZ
257952014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25796
25797 [BZ#16430]
6e077ee5 25798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
25799 (__GI___gettimeofday): Alias for a different internal symbol to avoid
25800 local calls issues by not having a PLT stub required for IFUNC calls.
25801 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25802
94d0cea0
JM
258032014-01-16 Joseph Myers <joseph@codesourcery.com>
25804
25805 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25806 * math/test-fpucw-static.c: Likewise.
25807
980cb518
SP
258082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25809
25810 [BZ #16453]
25811 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25812
2393fc01
AZ
258132014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25814
25815 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25816 implementation for powerpc.
25817
d359bcc2
OB
258182014-01-15 Ondřej Bílka <neleai@seznam.cz>
25819
25820 [BZ #14782]
25821 * sysdeps/posix/system.c (__libc_system): Do not enable
25822 asynchronous cancellation.
25823
7beb48cb
AK
258242014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25825
25826 [BZ #16427]
25827 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25828 handling only for numbers special also in the IEEE case.
25829
c20d5bf5
AK
258302014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25831
25832 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25833
e83bd4ee
AM
258342014-01-11 Allan McRae <allan@archlinux.org>
25835
76d0ea69
AM
25836 * po/bg.po: Update Bulgarian translation from translation project.
25837
e83bd4ee
AM
25838 * po/de.po: Update German translation from translation project.
25839
bc2ba20a
RM
258402014-01-10 Roland McGrath <roland@hack.frob.com>
25841
25842 * sysdeps/generic/gcc-compat.h: New file.
25843
649ecea2
SP
258442014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25845
25846 * benchtests/asin-inputs: Correct slow inputs.
25847 * benchtests/acos-inputs: Likewise.
25848
1b19c006
AM
258492014-01-10 Allan McRae <allan@archlinux.org>
25850
a46dab08
AM
25851 * po:sv.po: Update Swedish translation from translation project.
25852
421df74a
AM
25853 * po/vi.po: Update Vietnamese translation from translation project.
25854
d61c51a7
AM
25855 * po/eo.po: Update Esperanto translation from translation project.
25856
0339a319
AM
25857 * po/cs.po: Update Czech translation from translation project.
25858
94ad3e99
AM
25859 * po/nl.po: Update Dutch translation from translation project.
25860
e349ca71
AM
25861 * po/pl.po: Update Polish translation from translation project.
25862
ddf930c1
AM
25863 * po/ru.po: Update Russian translation from translation project.
25864
1b19c006
AM
25865 * po/uk.po: Update Ukrainian translation from translation project.
25866
9f236c49
BM
258672014-01-08 Brooks Moses <bmoses@google.com>
25868
25869 * elf/dl-load.c: Fix comment typo.
25870
cd6701cf
CD
258712014-01-08 Carlos O'Donell <carlos@redhat.com>
25872
25873 * po/header.pot: Rename to...
25874 * po/pot.header: ... this.
25875 * po/Makefile: Use pot.header.
25876
66671c84
YK
258772014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
25878 Maxim Kuvyrkov <maxim@kugelworks.com>
25879
25880 [BZ #16394]
cd6701cf
CD
25881 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25882 SRC and DEST against LEN.
66671c84 25883
38f34581
AZ
258842014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25885
25886 [BZ #16414]
25887 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25888 implementation.
25889 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25890
258912014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
25892
25893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25894
4c327f2a
JM
258952014-01-08 Joseph Myers <joseph@codesourcery.com>
25896
25897 [BZ #16408]
25898 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25899 for large positive arguments.
25900
b821f414
JM
259012014-01-07 Joseph Myers <joseph@codesourcery.com>
25902
1f0f2067
JM
25903 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25904
a5a326f6
JM
25905 * math/auto-libm-test-in: Mark various tests with
25906 xfail-rounding:ldbl-128ibm.
25907 * math/auto-libm-test-out: Regenerated.
25908
b821f414
JM
25909 [BZ #16407]
25910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25911 Increase overflow threshold.
25912
94c8a4bc
OB
259132014-01-07 Ondřej Bílka <neleai@seznam.cz>
25914
25915 [BZ #14286]
25916 * stdio-common/vfprintf.c: Check for integer overflow.
25917
87ded0c3
AK
259182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25919
25920 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25921 the first argument and return value of __tls_get_addr_internal.
25922
c5eebdd0
AK
259232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25924
25925 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25926 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25927
05d138ef
AK
259282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25929
25930 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25931 * sysdeps/s390/rtld-global-offsets.sym: New file.
25932 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25933 GLIBC_2.19 symbol.
25934 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25937 ... this.
25938 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25939 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25940 ... this.
25941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25942 Regenerate.
25943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25944 Regenerate.
25945 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25946 halfs of GPRs for high_gprs contexts.
25947 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25948 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
25949 field.
25950 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25951 uc_flags field.
25952 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25953 64 bit versions:
25954 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25955 for high GPRs (uc_high_gprs) and for future extensions
25956 (__reserved).
25957 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25958 for future extensions (__reserved).
25959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25960 64 bit versions:
25961 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25962 SC_HIGHGPRS offset definition.
25963 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25964 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25965
93a45ff1
AK
25966 * Versions.def: Add GLIBC_2.19 for libpthread.
25967 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25968 siglongjmp for libpthread with GLIBC_2.19 symver.
25969 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25970 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25971 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25972 * sysdeps/s390/__longjmp.c: New file.
25973 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25974 * sysdeps/s390/longjmp.c: New file.
25975 * sysdeps/s390/setjmp.S: New file.
25976 * sysdeps/s390/sigjmp.S: New file.
25977 * sysdeps/s390/v1-longjmp.c: New file.
25978 * sysdeps/s390/v1-setjmp.h: New file.
25979 * sysdeps/s390/v1-sigjmp.c: New file.
25980 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25981 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25982 GLIBC_2.19 version.
25983 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25984 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25985 versioned symbols for ____longjmp_chk.
25986 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25987 Likewise.
25988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25989 Regenerate.
25990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25991 Regenerate.
25992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25993 Regenerate.
25994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25995 Regenerate.
25996 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25997 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25998 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25999 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26000 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26001 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26002 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26003 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26004 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26005 * sysdeps/s390/rtld-__longjmp.c: New file.
26006 * sysdeps/s390/rtld-setjmp.S: New file.
26007
eb3fc44b
JM
260082014-01-06 Joseph Myers <joseph@codesourcery.com>
26009
26010 [BZ #16400]
26011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26012 Return -__logl (x) for small positive arguments without evaluating
26013 a polynomial.
26014
9341dde4
MF
260152014-01-06 Mike Frysinger <vapier@gentoo.org>
26016
26017 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26018 Rename to ...
26019 (__ptrace_peeksiginfo_args): ... this.
26020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26023
4cff0293
AM
260242014-01-06 Allan McRae <allan@archlinux.org>
26025
26026 * inet/netinet/in.h: Fix typo in comment.
26027
75595dcf
AJ
260282014-01-05 Andreas Jaeger <aj@suse.de>
26029
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031
79c1e109
AM
260322014-01-05 Allan McRae <allan@archlinux.org>
26033
dd804818
AM
26034 * po/libc.pot: Regenerated.
26035
79c1e109
AM
26036 * malloc/memusagestat.c: Fix gettext call formatting.
26037
0c813d1f
SK
260382014-01-04 Sami Kerola <kerolasa@iki.fi>
26039
26040 * nscd/nscd.c: Improve usage() output.
26041
20f4a8d9
MF
260422014-01-04 Mike Frysinger <vapier@gentoo.org>
26043
26044 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26045 * sysdeps/unix/sysv/linux/configure: Regenerated.
26046 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26047 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26048
22562bb2
JM
260492014-01-03 Joseph Myers <joseph@codesourcery.com>
26050
26051 [BZ #16390]
26052 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26053 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26054
d7ad2d9b
AZ
260552014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26056
26057 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26058 extra tokens at end of #undef directive.
26059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26060 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26062
7dd009d8
JM
260632014-01-03 Joseph Myers <joseph@codesourcery.com>
26064
24db925a
JM
26065 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26066
7dd009d8
JM
26067 * math/auto-libm-test-in: Mark various tests with
26068 xfail-rounding:ldbl-128ibm.
26069 * math/auto-libm-test-out: Regenerated.
26070
396e3ecf
JM
260712014-01-02 Joseph Myers <joseph@codesourcery.com>
26072
819e5d50
JM
26073 [BZ #16386]
26074 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26075 numbers with subnormal high part when calculating exponent.
26076
90b6a1e5
JM
26077 [BZ #16385]
26078 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26079 fabs.
26080
396e3ecf
JM
26081 [BZ #16384]
26082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26083 M_LN2l.
26084 (__ieee754_acoshl): Use __log1pl not __log1p.
26085
6c8dbf00
OB
260862013-01-02 Ondřej Bílka <neleai@seznam.cz>
26087
57f41c40
AS
26088 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26089 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26090 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26091 (grow_heap, heap_trim, _int_new_arena, get_free_list)
26092 (reused_arena, arena_get2): Convert to GNU style.
26093 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26094 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26095 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 26096 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
26097 * malloc/malloc.c (__malloc_assert, malloc_init_state)
26098 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26099 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26100 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26101 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26102 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 26103 * malloc/malloc.h: Likewise.
57f41c40
AS
26104 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26105 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 26106 * malloc/mcheck.h: Likewise.
57f41c40
AS
26107 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26108 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
26109 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26110 * malloc/morecore.c (__default_morecore): Likewise.
26111 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
26112 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26113 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26114 (print_and_abort): Likewise.
6c8dbf00
OB
26115 * malloc/obstack.h: Likewise.
26116 * malloc/set-freeres.c (__libc_freeres): Likewise.
26117 * malloc/tst-mallocstate.c (main): Likewise.
26118 * malloc/tst-mtrace.c (main): Likewise.
26119 * malloc/tst-realloc.c (do_test): Likewise.
26120
d4124212
SP
261212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26122
9a3c6a6f
SP
26123 [BZ #16366]
26124 * nscd/netgroupcache.c (do_notfound): New function.
26125 (addgetnetgrentX): Use it.
26126
d4124212
SP
26127 [BZ # 16365]
26128 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26129 NSS_STATUS_NOTFOUND.
26130
97b9a009
JM
261312014-01-01 Joseph Myers <joseph@codesourcery.com>
26132
26133 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26135
d4697bc9
AM
261362014-01-01 Allan McRae <allan@archlinux.org>
26137
ddb3687f
AM
26138 * scripts/update-copyrights: Update configure input file suffix.
26139
88726d48
AM
26140 * NEWS: Update copyright year.
26141 * catgets/gencat.c: Likewise.
26142 * csu/version.c: Likewise.
26143 * debug/catchsegv.sh: Likewise.
26144 * debug/pcprofiledump.c: Likewise.
26145 * debug/xtrace.sh: Likewise.
26146 * elf/ldconfig.c: Likewise.
26147 * elf/ldd.bash.in: Likewise.
26148 * elf/pldd.c: Likewise.
26149 * elf/sotruss.ksh: Likewise.
26150 * elf/sprof.c: Likewise.
26151 * iconv/iconv_prog.c: Likewise.
26152 * iconv/iconvconfig.c: Likewise.
26153 * locale/programs/locale.c: Likewise.
26154 * locale/programs/localedef.c: Likewise.
26155 * login/programs/pt_chown.c: Likewise.
26156 * malloc/memusage.sh: Likewise.
26157 * malloc/memusagestat.c: Likewise.
26158 * malloc/mtrace.pl: Likewise.
26159 * manual/libc.texinfo: Likewise.
26160 * nscd/nscd.c: Likewise.
26161 * nss/getent.c: Likewise.
26162 * nss/makedb.c: Likewise.
26163 * posix/getconf.c: Likewise.
26164 * scripts/test-installation.pl: Likewise.
26165
d4697bc9
AM
26166 * All files with FSF copyright notices: Update copyright dates
26167 using scripts/update-copyrights.
26168 * intl/plural.c: Regenerated.
26169 * locale/programs/charmap-kw.h: Likewise.
26170 * locale/programs/locfile-kw.h: Likewise.
26171
c8590f9d
MF
261722013-12-31 Mike Frysinger <vapier@gentoo.org>
26173
26174 * sysdeps/unix/sysv/linux/configure: Regenerated.
26175 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26176 the linux/fanotify.h header.
26177 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26178 HAVE_LINUX_FANOTIFY_H is defined.
26179
b19221b9
SP
261802013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26181
dd1d85e5
SP
26182 * benchtests/cos-inputs: New inputs.
26183 * benchtests/sin-inputs: Likewise.
26184
1acbb90f
SP
26185 * benchtests/atan-inputs: New inputs. Fix name of multiple
26186 precision fallback inputs.
26187
4c012ed3
SP
26188 * benchtests/atanh-inputs: New inputs.
26189 * benchtests/tanh-inputs: Likewise.
26190
eff98324
SP
26191 * benchtests/acosh-inputs: New inputs.
26192 * benchtests/asinh-inputs: Likewise.
26193
ce641152
SP
26194 * benchtests/cosh-inputs: New inputs.
26195 * benchtests/sinh-inputs: Likewise.
26196
b19221b9
SP
26197 * benchtests/acos-inputs: Add more inputs.
26198 * benchtests/asin-inputs: Likewise.
26199
030a4976 262002013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 26201
030a4976 26202 [BZ #16375]
9dcc8f11
VS
26203 * manual/arith.texi: Fix spelling.
26204 * manual/charset.texi: Likewise.
26205 * manual/errno.texi: Likewise.
26206 * manual/filesys.texi: Likewise.
26207 * manual/lang.texi: Likewise.
26208 * manual/llio.texi: Likewise.
26209 * manual/locale.texi: Likewise.
26210 * manual/message.texi: Likewise.
26211 * manual/resource.texi: Likewise.
26212 * manual/search.texi: Likewise.
26213 * manual/setjmp.texi: Likewise.
26214 * manual/stdio.texi: Likewise.
26215 * manual/string.texi: Likewise.
26216 * manual/sysinfo.texi: Likewise.
26217 * manual/time.texi: Likewise.
26218
11520a57
CD
262192013-12-27 Carlos O'Donell <carlos@redhat.com>
26220
26221 * po/sl.po: New file.
26222
471103ae
MF
262232013-12-27 Mike Frysinger <vapier@gentoo.org>
26224
26225 * .gitignore: Add core/.gdbinit/.gdb_history.
26226
6c9642ed
AM
262272013-12-27 Allan McRae <allan@archlinux.org>
26228
26229 [BZ #16369]
26230 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26231 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26232
3f637079
BM
262332013-12-24 Brooks Moses <bmoses@google.com>
26234
26235 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26236 all compilers that claim C++98 compliance, not just GCC.
26237 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26238 Likewise.
26239
abc26e99
MK
262402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
26241
26242 * NEWS: Restore accidentally deleted bug-fix entries.
26243
362b47fe
MK
262442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
26245 Ondřej Bílka <neleai@seznam.cz>
26246
26247 [BZ #15073]
26248 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 26249 have_lock.
362b47fe 26250
b9bcbbcb
OB
262512013-12-23 Ondřej Bílka <neleai@seznam.cz>
26252
26253 [BZ #12986]
26254 * manual/stdio.texi (String Input Conversions): Clarify that character
26255 classes are not supported.
26256
fb55fcd2
AZ
262572013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26258
26259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26260
ef7344f0
JM
262612013-12-22 Joseph Myers <joseph@codesourcery.com>
26262
4f40e4b3
JM
26263 [BZ #16337]
26264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26265 Calculate results for small negative arguments directly rather
26266 than using reflection formula with special underflow handling.
26267
ef7344f0
JM
26268 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26269 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26270 sysdeps/unix/bsd/bsd4.4/syscalls.list.
26271 (fchflags): Likewise.
26272 (revoke): Likewise.
26273 (setlogin): Likewise.
26274 (sigaltstack): Likewise.
26275 (wait4): Likewise.
26276 (sigblock): Remove.
26277 (sigsetmask): Likewise.
26278 (wait3): Likewise.
26279 (waitpid): Likewise.
26280 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26281 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26282 file.
26283 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26284 * sysdeps/unix/bsd/Makefile: ... here.
26285 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26286 * sysdeps/unix/bsd/Versions: ... here.
26287 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26288 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26289 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26290 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26291 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26292 * sysdeps/unix/bsd/sigblock.c: ... here.
26293 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26294 * sysdeps/unix/bsd/sigsetmask.c: ... here.
26295 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26296 * sysdeps/unix/bsd/sigvec.c: ... here.
26297 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26298 * sysdeps/unix/bsd/tcdrain.c: ... here.
26299 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26300 * sysdeps/unix/bsd/tcgetattr.c: ... here.
26301 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26302 * sysdeps/unix/bsd/tcsetattr.c: ... here.
26303 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26304 * sysdeps/unix/bsd/wait.c: ... here.
26305 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26306 * sysdeps/unix/bsd/wait3.c: ... here.
26307 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26308 * sysdeps/unix/bsd/waitpid.c: ... here.
26309
5b0626b9
JM
263102013-12-21 Joseph Myers <joseph@codesourcery.com>
26311
26312 [BZ #16356]
26313 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26314 round-to-nearest for [!USE_AS_EXPM1L].
26315 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26316 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
26317 more tests of exp and exp10. Expect some exp10 tests to miss
26318 exceptions or fail in directed rounding modes.
26319 * math/auto-libm-test-out: Regenerated.
26320 * math/libm-test.inc (exp10_tonearest_test_data): New array.
26321 (exp10_test_tonearest): New function.
26322 (exp10_towardzero_test_data): New array.
26323 (exp10_test_towardzero): New function.
26324 (exp10_downward_test_data): New array.
26325 (exp10_test_downward): New function.
26326 (exp10_upward_test_data): New array.
26327 (exp10_test_upward): New function.
26328 (main): Call the new functions.
26329 * sysdeps/i386/fpu/libm-test-ulps: Update.
26330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26331
7fda5682
JM
263322013-12-20 Joseph Myers <joseph@codesourcery.com>
26333
31e3a405
JM
26334 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26335 asinh, atan, atan2, atanh, cbrt, cos and cosh.
26336 * math/auto-libm-test-out: Regenerated.
26337 * math/libm-test.inc (acosh_test_data): Add more tests.
26338 (atanh_test_data): Likewise.
26339 (ceil_test_data): Likewise.
26340 (copysign_test_data): Likewise.
26341 * sysdeps/i386/fpu/libm-test-ulps: Update.
26342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26343
85bff96a
JM
26344 * timezone/checktab.awk: Update from tzcode 2013i.
26345 * timezone/private.h: Likewise.
26346 * timezone/scheck.c: Likewise.
26347 * timezone/tzfile.h: Likewise.
26348 * timezone/tzselect.ksh: Likewise.
26349 * timezone/zdump.c: Likewise.
26350 * timezone/zic.c: Likewise.
26351
b7867a3b
JM
26352 * math/auto-libm-test-in: Add tests of cpow.
26353 * math/auto-libm-test-out: Regenerated.
26354 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 26355 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
26356 mpc_cc_c.
26357 (func_calc_desc): Add mpc_cc_c union field.
26358 (test_functions): Add cpow.
26359 (special_fill_2pi): New function.
26360 (special_real_inputs): Add 2pi.
26361 (calc_generic_results): Handle mpc_cc_c.
26362 * sysdeps/i386/fpu/libm-test-ulps: Update.
26363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26364
7fda5682
JM
26365 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26366 csqrt, ctan and ctanh.
26367 * math/auto-libm-test-out: Regenerated.
26368 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26369 (TEST_COND_x86): Likewise.
26370 (ccos_test_data): Use AUTO_TESTS_c_c.
26371 (ccosh_test_data): Likewise.
26372 (cexp_test_data): Likewise.
26373 (clog_test_data): Likewise.
26374 (csqrt_test_data): Likewise.
26375 (ctan_test_data): Likewise.
26376 (ctan_tonearest_test_data): Likewise.
26377 (ctan_towardzero_test_data): Likewise.
26378 (ctan_downward_test_data): Likewise.
26379 (ctan_upward_test_data): Likewise.
26380 (ctanh_test_data): Likewise.
26381 (ctanh_tonearest_test_data): Likewise.
26382 (ctanh_towardzero_test_data): Likewise.
26383 (ctanh_downward_test_data): Likewise.
26384 (ctanh_upward_test_data): Likewise.
26385 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26386 mpc_c_c.
26387 (func_calc_desc): Add mpc_c_c union field.
26388 (FUNC_mpc_c_c): New macro.
26389 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26390 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26391 ctanh.
26392 (special_fill_min_subnorm_p120): New function.
26393 (special_real_inputs): Add min_subnorm_p120.
26394 (calc_generic_results): Handle mpc_c_c.
26395 * sysdeps/i386/fpu/libm-test-ulps: Update.
26396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26397
5ff8d60e
SP
263982013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26399
57f41c40
AS
26400 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26401 (do_sin_slow): New functions.
26402 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26403 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 26404
84ba214c
SP
26405 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26406 Use M to change sign of result instead of X. Assume X is
26407 positive.
26408 (csloww1): Likewise.
26409 (__sin): Adjust.
26410 (__cos): Adjust.
26411
975195e4
SP
26412 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26413 arguments A and DA.
26414 (__sin): Adjust.
26415 (__cos): Likewise.
26416
5ff8d60e
SP
26417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26418 (__cos): Likewise.
26419 (sloww1): Don't adjust sign of DX.
26420 (csloww1): Likewise.
26421 (sloww2): Use X directly and don't adjust sign of DX.
26422 (csloww2): Likewise.
26423
eb983568
JM
264242013-12-19 Joseph Myers <joseph@codesourcery.com>
26425
64a17f1a
JM
26426 * math/auto-libm-test-in: Add tests of cabs and carg.
26427 * math/auto-libm-test-out: Regenerated.
26428 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26429 (carg_test_data): Likewise.
26430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26431 mpc_c_f.
26432 (func_calc_desc): Add mpc_c_f union field.
26433 (test_functions): Add cabs and carg.
26434 (calc_generic_results): Handle mpc_c_f.
26435
eb983568
JM
26436 * sysdeps/powerpc/powerpc32/libgcc-compat.S
26437 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26438 as a macro and a compat symbol.
26439 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26440 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26441 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26442 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26443 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26444 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26445 not use .hidden.
26446 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26447 Likewise.
26448 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26449 Likewise.
26450 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26451 Likewise.
26452 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26453 Likewise.
26454 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26455 Likewise.
26456 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26457 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26458 from GLIBC_2.3.2.
26459
6eeb678a
AZ
264602013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26461
26462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26463
6f6fc482
JM
264642013-12-19 Joseph Myers <joseph@codesourcery.com>
26465
21fea2e2
JM
26466 * manual/texinfo.tex: Update to version 2013-11-26.10 with
26467 trailing whitespace removed.
26468 * scripts/config.guess: Update to version 2013-11-29.
26469 * scripts/config.sub: Update to version 2013-10-01.
26470
6f6fc482
JM
26471 * math/auto-libm-test-in: Add tests of sincos.
26472 * math/auto-libm-test-out: Regenerated.
26473 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26475 mpfr_f_11.
26476 (func_calc_desc): Add mpfr_f_11 union field.
26477 (test_functions): Add sincos.
26478 (calc_generic_results): Handle mpfr_f_11.
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26481
83f5c32d
AS
264822013-12-19 Andreas Schwab <schwab@suse.de>
26483
26484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26485 CALL_MCOUNT.
26486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26488 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26489
c688b419
JM
264902013-12-19 Joseph Myers <joseph@codesourcery.com>
26491
335ee092
JM
26492 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26493 * sysdeps/i386/fpu/libm-test-ulps: Update.
26494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26495
f88acd39
JM
26496 [BZ #16293]
26497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26498 round-to-nearest mode when using frndint.
26499 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26500 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26502 Likewise.
26503 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
26504 sinh test to fail.
26505 * math/auto-libm-test-out: Regenerated.
26506 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26507 (TEST_COND_x86): Likewise.
26508 (expm1_tonearest_test_data): New array.
26509 (expm1_test_tonearest): New function.
26510 (expm1_towardzero_test_data): New array.
26511 (expm1_test_towardzero): New function.
26512 (expm1_downward_test_data): New array.
26513 (expm1_test_downward): New function.
26514 (expm1_upward_test_data): New array.
26515 (expm1_test_upward): New function.
26516 (main): Run the new test functions.
26517 * sysdeps/i386/fpu/libm-test-ulps: Update.
26518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26519
c688b419
JM
26520 * include/features.h: Update comment documenting feature test
26521 macros. Mention _DEFAULT_SOURCE in comment.
26522 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26523 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26524 _BSD_SOURCE and _SVID_SOURCE.
26525 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26526 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26527 !_SVID_SOURCE]: Likewise.
26528 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26529 (__USE_POSIX_IMPLICITLY): Define.
26530 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26531 (_POSIX_SOURCE): Undefine and redefine.
26532 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26533 (_POSIX_C_SOURCE): Likewise.
26534 * manual/creature.texi (_DEFAULT_SOURCE): Document.
26535 (Feature Test Macros): Update documentation of default features.
26536
9f6e964c
RS
265372013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26538
26539 * benchtests/Makefile: Add bench-strtok.
26540 * benchtests/bench-strtok.c: New file: strtok benchtest.
26541
ee0a148a
AM
265422013-12-19 Allan McRae <allan@archlinux.org>
26543
26544 * manual/install.texi: Suppress menu for plain text output.
26545 * INSTALL: Regenerated.
26546
b9ab448f
BM
265472013-12-18 Brooks Moses <bmoses@google.com>
26548
26549 [BZ #15846]
26550 * misc/getauxval.c: Include errno.h.
26551 (__getauxval): Set errno to ENOENT if the requested type is not
26552 found.
26553 * misc/sys/auxv.h (getauxval): Document that it may set errno;
26554 don't declare with __attribute_const__.
26555 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26556 * manual/startup.texi: Document that getauxval sets errno.
26557
23776487
JM
265582013-12-18 Joseph Myers <joseph@codesourcery.com>
26559
f889953b
JM
26560 * math/auto-libm-test-in: Add tests of jn and yn.
26561 * math/auto-libm-test-out: Regenerated.
26562 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26563 (yn_test_data): Likewise.
26564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26565 mpfr_if_f.
26566 (func_calc_desc): Add mpfr_if_f union field.
26567 (FUNC_mpfr_if_f): New macro.
26568 (test_functions): Add jn and yn.
26569 (calc_generic_results): Assert type of second input for
26570 mpfr_ff_f. Handle mpfr_if_f.
26571 (output_for_one_input_case): Disable all checking for arguments
26572 fitting floating-point types in case of an integer argument.
26573 * sysdeps/i386/fpu/libm-test-ulps: Update.
26574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26575
23776487
JM
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26577 Don't expect fegetround reference in libm.so.
26578
cb756c6d
MS
265792013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26580
26581 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26582 $(config-cflags-nofma).
26583
2dec468f
JM
265842013-12-18 Joseph Myers <joseph@codesourcery.com>
26585
5953eb3a
JM
26586 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26587 * math/auto-libm-test-out: Regenerated.
26588
2dec468f
JM
26589 [BZ #16338]
26590 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26591 to determine exponent and adjust argument to have exponent of -1.
26592 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26593 log2.
26594 * math/auto-libm-test-out: Regenerated.
26595 * sysdeps/i386/fpu/libm-test-ulps: Update.
26596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597
4d84e6ad
OB
265982013-12-18 Ondřej Bílka <neleai@seznam.cz>
26599
26600 * manual/probes.texi: Remove cases when per-thread arenas are
26601 disabled.
26602
1818483b
AS
266032013-12-18 Andreas Schwab <schwab@suse.de>
26604
26605 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26606 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26607 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26608 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26609 * sysdeps/i386/i686/multiarch/Makefile: Update.
26610 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26611
25de95bf
JM
266122013-12-17 Joseph Myers <joseph@codesourcery.com>
26613
26614 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26615 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26616
674762d9
PE
266172013-12-17 Paul Eggert <eggert@cs.ucla.edu>
26618
ed27ed83 26619 [BZ #15968]
0748546f
PE
26620 Support TZ transition times < 00:00:00.
26621 This is needed for version-3 tz-format files; it supports time
26622 stamps past 2037 for America/Godthab (the only entry in the tz
26623 database for which this change is relevant).
26624 * manual/time.texi (TZ Variable): Document transition times
26625 from -167:59:59 through -00:00:01.
26626 * time/tzset.c (tz_rule): Time of day is now signed.
26627 (__tzset_parse_tz): Parse negative time of day.
26628
4480e934
PE
26629 Document TZ transition times >= 25:00:00.
26630 * manual/time.texi (TZ Variable): Document transition times from
26631 25:00:00 through 167:59:59. These are already supported, and this
26632 support will help with version-3 tz-format files.
26633
69947401
PE
26634 * manual/time.texi (TZ Variable): Modernize North America example
26635 to reflect current (i.e., 2007-and-later) daylight saving rules.
26636
674762d9
PE
26637 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26638
7011c262
JM
266392013-12-17 Joseph Myers <joseph@codesourcery.com>
26640
2fc6557e
JM
26641 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26642 * sysdeps/unix/bsd/bits/stat.h: Likewise.
26643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26645 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26646 * sysdeps/unix/bsd/bsdstat.h: Likewise.
26647 * sysdeps/unix/bsd/clock.c: Likewise.
26648 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26649 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26650 * sysdeps/unix/bsd/init-posix.c: Likewise.
26651 * sysdeps/unix/bsd/poll.c: Likewise.
26652 * sysdeps/unix/bsd/ptsname.c: Likewise.
26653 * sysdeps/unix/bsd/seekdir.c: Likewise.
26654 * sysdeps/unix/bsd/setegid.c: Likewise.
26655 * sysdeps/unix/bsd/seteuid.c: Likewise.
26656 * sysdeps/unix/bsd/setgid.c: Likewise.
26657 * sysdeps/unix/bsd/setrgid.c: Likewise.
26658 * sysdeps/unix/bsd/setruid.c: Likewise.
26659 * sysdeps/unix/bsd/setsid.c: Likewise.
26660 * sysdeps/unix/bsd/setuid.c: Likewise.
26661 * sysdeps/unix/bsd/sigaction.c: Likewise.
26662 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26663 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26664 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26665 * sysdeps/unix/bsd/telldir.c: Likewise.
26666 * sysdeps/unix/bsd/times.c: Likewise.
26667 * sysdeps/unix/bsd/usleep.c: Likewise.
26668
029c7b25
JM
26669 * misc/Makefile (install-lib): Remove libbsd-compat.a.
26670 ($(objpfx)libbsd-compat.a): Remove rule.
26671
7011c262
JM
26672 * include/features.h (__FAVOR_BSD): Do not define.
26673 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26674 features conflicting with POSIX.
26675 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26676 (_BSD_SOURCE): Remove description of not being a subset of other
26677 feature test macros.
26678 * manual/job.texi (getpgrp): Do not document BSD version.
26679 (getpgid): Do not document by reference to BSD getpgrp.
26680 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26681 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26682 * signal/signal.h [__FAVOR_BSD]: Likewise.
26683 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26684 instead of making contents conditional on [__FAVOR_BSD].
26685 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26686
affb6f78
AZ
266872013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26688
26689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26690
c88769dd
JM
266912013-12-17 Joseph Myers <joseph@codesourcery.com>
26692
6432a540
JM
26693 [BZ #16314]
26694 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26695 values below 2**-450, not 2**-500.
26696 * math/auto-libm-test-in: Don't allow spurious underflow from
26697 hypot.
26698 * math/auto-libm-test-out: Regenerated.
26699
c88769dd
JM
26700 [BZ #16316]
26701 [BZ #16330]
26702 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26703 values of ha and hb and sort them after adjusting subnormal
26704 arguments.
26705 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26706 Likewise.
26707 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26708 values of ea and eb and sort them after adjusting subnormal
26709 arguments.
26710 * math/auto-libm-test-in: Do not expect some hypot tests of
26711 subnormals to fail. Add more hypot tests.
26712 * math/auto-libm-test-out: Regenerated.
26713
29618f6b
KK
267142013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26715
26716 [BZ #13304]
26717 * sysdeps/sh/s_fma.c: New file.
26718 * sysdeps/sh/s_fmaf.c: New file.
26719 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
26720 version.
26721 * sysdeps/sh/Implies: Add sh/soft-fp.
26722
eacfdfbf
RM
267232013-12-16 Roland McGrath <roland@hack.frob.com>
26724
26725 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
26726 level of indirection to members `objname', `errstring', `malloced'.
26727 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26728 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
26729 it as the __longjmp argument (just pass 1 instead).
26730 (_dl_catch_error): Initialize C with argument pointers and address of
26731 volatile local ERRCODE rather than copying values out of C at return.
26732
ff362e5b
JM
267332013-12-16 Joseph Myers <joseph@codesourcery.com>
26734
26735 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26736 * math/auto-libm-test-out: Regenerated.
26737 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26738 (hypot_test_data): Likewise.
26739 (pow_test_data): Likewise.
26740 (pow_tonearest_test_data): Likewise.
26741 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26742 mpfr_ff_f.
26743 (func_calc_desc): Add mpfr_ff_f union field.
26744 (FUNC_mpfr_ff_f): New macro.
26745 (test_functions): Add atan2, hypot and pow.
26746 (special_fill_min): New function.
26747 (special_fill_minus_min): Likewise.
26748 (special_fill_min_subnorm): Likewise.
26749 (special_fill_minus_min_subnorm): Likewise.
26750 (special_real_inputs): Add min, -min, min_subnorm and
26751 -min_subnorm.
26752 (calc_generic_results): Handle mpfr_ff_f.
26753 * sysdeps/i386/fpu/libm-test-ulps: Update.
26754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26755
5764c27f
WN
267562013-12-16 Will Newton <will.newton@linaro.org>
26757
26758 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26759 (Aligned Memory Blocks): Add documentation for aligned_alloc
26760 and suggest it as an alternative to posix_memalign.
26761 (Hooks for Malloc): Document __memalign_hook is also called
26762 for aligned_alloc. (Summary of Malloc): Add summary for
26763 aligned alloc. Document __memalign_hook is also called
26764 for aligned_alloc.
26765
0a096e44
WN
267662013-12-16 Will Newton <will.newton@linaro.org>
26767
26768 * manual/memory.texi (Malloc Examples): Clarify default
26769 alignment documentation. Suggest posix_memalign rather
26770 than memalign or valloc.
26771 (Aligned Memory Blocks): Remove suggestion to use memalign
26772 or valloc. Remove obsolete comment about BSD.
26773 Document memalign errno values and mark the function obsolete.
26774 Document posix_memalign returned error codes. Mark valloc
26775 as obsolete. (Hooks for Malloc): __memalign_hook is also
26776 called for posix_memalign and valloc.
26777 (Summary of Malloc): Add posix_memalign to function summary.
26778 __memalign_hook is also called for posix_memalign and valloc.
26779
8d561986
SP
267802013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26781
26782 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26783 TAYLOR_SIN.
26784 (__sin): Adjust.
26785 (__cos): Likewise.
26786 (sloww): Use mynumber union. Expand ternary operator into
26787 if-else statements.
26788 (cslow): use mynumber union.
26789
73616a74
AM
267902013-12-16 Allan McRae <allan@archlinux.org>
26791
9e8ac24b
AM
26792 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26793 * configure: Regenerated.
26794
6f8e37eb
AM
26795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26796
8894bad3
AM
26797 [BZ #14120]
26798 * configure.ac: Added --enable-maintainer-mode. Check for
26799 autoconf when enabled.
26800 * configure: Regenerated.
26801
73616a74
AM
26802 * nscd/nscd.service: New file.
26803 * nscd/nscd.tmpfiles: New file.
26804
584b18eb
OB
268052013-12-14 Ondřej Bílka <neleai@seznam.cz>
26806
26807 [BZ #12100]
26808 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26809 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26810 * sysdeps/x86_64/multiarch/strstr.c: ... here.
26811 (strstr): Add __strstr_sse2_unaligned ifunc.
26812 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26813 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26814 (strcasestr): Remove __strcasestr_sse42 ifunc.
26815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26818
8a5c7897
KK
268192013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26820
26821 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26822 * sysdeps/sh/bits/fenv.h: ... here.
26823 * sysdeps/sh/sh4/fpu/bits: Remove directory.
26824
fd712ef3
AZ
268252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826
26827 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26828
42fcb46c
AZ
26829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26830 hypotf multiarch implementations.
26831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26834 multiarch hypot for PPC64.
26835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26837 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26838 multiarch hypotf for PPC64.
26839
83efded4
AZ
26840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26841 modff multiarch implementations.
26842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26845 multiarch modf for PPC64.
26846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26849 multiarch modff for PPC64.
26850
43e246d2
AZ
26851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26852 and logl multiarch implementations.
26853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26856 multiarch logb for PPC64.
26857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26860 multiarch logb for PPC64.
26861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26864 multiarch logb for PPC64.
26865
8fdad123
AZ
26866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26867 isinff multiarch implementation.
26868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26869 file.
26870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26872 multiarch isinf for PPC64.
26873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26874 file.
26875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26876 multiarch isinff for PPC64.
26877
1481d706
AZ
26878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26879 finitef multiarch implementation.
26880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26881 file.
26882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26884 multiarch finite for PPC64.
26885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26886 file.
26887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26888 multiarch finitef for PPC64.
26889
5ccd5fc8
AZ
26890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26891 lrint multiarch implementation.
26892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26893 file.
26894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26896 multiarch llrint for PPC64.
26897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26898 multiarch lrint for PPC64.
26899
2568f3fa
AZ
26900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26901 copysignf multiarch implementation.
26902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26903 file.
26904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26905 file.
26906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26907 multiarch copysign for PPC64.
26908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26909 multiarch copysignf for PPC64.
26910
1cb341fd
AZ
26911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26912 multiarch implementation.
26913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26914 file.
26915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26916 file.
26917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26918 file.
26919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26920 file.
26921 multiarch llround for PPC64.
26922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26923 multiarch trunc for PPC64.
26924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26925 multiarch truncf for PPC64.
26926
59a3e194
AZ
26927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26928 multiarch implementation.
26929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26930 file.
26931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26932 file.
26933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26934 file.
26935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26936 file.
26937 multiarch llround for PPC64.
26938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26939 multiarch round for PPC64.
26940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26941 multiarch roundf for PPC64.
26942
357fd3b4
AZ
26943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26944 multiarch implementation.
26945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26946 file.
26947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26948 file.
26949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26950 file.
26951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26952 file.
26953 multiarch llround for PPC64.
26954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26955 multiarch floor for PPC64.
26956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26957 multiarch floorf for PPC64.
26958
96770f12
AZ
26959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26960 multiarch implementation.
26961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26962 file.
26963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26964 file.
26965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26966 file.
26967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26968 file.
26969 multiarch llround for PPC64.
26970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26971 multiarch ceil for PPC64.
26972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26973 multiarch ceilf for PPC64.
26974
c3627f6e
AZ
26975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26976 multiarch implementation.
26977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26978 file.
26979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26980 file.
26981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26982 file.
26983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26984 multiarch llround for PPC64.
26985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26986 multiarch lround for PPC64.
26987
b2284ad7
AZ
26988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26989 multiarch implementation.
26990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26993 file.
26994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26997 multiarch isnan for PPC64.
26998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26999 multiarch isnanf for PPC64.
27000
69bbc63d
AZ
27001 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27002 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27003 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27004 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27005 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27007
c24517c9
AZ
27008 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27009 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27012
a52374e8
AZ
27013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27014 multiarch implementations.
27015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27016 (__libc_ifunc_impl_list): Likewise.
27017 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27018 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27019 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27020 multiarch stpcpy for PPC64.
27021
7f5ec113
AZ
27022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27023 multiarch implementations.
27024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27025 (__libc_ifunc_impl_list): Likewise.
27026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27027 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27028 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27029 multiarch strcpy for PPC64.
27030
e28bcd42
AZ
27031 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27032 redefine function name.
27033 (_wordcopy_fwd_dest_aligned): Likewise.
27034 (_wordcopy_bwd_aligned): Likewise.
27035 (_wordcopy_bwd_dest_aligned): Likewise.
27036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27037 multiarch implementations.
27038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27039 (__libc_ifunc_impl_list): Likewise.
27040 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27041 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27042 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27044 multiarch wcscpy for PPC64.
27045
92cacfce
AZ
27046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27047 multiarch implementations.
27048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27049 (__libc_ifunc_impl_list): Likewise.
27050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27051 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27052 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27054 multiarch wcscpy for PPC64.
27055
7b714620
AZ
27056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27057 multiarch implementations.
27058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27059 (__libc_ifunc_impl_list): Likewise.
27060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27062 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27064 multiarch wcsrchr for PPC64.
27065
16fd2ae3
AZ
27066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27067 multiarch implementations.
27068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27069 (__libc_ifunc_impl_list): Likewise.
27070 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27071 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27072 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27073 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27074 multiarch wcschr for PPC64.
27075
9ee2969b
AZ
27076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27077 multiarch implementations.
27078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27079 (__libc_ifunc_impl_list): Likewise.
27080 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27081 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27082 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27083 multiarch strchrnul for PPC64.
27084
372dc060
AZ
27085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27086 implementations.
27087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27088 (__libc_ifunc_impl_list): Likewise.
27089 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27090 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27091 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27092 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27093 strchr for PPC64.
27094
24c2c3b9
AZ
27095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27096 implementations.
27097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27098 (__libc_ifunc_impl_list): Likewise.
27099 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27100 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27101 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27102 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27103 strncmp for PPC64.
27104
1c92d9a0
AZ
27105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27106 multiarch implementations.
27107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27108 (__libc_ifunc_impl_list): Likewise.
27109 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27110 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27111 strncasecmp for PPC64.
27112 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27113 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27114 multiarch strncasecmp_l for PPC64.
27115
17de3ee3
AZ
27116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27117 multiarch implementations.
27118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27119 (__libc_ifunc_impl_list): Likewise.
27120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27121 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27122 multiarch strcasecmp for PPC64.
27123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27124 file.
27125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27126 multiarch strcasecmp_l for PPC64.
27127
62982bf9
AZ
27128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27129 implementations.
27130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27131 (__libc_ifunc_impl_list): Likewise.
27132 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27133 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27134 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27135 strnlen for PPC64.
27136
a65f4904
AZ
27137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27138 implementations.
27139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27140 (__libc_ifunc_impl_list): Likewise.
27141 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27142 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27143 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27144 strlen for PPC64.
27145
1fd005ad
AZ
27146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27147 implementations.
27148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27149 (__libc_ifunc_impl_list): Likewise.
27150 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27151 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27152 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27153 rawmemrchr for PPC64.
27154
cd05ba91
AZ
27155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27156 implementation.
27157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27158 (__libc_ifunc_impl_list): Likewise.
27159 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27160 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27161 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27162 memrchr for PPC64.
27163
870f8676
AZ
27164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27165 implementation.
27166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27167 (__libc_ifunc_impl_list): Likewise.
27168 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27169 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27170 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27171 memchr for PPC64.
27172
f00be62b
AZ
27173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27174 implementation.
27175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27176 (__libc_ifunc_impl_list): Likewise.
27177 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27178 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27179 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27180 mempcpy for PPC64.
27181
8a29a3d0
AZ
27182 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27183 avoid cretion of __bzero symbol.
27184 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27185 Likewise.
27186 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27187 Likewise.
27188 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27189 Likewise.
27190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27191 multiarch implementations.
27192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27193 (__libc_ifunc_impl_list): Likewise.
27194 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27195 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27196 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27197 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27198 bzero for PPC32.
27199 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27200 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27201 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27202 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27203 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27204 memset for PPC64.
27205 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27206
07253fcf
AZ
27207 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27209 implementations.
27210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27211 (__libc_ifunc_impl_list): Likewise.
27212 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27213 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27215 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27216 memcmp for PPC64.
27217
b5beafbc
AZ
27218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27219 multiarch for POWER/PPC64.
27220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27221 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27228 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27229 memcpy for PPC64.
27230
5e6a4d4b
AZ
27231 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27232 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27233 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27235 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27236 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27238 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27239 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27240 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27243 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27244 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27245 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27253
ddfab6dc
KK
272542013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27255
27256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27257
19b5525e
SP
272582013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27259
27260 * benchtests/Makefile (bench): Add exp2 and log2.
27261 (LDLIBS-bench-exp2): Add -lm.
27262 (LDLIBS-bench-log2): Likewise.
27263 * benchtests/exp2-inputs: New inputs file.
27264 * benchtests/log2-inputs: New inputs file.
27265 * benchtests/log-inputs: Add new inputs.
27266 * benchtests/tan-inputs: Likewise.
27267
196f7f5d
SP
272682013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27269
7a74607f
SP
27270 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27271 definition...
57f41c40
AS
27272 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27273 (csloww2): ... from here.
7a74607f 27274
196f7f5d
SP
27275 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27276 instead of structures.
27277 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27278 (POLYNOMIAL): Likewise.
27279 (TAYLOR_SLOW): Likewise.
27280 (__sin): Likewise.
27281 (__cos): Likewise.
27282 (slow1): Likewise.
27283 (slow2): Likewise.
27284 (sloww): Likewise.
27285 (sloww1); Likewise.
27286 (sloww2): Likewise.
27287 (bsloww1): Likewise.
27288 (bsloww2): Likewise.
27289 (cslow2): Likewise.
27290 (csloww): Likewise.
27291 (csloww1): Likewise.
27292 (csloww2): Likewise.
27293
0dfa665c
OB
272942013-12-10 Ondřej Bílka <neleai@seznam.cz>
27295
27296 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
27297 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27298 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
27299 * malloc/hooks.c (realloc_check): Likewise.
27300
5782a80f
OB
27301 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27302 * malloc/arena.c: Remove PER_THREAD conditional.
27303 [!PER_THREAD]: Remove code.
27304 (ptmalloc_unlock_all2): Likewise.
27305 (ptmalloc_init): Likewise.
27306 (_int_new_arena): Likewise.
27307 (arena_get2): Likewise.
27308 * malloc/hooks.c (__malloc_get_state): Likewise.
27309 (__malloc_set_state): Likewise.
27310 * malloc/malloc.c: Likewise.
27311 (struct malloc_state): Likewise.
27312 (struct malloc_par): Likewise.
27313 (__libc_realloc): Likewise.
27314 (__libc_mallopt): Likewise.
27315
aeb95445
AZ
273162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27317
27318 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27319
e8349efd
OB
273202013-12-09 Ondřej Bílka <neleai@seznam.cz>
27321
27322 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27323 macro to a function. Check for zero perturb_byte.
27324 (_int_malloc, _int_free): Remove zero perturb_byte checks.
27325
f3eeb3fc 27326 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
27327 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27328 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
27329 force_reg by atomic_forced_read.
27330 * malloc/arena.c (ptmalloc_init): Likewise.
27331 * malloc/hooks.c (top_check): Likewise.
27332
be2f9009
AZ
273332013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27334
27335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27336
e7b914bd
MT
273372013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
27338
27339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27340
9f0be4f8
JM
273412013-12-08 Joseph Myers <joseph@codesourcery.com>
27342
27343 * math/auto-libm-test-in: Add tests of lgamma.
27344 * math/auto-libm-test-out: Regenerated.
27345 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27346 (M_LOG_2_SQRT_PIl): Likewise.
27347 (lgamma_test_data): Use AUTO_TESTS_f_f1.
27348 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27349 mpfr_f_f1.
27350 (func_calc_desc): Add mpfr_f_f1 union field.
27351 (ARGS1): New macro.
27352 (ARGS2): Likewise.
27353 (ARGS3): Likewise.
27354 (ARGS4): Likewise.
27355 (RET1): Likewise.
27356 (RET2): Likewise.
27357 (CALC): Likewise.
27358 (FUNC): Likewise.
27359 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27360 (test_functions): Add lgamma.
27361 (calc_generic_results): Handle mpfr_f_f1.
27362 * sysdeps/i386/fpu/libm-test-ulps: Update.
27363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364
24eeafdb
AZ
273652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27366
27367 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27368 __mpn_add_n for PowerPC64/POWER7.
27369 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27370 __mpn_sub_n for PowerPC64/POWER7.
27371
4a2c0fd4
AZ
27372 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27373 __mpn_addmul_1 for PowerPC64.
27374 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27375 __mpn_submul_1 for PowerPC64.
27376 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27377 for PowerPC64.
27378 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27379 for PowerPC64.
27380
4b5b548c
FS
273812013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
27382
27383 [BZ #15089]
27384 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27385
0a3ac0aa
AZ
273862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27387
27388 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27389
ccdc8438
AZ
27390 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27391 add multiarch folders.
27392 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27393 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27394 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27395 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27396 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27397 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27398 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27399 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27400 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27401 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27402 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27409
2e973d99
AZ
27410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27411 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27413 New file.
27414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27415 New file.
27416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27417 multiarch __ieee754_hypot for PowerPC32.
27418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27419 New file.
27420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27421 New file.
27422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27423 multiarch __ieee754_hypotf for PowerPC32.
27424
2d9470b2
AZ
27425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27426 long_double_symbol only if __logbl is defined.
27427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27428 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27430 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27432 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27434 path for implementation.
27435 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27436 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27438 logb, and logbl multiarch implementations for PowerPC32.
27439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27440 file.
27441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27442 file.
27443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27444 multiarch logb for PowerPC32.
27445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27446 file.
27447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27448 file.
27449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27450 multiarch logbf for PowerPC32.
27451 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27453 file.
27454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27455 multiarch logbl implementation for PowerPC32.
27456
5212ffce
AZ
27457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27458 and modff multiarch implementations.
27459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27460 New file.
27461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27462 New file.
27463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27464 multiarch modf for PowerPC32.
27465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27466 New file.
27467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27468 New file.
27469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27470 multiarch modff for PowerPC32.
27471
79dccf31
AZ
27472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27473 and lrintf multiarch implementations.
27474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27475 New file.
27476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27477 New file.
27478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27479 multiarch lrint for PowerPC32.
27480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27481 file: multiarch lrintf for PowerPC32.
27482
deb66480
AZ
27483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27484 and lroundf multiarch implementations.
27485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27486 New file.
27487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27488 New file.
27489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27490 New file.
27491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27492 multiarch lround for PowerPC32.
27493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27494 file: multiarch lroundf for PowerPC32.
27495
264b036b
AZ
27496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27497 copysign and copysignf multiarch implementations.
27498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27499 New file.
27500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27501 New file.
27502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27503 file: multiarch copysign for PowerPC32.
27504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27505 file: multiarch copysignf for PowerPC32.
27506
d47db6c9
AZ
27507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27508 and truncf multiarch implementations.
27509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27510 New file.
27511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27512 file.
27513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27514 multiarch trunc for PowerPC32.
27515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27516 New file.
27517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27518 New file.
27519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27520 multiarch truncf for PowerPC32.
27521
ddb60b5a
AZ
27522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27523 and roundf multiarch implementations.
27524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27525 New file.
27526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27527 file.
27528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27529 multiarch round for PowerPC32.
27530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27531 New file.
27532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27533 New file.
27534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27535 multiarch roundf for PowerPC32.
27536
bedcf49b
AZ
27537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27538 and floorf multiarch implementations.
27539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27540 New file.
27541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27542 file.
27543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27544 multiarch floor for PowerPC32.
27545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27546 New file.
27547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27548 New file.
27549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27550 multiarch floorf for PowerPC32.
27551
35ae5b40
AZ
27552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27553 and ceilf multiarch implementations.
27554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27555 New file.
27556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27557 file.
27558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27559 multiarch ceil for PowerPC32.
27560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27561 New file.
27562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27563 file.
27564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27565 multiarch ceilf for PowerPC32.
27566
ae1a4cd9
AZ
27567 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27568 is defined.
27569 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27570 FINITEF is defined.
27571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27572 and finitef multiarch implementations.
27573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27574 New file.
27575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27576 file.
27577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27578 multiarch finite for PowerPC32.
27579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27580 New file.
27581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27582 file: multiarch finitef for PowerPC32.
27583
64fffd65
AZ
27584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27585 and isinff multiarch implementations.
27586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27587 file.
27588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27589 file.
27590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27591 multiarch isinf for PowerPC32.
27592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27593 New file.
27594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27595 multiarch isinff for PowerPC32.
27596
8e4e7ba2
AZ
27597 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27598 alias when __isnan is defined.
27599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27600 and isnanf multiarch implementations.
27601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27602 file.
27603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27604 file.
27605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27606 file.
27607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27608 file.
27609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27610 multiarch isnan for PowerPC32.
27611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27612 New file.
27613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27614 New file.
27615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27616 multiarch isnanf for PowerPC32.
27617
ddba588e
AZ
27618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27619 and sqrtf multiarch implementations.
27620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27621 file.
27622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27623 file.
27624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27625 multiarch sqrt for PowerPC32.
27626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27627 file.
27628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27629 file.
27630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27631 multiarch sqrtf for PowerPC32.
27632
0f96a2f0
AZ
27633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27634 and llroundf multiarch implementations.
27635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27636 New file.
27637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27638 New file.
27639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27640 New file.
27641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27642 file: multiarch llround for PowerPC32.
27643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27644 file: multiarch llroundf for PowerPC32.
27645
c9b5d79e
AZ
27646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27647 multiarch PowerPC32 fpu implementations.
27648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27649 New file.
27650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27651 New file.
27652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27653 multiarch llrint for PowerPC32.
27654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27655 New file.
27656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27657 New file.
27658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27659 file.
27660
9cbb3aab
AZ
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27662
ea5a72f8
AZ
27663 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27664 file.
27665 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27666 file.
27667 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27668 file.
27669 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27670 multiarch wordcopy for PPC32.
27671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27672 wordcopy objects.
27673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27674 (__libc_ifunc_impl_list): Likewise.
27675 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27676 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27678 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27680 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27681
93be09e7
AZ
27682 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27684 file.
27685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27686 file.
27687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27688 file.
27689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27690 multiarch wcscpy for PPC32.
27691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27692 multiarch objects.
27693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27694 (__libc_ifunc_impl_list): Likewise.
27695 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27696 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27697 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27698 sysdeps/powerpc/power6/wcscpy.c.
27699
bb04e529
AZ
27700 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27702 file.
27703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27704 file.
27705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27706 file.
27707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27708 multiarch wcsrchr for PPC32.
27709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27710 multiarch objects.
27711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27712 (__libc_ifunc_impl_list): Likewise.
27713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27714 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27715 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27716 sysdeps/powerpc/power6/wcsrchr.c.
27717
05b5cd1c
AZ
27718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27719 file.
27720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27721 file.
27722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27724 multiarch wcschr for PPc32.
27725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27726 multiarch objects.
27727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27728 (__libc_ifunc_impl_list): Likewise.
27729 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27730 * sysdeps/powerpc/power6/wcschr.c: ... to here.
27731 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27732 sysdeps/powerpc/power6/wcschr.c.
27733
ba964147
AZ
27734 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27735 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27736 file.
27737 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27738 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27739 file: multiarch strchr for PPC32.
27740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27741 multiarch objects.
27742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27743 (__libc_ifunc_impl_list): Likewise.
27744
31c81aaa
AZ
27745 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27746 name.
27747 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27748 file.
27749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27750 file.
27751 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27752 multiarch strchrnul for PPC32.
27753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27754 multiarch objects.
27755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27756 (__libc_ifunc_impl_list): Likewise.
27757
0d0607d9
AZ
27758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27759 file.
27760 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27761 multiarch strncasecmp for PPC32.
27762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27763 file.
27764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27765 multiarch strncasecmp_l for PPC32.
27766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27767 strncasecmp multiarch objects.
27768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27769 (__libc_ifunc_impl_list): Likewise.
27770
4dfd5c86
AZ
27771 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27772 file.
27773 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27774 multiarch strncasecmp for PPC32.
27775 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27776 New file.
27777 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27778 multiarch strcasecmp_l for PPC32.
27779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27780 multiarch objects.
27781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27782 (__libc_ifunc_impl_list): Likewise.
27783
a19e01a3
AZ
27784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27785 file.
27786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27787 file.
27788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27789 multiarch strncmp for PPC32.
27790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27791 multiarch objects.
27792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27793 (__libc_ifunc_impl_list): Likewise.
27794
ae9cf7a2
AZ
27795 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27796 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27797 file.
27798 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27799 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27801 multiarch objects.
27802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27803 (__libc_ifunc_impl_list): Likewise.
27804
3148bb7d
AZ
27805 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27806 file.
27807 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27808 file.
27809 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27811 multiarch objects.
27812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27813 (__libc_ifunc_impl_list): Likewise.
27814
7af8b946
AZ
27815 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27816 file.
27817 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27818 file.
27819 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27820 multiarch rawmemchr for PPC32.
27821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27822 multiarch objects.
27823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27824 (__libc_ifunc_impl_list): Likewise.
27825
03a6aa6a
AZ
27826 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27827 file.
27828 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27829 file.
27830 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27831 file: memrchr multiarch for PPC32.
27832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27833 multiarch objects.
27834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27835 (__libc_ifunc_impl_list): Likewise.
27836
1c62e6d9
AZ
27837 * string/memchr.c (__memchr): Using macro to redefine symbol name.
27838 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27839 file.
27840 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27841 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27842 multiarch memchr for PPC32.
27843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27844 multiarch objects.
27845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27846 (__libc_ifunc_impl_list): Likewise.
27847
87da8bdb
AZ
27848 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27849 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27850 file.
27851 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27852 file.
27853 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27854 file: multiarch mempcpy for PPC32.
27855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27856 multiarch objects.
27857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27858 (__libc_ifunc_impl_list): Likewise.
27859
20ed4714
AZ
27860 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27861 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27862 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27863 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27864 multiarch bzero for PPC32.
27865 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27866 file.
27867 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27868 file.
27869 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27870 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27871 file: multiarch memset for PPC32.
27872 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27874 memset multiarch objects.
27875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27876 (__libc_ifunc_impl_list): Likewise.
27877
ab3e3a46
AZ
27878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27879 file.
27880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27882 memcmp for PPC32.
27883 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27885 multiarch objects.
27886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27887 (__libc_ifunc_impl_list): Likewise.
27888
930de6f0
AZ
27889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27892 file.
27893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27894 file.
27895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27896 file.
27897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27898 multiarch memcpy for PPC32.
27899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27900 multiarch objects.
27901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27902 (__libc_ifunc_impl_list): Likewise.
27903
4c628e00
AZ
27904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27905 support multiarch for POWER/PPC32.
27906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27907 Likewise.
27908 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27910 Implies file to make multiarch folder appers before the fpu and
27911 default folder for power4 configuration.
27912
f4479220
SP
279132013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27914
27915 * scripts/bench.pl: Append volatile keyword to type.
27916
8517800f
KK
279172013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27918
27919 * sysdeps/sh/sotruss-lib.c: New file.
27920 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27921
180138f1
AZ
279222013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27923
27924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27925
bbf37bdc
JM
279262013-12-05 Joseph Myers <joseph@codesourcery.com>
27927
e47cc4e0
JM
27928 [BZ #6810]
27929 * math/w_tgamma.c: Include <errno.h>.
27930 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
27931 * math/w_tgammaf.c: Include <errno.h>.
27932 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
27933 * math/w_tgammal.c: Include <errno.h>.
27934 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
27935 * math/auto-libm-test-in: Do not allow missing errno on tgamma
27936 underflow. Add more tgamma tests.
27937 * math/auto-libm-test-out: Regenerated.
27938 * sysdeps/i386/fpu/libm-test-ulps: Update.
27939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27940
bbf37bdc
JM
27941 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27942 sin, sinh, tan, tanh, tgamma, y0 and y1.
27943 * math/auto-libm-test-out: Regenerated.
27944 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27945 (TEST_COND_x86): Likewise.
27946 (M_E2l): Remove macro.
27947 (M_E3l): Likewise.
27948 (M_2_SQRT_PIl): Likewise.
27949 (M_SQRT_PIl): Likewise.
27950 (M_1_DIV_El): Likewise.
27951 (log_test_data): Use AUTO_TESTS_f_f.
27952 (log10_test_data): Likewise.
27953 (log1p_test_data): Likewise.
27954 (log2_test_data): Likewise.
27955 (sin_test_data): Likewise.
27956 (sin_tonearest_test_data): Likewise.
27957 (sin_towardzero_test_data): Likewise.
27958 (sin_downward_test_data): Likewise.
27959 (sin_upward_test_data): Likewise.
27960 (sinh_test_data): Likewise.
27961 (sinh_tonearest_test_data): Likewise.
27962 (sinh_towardzero_test_data): Likewise.
27963 (sinh_downward_test_data): Likewise.
27964 (sinh_upward_test_data): Likewise.
27965 (tan_test_data): Likewise.
27966 (tan_tonearest_test_data): Likewise.
27967 (tan_towardzero_test_data): Likewise.
27968 (tan_downward_test_data): Likewise.
27969 (tan_upward_test_data): Likewise.
27970 (tanh_test_data): Likewise.
27971 (tgamma_test_data): Likewise.
27972 (y0_test_data): Likewise.
27973 (y1_test_data): Likewise.
27974 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27975 (special_real_inputs): Add pi/4.
27976 * sysdeps/i386/fpu/libm-test-ulps: Update.
27977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978
eb5ad6b9
AZ
279792013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27980
27981 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27982 "longjmp_target" static probes.
27983 (__longjmp): Rename to __longjmp_symbol.
27984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27985 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27986 on which longjmp to generate.
27987 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27989 probe.
27990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27991 (__sigjmp_save): Rename to __sigjmp_save_symbol.
27992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27993 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27994 and __sigjmp_save_symbol based on which sigsetjmp to generated.
27995 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27997 __longjmp_symbol based on which __longjmp to generate.
27998 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27999 probe.
28000 (setjmp): Rename to setjmp_symbol.
28001 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28002 (_setjmp): Rename to _setjmp_symbol.
28003 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28004 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28005 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28006 which setjmp to generate.
28007 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28008 "longjmp_target" static probes.
28009
d136c6dc
SP
280102013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28011
9298ecba
SP
28012 * benchtests/README: Add note about output arguments.
28013 * benchtests/bench-sincos.c: Remove file.
28014 * benchtests/sincos-inputs: New file.
28015 * scripts/bench.pl: Identify output arguments and define
28016 static variables for them.
28017
232983e9
SP
28018 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28019
d136c6dc
SP
28020 [BZ #15941]
28021 * Makefile (INSTALL): Add install-plain.texi as the primary
28022 dependency.
28023 * manual/install-plain.texi: New file.
28024 * manual/install.texi: Include node directive only for
28025 non-plaintext output.
28026
699ff837
JM
280272013-12-04 Joseph Myers <joseph@codesourcery.com>
28028
ab07cea8
JM
28029 * stdlib/longlong.h: Update from GCC.
28030
699ff837
JM
28031 [BZ #6807]
28032 [BZ #15901]
28033 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28034 * math/w_j0f.c (y0f): Likewise.
28035 * math/w_j0l.c (__y0l): Likewise.
28036 * math/w_j1.c (y1): Likewise.
28037 * math/w_j1f.c (y1f): Likewise.
28038 * math/w_j1l.c (__y1l): Likewise
28039 * math/w_jn.c (yn): Likewise.
28040 * math/w_jnf.c (ynf): Likewise.
28041 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28042 Bessel function pole errors in _POSIX_ mode. Use NAN as return
28043 value for Bessel function domain errors outside _SVID_ mode.
28044 Adjust sign of return value for yn (negative integer, 0).
28045 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28046 by zero in return for negative x and set sign appropriately for
28047 negative n.
28048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28049 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28050 * math/libm-test.inc (y0_test_data): Add more tests and adjust
28051 expectations in error cases.
28052 (y1_test_data): Likewise.
28053 (yn_test_data): Likewise.
28054 * sysdeps/i386/fpu/libm-test-ulps: Update.
28055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28056
5b118558
UW
280572013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28058
28059 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28060 "64" to "64-v1". Add "64-v2".
28061 (abi-64-options): Rename to ...
28062 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
28063 (abi-64-condition): Rename to ...
28064 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
28065 (abi-64-ld-soname): Rename to ...
28066 (abi-64-v1-ld-soname): ... this.
28067 (abi-64-v2-options): Define.
28068 (abi-64-v2-condition): Likewise.
28069 (abi-64-v2-ld-soname): Likewise.
28070 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28071 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28075
61cd8fe4
UW
280762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28077 Alan Modra <amodra@gmail.com>
28078
28079 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28080 New versions for use with the ELFv2 ABI.
28081 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28082 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28083 declaration.
28084 (struct La_ppc64v2_retval): Likewise.
28085 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28086 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28087 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28088 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28089 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28091 Do not save or restore CR.
28092 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28093 (_dl_profile_resolve): Do no save or restore CR. Support extended
28094 return values for ELFv2 ABI. Fix location of FPR return registers.
28095 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28096 updated values for _CALL_ELF == 2.
28097 (La_regs, La_retval, int_retval): Likewise.
28098
8b8a692c
UW
280992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28100
28101 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28102 (FRAME_MIN_SIZE_PARM): Likewise.
28103 (FRAME_BACKCHAIN): Likewise.
28104 (FRAME_CR_SAVE): Likewise.
28105 (FRAME_LR_SAVE): Likewise.
28106 (FRAME_TOC_SAVE): Likewise.
28107 (FRAME_PARM_SAVE): Likewise.
28108 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28109 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28110 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28111 (call_mcount_parm_offset): New macro.
28112 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28113 (PROF): Use symbolic stack frame offsets.
28114 (TAIL_CALL_SYSCALL_ERROR): Likewise.
28115 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28116 Redefine in terms of FRAME_MIN_SIZE.
28117 (_dl_runtime_resolve): Use symbolic stack frame offsets.
28118 (_dl_profile_resolve): Likewise. Update comment.
28119 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28120 symbols stack frame offsets.
28121 (__sigsetjmp): Likewise.
28122 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28123 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28124 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28125 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28126
28127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28128 (FRAME_BACKCHAIN): Remove.
28129 (FRAME_CR_SAVE): Likewise.
28130 (FRAME_LR_SAVE): Likewise.
28131 (FRAME_COMPILER_DW): Likewise.
28132 (FRAME_LINKER_DW): Likewise.
28133 (FRAME_TOC_SAVE): Likewise.
28134 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
28135 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28136 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28137 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
28138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28139 (CHECK_SP): Use symbolic stack frame offsets.
28140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28141 zone" instead of caller's parameter save area for temp storage.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28143 Likewise. Also, use symbolic stack frame offsets.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28145 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28146 our own stack frame instead of the caller's.
28147 (__socket): Use symbolic stack frame offsets.
28148
122b66de
UW
281492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28150 Alan Modra <amodra@gmail.com>
28151
28152 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28153 Define.
57f41c40
AS
28154 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28155 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
28156 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28157 New function.
28158 (elf_machine_fixup_plt): Call it.
28159 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
28160 reloc arguments.
28161 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
28162 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28163 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
28164 r2 before calling target.
28165
696caf1d
UW
281662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28167 Alan Modra <amodra@gmail.com>
28168
28169 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28170 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28171 versions of macros to support ELFv2 ABI.
28172 (LOCALENTRY): New macro.
28173 (ENTRY, EALIGN): Use it.
28174 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28175 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28176 fall through into ENTRY entry point.
28177 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28178 Only define if _CALL_ELF != 2.
28179
28180 (elf_machine_matches_host): Verify ABI version matches.
28181 (RTLD_START): Use LOCALENTRY.
28182 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28183 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28184 (PLT_ENTRY_WORDS): New macro.
28185 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28186 (elf_machine_runtime_setup): Support ELFv2 ABI.
28187 (elf_machine_fixup_plt): Likewise.
28188 (elf_machine_plt_conflict): Likewise.
28189 (resolve_ifunc): Likewise.
28190 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28192 Likewise.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28194 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28196 (makecontext): Support ELFv2 ABI.
28197 * elf/elf.h (EF_PPC64_ABI): Define.
28198
d31beafa
UW
281992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28200
57f41c40
AS
28201 * sysdeps/powerpc/powerpc64/sysdep.h
28202 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28203 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28204 (ENTRY) [ASSEMBLER]: ... but instead here ...
28205 (EALIGN) [ASSEMBLER]: ... and here.
28206 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28207 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28208 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
28209 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28210 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
28211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28212 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
28213 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28215 Use PPC64_LOAD_FUNCPTR.
28216
b525166b
UW
28217 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28218
7ec07d9a
AM
282192013-12-04 Alan Modra <amodra@gmail.com>
28220
28221 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28222 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28223 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28224 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28225
28226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28227 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28228 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28229 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28230 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28231 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28232
5162e7dd
UW
282332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28234
28235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28236 (__makecontext): Fix incorrect CFI when backtracing out of
28237 context created via makecontext.
28238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28239 (__setcontext): Fix incorrect CFI during switch to new context.
28240 (__novec_setcontext): Likewise.
28241
19e3372b
OB
282422013-12-04 Ondřej Bílka <neleai@seznam.cz>
28243
28244 [BZ #4772]
28245 * time/strptime_l.c (__strptime_internal): Allow modifiers
28246 in strptime.
28247 * time/tst-strptime.c (day_tests): Add testcase.
28248
ecaf142d
SP
282492013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28250
28251 * scripts/bench.pl: Skip over blank lines.
28252
fbf964ae
PE
282532013-12-04 Paul Eggert <eggert@cs.ucla.edu>
28254
28255 [BZ #926]
28256 * manual/time.texi (Calendar Time): Clarify what timezone functions
28257 use.
28258
fa60a674
AZ
282592013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28260
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28262
d674f0ef
OB
282632013-12-04 Ondřej Bílka <neleai@seznam.cz>
28264
28265 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28266 implementation.
28267 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28268 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28269 * debug/memset_chk.c (__memset_chk): Likewise.
28270 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28271 * debug/strncpy_chk.c: Likewise.
28272
17dea188
JM
282732013-12-03 Joseph Myers <joseph@codesourcery.com>
28274
749008ff
JM
28275 [BZ #15268]
28276 [BZ #15425]
28277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28278 (__ieee754_exp): For possibly underflowing results, check size of
28279 result and force underflow exception if required.
28280 * math/auto-libm-test-in: Add more tests of exp.
28281 * math/auto-libm-test-out: Regenerated.
28282 * sysdeps/i386/fpu/libm-test-ulps: Update.
28283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28284
17dea188
JM
28285 [BZ #16283]
28286 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28287 * math/w_exp2f.c (__exp2f): Likewise.
28288 * math/w_exp2l.c (__exp2l): Likewise.
28289 * math/auto-libm-test-in: Do not allow missing errno on exp2
28290 underflow.
28291 * math/auto-libm-test-out: Regenerated.
28292
b20de2c3
OB
282932013-12-03 Ondřej Bílka <neleai@seznam.cz>
28294
28295 [BZ #16274]
28296 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28297 handle filename validation.
28298 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28299 (do_open): Delete.
28300
d8e2dbe3
JM
283012013-12-03 Joseph Myers <joseph@codesourcery.com>
28302
34e16df5
JM
28303 [BZ #6786]
28304 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28305 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28306 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28307 <float.h>.
28308 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28310 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28312 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28313 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28314 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28315 * math/auto-libm-test-in: Don't allow missing errno from erfc.
28316 Add more erfc tests.
28317 * math/auto-libm-test-out: Regenerated.
28318 * sysdeps/i386/fpu/libm-test-ulps: Update.
28319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28320
d8e2dbe3
JM
28321 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28322 exp2, expm1, j0 and j1.
28323 * math/auto-libm-test-out: Regenerated.
28324 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28325 (erfc_test_data): Likewise.
28326 (exp_test_data): Likewise.
28327 (exp_tonearest_test_data): Likewise.
28328 (exp_towardzero_test_data): Likewise.
28329 (exp_downward_test_data): Likewise.
28330 (exp_upward_test_data): Likewise.
28331 (exp10_test_data): Likewise.
28332 (exp2_test_data): Likewise.
28333 (expm1_test_data): Likewise.
28334 (j0_test_data): Likewise.
28335 (j1_test_data): Likewise.
28336 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28337 (input_flag_type): Add flag_xfail_rounding.
28338 (input_flags): Add xfail-rounding.
28339 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28340 (output_for_one_input_case): Handle flag_xfail_rounding.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28343
18d14251
AJ
283442013-12-03 Aurelien Jarno <aurelien@aurel32.net>
28345
3d2e6075 28346 [BZ #16289]
18d14251
AJ
28347 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28348 division by 0.
28349
520d437b
SP
283502013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28351
28352 [BZ #16195]
28353 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28354 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28355 (STAP_PROBE0): New macro.
28356 (STAP_PROBE1): Likewise.
28357 (STAP_PROBE2): Likewise.
28358 (STAP_PROBE3): Likewise.
28359 (STAP_PROBE4): Likewise.
28360
416e0145
OB
283612013-12-02 Ondřej Bílka <neleai@seznam.cz>
28362
28363 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28364
9d17796a
SE
283652013-12-02 Steve Ellcey <sellcey@mips.com>
28366
28367 * benchtests/Makefile (bench): Add sqrt.
28368 (LDLIBS-bench-sqrt): New.
28369 * benchtests/sqrt-input: New.
28370
f524d6a8
PS
283712013-12-02 Pavel Simerda <psimerda@redhat.com>
28372
639a0ef8
PS
28373 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28374 (GAIH_EAI): Likewise.
28375 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28376 (gaih_inet): Likewise.
28377 (getaddrinfo): Don't use GAIH_EAI.
28378
f524d6a8
PS
28379 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28380 (struct gaih): Remove definition.
28381
df3aedaf
SP
283822013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28383
28384 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28385 Use HERRNOP directly.
28386
1ab19dec
AZ
283872013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28388
b42ad38d 28389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 28390
176b0c79
JM
283912013-11-30 Joseph Myers <joseph@codesourcery.com>
28392
28393 * math/gen-auto-libm-tests.c (test_functions): Add more
28394 single-argument functions.
28395 (special_fill_pi_2): New function.
28396 (special_fill_minus_pi_2): Likewise.
28397 (special_fill_pi_6): Likewise.
28398 (special_fill_minus_pi_6): Likewise.
28399 (special_fill_pi_3): Likewise.
28400 (special_fill_2pi_3): Likewise.
28401 (special_fill_e): Likewise.
28402 (special_fill_1_e): Likewise.
28403 (special_fill_e_minus_1): Likewise.
28404 (special_real_inputs): Add more special inputs.
28405 (output_for_one_input_case): Do not require ERANGE on underflow to
28406 zero if round-to-nearest result does not underflow to zero, unless
28407 exact results required.
28408 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28409 atan, atanh, cbrt, cos and cosh.
28410 * math/auto-libm-test-out: Regenerated.
28411 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28412 (acos_tonearest_test_data): Likewise.
28413 (acos_towardzero_test_data): Likewise.
28414 (acos_downward_test_data): Likewise.
28415 (acos_upward_test_data): Likewise.
28416 (acosh_test_data): Likewise.
28417 (asin_test_data): Likewise.
28418 (asin_tonearest_test_data): Likewise.
28419 (asin_towardzero_test_data): Likewise.
28420 (asin_upward_test_data): Likewise.
28421 (asinh_test_data): Likewise.
28422 (atan_test_data): Likewise.
28423 (atanh_test_data): Likewise.
28424 (cbrt_test_data): Likewise.
28425 (cos_test_data): Likewise.
28426 (cos_tonearest_test_data): Likewise.
28427 (cos_towardzero_test_data): Likewise.
28428 (cos_downward_test_data): Likewise.
28429 (cos_upward_test_data): Likewise.
28430 (cosh_test_data): Likewise.
28431 (cosh_tonearest_test_data): Likewise.
28432 (cosh_towardzero_test_data): Likewise.
28433 (cosh_downward_test_data): Likewise.
28434 (cosh_upward_test_data): Likewise.
28435 * sysdeps/i386/fpu/libm-test-ulps: Update.
28436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28437
ffb536d0
JM
284382013-11-29 Joseph Myers <joseph@codesourcery.com>
28439
2a77a467
JM
28440 [BZ #6787]
28441 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28442 * math/w_exp10f.c (__exp10f): Likewise.
28443 * math/w_exp10l.c (__exp10l): Likewise.
28444 * math/libm-test.inc (exp10_test_data): Add more tests and expect
28445 errno settings in existing tests.
28446
ea3bc4e8
JM
28447 [BZ #14032]
28448 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28449 precision control set to double precision.
28450 * sysdeps/i386/fpu/w_sqrt.c: New file.
28451 * math/auto-libm-test-in: Add more tests.
28452 * math/auto-libm-test-out: Update.
28453
0712c9d8
JM
28454 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28455 (sqrt_test_tonearest): New function.
28456 (sqrt_towardzero_test_data): New variable.
28457 (sqrt_test_towardzero): New function.
28458 (sqrt_downward_test_data): New variable.
28459 (sqrt_test_downward): New function.
28460 (sqrt_upward_test_data): New variable.
28461 (sqrt_test_upward): New function.
28462 (main): Call the new functions.
28463
ffb536d0
JM
28464 * math/gen-auto-libm-tests.c: New file.
28465 * math/auto-libm-test-in: Likewise.
28466 * math/auto-libm-test-out: New generated file.
28467 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28468 variables.
28469 (%beautify): Add generated representations of zero.
28470 (top level): Set $auto_input and call parse_auto_input.
28471 (beautify): Remove trailing "f" from hex float constants.
28472 (parse_args): Handle XFAIL_TEST.
28473 (convert_condition): New function.
28474 (or_value): Likewise.
28475 (or_cond_value): Likewise.
28476 (generate_testfile): Handle AUTO_TESTS_* lines.
28477 (parse_auto_input): New function.
28478 * math/libm-test.inc (XFAIL_TEST): New macro.
28479 (ERRNO_UNCHANGED): Update value.
28480 (ERRNO_EDOM): Likewise.
28481 (ERRNO_ERANGE): Likewise.
28482 (IGNORE_RESULT): Likewise.
28483 (TEST_COND_flt_32): New macro.
28484 (TEST_COND_dbl_64): Likewise.
28485 (TEST_COND_ldbl_96_intel): Likewise.
28486 (TEST_COND_ldbl_96_m68k): Likewise.
28487 (TEST_COND_ldbl_128): Likewise.
28488 (TEST_COND_ldbl_128ibm): Likewise.
28489 (TEST_COND_long32): Likewise.
28490 (TEST_COND_long64): Likewise.
28491 (TEST_COND_before_rounding): Likewise.
28492 (TEST_COND_after_rounding): Likewise.
28493 (enable_test): Handle XFAIL_TEST flag.
28494 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28495 with finite results.
28496 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28497 auto-libm-test-out.
28498
acd98a8e
AK
284992013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28500 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28501
28502 [BZ #16214]
28503 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28504 __tls_get_addr_internal instead of __tls_get_offset in order to
28505 avoid GOT pointer dependency. Make rtld export
28506 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28507 __tls_get_addr since we are a __tls_get_offset platform.
28508 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28509 GOT pointer being set up before.
28510 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28511
3c1c46a6
JM
285122013-11-28 Joseph Myers <joseph@codesourcery.com>
28513
7475aef5
JM
28514 * manual/math.texi (Errors in Math Functions): Document accuracy
28515 goals.
28516
8bca7cd8
JM
28517 [BZ #15004]
28518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28519 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28520 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28526 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28528 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28529 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28530 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28534
91a1f3fe
JM
28535 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28536 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28537 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28538 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28539 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28540 Likewise.
28541 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28542 Likewise.
28543 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28544 Likewise.
28545 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28546 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28547 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28548 atomic-feupdateenv and flt-rounds.
28549 * sysdeps/powerpc/nofpu/Versions (libc): Add
28550 __atomic_feholdexcept, __atomic_feclearexcept,
28551 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28552 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28553 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28554 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28555 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28556 here.
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28558 Update.
28559
c5df7609
JM
28560 * manual/arith.texi (FP Exceptions): Document that exceptions may
28561 not be raised when matherr is used.
28562 (Math Error Reporting): Document overflow in directed rounding
28563 modes. Document that errno may not be set when finite values are
28564 returned on overflow. Document intent to set errno on underflow
28565 only for underflow to zero.
28566
3c1c46a6
JM
28567 [BZ #16271]
28568 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28569 round-to-nearest then adjust result for other rounding modes.
28570 * include/fenv.h (fegetround): Use libm_hidden_proto.
28571 * math/fegetround.c (fegetround): Use libm_hidden_def.
28572 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28573 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28574 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28576 Likewise.
28577 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28578 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28579 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28580 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28581
5a4c6d53
SP
285822013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28583
28584 [BZ #16077]
28585 * nss/Versions (libnss_files): Add
28586 _nss_files_gethostbyname3_r.
28587 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28588 New function.
28589 (HOST_DB_LOOKUP): Remove macro.
28590 (_nss_files_gethostbyname_r): Implement function without the
28591 HOST_DB_LOOKUP macro.
28592 (_nss_files_gethostbyname2_r): Likewise.
28593
897b98ba
OB
285942013-11-28 Ondřej Bílka <neleai@seznam.cz>
28595
28596 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28597
6f476861
UB
285982013-11-26 Uros Bizjak <ubizjak@gmail.com>
28599
28600 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28601 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28602 warning.
28603
bd12ab55
AZ
286042013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605
28606 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28607 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28608 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28609 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28610 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28611 __fe_nomask_env_priv and attribute_hidden.
28612 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28613 (libc_feupdateenv_test_ppc): Likewise.
28614 (libc_feresetround_ppc): Likewise.
28615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28616 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28617 compat_symbol macro.
28618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28619 (__fe_nomask_env): Likewise.
28620 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28621
52bb6543
OB
286222013-11-26 Ondřej Bílka <neleai@seznam.cz>
28623
28624 * string/Makefile: Remove ifunc tests.
28625 * string/test-string.h: Define TEST_IFUNC.
28626 * string/test-bcopy-ifunc.c: Remove.
28627 * string/test-bzero-ifunc.c: Likewise.
28628 * string/test-memccpy-ifunc.c: Likewise.
28629 * string/test-memchr-ifunc.c: Likewise.
28630 * string/test-memcmp-ifunc.c: Likewise.
28631 * string/test-memcpy-ifunc.c: Likewise.
28632 * string/test-memmem-ifunc.c: Likewise.
28633 * string/test-memmove-ifunc.c: Likewise.
28634 * string/test-mempcpy-ifunc.c: Likewise.
28635 * string/test-memrchr-ifunc.c: Likewise.
28636 * string/test-memset-ifunc.c: Likewise.
28637 * string/test-rawmemchr-ifunc.c: Likewise.
28638 * string/test-stpcpy-ifunc.c: Likewise.
28639 * string/test-stpncpy-ifunc.c: Likewise.
28640 * string/test-strcasecmp-ifunc.c: Likewise.
28641 * string/test-strcasestr-ifunc.c: Likewise.
28642 * string/test-strcat-ifunc.c: Likewise.
28643 * string/test-strchr-ifunc.c: Likewise.
28644 * string/test-strchrnul-ifunc.c: Likewise.
28645 * string/test-strcmp-ifunc.c: Likewise.
28646 * string/test-strcpy-ifunc.c: Likewise.
28647 * string/test-strcspn-ifunc.c: Likewise.
28648 * string/test-strlen-ifunc.c: Likewise.
28649 * string/test-strncasecmp-ifunc.c: Likewise.
28650 * string/test-strncat-ifunc.c: Likewise.
28651 * string/test-strncmp-ifunc.c: Likewise.
28652 * string/test-strncpy-ifunc.c: Likewise.
28653 * string/test-strnlen-ifunc.c: Likewise.
28654 * string/test-strpbrk-ifunc.c: Likewise.
28655 * string/test-strrchr-ifunc.c: Likewise.
28656 * string/test-strspn-ifunc.c: Likewise.
28657 * string/test-strstr-ifunc.c: Likewise.
28658
ab260039 286592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
28660
28661 * benchtests/Makefile: Remove ifunc tests.
28662 * benchtests/bench-string.h: Define TEST_IFUNC.
28663 * benchtests/bench-bcopy-ifunc.c: Remove.
28664 * benchtests/bench-bzero-ifunc.c: Likewise.
28665 * benchtests/bench-memccpy-ifunc.c: Likewise.
28666 * benchtests/bench-memchr-ifunc.c: Likewise.
28667 * benchtests/bench-memcmp-ifunc.c: Likewise.
28668 * benchtests/bench-memcpy-ifunc.c: Likewise.
28669 * benchtests/bench-memmem-ifunc.c: Likewise.
28670 * benchtests/bench-memmove-ifunc.c: Likewise.
28671 * benchtests/bench-mempcpy-ifunc.c: Likewise.
28672 * benchtests/bench-memrchr-ifunc.c: Likewise.
28673 * benchtests/bench-memset-ifunc.c: Likewise.
28674 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28675 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28676 * benchtests/bench-stpcpy-ifunc.c: Likewise.
28677 * benchtests/bench-stpncpy-ifunc.c: Likewise.
28678 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28679 * benchtests/bench-strcasestr-ifunc.c: Likewise.
28680 * benchtests/bench-strcat-ifunc.c: Likewise.
28681 * benchtests/bench-strchr-ifunc.c: Likewise.
28682 * benchtests/bench-strchrnul-ifunc.c: Likewise.
28683 * benchtests/bench-strcmp-ifunc.c: Likewise.
28684 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28685 * benchtests/bench-strcpy-ifunc.c: Likewise.
28686 * benchtests/bench-strcspn-ifunc.c: Likewise.
28687 * benchtests/bench-strlen-ifunc.c: Likewise.
28688 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28689 * benchtests/bench-strncat-ifunc.c: Likewise.
28690 * benchtests/bench-strncmp-ifunc.c: Likewise.
28691 * benchtests/bench-strncpy-ifunc.c: Likewise.
28692 * benchtests/bench-strnlen-ifunc.c: Likewise.
28693 * benchtests/bench-strpbrk-ifunc.c: Likewise.
28694 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 28695 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
28696 * benchtests/bench-strspn-ifunc.c: Likewise.
28697 * benchtests/bench-strstr-ifunc.c: Likewise.
28698
286992013-11-26 Ondřej Bílka <neleai@seznam.cz>
28700
ab260039
OB
28701 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28702
d1d9eaf4 287032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 28704
d1d9eaf4
OB
28705 * resolv/netdb.h: Use __glibc_reserved instead __unused.
28706 * rt/aio.h: Likewise.
28707 * sysdeps/gnu/bits/utmp.h: Likewise.
28708 * sysdeps/gnu/bits/utmpx.h: Likewise.
28709 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28710 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28711 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28712 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28713 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28714 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28715 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28716 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28717 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28718 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28719 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28720 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28721 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28723 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28724 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28725 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28726 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28727 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28728 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28729 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28730 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28731 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28732 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28733 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28735 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28736 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28737 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28738 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28740 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28741 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28742 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28743 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28744 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28745 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28746 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28747 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28748 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28749 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28750 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28751
a7624ed9
CD
287522013-11-25 Carlos O'Donell <carlos@redhat.com>
28753
28754 [BZ #16245]
28755 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28756 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28757
63cfe52b
JM
287582013-11-25 Joseph Myers <joseph@codesourcery.com>
28759
28760 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28761 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28762 Likewise.
28763
41e8926a
AZ
287642013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28765
28766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28767 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28768 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28769 (__fesetround): Remove define.
28770 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28771 rounding and exceptions handling.
28772 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28773 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28774 (__fe_nomask_env): Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28776 __fegetround instead of fegetround.
28777 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28779
6851bd4d
RM
287802013-11-21 Roland McGrath <roland@hack.frob.com>
28781
070906ff
RM
28782 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28783 it's there.
28784
6851bd4d
RM
28785 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28786
84ae135d
MI
287872013-11-21 Meador Inge <meadori@codesourcery.com>
28788
28789 [BZ #11157]
28790 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28791 (encrypt_r): Likewise.
28792 * malloc/obstack.h (obstack_free): Likewise.
28793 * posix/unistd.h (encrypt): Likewise.
28794
daf75146
GM
287952013-11-21 Guy Martin <gmsoft@tuxicoman.be>
28796
28797 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28798 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28799 DL_CALL_DT_FINI() that call the functions directly.
28800 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28801 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28802 * elf/dl-fini.c: Likewise.
28803
10ad46bc
OB
288042013-11-20 Ondřej Bílka <neleai@seznam.cz>
28805
28806 * malloc/hooks.c (memalign_check): Add alignment rounding.
28807 * malloc/malloc.c (_mid_memalign): New function.
28808 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28809 Implement by calling _mid_memalign.
28810 * manual/probes.texi (Memory Allocation Probes): Remove
28811 memory_valloc_retry and memory_pvalloc_retry.
28812
f3fd2628
SP
288132013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28814
4712799f
SP
28815 * locale/programs/locarchive.c (open_archive): Add const
28816 qualifier to ARCHIVEFNAME and copy default fname to
28817 DEFAULT_FNAME.
28818
0417b20f
SP
28819 [BZ #15601]
28820 * libio/tst-widetext.input: Rename Oriya to Odia.
28821 * locale/iso-639.def: Likewise.
28822
f3fd2628
SP
28823 * manual/probes.texi (Mathematical Function Probes): Add
28824 documentation for sin, cos, asin and acos probes.
28825 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28826 (__sin32): Add slowasin probe.
28827 (__cos32): Add slowacos probe.
28828 (__mpsin): Add slowsin probe.
28829 (__mpcos): Add slowcos probe.
28830
73c1ce4f
JM
288312013-11-19 Joseph Myers <joseph@codesourcery.com>
28832
28833 [BZ #15483]
28834 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28835 thread-local __sim_exceptions_thread and global
28836 __sim_exceptions_global.
28837 (__sim_disabled_exceptions): Change to thread-local
28838 __sim_disabled_exceptions_thread and global
28839 __sim_disabled_exceptions_global.
28840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28841 and global __sim_round_mode_global.
28842 (__simulate_exceptions): Use thread-local floating-point state and
28843 set global state from it as needed.
28844 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28845 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28846 __sim_round_mode_thread.
28847 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28848 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28849 and global __sim_exceptions_global.
28850 (__sim_disabled_exceptions): Change to thread-local
28851 __sim_disabled_exceptions_thread and global
28852 __sim_disabled_exceptions_global.
28853 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28854 and global __sim_round_mode_global.
28855 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28856 (SIM_SET_GLOBAL): Likewise.
28857 * sysdeps/powerpc/soft-fp/sfp-machine.h
28858 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28859 __sim_round_mode_thread.
28860 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28861 __sim_disabled_exceptions_thread.
28862 (__sim_exceptions): Change to __sim_exceptions_thread.
28863 (__sim_disabled_exceptions): Change to
28864 __sim_disabled_exceptions_thread.
28865 (__sim_round_mode): Change to __sim_round_mode_thread.
28866 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28867 thread-local floating-point state and set global state from it as
28868 needed.
28869 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28870 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28871 (__sim_disabled_exceptions): Remove extern declaration.
28872 (feenableexcept): Use thread-local floating-point state and set
28873 global state from it as needed.
28874 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28875 extern declaration.
28876 (__sim_disabled_exceptions): Likewise.
28877 (__sim_round_mode): Likewise.
28878 (__fegetenv): Use thread-local floating-point state.
28879 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28880 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28881 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28882 floating-point state and set global state from it as needed.
28883 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28884 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28885 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28886 Likewise.
28887 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28888 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28889 Likewise.
28890 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28891 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28892 Use __sim_round_mode_thread.
28893 * math/test-fenv-tls.c: New file.
28894 * math/Makefile (tests): Add test-fenv-tls.
28895 ($(objpfx)test-fenv-tls): Depend on
28896 $(common-objpfx)nptl/libpthread.so.
28897
b5449b12
AS
288982013-11-19 Andreas Schwab <schwab@suse.de>
28899
28900 * locale/programs/locale.c (show_info): Decode wordarray elements.
28901 * locale/categories.def (LC_MONETARY): Add element for
28902 _NL_MONETARY_CRNCYSTR.
28903 * locale/C-monetary.c (conversion_rate): New variable.
28904 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28905 element.
28906
e186536b
CM
289072013-11-18 Chris Metcalf <cmetcalf@tilera.com>
28908
28909 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28910 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28911
5c349950
PP
289122013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28913
28914 * elf/Makefile (tst-auxv): New test.
28915 * elf/tst-auxv.c: New
28916 * elf/rtld.c (dl_main): Adjust AT_EXECFN
28917
699df45b
JM
289182013-11-18 Joseph Myers <joseph@codesourcery.com>
28919
28920 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28921 (hidden_proto): Caller changed.
28922 (hidden_tls_proto): New macro.
28923 (libc_hidden_tls_proto): Likewise.
28924 (rtld_hidden_tls_proto): Likewise.
28925 (libm_hidden_tls_proto): Likewise.
28926 (libresolv_hidden_tls_proto): Likewise.
28927 (librt_hidden_tls_proto): Likewise.
28928 (libdl_hidden_tls_proto): Likewise.
28929 (libnss_files_hidden_tls_proto): Likewise.
28930 (libnsl_hidden_tls_proto): Likewise.
28931 (libnss_nisplus_hidden_tls_proto): Likewise.
28932 (libutil_hidden_tls_proto): Likewise.
28933
b7589107
OB
289342013-11-18 Ondřej Bílka <neleai@seznam.cz>
28935
28936 [BZ #10253]
28937 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28938 (decompose_rpath): Defer expansion to fillin_rpath.
28939 (_dl_init_paths): Pass linkmap to fillin_rpath.
28940
250c23bd
RS
289412013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28942
28943 * benchtests/Makefile: Add strsep.
28944 * benchtests/bench-strsep.c: New file: strsep benchtest.
28945 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28946
a7931fcf
AS
289472013-11-18 Andreas Schwab <schwab@suse.de>
28948
28949 * locale/programs/locale.c (show_info) [case byte]: Check for
28950 '\377' instead of '\177'.
28951 * locale/C-monetary.c (not_available): Always use "\377".
28952 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28953 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
28954 detect unavailable sign_posn locale elements.
28955 * locale/localeconv.c (__localeconv): For grouping and
28956 mon_grouping handle "\177" and "\377" like no grouping.
28957 (INT_ELEM): New macro. Use it to set all numeric members.
28958 * locale/programs/ld-monetary.c (monetary_read)
28959 <tok_mon_grouping>: Normalize single -1 to the empty string.
28960 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28961 Likewise.
28962
728dab0e
OB
289632013-11-07 Ondřej Bílka <neleai@seznam.cz>
28964
28965 [BZ #16055]
28966 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28967 when we match (nil).
28968 * stdio-common/tst-sscanf.c (struct test): Add testcase.
28969
66294491
JM
289702013-11-16 Joseph Myers <joseph@codesourcery.com>
28971
ce665817
JM
28972 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28973 (NO_TEST_INLINE): Update value.
28974 (ERRNO_UNCHANGED): Likewise.
28975 (ERRNO_EDOM): Likewise.
28976 (ERRNO_ERANGE): Likewise.
28977 (IGNORE_RESULT): Likewise.
28978 (check_float_internal): Check signs of NaN results if
28979 TEST_NAN_SIGN used.
28980 (check_complex): Pass TEST_NAN_SIGN flag through to second
28981 check_float_internal call.
28982 (copysign_test_data): Add tests with quiet NaNs as second
28983 argument. Use TEST_NAN_SIGN.
28984 (fabs_test_data): Add test of negative quiet NaN argument. Use
28985 TEST_NAN_SIGN.
28986 (signbit_test_data): Add tests of quiet NaN argument.
28987 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28988
ee1466a9
JM
28989 * math/gen-libm-test.pl (show_exceptions): Take extra argument
28990 $ignore_result.
28991 (parse_args): Handle function results specified as IGNORE.
28992 * math/libm-test.inc (IGNORE_RESULT): New macro.
28993 (check_float_internal): Do not check numerical result if flag
28994 IGNORE_RESULT set.
28995 (check_complex): Pass through IGNORE_RESULT to second
28996 check_float_internal call.
28997 (check_int): Do not check numerical result if flag IGNORE_RESULT
28998 set.
28999 (check_long): Likewise.
29000 (check_bool): Likewise.
29001 (check_longlong): Likewise.
29002 (lrint_test_data): Add tests of infinite and NaN arguments.
29003 (lrint_tonearest_test_data): Likewise.
29004 (lrint_towardzero_test_data): Likewise.
29005 (lrint_downward_test_data): Likewise.
29006 (lrint_upward_test_data): Likewise.
29007 (llrint_test_data): Likewise.
29008 (llrint_tonearest_test_data): Likewise.
29009 (llrint_towardzero_test_data): Likewise.
29010 (llrint_downward_test_data): Likewise.
29011 (llrint_upward_test_data): Likewise.
29012 (lround_test_data): Likewise.
29013 (llround_test_data): Likewise.
29014
14407b7e
JM
29015 * math/libm-test.inc (NO_TEST_INLINE): New macro.
29016 (ERRNO_UNCHANGED): Update value.
29017 (ERRNO_EDOM): Likewise.
29018 (ERRNO_ERANGE): Likewise.
29019 (NO_TEST_INLINE_FLOAT): New macro.
29020 (NO_TEST_INLINE_DOUBLE): Likewise.
29021 (enable_test): New function.
29022 (RUN_TEST_f_f): Check enable_test before running test.
29023 (RUN_TEST_2_f): Likewise.
29024 (RUN_TEST_fff_f): Likewise.
29025 (RUN_TEST_c_f): Likewise.
29026 (RUN_TEST_f_f1): Likewise.
29027 (RUN_TEST_fF_f1): Likewise.
29028 (RUN_TEST_fI_f1): Likewise.
29029 (RUN_TEST_ffI_f1): Likewise.
29030 (RUN_TEST_c_c): Likewise.
29031 (RUN_TEST_cc_c): Likewise.
29032 (RUN_TEST_f_i): Likewise.
29033 (RUN_TEST_f_i_tg): Likewise.
29034 (RUN_TEST_ff_i_tg): Likewise.
29035 (RUN_TEST_f_b): Likewise.
29036 (RUN_TEST_f_b_tg): Likewise.
29037 (RUN_TEST_f_l): Likewise.
29038 (RUN_TEST_f_L): Likewise.
29039 (RUN_TEST_fFF_11): Likewise.
29040 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29041 conditionals.
29042 (cosh_test_data): Likewise.
29043 (exp_test_data): Likewise.
29044 (expm1_test_data): Likewise.
29045 (hypot_test_data): Likewise.
29046 (pow_test_data): Likewise.
29047 (sinh_test_data): Likewise.
29048 (tanh_test_data): Likewise.
29049 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29050 flags argument.
29051
ca07f197
JM
29052 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29053 tests with quiet NaN input and output.
29054 (acosh_test_data): Likewise.
29055 (asin_test_data): Likewise.
29056 (asinh_test_data): Likewise.
29057 (atan_test_data): Likewise.
29058 (atanh_test_data): Likewise.
29059 (atan2_test_data): Likewise.
29060 (cbrt_test_data): Likewise.
29061 (cos_test_data): Likewise.
29062 (cosh_test_data): Likewise.
29063 (erf_test_data): Likewise.
29064 (erfc_test_data): Likewise.
29065 (exp_test_data): Likewise.
29066 (exp10_test_data): Likewise.
29067 (exp2_test_data): Likewise.
29068 (expm1_test_data): Likewise.
29069 (hypot_test_data): Likewise.
29070 (j0_test_data): Likewise.
29071 (j1_test_data): Likewise.
29072 (jn_test_data): Likewise.
29073 (lgamma_test_data): Likewise.
29074 (log_test_data): Likewise.
29075 (log10_test_data): Likewise.
29076 (log1p_test_data): Likewise.
29077 (log2_test_data): Likewise.
29078 (pow_test_data): Likewise.
29079 (scalb_test_data): Likewise.
29080 (sin_test_data): Likewise.
29081 (sincos_test_data): Likewise.
29082 (sinh_test_data): Likewise.
29083 (tan_test_data): Likewise.
29084 (tanh_test_data): Likewise.
29085 (tgamma_test_data): Likewise.
29086 (y0_test_data): Likewise.
29087 (y1_test_data): Likewise.
29088 (yn_test_data): Likewise.
29089
66294491
JM
29090 [BZ #16167]
29091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29092 argument being NaN and avoid computations with second argument in
29093 that case.
29094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29096 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29097
1820b143
CL
290982013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
29099
29100 * locale/iso-639.def: Add Chitwani Tharu (the).
29101
714bd261
AS
291022013-11-14 Andreas Schwab <schwab@suse.de>
29103
29104 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29105 word instead of empty string.
29106
7ab44563
AZ
291072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29108
29109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29110 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29112 (__fe_nomask_env): Likewise.
29113
e8470ea2
SE
291142013-11-13 Steve Ellcey <sellcey@mips.com>
29115
29116 * benchtests/bench-timing.h: Include time.h.
29117
17c1d9f0
L
291182013-11-13 H.J. Lu <hongjiu.lu@intel.com>
29119
29120 [BZ #15997]
29121 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29122 to 3.4.0 for x32.
29123 * sysdeps/unix/sysv/linux/configure: Regenerated.
29124
9310c284
JM
291252013-11-13 Joseph Myers <joseph@codesourcery.com>
29126
29127 [BZ #16151]
29128 * stdlib/strtod_l.c (round_and_return): Do not consider
29129 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29130 exponent one less than half the least subnormal exponent.
29131 * stdlib/test-strtod-round-data: Add more tests.
29132 * stdlib/tst-strtod-round.c (tests): Regenerated.
29133
7a2ad8cf
AZ
291342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29135
29136 [BZ #14143]
29137 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29138 (__fe_mask_env): Likewise.
29139 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29140 libm_hidden_proto and add function prototype.
29141 (__fe_mask_env): Add function prototype.
29142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29143 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29145 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29147 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29148
50727aa7
MS
291492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29150
b2f386c1 29151 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
29152 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29153
a615be46
MS
291542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29155
29156 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29157 of htab_find_slot().
29158
7ddace62
DM
291592013-11-11 David S. Miller <davem@davemloft.net>
29160
29161 [BZ #16150]
29162 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29163 symbol in the non-vis3 case in static builds.
29164 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29165 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29166 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29167 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29168
9182aa67
JK
291692013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
29170
29171 [BZ #387]
29172 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29173 it is empty.
29174
450a2e2d
AZ
291752013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29176
b2f386c1
SP
29177 * benchtests/Makefile: Add bench-strtod.
29178 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 29179
8ec3f656
AS
291802013-11-11 Andreas Schwab <schwab@suse.de>
29181
29182 [BZ #16153]
29183 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29184 terminating NUL in key length.
29185
76a9b998
AZ
291862013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29187
29188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29189 Add artificial ODP entry for vDSO symbol for PPC64.
29190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29191 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29192
e4368156
OB
291932013-11-07 Ondřej Bílka <neleai@seznam.cz>
29194
29195 [BZ #15374]
29196 * nss/getent.c (services_keys): Recognize services starting with digit.
29197
8d6bb57c
DM
291982013-11-06 David S. Miller <davem@davemloft.net>
29199
29200 [BZ #15985]
29201 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29202 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29203
e256c421
WN
292042013-11-06 Will Newton <will.newton@linaro.org>
29205
29206 * manual/memory.texi (Malloc Examples): Remove register
29207 keyword from examples.
29208
f6e12daa 292092013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 29210
f6e12daa 29211 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 29212
9d880655
AS
292132013-11-04 Joseph Myers <joseph@codesourcery.com>
29214
fd2f9486 29215 [BZ #6981]
9d880655
AS
29216 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29217 depending on [__GCC_IEC_559 > 0].
29218 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29219 depending on [__GCC_IEC_559_COMPLEX > 0].
29220
ae129d3c
CL
292212013-11-03 Chris Leonard <cjl@sugarlabs.org>
29222
29223 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29224 to iso-639.def.
29225
4a15c2a4 292262013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
29227
29228 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29229
8b35e35d
OB
292302013-11-01 Ondřej Bílka <neleai@seznam.cz>
29231
29232 [BZ #16112]
29233 * malloc/malloc (malloc_info): Do not handle first bin as
29234 special case.
29235
1d70fd6c
CL
292362013-11-01 Chris Leonard <cjl@sugarlabs.org>
29237
29238 * locale/iso-639.def: Add Central Nahuatl (nhn).
29239
8c5c2600
BH
292402013-11-01 Bruno Haible <bruno@clisp.org>
29241
29242 [BZ #7003]
29243 * manual/math.texi (BSD Random): Specify range upper bound as
29244 in POSIX.
29245
da5579c2
CL
292462013-10-31 Chris Leonard <cjl@sugarlabs.org>
29247
29248 * locale/iso-639.def: Add Meadow Mari (mhr).
29249
5d30d853
OB
292502013-10-31 Ondřej Bílka <neleai@seznam.cz>
29251
29252 [BZ #14752], [BZ #15763]
29253 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29254 Validate name.
29255 * rt/tst_shm.c: Add test for escaping directory.
29256
a4966c61
AS
292572013-10-31 Andreas Schwab <schwab@suse.de>
29258
8a43e768 29259 [BZ #15917]
a4966c61
AS
29260 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29261 followed by 'x' as part of digit sequence.
29262 * stdio-common/tst-sscanf.c (double_tests2): New tests.
29263
28d708c4
MAP
292642013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29265
29266 [BZ #16037]
29267 * configure.ac: allow GNU Make 4.0 and greater.
29268 * configure: Regenerated.
29269
a56ee40b
WN
292702013-10-30 Will Newton <will.newton@linaro.org>
29271
29272 [BZ #16038]
29273 * malloc/hooks.c (memalign_check): Limit alignment to the
29274 maximum representable power of two.
29275 * malloc/malloc.c (__libc_memalign): Likewise.
29276 * malloc/tst-memalign.c (do_test): Add test for very
29277 large alignment values.
29278 * malloc/tst-posix_memalign.c (do_test): Likewise.
29279
c6e4925d
OB
292802013-10-30 Ondřej Bílka <neleai@seznam.cz>
29281
29282 [BZ #11087]
29283 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29284 (munmap_chunk): Likewise.
29285 (mremap_chunk): Likewise.
29286
292872013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 29288
8a43e768 29289 [BZ #15799]
bbea82f7
OB
29290 * stdlib/div.c (div): Remove obsolete code.
29291 * stdlib/ldiv.c (ldiv): Likewise.
29292 * stdlib/lldiv.c (lldiv): Likewise.
29293
977f4b31
SP
292942013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29295
29296 [BZ #16071]
29297 * nss/nss_files/files-XXX.c (get_contents_ret): New
29298 enumerator.
29299 (get_contents): New function.
29300 (internal_getent): Use it. Expand size of LINEBUFLEN.
29301
cb8a6dbd
MF
293022013-10-30 Mike Frysinger <vapier@gentoo.org>
29303
29304 * configure.in: Moved to ...
29305 * configure.ac: ... here. Change reference to configure.in
29306 to configure.ac.
29307 * sysdeps/arm/preconfigure.ac: ... here.
29308 configure.in to configure.ac.
29309 * sysdeps/gnu/configure.in: Moved to ...
29310 * sysdeps/gnu/configure.ac: ... here.
29311 * sysdeps/i386/configure.in: Moved to ...
29312 * sysdeps/i386/configure.ac: ... here.
29313 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29314 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29315 * sysdeps/mach/configure.in: Moved to ...
29316 * sysdeps/mach/configure.ac: ... here.
29317 * sysdeps/mach/hurd/configure.in: Moved to ...
29318 * sysdeps/mach/hurd/configure.ac: ... here.
29319 * sysdeps/powerpc/configure.in: Moved to ...
29320 * sysdeps/powerpc/configure.ac: ... here.
29321 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29322 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29323 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29324 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29325 * sysdeps/s390/s390-32/configure.in: Moved to ...
29326 * sysdeps/s390/s390-32/configure.ac: ... here.
29327 * sysdeps/s390/s390-64/configure.in: Moved to ...
29328 * sysdeps/s390/s390-64/configure.ac: ... here.
29329 * sysdeps/sh/configure.in: Moved to ...
29330 * sysdeps/sh/configure.ac: ... here.
29331 * sysdeps/sparc/configure.in: Moved to ...
29332 * sysdeps/sparc/configure.ac: ... here.
29333 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29334 * sysdeps/unix/sysv/linux/configure.ac: ... here.
29335 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29336 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29337 * sysdeps/x86_64/configure.in: Moved to ...
29338 * sysdeps/x86_64/configure.ac: ... here.
29339 * sysdeps/x86_64/preconfigure.in: Moved to ...
29340 * sysdeps/x86_64/preconfigure.ac: ... here.
29341 * aclocal.m4: Change reference to configure.in to configure.ac.
29342 * config.h.in: Likewise.
29343 * manual/install.texi: Likewise.
29344 * manual/maint.texi: Likewise.
29345 * Makefile: Likewise.
29346 * malloc/Makefile: Likewise.
29347 * nscd/Makefile: Likewise.
29348 * Makeconfig: Change reference to configure.in and
29349 preconfigure.in to configure.ac and preconfigure.ac
29350 respectively.
29351 * INSTALL: Regenerated.
29352 * configure: Likewise.
29353 * sysdeps/gnu/configure: Likewise.
29354 * sysdeps/i386/configure: Likewise.
29355 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29356 * sysdeps/mach/configure: Likewise.
29357 * sysdeps/mach/hurd/configure: Likewise.
29358 * sysdeps/powerpc/configure: Likewise.
29359 * sysdeps/powerpc/powerpc32/configure: Likewise.
29360 * sysdeps/powerpc/powerpc64/configure: Likewise.
29361 * sysdeps/s390/s390-32/configure: Likewise.
29362 * sysdeps/s390/s390-64/configure: Likewise.
29363 * sysdeps/sh/configure: Likewise.
29364 * sysdeps/sparc/configure: Likewise.
29365 * sysdeps/unix/sysv/linux/configure: Likewise.
29366 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29367 * sysdeps/x86_64/configure: Likewise.
29368 * sysdeps/x86_64/preconfigure: Likewise.
29369
36a4953a
AS
293702013-10-29 Andreas Schwab <schwab@suse.de>
29371
29372 * stdio-common/Makefile (tst-swscanf-ENV): Define.
29373
c79a1204
SP
293742013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29375
dfa1b402
SP
29376 * benchtests/pow-inputs: Add new inputs.
29377
54f73d9c
SP
29378 * benchtests/exp-inputs: Add new inputs.
29379
c79a1204
SP
29380 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29381 conditional check for return value.
29382 (__cos32): Likewise.
29383
67beb545 293842013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
29385
29386 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29387 to provide a boost for large inputs with word alignment.
29388 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29389 implementation based on optimized PPC64 strcpy.
29390 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29391 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29392 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29393 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29394
151659f6
OB
293952013-10-25 Ondřej Bílka <neleai@seznam.cz>
29396
482a077e 29397 [BZ #2801]
151659f6
OB
29398 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29399
10b0f26b
OB
294002013-10-25 Ondřej Bílka <neleai@seznam.cz>
29401
29402 [BZ #14876]
29403 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29404 * time/tst-strptime.c (day_tests): Add testcase.
29405
ca42d35e
OB
294062013-10-25 Ondřej Bílka <neleai@seznam.cz>
29407
482a077e 29408 [BZ #14029]
ca42d35e
OB
29409 * manual/pattern.texi: Acknowledge that fnmatch can fail.
29410
52e6d801
FB
294112013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
29412
29413 [BZ #16074]
29414 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29415 MAP_FAILED on error.
29416
7cbcdb36
SP
294172013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29418
29419 [BZ #16072]
29420 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29421 heap for large requests.
29422
894f3f10
AM
294232013-10-25 Aurelien Jarno <aurelien@aurel32.net>
29424
29425 [BZ #9954]
29426 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29427 result if the result has no associated interface.
29428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29429 interface for all 127.X.Y.Z addresses.
29430
b85545a6
CL
294312013-10-24 Chris Leonard <cjl@sugarlabs.org>
29432
29433 * locale/iso-639.def: Add Ligurian (lij)
29434
d1f23d46
OB
294352013-10-21 Ondřej Bílka <neleai@seznam.cz>
29436
29437 [BZ #15825]
29438 * sunrpc/rpc_main.c: Document rpcgen -5.
29439
4db5b08f
MS
294402013-10-19 Michael Stahl <mstahl@redhat.com>
29441
29442 * elf/rtld.c (do_preload): Print the reason why preloading failed.
29443
a471e96a
OB
294442013-10-19 Ondřej Bílka <neleai@seznam.cz>
29445
d1f23d46 29446 [BZ #10278]
a471e96a
OB
29447 * posix/glob.c: Match only directories when trailing slash is present.
29448 * posix/tst-gnuglob.c (my_opendir): Do not open files.
29449 (main): Add testcase.
29450
45c30c61
OB
294512013-10-19 Ondřej Bílka <neleai@seznam.cz>
29452
29453 [BZ #15670]
29454 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29455
484c12fb
CD
294562013-10-18 Carlos O'Donell <carlos@redhat.com>
29457
3d7dc513
CD
29458 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29459 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29460 AUTH_DES and cindex for FIPS 140-2.
29461 (DES Encryption): Add cindex FIPS 46-3.
29462
484c12fb
CD
29463 * locale/locarchive.h (struct locarhandle): Add fname.
29464 * locale/programs/localedef.c (main): Pass ARGV[remaining]
29465 if an optional argument was specified to --list-archive,
29466 otherwise NULL.
29467 * locale/programs/locarchive.c (show_archive_content): Take new
29468 argument fname and pass it via ah.fname to open_archive.
29469 * locale/programs/localedef.h: Update decl.
29470 (open_archive): If AH->fname is non-null, open that file
29471 rather than the default file name, and don't ignore ENOENT.
29472 (create_archive): Set AH.fname to NULL.
29473 (delete_locales_from_archive): Likewise.
29474 (add_locales_to_archive): Likewise.
29475 * locale/programs/locfile.c (write_all_categories): Likewise.
29476
3c8325fb
JM
294772013-10-18 Joseph Myers <joseph@codesourcery.com>
29478 Aldy Hernandez <aldyh@redhat.com>
29479
29480 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29481 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29482 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29483 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29484 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29486 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29488 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29489 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29490 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29491 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29492 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29493 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29494 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29495 Likewise.
29496 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29497 Likewise.
29498 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29499 Likewise.
29500 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29501 Likewise.
29502 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29503 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29504 Likewise.
29505 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29506 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29507 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29508 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29509 Likewise.
29510 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29511 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29512 * sysdeps/powerpc/preconfigure: Likewise.
29513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29514 Likewise.
29515 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29516 Replace contents of file by #include of <fenv_libc.h>.
29517 * sysdeps/powerpc/soft-fp/sfp-machine.h
29518 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29519 and <sys/prctl.h>.
29520 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29529 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29533 Allow copysignl PLT reference to be missing.
29534
5abe0682
RS
295352013-10-18 Richard Sandiford <richard@codesourcery.com>
29536 Joseph Myers <joseph@codesourcery.com
29537
29538 [BZ #15948]
29539 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29540 single character.
29541 (add_to_tablewc): Assert sequence of wide characters is nonempty.
29542
c7738d08
SP
295432013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29544
29545 * elf/tst-tls-dlinfo.c: Don't include tls.h.
29546 * elf/tst-tls1.c: Likewise.
29547 * elf/tst-tls10.h: Likewise.
29548 * elf/tst-tls14.c: Likewise.
29549 * elf/tst-tls2.c: Likewise.
29550 * elf/tst-tls3.c: Likewise.
29551 * elf/tst-tls4.c: Likewise.
29552 * elf/tst-tls5.c: Likewise.
29553 * elf/tst-tls6.c: Likewise.
29554 * elf/tst-tls7.c: Likewise.
29555 * elf/tst-tls8.c: Likewise.
29556 * elf/tst-tls9.c: Likewise.
29557 * elf/tst-tlsmod1.c: Likewise.
29558 * elf/tst-tlsmod13.c: Likewise.
29559 * elf/tst-tlsmod13a.c: Likewise.
29560 * elf/tst-tlsmod14a.c: Likewise.
29561 * elf/tst-tlsmod16a.c: Likewise.
29562 * elf/tst-tlsmod16b.c: Likewise.
29563 * elf/tst-tlsmod2.c: Likewise.
29564 * elf/tst-tlsmod3.c: Likewise.
29565 * elf/tst-tlsmod4.c: Likewise.
29566 * elf/tst-tlsmod5.c: Likewise.
29567 * elf/tst-tlsmod6.c: Likewise.
29568
0bfcf2c7
OB
295692013-10-18 Ondřej Bílka <neleai@seznam.cz>
29570
29571 [BZ #12486]
29572 * malloc/malloc.c: remove checks for statistics.
29573
264aad1e
OB
295742013-10-17 Ondřej Bílka <neleai@seznam.cz>
29575
29576 [BZ #15277]
29577 * inet/inet_net.c (inet_network): Detect additional invalid strings.
29578 * inet/tst-network.c: Add testcase.
29579
b957ced8
AS
295802013-10-17 Andreas Schwab <schwab@suse.de>
29581
29582 [BZ #15218]
29583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29584 to determine canonical name.
29585
c5d5d574
OB
295862013-10-17 Ondřej Bílka <neleai@seznam.cz>
29587
29588 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29589 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29611 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29612 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29615 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29616 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29617 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29620 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29621 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29622 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29623 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29629 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29636 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29637 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29638 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29639 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29640 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29641 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29646
e5c2c2d0
JM
296472013-10-17 Joseph Myers <joseph@codesourcery.com>
29648
29649 [BZ #16041]
29650 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29651 make result into a quiet NaN.
29652
51ca9e29
JM
296532013-10-16 Joseph Myers <joseph@codesourcery.com>
29654
29655 * soft-fp/adddf3.c: Fix horizontal whitespace.
29656 * soft-fp/addsf3.c: Likewise.
29657 * soft-fp/addtf3.c: Likewise.
29658 * soft-fp/divdf3.c: Likewise.
29659 * soft-fp/divsf3.c: Likewise.
29660 * soft-fp/divtf3.c: Likewise.
29661 * soft-fp/double.h: Likewise.
29662 * soft-fp/eqdf2.c: Likewise.
29663 * soft-fp/eqsf2.c: Likewise.
29664 * soft-fp/eqtf2.c: Likewise.
29665 * soft-fp/extenddftf2.c: Likewise.
29666 * soft-fp/extended.h: Likewise.
29667 * soft-fp/extendsfdf2.c: Likewise.
29668 * soft-fp/extendsftf2.c: Likewise.
29669 * soft-fp/extendxftf2.c: Likewise.
29670 * soft-fp/fixdfdi.c: Likewise.
29671 * soft-fp/fixdfsi.c: Likewise.
29672 * soft-fp/fixdfti.c: Likewise.
29673 * soft-fp/fixsfdi.c: Likewise.
29674 * soft-fp/fixsfsi.c: Likewise.
29675 * soft-fp/fixsfti.c: Likewise.
29676 * soft-fp/fixtfdi.c: Likewise.
29677 * soft-fp/fixtfsi.c: Likewise.
29678 * soft-fp/fixtfti.c: Likewise.
29679 * soft-fp/fixunsdfdi.c: Likewise.
29680 * soft-fp/fixunsdfsi.c: Likewise.
29681 * soft-fp/fixunsdfti.c: Likewise.
29682 * soft-fp/fixunssfdi.c: Likewise.
29683 * soft-fp/fixunssfsi.c: Likewise.
29684 * soft-fp/fixunssfti.c: Likewise.
29685 * soft-fp/fixunstfdi.c: Likewise.
29686 * soft-fp/fixunstfsi.c: Likewise.
29687 * soft-fp/fixunstfti.c: Likewise.
29688 * soft-fp/floatdidf.c: Likewise.
29689 * soft-fp/floatdisf.c: Likewise.
29690 * soft-fp/floatditf.c: Likewise.
29691 * soft-fp/floatsidf.c: Likewise.
29692 * soft-fp/floatsisf.c: Likewise.
29693 * soft-fp/floatsitf.c: Likewise.
29694 * soft-fp/floattidf.c: Likewise.
29695 * soft-fp/floattisf.c: Likewise.
29696 * soft-fp/floattitf.c: Likewise.
29697 * soft-fp/floatundidf.c: Likewise.
29698 * soft-fp/floatundisf.c: Likewise.
29699 * soft-fp/floatunditf.c: Likewise.
29700 * soft-fp/floatunsidf.c: Likewise.
29701 * soft-fp/floatunsisf.c: Likewise.
29702 * soft-fp/floatunsitf.c: Likewise.
29703 * soft-fp/floatuntidf.c: Likewise.
29704 * soft-fp/floatuntisf.c: Likewise.
29705 * soft-fp/floatuntitf.c: Likewise.
29706 * soft-fp/fmadf4.c: Likewise.
29707 * soft-fp/fmasf4.c: Likewise.
29708 * soft-fp/fmatf4.c: Likewise.
29709 * soft-fp/gedf2.c: Likewise.
29710 * soft-fp/gesf2.c: Likewise.
29711 * soft-fp/getf2.c: Likewise.
29712 * soft-fp/ledf2.c: Likewise.
29713 * soft-fp/lesf2.c: Likewise.
29714 * soft-fp/letf2.c: Likewise.
29715 * soft-fp/muldf3.c: Likewise.
29716 * soft-fp/mulsf3.c: Likewise.
29717 * soft-fp/multf3.c: Likewise.
29718 * soft-fp/negdf2.c: Likewise.
29719 * soft-fp/negsf2.c: Likewise.
29720 * soft-fp/negtf2.c: Likewise.
29721 * soft-fp/op-1.h: Likewise.
29722 * soft-fp/op-2.h: Likewise.
29723 * soft-fp/op-4.h: Likewise.
29724 * soft-fp/op-8.h: Likewise.
29725 * soft-fp/op-common.h: Likewise.
29726 * soft-fp/quad.h: Likewise.
29727 * soft-fp/single.h: Likewise.
29728 * soft-fp/soft-fp.h: Likewise.
29729 * soft-fp/sqrtdf2.c: Likewise.
29730 * soft-fp/sqrtsf2.c: Likewise.
29731 * soft-fp/sqrttf2.c: Likewise.
29732 * soft-fp/subdf3.c: Likewise.
29733 * soft-fp/subsf3.c: Likewise.
29734 * soft-fp/subtf3.c: Likewise.
29735 * soft-fp/truncdfsf2.c: Likewise.
29736 * soft-fp/trunctfdf2.c: Likewise.
29737 * soft-fp/trunctfsf2.c: Likewise.
29738 * soft-fp/trunctfxf2.c: Likewise.
29739 * soft-fp/unorddf2.c: Likewise.
29740 * soft-fp/unordsf2.c: Likewise.
29741 * soft-fp/unordtf2.c: Likewise.
29742
9ebb0332
JM
297432013-10-15 Joseph Myers <joseph@codesourcery.com>
29744
29745 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29746 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29747
4b1a6d8b
OB
297482013-10-15 Ondřej Bílka <neleai@seznam.cz>
29749
29750 * elf/dl-libc.c: Clear initfini list after freeing.
29751
1e145589
JM
297522013-10-14 Joseph Myers <joseph@codesourcery.com>
29753
29754 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29755 * soft-fp/addsf3.c: Likewise.
29756 * soft-fp/addtf3.c: Likewise.
29757 * soft-fp/divdf3.c: Likewise.
29758 * soft-fp/divsf3.c: Likewise.
29759 * soft-fp/divtf3.c: Likewise.
29760 * soft-fp/double.h: Likewise.
29761 * soft-fp/eqdf2.c: Likewise.
29762 * soft-fp/eqsf2.c: Likewise.
29763 * soft-fp/eqtf2.c: Likewise.
29764 * soft-fp/extenddftf2.c: Likewise.
29765 * soft-fp/extended.h: Likewise.
29766 * soft-fp/extendsfdf2.c: Likewise.
29767 * soft-fp/extendsftf2.c: Likewise.
29768 * soft-fp/extendxftf2.c: Likewise.
29769 * soft-fp/fixdfdi.c: Likewise.
29770 * soft-fp/fixdfsi.c: Likewise.
29771 * soft-fp/fixdfti.c: Likewise.
29772 * soft-fp/fixsfdi.c: Likewise.
29773 * soft-fp/fixsfsi.c: Likewise.
29774 * soft-fp/fixsfti.c: Likewise.
29775 * soft-fp/fixtfdi.c: Likewise.
29776 * soft-fp/fixtfsi.c: Likewise.
29777 * soft-fp/fixtfti.c: Likewise.
29778 * soft-fp/fixunsdfdi.c: Likewise.
29779 * soft-fp/fixunsdfsi.c: Likewise.
29780 * soft-fp/fixunsdfti.c: Likewise.
29781 * soft-fp/fixunssfdi.c: Likewise.
29782 * soft-fp/fixunssfsi.c: Likewise.
29783 * soft-fp/fixunssfti.c: Likewise.
29784 * soft-fp/fixunstfdi.c: Likewise.
29785 * soft-fp/fixunstfsi.c: Likewise.
29786 * soft-fp/fixunstfti.c: Likewise.
29787 * soft-fp/floatdidf.c: Likewise.
29788 * soft-fp/floatdisf.c: Likewise.
29789 * soft-fp/floatditf.c: Likewise.
29790 * soft-fp/floatsidf.c: Likewise.
29791 * soft-fp/floatsisf.c: Likewise.
29792 * soft-fp/floatsitf.c: Likewise.
29793 * soft-fp/floattidf.c: Likewise.
29794 * soft-fp/floattisf.c: Likewise.
29795 * soft-fp/floattitf.c: Likewise.
29796 * soft-fp/floatundidf.c: Likewise.
29797 * soft-fp/floatundisf.c: Likewise.
29798 * soft-fp/floatunsidf.c: Likewise.
29799 * soft-fp/floatunsisf.c: Likewise.
29800 * soft-fp/floatuntidf.c: Likewise.
29801 * soft-fp/floatuntisf.c: Likewise.
29802 * soft-fp/floatuntitf.c: Likewise.
29803 * soft-fp/fmadf4.c: Likewise.
29804 * soft-fp/fmasf4.c: Likewise.
29805 * soft-fp/fmatf4.c: Likewise.
29806 * soft-fp/gedf2.c: Likewise.
29807 * soft-fp/gesf2.c: Likewise.
29808 * soft-fp/getf2.c: Likewise.
29809 * soft-fp/ledf2.c: Likewise.
29810 * soft-fp/lesf2.c: Likewise.
29811 * soft-fp/letf2.c: Likewise.
29812 * soft-fp/muldf3.c: Likewise.
29813 * soft-fp/mulsf3.c: Likewise.
29814 * soft-fp/multf3.c: Likewise.
29815 * soft-fp/negdf2.c: Likewise.
29816 * soft-fp/negsf2.c: Likewise.
29817 * soft-fp/negtf2.c: Likewise.
29818 * soft-fp/op-1.h: Likewise.
29819 * soft-fp/op-2.h: Likewise.
29820 * soft-fp/op-4.h: Likewise.
29821 * soft-fp/op-8.h: Likewise.
29822 * soft-fp/op-common.h: Likewise.
29823 * soft-fp/quad.h: Likewise.
29824 * soft-fp/single.h: Likewise.
29825 * soft-fp/soft-fp.h: Likewise.
29826 * soft-fp/sqrtdf2.c: Likewise.
29827 * soft-fp/sqrtsf2.c: Likewise.
29828 * soft-fp/sqrttf2.c: Likewise.
29829 * soft-fp/subdf3.c: Likewise.
29830 * soft-fp/subsf3.c: Likewise.
29831 * soft-fp/subtf3.c: Likewise.
29832 * soft-fp/truncdfsf2.c: Likewise.
29833 * soft-fp/trunctfdf2.c: Likewise.
29834 * soft-fp/trunctfsf2.c: Likewise.
29835 * soft-fp/trunctfxf2.c: Likewise.
29836 * soft-fp/unorddf2.c: Likewise.
29837 * soft-fp/unordsf2.c: Likewise.
29838 * soft-fp/unordtf2.c: Likewise.
29839
17c48a60
OB
298402013-10-14 Ondřej Bílka <neleai@seznam.cz>
29841
29842 [BZ #15672]
29843 * misc/error.c (error_tail): Fix possible buffer overflow.
29844
cabba934
OB
298452013-10-14 Aurelien Jarno <aurelien@aurel32.net>
29846
29847 [BZ #13028]
29848 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29849 address.
29850
94bf958a
PM
298512013-10-14 P. J. McDermott <pj@pehjota.net>
29852
29853 [BZ #832]
29854 * elf/ldd.bash.in (try_trace): New function. Delete previous code
29855 testing pipefail option.
29856
71b4dea7
JM
298572013-10-12 Joseph Myers <joseph@codesourcery.com>
29858
29859 * soft-fp/double.h: Indent preprocessor directives inside #if.
29860 * soft-fp/extended.h: Likewise.
29861 * soft-fp/op-2.h: Likewise.
29862 * soft-fp/op-4.h: Likewise.
29863 * soft-fp/op-common.h: Likewise.
29864 * soft-fp/quad.h: Likewise.
29865 * soft-fp/single.h: Likewise.
29866 * soft-fp/soft-fp.h: Likewise.
29867
55602758
YC
298682013-10-12 Yuri Chornoivan <yurchor@ukr.net>
29869
29870 * iconv/iconv_prog.c: Fix typos.
29871 * stdio-common/psiginfo-data.h: Likewise.
29872
9cd83302
RT
298732013-10-12 Reuben Thomas <rrt@sc3d.org>
29874
29875 [BZ #15764]
29876 * locale/setlocale.c: Fix typo.
29877
99fd9f47
JM
298782013-10-12 Joseph Myers <joseph@codesourcery.com>
29879
b7ea74f0
JM
29880 [BZ #16036]
29881 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29882 signaling NaN arguments.
29883 * soft-fp/unordsf2.c (__unordsf2): Likewise.
29884 * soft-fp/unordtf2.c (__unordtf2): Likewise.
29885
8a509447
JM
29886 [BZ #14910]
29887 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29888 unordered operands.
29889 * soft-fp/gesf2.c (__gesf2): Likewise.
29890 * soft-fp/getf2.c (__getf2): Likewise.
29891 * soft-fp/ledf2.c (__ledf2): Likewise.
29892 * soft-fp/lesf2.c (__lesf2): Likewise.
29893 * soft-fp/letf2.c (__letf2): Likewise.
29894
98998e9f
JM
29895 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29896 * soft-fp/eqsf2.c (__eqsf2): Likewise.
29897 * soft-fp/eqtf2.c (__eqtf2): Likewise.
29898 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29899 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29900 * soft-fp/fixdfti.c (__fixdfti): Likewise.
29901 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29902 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29903 * soft-fp/fixsfti.c (__fixsfti): Likewise.
29904 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29905 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29906 * soft-fp/fixtfti.c (__fixtfti): Likewise.
29907 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29908 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29909 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29910 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29911 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29912 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29913 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29914 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29915 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29916 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29917 * soft-fp/floatdisf.c (__floatdisf): Likewise.
29918 * soft-fp/floatsisf.c (__floatsisf): Likewise.
29919 * soft-fp/floattidf.c (__floattidf): Likewise.
29920 * soft-fp/floattisf.c (__floattisf): Likewise.
29921 * soft-fp/floattitf.c (__floattitf): Likewise.
29922 * soft-fp/floatundidf.c (__floatundidf): Likewise.
29923 * soft-fp/floatundisf.c (__floatundisf): Likewise.
29924 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29925 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29926 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29927 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29928 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29929 * soft-fp/gesf2.c (__gesf2): Likewise.
29930 * soft-fp/getf2.c (__getf2): Likewise.
29931 * soft-fp/ledf2.c (__ledf2): Likewise.
29932 * soft-fp/lesf2.c (__lesf2): Likewise.
29933 * soft-fp/letf2.c (__letf2): Likewise.
29934
8edc4a11
JM
29935 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29936 Undefine and redefine.
29937 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29938 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29939 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29940 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29941 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29942 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29943 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29944 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29945 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29946 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29947 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29948 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29949 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29950 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29951 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29952
8399acaf
JM
29953 [BZ #16032]
29954 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29955 without decrementing exponent if mantissa >= that for the
29956 denominator, not >.
29957 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29958 denominator, not >. Decrement exponent in < case instead of
29959 incrementing in >= case.
29960 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29961 without decrementing exponent if mantissa >= that for the
29962 denominator, not >.
29963
99fd9f47
JM
29964 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29965 computing saturated result for unsigned overflow.
29966
10e1cf6b
SP
299672013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29968 Jeff Law <law@redhat.com>
29969
29970 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29971 (atan2Mp): Add systemtap probe marker.
29972 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29973 (__ieee754_log): Add systemtap probe marker.
29974 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29975 (atanMp): Add systemtap probe marker.
29976 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29977 (tanMp): Add systemtap probe marker.
29978 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29979 (__slowexp): Add systemtap probe marker.
29980 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29981 (__slowpow): Add systemtap probe marker.
29982 * manual/probes.texi: Document probes.
29983
3d110c7c
EB
299842013-10-11 Eric Biggers <ebiggers3@gmail.com>
29985
29986 [BZ #15362]
29987 * libio/fileops.c (_IO_new_file_write): Return count of bytes
29988 written.
29989 (_IO_new_file_xsputn): Don't return EOF if nothing has been
29990 written.
29991 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29992 written to buffer but not flushed.
29993 * libio/iofwrite_u.c: Likewise.
29994 * libio/iopadn.c: Return bytes returned even if EOF was
29995 encountered.
29996 * libio/iowpadn.c: Likewise.
29997 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29998 if _IO_padn does not write the whole buffer.
29999 [!COMPILE_WPRINTF] (PAD): Likewise.
30000
75b4202a
DM
300012013-10-10 David S. Miller <davem@davemloft.net>
30002
30003 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30004 directory block.
30005
6c6352e6
JM
300062013-10-10 Joseph Myers <joseph@codesourcery.com>
30007
33b853c3
JM
30008 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
30009 instead of FSF address.
30010 * soft-fp/fixdfti.c: Likewise.
30011 * soft-fp/fixsfti.c: Likewise.
30012 * soft-fp/fixtfti.c: Likewise.
30013 * soft-fp/fixunsdfti.c: Likewise.
30014 * soft-fp/fixunssfti.c: Likewise.
30015 * soft-fp/fixunstfti.c: Likewise.
30016 * soft-fp/floattidf.c: Likewise.
30017 * soft-fp/floattisf.c: Likewise.
30018 * soft-fp/floattitf.c: Likewise.
30019 * soft-fp/floatuntidf.c: Likewise.
30020 * soft-fp/floatuntisf.c: Likewise.
30021 * soft-fp/floatuntitf.c: Likewise.
30022 * soft-fp/trunctfxf2.c: Likewise.
30023
6c6352e6
JM
30024 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
30025 * soft-fp/fixdfti.c: Likewise.
30026 * soft-fp/fixsfti.c: Likewise.
30027 * soft-fp/fixtfti.c: Likewise.
30028 * soft-fp/fixunsdfti.c: Likewise.
30029 * soft-fp/fixunssfti.c: Likewise.
30030 * soft-fp/fixunstfti.c: Likewise.
30031 * soft-fp/floattidf.c: Likewise.
30032 * soft-fp/floattisf.c: Likewise.
30033 * soft-fp/floattitf.c: Likewise.
30034 * soft-fp/floatuntidf.c: Likewise.
30035 * soft-fp/floatuntisf.c: Likewise.
30036 * soft-fp/floatuntitf.c: Likewise.
30037 * soft-fp/trunctfxf2.c: Likewise.
30038
3bf78b71
DM
300392013-10-10 David S. Miller <davem@davemloft.net>
30040
30041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30042
6f10289e
JM
300432013-10-10 Joseph Myers <joseph@codsourcery.com>
30044
bd878fc0
JM
30045 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30046 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30047 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30048 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30049 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30050 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30051 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30052
6f10289e
JM
30053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30054 for NaNs before doing comparisons on argument.
30055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30056 Likewise.
30057
321e2684
WN
300582013-10-10 Will Newton <will.newton@linaro.org>
30059
30060 * malloc/hooks.c (memalign_check): Ensure the value of bytes
30061 passed to _int_memalign does not overflow.
30062
40fefba1
TR
300632013-10-10 Torvald Riegel <triegel@redhat.com>
30064
30065 * scripts/bench.pl: Add include-sources directive.
30066 * benchtests/README: Update documentation.
30067
2ae21ed2
JM
300682013-10-10 Joseph Myers <joseph@codesourcery.com>
30069
dcc2dd3f
JM
30070 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30071 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30072 instead of FP_INIT_ROUNDMODE.
30073 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30074 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30075
2ae21ed2
JM
30076 [BZ #16034]
30077 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
30078 copy class of input value.
30079 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
30080 not handle exceptions.
30081 * soft-fp/negsf2.c (__negsf2): Likewise.
30082 * soft-fp/negtf2.c (__negtf2): Likewise.
30083 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30084
cb8f9562
JM
300852013-10-09 Joseph Myers <joseph@codesourcery.com>
30086
30087 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30088 semicolon. From Linux kernel.
30089
5b60c59d
AB
300902013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
30091
30092 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30093
b86835ca
YC
300942013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
30095
30096 [BZ #156]
30097 * manual/socket.texi: Added statement about buffer
30098 for gethostbyname2_r.
30099
e7044ea7
OB
301002013-10-08 Ondřej Bílka <neleai@seznam.cz>
30101
30102 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30103 Use .p2align directive instead, throughout.
30104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30105 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30106 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30109 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30110 * sysdeps/x86_64/strchr.S: Likewise.
30111 * sysdeps/x86_64/strrchr.S: Likewise.
30112
09544cbc
SP
301132013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30114
88576635
SP
30115 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30116
e7b2d1dd
SP
30117 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30118
09544cbc
SP
30119 * sysdeps/generic/math_private.h (__mpsin1): Remove
30120 declaration.
30121 (__mpcos1): Likewise.
30122 (__mpsin): New argument __range_reduce.
30123 (__mpcos): Likewise.
30124 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30125 (slow): Use __mpsin and __mpcos.
30126 (slow1): Likewise.
30127 (slow2): Likewise.
30128 (sloww): Likewise.
30129 (sloww1): Likewise.
30130 (sloww2): Likewise.
30131 (bsloww): Likewise.
30132 (bsloww1): Likewise.
30133 (bsloww2): Likewise.
30134 (cslow2): Likewise.
30135 (csloww): Likewise.
30136 (csloww1): Likewise.
30137 (csloww2): Likewise.
30138 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30139 range_reduce. Merge in __mpsin1.
30140 (__mpcos): Likewise.
30141 (__mpsin1): Remove.
30142 (__mpcos1): Likewise.
30143
7602d070
JM
301442013-10-07 Joseph Myers <joseph@codesourcery.com>
30145
30146 * locale/loadlocale.c (_nl_intern_locale_data): Use
30147 LOCFILE_ALIGNED_P.
30148 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30149 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30150 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30151 obstack data is appropriately aligned.
30152 (obstack_int32_grow_fast): Likewise.
30153 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30154 * locale/programs/locfile.c (add_locale_uint32): Likewise.
30155 (add_locale_uint32_array): Likewise.
30156
a357259b
SP
301572013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30158
30159 * benchtests/Makefile: Remove ARGLIST and RET variables.
30160 ($(objpfx)bench-%.c): Pass only function name to the script.
30161 * benchtests/README: Update documentation.
30162 * benchtests/acos-inputs: Add new directives.
30163 * benchtests/acosh-inputs: Likewise.
30164 * benchtests/asin-inputs: Likewise.
30165 * benchtests/asinh-inputs: Likewise.
30166 * benchtests/atan-inputs: Likewise.
30167 * benchtests/atanh-inputs: Likewise.
30168 * benchtests/cos-inputs: Likewise.
30169 * benchtests/cosh-inputs: Likewise.
30170 * benchtests/exp-inputs: Likewise.
30171 * benchtests/log-inputs: Likewise.
30172 * benchtests/pow-inputs: Likewise.
30173 * benchtests/rint-inputs: Likewise.
30174 * benchtests/sin-inputs: Likewise.
30175 * benchtests/sinh-inputs: Likewise.
30176 * benchtests/tan-inputs: Likewise.
30177 * benchtests/tanh-inputs: Likewise.
30178 * scripts/bench.pl: Add support for new directives.
30179
9ec1b13d
AM
301802013-10-07 Alan Modra <amodra@gmail.com>
30181
30182 * README: Fix careless merge.
30183
8b7d57cd
AM
301842013-10-05 Alan Modra <amodra@gmail.com>
30185
30186 * NEWS: Mention powerpc64le support and bugs fixed.
30187 * README: Both big-endian and little-endian powerpc64 supported.
30188
7b7bab13
ST
301892013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30190
57f41c40
AS
30191 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30192 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
30193 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30194 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30195
d39baad1
RA
301962013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
30197
30198 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30199 match prototype.
30200
cd78f7e7
JM
302012013-10-04 Joseph Myers <joseph@codesourcery.com>
30202
29d73d86
JM
30203 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30204 Move -mhard-float appending from
30205 ports/sysdeps/powerpc/powerpc32/Makefile.
30206 [$(with-fp) = yes] (ASFLAGS): Likewise.
30207 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30208 * sysdeps/powerpc/nofpu: Move directory from
30209 ports/sysdeps/powerpc/nofpu.
30210 * sysdeps/powerpc/soft-fp: Move directory from
30211 ports/sysdeps/powerpc/soft-fp.
30212 * sysdeps/powerpc/powerpc32/405: Move directory from
30213 ports/sysdeps/powerpc/powerpc32/405.
30214 * sysdeps/powerpc/powerpc32/440: Move directory from
30215 ports/sysdeps/powerpc/powerpc32/440.
30216 * sysdeps/powerpc/powerpc32/464: Move directory from
30217 ports/sysdeps/powerpc/powerpc32/464.
30218 * sysdeps/powerpc/powerpc32/476: Move directory from
30219 ports/sysdeps/powerpc/powerpc32/476.
30220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30221 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30223 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30225 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30227 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30229 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30230 * README: Update for powerpc-*-linux-gnu software floating point
30231 support in libc.
30232
e246b347
JM
30233 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30234 case to powerpc/powerpc32*.
30235 * sysdeps/unix/sysv/linux/configure: Regenerated.
30236
89c2003e
JM
30237 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30238 (_FPU_MASK_OM): Define as 0x04.
30239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30241 0x00c10080.
30242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30243 0x0000003c.
30244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30245
cd78f7e7
JM
30246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30247 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30248 getcontext_e500.
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30251 setcontext_e500.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30254 and setcontext_e500.
30255
c755294d
CL
302562013-10-04 Chris Leonard <cjl@sugarlabs,.org>
30257
30258 * locale/iso-3166.def: Update iso-1366.def and related occurrences
30259
e16d221c
SP
302602013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30261
30262 * manual/threads.texi (Default Thread Attributes): Fix typo.
30263
215c7d43
WN
302642013-10-04 Will Newton <will.newton@linaro.org>
30265
30266 * malloc/Makefile: Add tst-memalign.
30267 * malloc/tst-memalign.c: New file.
30268
27d0461b
WN
30269 * malloc/tst-posix_memalign.c: Add comments.
30270 (do_test): Add comments and call free on all potentially
30271 allocated pointers. Add space after cast.
30272
1bc92709
WN
30273 * malloc/tst-pvalloc.c: Add comments.
30274 (do_test): Add comments and call free on all potentially
30275 allocated pointers. Remove duplicate check for NULL pointer.
30276 Add space after cast.
30277
66a9be9d
WN
30278 * malloc/tst-valloc.c: Add comments.
30279 (do_test): Add comments and call free on all potentially
30280 allocated pointers. Remove duplicate check for NULL pointer.
30281 Add space after cast.
30282
4cb81307
AM
302832013-10-04 Alan Modra <amodra@gmail.com>
30284
30285 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30286 Use stdint types in rather than __attribute__((mode())).
30287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30288
f8e3e9f3
AM
302892013-10-04 Alan Modra <amodra@gmail.com>
30290
30291 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30292 Correct handling of unaligned relocs for little-endian.
30293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30294
8f9ebb08
AM
302952013-10-04 Alan Modra <amodra@gmail.com>
30296
30297 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30298 * configure: Regenerate.
30299 * nptl/shlib-versions: Powerpc*le starts at 2.18.
30300 * shlib-versions: Likewise.
30301
0edf96c2
AM
303022013-10-04 Alan Modra <amodra@gmail.com>
30303
30304 * string/tester.c (test_memrchr): Increment reported test cycle.
30305
e0f7a380
AM
303062013-10-04 Alan Modra <amodra@gmail.com>
30307
30308 * string/test-memcpy.c (do_one_test): When reporting errors, print
30309 string address and don't overrun end of string.
30310
466b0393
AM
303112013-10-04 Alan Modra <amodra@gmail.com>
30312
30313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30314 insrdi. Make better use of reg selection to speed exit slightly.
30315 Schedule entry path a little better. Remove useless "are we done"
30316 checks on entry to main loop. Handle wrapping around zero address.
30317 Correct main loop count. Handle single left-over word from main
30318 loop inline rather than by using loop_small. Remove extra word
30319 case in loop_small caused by wrong loop count. Add little-endian
30320 support.
30321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
30323 cache hint.
30324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30325 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30326 support. Avoid rlwimi.
30327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30328
3be87c77
AM
303292013-10-04 Alan Modra <amodra@gmail.com>
30330
30331 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 30332 insrdi. Formatting.
3be87c77
AM
30333 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30334 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30335 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30336 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30337 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30338 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30339
759cfef3
AM
303402013-10-04 Alan Modra <amodra@gmail.com>
30341
30342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30346 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30349 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30350 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
30351 use of regs. Use power7 mtocrf. Tidy function tails.
30352
fe6e95d7
AM
303532013-10-04 Alan Modra <amodra@gmail.com>
30354
30355 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30356 Formatting. Consistently use rXXX register defines or rN defines.
30357 Use early exit labels that avoid restoring unused non-volatile regs.
30358 Make cr field use more consistent with rWORDn compares. Rename
30359 regs used as shift registers for unaligned loop, using rN defines
30360 for short lifetime/multiple use regs.
30361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30362 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
30363 addi 1,1,64 to pop stack frame. Simplify return value code.
30364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30365
664318c3
AM
303662013-10-04 Alan Modra <amodra@gmail.com>
30367
30368 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30369 support. Correct typos, formatting. Optimize tail. Use insrdi
30370 rather than rlwimi.
30371 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30372 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30373 little-endian support. Correct typos.
30374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
30375 rather than rlwimi.
30376 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
30377 in loop and entry code to keep "and." results.
30378 (strchr): Add little-endian support. Comment. Move cntlzd
30379 earlier in tail.
30380 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30381
43b84013
AM
303822013-10-04 Alan Modra <amodra@gmail.com>
30383
30384 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30385 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30386 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30387 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30388
8a7413f9
AM
303892013-10-04 Alan Modra <amodra@gmail.com>
30390
30391 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30392 (rTMP): Define as r11.
30393 (strcmp): Add little-endian support. Optimise tail.
30394 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30395 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30396 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30398 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30401
33ee81de
AM
304022013-10-04 Alan Modra <amodra@gmail.com>
30403
30404 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30405 little-endian support. Remove unnecessary "are we done" tests.
30406 Handle "s" wrapping around zero and extremely large "size".
30407 Correct main loop count. Handle single left-over word from main
30408 loop inline rather than by using small_loop. Correct comments.
30409 Delete "zero" tail, use "end_max" instead.
30410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30411
db9b4570
AM
304122013-10-04 Alan Modra <amodra@gmail.com>
30413
30414 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30415 support. Don't branch over align.
30416 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30417 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30418 support. Rearrange tmp reg use to suit. Comment.
30419 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30420
f7c399cf
AM
304212013-10-04 Alan Modra <amodra@gmail.com>
30422
30423 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30424
0b2c2ace
AM
304252013-10-04 Alan Modra <amodra@gmail.com>
30426
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30428 conditional form of branch and link when obtaining pc.
30429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30430
02f04a6c
AM
304312013-10-04 Alan Modra <amodra@gmail.com>
30432
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30434 HIWORD/LOWORD.
30435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30437
9b874b2f
AM
304382013-10-04 Alan Modra <amodra@gmail.com>
30439
30440 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30441 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30442 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30443 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30444 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30446 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30448 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30449 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30450
be1e5d31
AB
304512013-10-04 Anton Blanchard <anton@au1.ibm.com>
30452 Alistair Popple <alistair@ozlabs.au.ibm.com>
30453 Alan Modra <amodra@gmail.com>
30454
30455 [BZ #15723]
30456 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30458 _dl_hwcap access for little-endian.
30459 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
30460 destroy vmx regs when saving unaligned.
30461 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
30463 destroy vmx regs when saving unaligned.
30464
fef13a78
AM
304652013-10-04 Alan Modra <amodra@gmail.com>
30466
30467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30468 Don't use a union to pack hi/low value.
30469
76a66d51
AB
304702013-10-04 Anton Blanchard <anton@au1.ibm.com>
30471
30472 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30473 for little-endian.
30474 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30476 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30477 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30478 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30479
6a31fe7f
AM
304802013-10-04 Alan Modra <amodra@gmail.com>
30481
30482 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30483 constants to usual value for .cst8 section, and remove redundant
30484 high address load.
30485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30486 constant for 0x1p52. Load little-endian words of double from
30487 correct stack offsets.
30488
7b88401f
AM
304892013-10-04 Alan Modra <amodra@gmail.com>
30490
30491 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30492 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30493 words of double from correct stack offsets.
30494 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30495 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30496 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30501 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30502 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30506 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30507 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30508 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30509 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30510 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30511
9c008155
AM
305122013-10-04 Alan Modra <amodra@gmail.com>
30513
30514 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30515 64-bit int/double union.
30516 (_FPU_SETCW): Likewise.
30517 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30518 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30519
da13146d
AM
305202013-10-04 Alan Modra <amodra@gmail.com>
30521
30522 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30523 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30524
603e8410
AM
305252013-10-04 Alan Modra <amodra@gmail.com>
30526
30527 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30528 use vector int constants.
30529 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30530
4a28b3ca
AB
305312013-10-04 Anton Blanchard <anton@au1.ibm.com>
30532
30533 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30534 array with long long.
30535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30536 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30537 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30538 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30539 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30540 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30541 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30542 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30543 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30544 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30545 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30546 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30548
2ca85d2b
AB
305492013-10-04 Anton Blanchard <anton@au1.ibm.com>
30550
30551 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30552 (__signbit): Likewise. Correct for little-endian.
30553 (__signbitl): Call __signbit.
30554 (lrint): Correct for little-endian.
30555 (lrintf): Call lrint.
30556
62a728ae
AM
305572013-10-04 Alan Modra <amodra@gmail.com>
30558
30559 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30560 union 32-bit int array member with 64-bit int array.
30561 (t515, tm256): Double rather than long double.
30562 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30563
32c301df
AM
305642013-10-04 Alan Modra <amodra@gmail.com>
30565
30566 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30567 Delete.
30568 (IEEE854_LONG_DOUBLE_BIAS): Delete.
30569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30570 version of math_ldbl.h.
30571
650ef4bd
AM
305722013-10-04 Alan Modra <amodra@gmail.com>
30573
30574 [BZ #15734], [BZ #15735]
30575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30576 all uses of ieee875 long double macros and unions. Simplify test
30577 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
30578 ldbl_extract_mantissa value for ix,iy exponents. Properly
30579 normalize after ldbl_extract_mantissa, and don't add hidden bit
30580 already handled. Don't treat low word of ieee854 mantissa like
30581 low word of IBM long double and mask off bit when testing for
30582 zero.
30583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30584 all uses of ieee875 long double macros and unions. Simplify tests
30585 for 0.0L and inf. Correct double adjustment of k. Delete dead code
30586 adjusting ha,hb. Simplify code setting kld. Delete two600 and
30587 two1022, instead use their values. Recognise that tests for large
30588 "a" and small "b" are mutually exclusive. Rename vars. Comment.
30589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30590 Rewrite all uses of ieee875 long double macros and unions. Simplify
30591 test for 0.0L and nan. Correct negation.
30592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30593 ieee875 long double macros and unions. Correct output for large
30594 magnitude x. Correct absolute value calculation.
30595 (__erfcl): Likewise.
30596 * math/libm-test.inc: Add tests for errors discovered in IBM long
30597 double versions of fmodl, remainderl, erfl and erfcl.
30598
765714ca
AM
305992013-10-04 Alan Modra <amodra@gmail.com>
30600
30601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30602 all uses of ieee854 long double macros and unions. Simplify tests
30603 for long doubles that are fully specified by the high double.
30604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30605 Likewise.
30606 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30607 Remove dead code too.
30608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30609 (__ieee754_ynl): Likewise.
30610 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30613 Remove dead code too.
30614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30615 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30617 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30618 Simplify.
30619 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30620 Simplify.
30621 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30624 Comment on variable precision.
30625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30627 Likewise.
30628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30631 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30632 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30633
4ebd120c
AM
306342013-10-04 Alan Modra <amodra@gmail.com>
30635
30636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30638 all uses of ieee854 long double macros and unions.
30639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30643 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30645 Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30648 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30652 Simplify sign and nan test too.
30653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30657 Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30660 Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30667
1b6adf88
AM
306682013-10-04 Alan Modra <amodra@gmail.com>
30669
30670 * stdio-common/printf_size.c (__printf_size): Don't use
30671 union ieee854_long_double in fpnum union.
30672 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
30673 signbit macro to retrieve sign from long double.
30674 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30675 retrieve sign from long double.
30676 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30677 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30679 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30680 * math/test-misc.c (main): Don't use union ieee854_long_double.
30681
4cf69995
AM
306822013-10-04 Alan Modra <amodra@gmail.com>
30683
30684 [BZ #15680]
30685 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30686 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30687 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30688 calculation. Remove unnecessary test for denormal exponent.
30689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30690 Correct handling of denormals. Avoid undefined shift behaviour.
30691 Correct normalisation of low mantissa when low double is denormal.
30692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30693 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
30694 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30695 Correct normalisation of low mantissa. Test for overflow of high
30696 mantissa and normalise.
30697 (ldbl_nearbyint): Use more readable constant for two52.
30698 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30699 (__mpn_construct_long_double): Fix test for overflow of high
30700 mantissa and correct normalisation. Avoid undefined shift.
30701
9605ca6c
AM
307022013-10-04 Alan Modra <amodra@gmail.com>
30703
30704 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30705 (union ibm_extended_long_double): Define as an array of ieee754_double.
30706 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30708 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30709 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30717
975569d0
JM
307182013-10-03 Joseph Myers <joseph@codesourcery.com>
30719
d3d23756
JM
30720 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30721 page size instead of calling getpagesize.
30722
975569d0
JM
30723 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30724 (LOCFILE_ALIGN_MASK): Likewise.
30725 (LOCFILE_ALIGN_UP): Likewise.
30726 (LOCFILE_ALIGNED_P): Likewise.
30727 * locale/programs/ld-collate.c (collate_output): Use the new
30728 macros instead of __alignof__ (int32_t).
30729 * locale/weight.h (findidx): Likewise.
30730
b1fe1f2b
OB
307312013-10-03 Ondřej Bílka <neleai@seznam.cz>
30732
30733 [BZ #431]
30734 * manual/string.texi: Fix strncat and wcsncat.
30735
5f855e35
BM
307362013-10-03 Brooks Moses <bmoses@google.com>
30737
30738 [BZ #15915]
30739 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30740 * Makerules: ...here, and adjust associated comments.
30741
3cef6009
WN
307422013-10-02 Will Newton <will.newton@linaro.org>
30743
30744 * malloc/Makefile: Add tst-pvalloc.
30745 * malloc/tst-pvalloc.c: New file.
30746
7815420b
WN
307472013-10-02 Will Newton <will.newton@linaro.org>
30748
30749 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30750 improve test coverage.
30751
4868b204
WN
307522013-10-02 Will Newton <will.newton@linaro.org>
30753
30754 * malloc/Makefile: Add tst-posix_memalign.
30755 * malloc/tst-posix_memalign.c: New file.
30756
29c793b3
EB
307572013-10-01 Eric Blake <eblake@redhat.com>
30758
30759 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30760 Use __THROWNL rather than __THROW on static functions.
30761
fd967522
PM
307622013-09-30 Petr Machata <pmachata@redhat.com>
30763
30764 * elf/elf.h (R_AARCH64_ABS16): New macro.
30765 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30766 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30767 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30768 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30769 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30770 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30771 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30772 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30773 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30774 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30775 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30776 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30777 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30778 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30779 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30780 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30781 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30782 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30783 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30784 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30785 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30786 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30787 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30788 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30789 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30790 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30791 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30792 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30793 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30794 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30795 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30796 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30797 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30798 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30799 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30800 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30801 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30802 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30803 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30804 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30805 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30806 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30807 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30808 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30809 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30810 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30811 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30812 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30813 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30814 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30815 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30816 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30817 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30818 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30819 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30820 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30821 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30822 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30823 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30824 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30825 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30826 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30827 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30828 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30829 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30830 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30831 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30832 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30833 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30834 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30835 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30836 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30837 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30838 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30839 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30840 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30841 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30842 (R_AARCH64_TLSDESC_LDR): Likewise.
30843 (R_AARCH64_TLSDESC_ADD): Likewise.
30844 (R_AARCH64_TLSDESC_CALL): Likewise.
30845
b2179107
AS
308462013-09-30 Andreas Schwab <schwab@suse.de>
30847
30848 [BZ #15048]
30849 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30850 the nss database lookup.
30851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30853
47f28d0a
MF
308542013-09-28 Mike Frysinger <vapier@gentoo.org>
30855
30856 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30857
308582013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
30859
30860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30861 ${Bash-specific parameter/pattern/string} parameter expansion.
30862 * sysdeps/unix/make-syscalls.sh: Likewise.
30863
f4518a17
KK
308642013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30865
30866 * sysdeps/sh/stackguard-macros.h: New file.
30867
dc1a95c7
OB
308682013-09-26 Ondřej Bílka <neleai@seznam.cz>
30869
30870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30872 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30873 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30875 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30876
5ebbff8f
AZ
308772013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30878
30879 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30880 Fix thread ID register.
30881
4fd2cf9f
JM
308822013-09-25 Joseph Myers <joseph@codesourcery.com>
30883
30884 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30885 [POSIX || UNIX98]: Require rather than permitting all symbols from
30886 <time.h>.
30887 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30888 element of struct sched_param.
30889 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30890 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30891 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30892 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30893 constant.
30894
12c22bc4
OL
308952013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
30896
30897 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30898 argument calculation.
30899
a03d8ea7
JM
309002013-09-24 Joseph Myers <joseph@codesourcery.com>
30901
30902 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30903 Expect macro.
30904 [POSIX] (pthread_attr_t): Do not require type.
30905 [POSIX] (pthread_cond_t): Likewise.
30906 [POSIX] (pthread_condattr_t): Likewise.
30907 [POSIX] (pthread_key_t): Likewise.
30908 [POSIX] (pthread_mutex_t): Likewise.
30909 [POSIX] (pthread_mutexattr_t): Likewise.
30910 [POSIX] (pthread_once_t): Likewise.
30911 [POSIX] (pthread_t): Likewise.
30912 [POSIX-based standards] (pthread_atfork): Expect function.
30913
6055173a
JM
309142013-09-24 Joseph Myers <joseph@codesourcery.com>
30915 Richard Sandiford <richard@codesourcery.com>
30916
30917 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30918 (swap_endianness_p): New extern variable.
30919 (set_big_endian): New inline function.
30920 (maybe_swap_uint32): Likewise.
30921 (maybe_swap_uint32_array): Likewise.
30922 (maybe_swap_uint32_obstack): Likewise.
30923 * locale/programs/locfile.c: Include <stdbool.h>.
30924 (swap_endianness_p): New variable.
30925 (add_locale_uint32): Call maybe_swap_uint32.
30926 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30927 (write_locale_data): Call maybe_swap_uint32_array.
30928 * locale/programs/ld-collate.c (obstack_int32_grow): Call
30929 maybe_swap_uint32.
30930 (obstack_int32_grow_fast): Likewise.
30931 (output_weightwc): Call maybe_swap_uint32_obstack.
30932 (collate_output): Likewise.
30933 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30934 (OPT_LITTLE_ENDIAN): Likewise.
30935 (options): Add --little-endian and --big-endian options.
30936 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30937 * locale/programs/locarchive.c: Include "locfile.h".
30938 (GET): New macro.
30939 (SET): Likewise.
30940 (INC): Likewise.
30941 (create_archive): Use the new macros to access fields of
30942 structures directly mapped from or written to locale archives.
30943 (oldlocrecentcmp): Likewise.
30944 (enlarge_archive): Likewise.
30945 (insert_name): Likewise.
30946 (add_alias): Likewise.
30947 (add_locale): Likewise.
30948 (delete_locales_from_archive): Likewise.
30949 (show_archive_content): Likewise.
30950 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
30951 locale data.
30952
39bf0bb4
RM
309532013-09-24 Roland McGrath <roland@hack.frob.com>
30954
30955 * manual/freemanuals.texi: Updated from (newly) canonical copy at
30956 http://www.gnu.org/doc/freemanuals.texi.
30957 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30958
f02eed10
WN
309592013-09-24 Will Newton <will.newton@linaro.org>
30960
30961 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30962 macro.
30963
a3a6c312
JM
309642013-09-23 Joseph Myers <joseph@codesourcery.com>
30965
30966 * locale/hashval.h (compute_hashval): Interpret bytes of key as
30967 unsigned char.
30968
107375ac
MR
309692013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
30970
30971 * manual/threads.texi (POSIX Threads): Fix a typo.
30972
141f3a77
SP
309732013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30974
303e567a
SP
30975 [BZ #14547]
30976 * string/tst-strcoll-overflow.c: New test case.
30977 * string/Makefile (xtests): Add tst-strcoll-overflow.
30978 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30979 cache if string sizes may cause integer overflow.
30980
141f3a77
SP
30981 [BZ #14547]
30982 * string/strcoll_l.c (coll_seq): New members rule, idx,
30983 save_idx and back_us.
30984 (get_next_seq_nocache): New function.
30985 (do_compare_nocache): New function.
30986 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30987 when malloc fails.
30988
c61b4d41
CD
309892013-09-23 Carlos O'Donell <carlos@redhat.com>
30990
0b1f8e35
CD
30991 [BZ #15754]
30992 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30993 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30994 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30995
c61b4d41
CD
30996 [BZ #15754]
30997 * elf/Makefile (tests): Add tst-ptrguard1.
30998 (tests-static): Add tst-ptrguard1-static.
30999 (tst-ptrguard1-ARGS): Define.
31000 (tst-ptrguard1-static-ARGS): Define.
31001 * elf/tst-ptrguard1.c: New file.
31002 * elf/tst-ptrguard1-static.c: New file.
31003 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31004 * sysdeps/i386/stackguard-macros.h: Likewise.
31005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31011
310122013-09-23 Hector Marco <hecmargi@upv.es>
31013 Ismael Ripoll <iripoll@disca.upv.es>
31014 Carlos O'Donell <carlos@redhat.com>
31015
31016 [BZ #15754]
31017 * sysdeps/generic/stackguard-macros.h: Define
31018 __pointer_chk_guard_local and POINTER_CHK_GUARD.
31019 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31020 Define __pointer_chk_guard_local.
31021 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31022 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31023
f5f4e7b4
VV
310242013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
31025
31026 [BZ #15859]
31027 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31028
5bb43a43
AS
310292013-09-20 Andreas Schwab <schwab@linux-m68k.org>
31030
31031 * include/string.h (__ffs): Declare as hidden.
31032 * string/ffs.c (__ffs): Define as hidden.
31033 * sysdeps/i386/ffs.c (__ffs): Likewise.
31034 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31035 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31036 * sysdeps/s390/ffs.c (__ffs): Likewise.
31037 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31038
3ea5be54
AO
310392013-09-20 Alexandre Oliva <aoliva@redhat.com>
31040
ffb89e53
AO
31041 * NEWS: Mention malloc probes.
31042
322dea08
AO
31043 * malloc/arena.c (new_heap): New memory_heap_new probe.
31044 (grow_heap): New memory_heap_more probe.
31045 (shrink_heap): New memory_heap_less probe.
31046 (heap_trim): New memory_heap_free probe.
31047 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31048 (systrim): New memory_sbrk_less probe.
31049 * manual/probes.texi: Document them.
31050
655673f3
AO
31051 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31052 * manual/probes.texi: Document it.
31053
35fed6f1
AO
31054 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31055 (__libc_realloc): Add memory_realloc_retry probe.
31056 (__libc_memalign): Add memory_memalign_retry probe.
31057 (__libc_valloc): Add memory_valloc_retry probe.
31058 (__libc_pvalloc): Add memory_pvalloc_retry probe.
31059 (__libc_calloc): Add memory_calloc_retry probe.
31060 * manual/probes.texi: Document them.
31061
6999d38c
AO
31062 * malloc/arena.c (get_free_list): Add probe
31063 memory_arena_reuse_free_list.
31064 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31065 and memory_arena_reuse.
31066 (arena_get2) [!PER_THREAD]: Likewise.
31067 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31068 memory_arena_reuse_realloc.
31069 * manual/probes.texi: Document them.
31070
0653427f
AO
31071 * malloc/malloc.c (__libc_free): Add
31072 memory_mallopt_free_dyn_thresholds probe.
31073 (__libc_mallopt): Add multiple memory_mallopt probes.
31074 * manual/probes.texi: Document them.
31075
3ea5be54
AO
31076 * malloc/malloc.c: Include stap-probe.h.
31077 (__libc_mallopt): Add memory_mallopt probe.
31078 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31079 * manual/probes.texi: New.
31080 * manual/Makefile (chapters): Add probes.
31081 * manual/threads.texi: Set next node.
31082
e35696c3 310832013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 31084
e35696c3
CL
31085 [BZ #15963, #13985]
31086 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31087 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31088 Add `Chinese' to `nan' entry name.
31089
4aafb73c
SP
310902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31091
31092 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31093 (POLYNOMIAL): Likewise.
31094 (TAYLOR_SINCOS): Likewise.
31095 (TAYLOR_SLOW): Likewise.
31096 (__sin): Use TAYLOR_SINCOS.
31097 (__cos): Likewise.
31098 (slow): Use TAYLOR_SLOW.
31099 (sloww): Likewise.
31100 (bsloww): Likewise.
31101 (csloww): Likewise.
31102
d84f25c7
LD
311032013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31104
31105 * stdlib/strtod_l.c: Fix buffer overrun.
31106
5eea0404
SP
311072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31108
7849ff93
SP
31109 * benchtests/Makefile (bench): Add sincos.
31110 * benchtests/bench-sincos.c: New file.
31111
cfa3c886
SP
31112 * math/libm-test.inc (cos_test_data): New test inputs.
31113 (sin_test_data): Likewise.
31114
b348e1e3
SP
31115 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31116 macro.
31117 (__sin): Use it.
31118 (__cos): Likewise.
31119 (slow1): Likewise.
31120 (slow2): Likewise.
31121 (sloww1): Likewise.
31122 (sloww2): Likewise.
31123 (bsloww1): Likewise.
31124 (bsloww2): Likewise.
31125 (cslow2): Likewise.
31126 (csloww1): Likewise.
31127 (csloww2): Likewise.
31128
6cce25f8
SP
31129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31130 function.
31131 (__sin): Use it.
31132 (__cos): Likewise.
31133
5eea0404
SP
31134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31135 gotos.
31136 (__cos): Likewise.
31137
9c21573c
MR
311382013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
31139
31140 * config.h.in (HAVE_MIPS_NAN2008): New macro.
31141 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31142 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31143 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31144 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31145 * elf/cache.c (print_entry): Handle the new cache flags.
31146
24d22e65
JM
311472013-09-18 Joseph Myers <joseph@codesourcery.com>
31148 Aldy Hernandez <aldyh@redhat.com>
31149
31150 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31151 Change condition to [_SOFT_FLOAT].
31152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31164 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31167 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31168 declaration.
31169
d13ef066
JM
311702013-09-18 Joseph Myers <joseph@codesourcery.com>
31171
2e071de0
JM
31172 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31173 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31174 (__longjmp): Use LOAD_GP to load saved GPRs.
31175 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31177 (__sigsetjmp): Use SAVE_GP to save GPRs.
31178
d13ef066
JM
31179 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31180 Do not append -msoft-float.
31181 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31182
97a0650b
SP
311832013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31184
31185 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31186
11ca09e9
JM
311872013-09-17 Joseph Myers <joseph@codesourcery.com>
31188
31189 [BZ #15966]
31190 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31191 (_FPU_GETCW): Use initial "__" on variable and field names but not
31192 on macro parameter name.
31193 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
31194 parentheses around reference to macro parameter.
31195
08ffcf34
RS
311962013-09-13 Richard Sandiford <richard@codesourcery.com>
31197
31198 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31199 prototype.
31200 (ctype_startup): Use uint32_t in cast and sizeof for
31201 ctype->charnames.
31202
ae7080d3
JL
312032013-09-11 Jia Liu <proljc@gmail.com>
31204
31205 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31206 __daddr_t_defined.
31207 [__FreeBSD__]: Likewise.
31208
5905e7b3
OB
312092013-09-11 Ondřej Bílka <neleai@seznam.cz>
31210
31211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31212 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31213 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31214 (strchr): Remove __strchr_sse42 ifunc selection.
31215 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31216 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31217
b987c776
WN
312182013-09-11 Will Newton <will.newton@linaro.org>
31219
31220 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31221 parameter to RES. Remove hardcoded 1000 value.
31222 * benchtests/bench-skeleton.c (main): Pass RES parameter
31223 to TIMING_INIT and multiply result by 1000.
31224
ddf985af
AZ
312252013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31226
31227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31228
ffdd3181
AS
312292013-09-11 Andreas Schwab <schwab@suse.de>
31230
31231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31232 if not defined.
31233 (O_TMPFILE) [__USE_GNU]: Define.
31234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31235 Define.
31236
b73ed247
WN
312372013-09-11 Will Newton <will.newton@linaro.org>
31238
31239 [BZ #15857]
31240 * malloc/malloc.c (__libc_memalign): Check the value of bytes
31241 does not overflow.
31242
55e17aad
WN
312432013-09-11 Will Newton <will.newton@linaro.org>
31244
31245 [BZ #15856]
31246 * malloc/malloc.c (__libc_valloc): Check the value of bytes
31247 does not overflow.
31248
1159a193
WN
312492013-09-11 Will Newton <will.newton@linaro.org>
31250
31251 [BZ #15855]
31252 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31253 does not overflow.
31254
5905e7b3 312552013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
31256
31257 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31258 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31262
cdfc721b
AM
312632013-09-10 Allan McRae <allan@archlinux.org>
31264
aa04af00
AM
31265 [BZ #15748]
31266 * manual/arith.texi (Parsing of Floats): Clarify
31267 cross-reference.
31268
cdfc721b
AM
31269 [BZ #15849]
31270 * manual/install.texi (Running make install): Mention
31271 --enable-pt-chown.
31272 * INSTALL: Regenerated.
31273
95e7cf29
MR
312742013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
31275
31276 * csu/init-first.c (_init): Remove the !SHARED condition around
31277 FPU control word initialization.
31278 * elf/dl-support.c (_dl_fpu_control): New variable.
31279 (_dl_aux_init) <AT_FPUCW>: Initialize it.
31280 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31281 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31282 * math/test-fpucw-static.c: New file.
31283 * math/test-fpucw-ieee.c: New file.
31284 * math/test-fpucw-ieee-static.c: New file.
31285 * math/Makefile (tests): Add `test-fpucw-ieee' and
31286 `$(tests-static)'.
31287 (tests-static): New variable.
31288 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31289 dependency to...
31290 [($(build-shared),yes)]
31291 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31292 ... this.
31293 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31294 New dependency.
31295
83e43bf0
AM
312962013-09-09 Allan McRae <allan@archlinux.org>
31297
a9f5ce09
AM
31298 [BZ #15939]
31299 * manual/string.texi (Collation Functions): Fix typo in
31300 strcoll example.
31301 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31302
34829bc2
AM
31303 [BZ #15893]
31304 * stdlib/isomac.c (get_null_defines): Fix memory leak.
31305
3932737d
AM
31306 [BZ #15892]
31307 * libio/memstream.c (open_memstream): Fix memory leak.
31308 * libio/wmemstream.c (open_wmemstream): Likewise.
31309
83e43bf0
AM
31310 [BZ #15895]
31311 * nscd/netgroupcache.c: Fix nesting of ifdefs.
31312
0c66b8e9
WN
313132013-09-09 Will Newton <will.newton@linaro.org>
31314
31315 * malloc/Makefile: Add tst-realloc to tests.
31316 * malloc/tst-realloc.c: New file.
31317
f6b00fd1
AM
313182013-09-09 Allan McRae <allan@archlinux.org>
31319
31320 [BZ #15844]
31321 * COPYING: Update from GNU website to fix FSF address.
31322 * COPYING.LIB: Likewise.
31323
eec55e16
DM
313242013-09-06 David S. Miller <davem@davemloft.net>
31325
31326 * po/zh_TW.po: Update Chinese (traditional) translation from
31327 translation project.
31328
1ecbb381
RS
313292013-09-06 Richard Sandiford <richard@codesourcery.com>
31330 Joseph Myers <joseph@codesourcery.com>
31331
31332 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31333 "localeinfo.h".
31334 (obstack_chunk_alloc): New macro.
31335 (obstack_chunk_free): Likewise.
31336 (record_offset): New function.
31337 (init_locale_data): Likewise.
31338 (align_locale_data): Likewise.
31339 (add_locale_empty): Likewise.
31340 (add_locale_raw_data): Likewise.
31341 (add_locale_raw_obstack): Likewise.
31342 (add_locale_string): Likewise.
31343 (add_locale_wstring): Likewise.
31344 (add_locale_uint32): Likewise.
31345 (add_locale_uint32_array): Likewise.
31346 (add_locale_char): Likewise.
31347 (start_locale_structure): Likewise.
31348 (end_locale_structure): Likewise.
31349 (start_locale_prelude): Likewise.
31350 (end_locale_prelude): Likewise.
31351 (write_locale_data): Take locale_file structure rather than an
31352 iovec.
31353 * locale/programs/locfile.h: Include "obstack.h".
31354 (struct locale_file): Change to store locale file contents instead
31355 of header.
31356 (init_locale_data): New prototype.
31357 (align_locale_data): Likewise.
31358 (add_locale_empty): Likewise.
31359 (add_locale_raw_data): Likewise.
31360 (add_locale_raw_obstack): Likewise.
31361 (add_locale_string): Likewise.
31362 (add_locale_wstring): Likewise.
31363 (add_locale_uint32): Likewise.
31364 (add_locale_uint32_array): Likewise.
31365 (add_locale_char): Likewise.
31366 (start_locale_structure): Likewise.
31367 (end_locale_structure): Likewise.
31368 (start_locale_prelude): Likewise.
31369 (end_locale_prelude): Likewise.
31370 (write_locale_data): Update prototype.
31371 * locale/programs/3level.h (struct TABLE): Remove result field.
31372 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31373 Use new locale_file interface.
31374 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31375 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31376 * locale/programs/ld-address.c (address_output): Use new
31377 locale_file interface.
31378 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31379 NO_ADD_LOCALE.
31380 (collate_finish): Don't call collseq_table_finalize.
31381 (collate_output): Use new locale_file interface.
31382 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31383 in file.
31384 (NO_FINALIZE): Change to NO_ADD_LOCALE.
31385 (TABLE): Move defines earlier in file.
31386 (ELEMENT): Likewise.
31387 (DEFAULT): Likewise.
31388 (wctrans_table_add): Move macro and inline function earlier in
31389 file.
31390 (struct wctype_table): Move type earlier in file.
31391 (add_locale_wctype_table): New static prototype.
31392 (struct locale_ctype_t): Use logical types instead of struct iovec
31393 pointers for members.
31394 (ctype_output): Use new locale_file interface.
31395 (wctype_table_finalize): Change to add_locale_wctype_table. Use
31396 new locale_file interface.
31397 (allocate_arrays): Update for use of new locale_file interface.
31398 * locale/programs/ld-identification.c (identification_output): Use
31399 new locale_file interface.
31400 * locale/programs/ld-measurement.c (measurement_output): Likewise.
31401 * locale/programs/ld-messages.c (messages_output): Likewise.
31402 * locale/programs/ld-monetary.c (monetary_output): Likewise.
31403 * locale/programs/ld-name.c (name_output): Likewise.
31404 * locale/programs/ld-numeric.c (numeric_output): Likewise.
31405 * locale/programs/ld-paper.c (paper_output): Likewise.
31406 * locale/programs/ld-telephone.c (telephone_output): Likewise.
31407 * locale/programs/ld-time.c (time_output): Likewise.
31408
e029e2e5
AZ
314092013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31410
31411 * benchtests/Makefile: Add memrchr benchmark.
31412 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31413 benchmark as memrchr.
31414 * benchtests/bench-memrchr-ifunc.c: New file.
31415 * benchtests/bench-memrchr.c: New file.
31416
bbf6e8e4
WN
314172013-09-06 Will Newton <will.newton@linaro.org>
31418
31419 * benchtests/Makefile (string-bench): Add memcpy.
31420
6c82a2f8
CD
314212013-09-05 Carlos O'Donell <carlos@redhat.com>
31422 Cong Wang <amwang@redhat.com>
31423
e732c5f0 31424 [BZ #15850]
6c82a2f8
CD
31425 * sysdeps/unix/sysv/linux/bits/in.h
31426 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31427 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31428 before __USE_KERNEL_IPV6_DEFS uses.
31429 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31430 IPPROTO_BEETPH.
31431 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31432 sockaddr_in6, or ipv6_mreq.
31433
5430fc65
AZ
314342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31435
31436 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31437 memory access for final bytes in some large inputs.
31438 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31439
4660856c
AZ
314402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31441
31442 * string/test-memrchr.c: New file.
31443 * string/test-memrchr-ifunc.c: New file.
31444 * string/Makefile: Add new memrchr testcase.
31445
bb8ea713
MF
314462013-09-05 Mike Frysinger <vapier@gentoo.org>
31447
31448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31449 fanotify_init returns EPERM.
31450
b92a20b5
JM
314512013-09-04 Joseph Myers <joseph@codesourcery.com>
31452
31453 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31454 errors.
31455 (top level): Treat second token from macro or constant entries for
31456 allowed headers as allowed.
31457 * include/complex.h: Condition internal declarations on
31458 [!_ISOMAC].
31459 * include/fenv.h: Condition include of <stdbool.h> and internal
31460 declarations on [!_ISOMAC].
7447ccd9
CL
31461
314622013-09-04 Chris Leonard <cjl@sugarlabs,.org>
31463
3e181dda 31464 [BZ #15923]
7447ccd9
CL
31465 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31466
3f2e46a4
JM
314672013-09-04 Joseph Myers <joseph@codesourcery.com>
31468
31469 * configure.in (--enable-versioning): Remove configure option.
31470 (libc_cv_asm_symver_directive): Remove configure test.
31471 (libc_cv_ld_version_script_option): Likewise.
31472 (VERSIONING): Remove variable and AC_SUBST.
31473 (DO_VERSIONING): Remove AC_DEFINE.
31474 * configure: Regenerated.
31475 * config.h.in (DO_VERSIONING): Remove macro.
31476 * Makerules [$(versioning) = yes]: Change conditionals to
31477 [$(build-shared) = yes].
31478 * config.make.in (versioning): Remove variable.
31479 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31480 [$(build-shared) = yes].
31481 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31482 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31483 * elf/Makefile [$(versioning) = yes]: Change conditionals to
31484 [$(build-shared) = yes].
31485 * extra-lib.mk [$(versioning) = yes]: Likewise.
31486 * hurd/Makefile [$(versioning) = yes]: Likewise.
31487 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31488 [SHARED].
31489 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31490 [SHARED].
31491 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31492 [SHARED && !NO_HIDDEN].
31493 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31494 [SHARED].
31495 [SHARED && DO_VERSIONING]: Likewise..
31496 * libio/Makefile [$(versioning) = yes]: Change conditionals to
31497 [$(build-shared) = yes].
31498 * manual/install.texi (--disable-versioning): Remove
31499 documentation.
31500 * INSTALL: Regenerated.
31501 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31502 to [SHARED].
31503 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31504 [$(build-shared) = yes].
31505 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31506 * sysdeps/i386/i686/multiarch/strstr-c.c
31507 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31508 [SHARED && !NO_HIDDEN].
31509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31510 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31511 * sysdeps/powerpc/powerpc32/dl-machine.c
31512 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31513 * sysdeps/powerpc/powerpc32/sysdep.h
31514 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31515 to [SHARED && PIC && !NO_HIDDEN].
31516 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31517 conditional to [SHARED].
31518
44558701
WN
315192013-09-04 Will Newton <will.newton@linaro.org>
31520
31521 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31522 * benchtests/bench-string.h: Include bench-timing.h instead
31523 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31524 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31525 call to HP_TIMING_DIFF_INIT.
31526 * benchtests/bench-memccpy.c: Use bench-timing.h macros
31527 instead of hp-timing.h macros.
31528 * benchtests/bench-memchr.c: Likewise.
31529 * benchtests/bench-memcmp.c: Likewise.
31530 * benchtests/bench-memcpy.c: Likewise.
31531 * benchtests/bench-memmem.c: Likewise.
31532 * benchtests/bench-memmove.c: Likewise.
31533 * benchtests/bench-memset.c: Likewise.
31534 * benchtests/bench-rawmemchr.c: Likewise.
31535 * benchtests/bench-strcasecmp.c: Likewise.
31536 * benchtests/bench-strcasestr.c: Likewise.
31537 * benchtests/bench-strcat.c: Likewise.
31538 * benchtests/bench-strchr.c: Likewise.
31539 * benchtests/bench-strcmp.c: Likewise.
31540 * benchtests/bench-strcpy.c: Likewise.
31541 * benchtests/bench-strcpy_chk.c: Likewise.
31542 * benchtests/bench-strlen.c: Likewise.
31543 * benchtests/bench-strncasecmp.c: Likewise.
31544 * benchtests/bench-strncat.c: Likewise.
31545 * benchtests/bench-strncmp.c: Likewise.
31546 * benchtests/bench-strncpy.c: Likewise.
31547 * benchtests/bench-strnlen.c: Likewise.
31548 * benchtests/bench-strpbrk.c: Likewise.
31549 * benchtests/bench-strrchr.c: Likewise.
31550 * benchtests/bench-strspn.c: Likewise.
31551 * benchtests/bench-strstr.c: Likewise.
31552
cae16d66
WN
315532013-09-04 Will Newton <will.newton@linaro.org>
31554
31555 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31556
ffa3cd7f
JM
315572013-09-03 Joseph Myers <joseph@codesourcery.com>
31558
31559 [BZ #15427]
31560 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31561 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31562 * math/libm-test.inc (lgamma_test_data): Add more tests.
31563 * sysdeps/i386/fpu/libm-test-ulps: Update.
31564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31565
8f02859f
OB
315662013-09-03 Ondřej Bílka <neleai@seznam.cz>
31567
31568 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31570 Add ifunc.
31571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31572 Add strcmp-sse2-unaligned
31573 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31574
18d43716
MF
315752013-09-02 Mike Frysinger <vapier@gentoo.org>
31576
31577 * Versions.def (libc): Add GLIBC_2.19.
31578
ac444012
MF
315792013-09-02 Mike Frysinger <vapier@gentoo.org>
31580
31581 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31582 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31583
b7835e32
JM
315842013-09-02 Joseph Myers <joseph@codesourcery.com>
31585
31586 [BZ #14155]
31587 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31588 intermediate calculations in recurrence.
31589 (__ieee754_ynf): Likewise.
31590 * math/libm-test.inc (jn_test_data): Do not allow spurious
31591 underflow exception. Add more tests.
31592 (yn_test_data): Add more tests.
31593 * sysdeps/i386/fpu/libm-test-ulps: Update.
31594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31595
8220f4f0
OB
315962013-09-02 Ondřej Bílka <neleai@seznam.cz>
31597
31598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31599
f24a6d08
OB
316002013-08-30 Ondřej Bílka <neleai@seznam.cz>
31601
31602 * csu/init-first.c: Fix then/than typos.
31603 * locale/programs/ld-collate.c: Likewise.
31604 * locale/programs/linereader.h: Likewise.
31605 * manual/charset.texi: Likewise.
31606 * manual/filesys.texi: Likewise.
31607 * manual/stdio.texi: Likewise.
31608 * manual/string.texi: Likewise.
31609 * stdlib/fmtmsg.c: Likewise.
31610 * sysdeps/i386/stpncpy.S: Likewise.
31611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31612 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31614 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31615
382466e0
OB
316162013-08-30 Ondřej Bílka <neleai@seznam.cz>
31617
31618 * elf/dl-open.c: Fix typos.
31619 * iconvdata/gbbig5.c: Likewise.
31620 * iconvdata/iso-2022-jp.c: Likewise.
31621 * iconv/gconv_int.h: Likewise.
31622 * iconv/loop.c: Likewise.
31623 * nis/rpcsvc/nis.h: Likewise.
31624 * resolv/ns_name.c: Likewise.
31625 * stdio-common/vfscanf.c: Likewise.
31626 * streams/stropts.h: Likewise.
31627 * sunrpc/rpc_thread.c: Likewise.
31628 * sysdeps/i386/strpbrk.S: Likewise.
31629 * sysdeps/ieee754/k_standard.c: Likewise.
31630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31632 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31633 * sysdeps/mach/hurd/profil.c: Likewise.
31634 * sysdeps/s390/dl-procinfo.h: Likewise.
31635 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31636 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31637 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31638 * sysdeps/x86_64/dl-trampoline.S: Likewise.
31639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31640
0186c6e9
OB
316412013-08-30 Ondřej Bílka <neleai@seznam.cz>
31642
31643 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31645
d4e16af1
OB
316462013-08-29 Ondřej Bílka <neleai@seznam.cz>
31647
31648 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31649 aix specific files.
31650 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31651 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31652 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31653 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31654 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31655 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31656 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31657 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31658
88335980
TS
316592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31660 Roland McGrath <roland@hack.frob.com>
31661
31662 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31663 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31664
ed479b02
ST
316652013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
31666
31667 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31668 __executable_start symbol instead of _start.
31669
f1cc4c86
TS
316702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31671
d821f07c
TS
31672 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31673 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31674 Move macros to...
31675 * sysdeps/gnu/ldsodefs.h: ... this new file.
31676
c54290cf
TS
31677 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31678 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31679 instead of ELFOSABI_LINUX.
31680
0007fc9b 31681 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
31682 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31683 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31684 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31685 Likewise.
31686 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31687 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31688 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31689 Likewise.
31690 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31691 (ibm_extended_long_double): Add ieee_nan member.
31692 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31693 (do_test): New function.
31694
f1cc4c86
TS
31695 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31696 TEST_TRUNC.
31697 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31698 functions, renamed from truncdfsf_test, trunctfsf_test,
31699 trunctfdf_test.
31700 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31701 functions.
31702 (do_test): Run all these.
31703
6f65e668
OB
317042013-08-29 Ondřej Bílka <neleai@seznam.cz>
31705
31706 * argp/argp-help.c: Fix typos.
31707 * argp/argp-parse.c: Likewise.
31708 * debug/backtracesyms.c: Likewise.
31709 * elf/elf.h: Likewise.
31710 * malloc/malloc.c: Likewise.
31711 * nis/nis_print.c: Likewise.
31712 * resolv/res_comp.c: Likewise.
31713 * stdlib/stdlib.h: Likewise.
31714 * sunrpc/clnt_tcp.c: Likewise.
31715 * sunrpc/clnt_udp.c: Likewise.
31716 * sunrpc/clnt_unix.c: Likewise.
31717 * sysdeps/unix/bsd/ptsname.c: Likewise.
31718 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31719 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
31720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31721 Likewise.
31722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31723 Likewise.
31724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31725 Likewise.
6f65e668
OB
31726 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31727
3a309239
SP
317282013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31729
31730 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31732
3b813b29
MF
317332013-08-27 Mike Frysinger <vapier@gentoo.org>
31734
31735 [BZ #15897]
31736 * dlfcn/Makefile (tests): Add bug-dl-leaf.
31737 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31738 ($(objpfx)bug-dl-leaf): New rule.
31739 ($(objpfx)bug-dl-leaf.so): Likewise.
31740 ($(objpfx)bug-dl-leaf.out): Likewise.
31741 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31742 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31743 * dlfcn/bug-dl-leaf.c: New test.
31744 * dlfcn/bug-dl-leaf-lib.c: Likewise.
31745 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31746 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31747 (dlclose): Likewise.
31748 (dlmopen): Likewise.
31749
8cc3269f
RM
317502013-08-27 Roland McGrath <roland@hack.frob.com>
31751
7f9d0034
RM
31752 * include/netdb.h [!_ISOMAC]:
31753 Don't include <tls.h>.
31754 (h_errno, __libc_h_errno): Move declaration and macros out of
31755 [_LIBC_REENTRANT].
31756
fb431262
RM
31757 * include/resolv.h [_RESOLV_H_]:
31758 Don't include <tls.h>.
31759 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31760 * resolv/res_libc.c: Don't include <tls.h>.
31761 (_res): Use __attribute__ ((nocommon)) in place of
31762 __attribute__ ((section (".bss"))).
31763
bd81123a
RM
31764 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31765 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31766
c4e42566
RM
31767 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31768
f890a59b
RM
31769 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31770 only under [SIOCGIFCONF && SIOCGIFNETMASK].
31771
31772 * resolv/res_mkquery.c: Include <sys/time.h>.
31773
5d1f0a09
RM
31774 * inet/ifreq.c: Moved to ...
31775 * sysdeps/unix/ifreq.c: ... here.
31776 * inet/ifreq.c: New file, true stub version.
31777
6fcf28b3
RM
31778 * socket/sa_len.c: New file.
31779 * socket/Makefile (aux): Add it.
31780 * sysdeps/unix/sysv/linux/Makefile
31781 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31782 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31783 and #include <socket/sa_len.c>.
31784 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31785 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31786
e041fb8b
RM
31787 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31788 * bits/socket.h: ... here.
31789
8cc3269f
RM
31790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31791 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31792 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31793
5d228a43
AS
317942013-08-27 Andreas Schwab <schwab@suse.de>
31795
45b8accc
AS
31796 [BZ #15736]
31797 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31798 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31799 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31800 * string/test-strcasecmp.c (test_main): Run tests in several
31801 locales.
31802 * string/test-strncasecmp.c (test_main): Likewise.
31803
5d228a43
AS
31804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31805 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31806 to __strcasecmp_nonascii and __strncasecmp_nonascii.
31807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31808 (__strncasecmp_ssse3) [PIC]: Likewise.
31809
59d112a4
RM
318102013-08-26 Roland McGrath <roland@hack.frob.com>
31811
53234cc3
RM
31812 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31813
59d112a4
RM
31814 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31815 instead of explicitly declaring xdecrypt.
31816 * nis/nss_nis/nis-publickey.c: Likewise.
31817
595aba70
SP
318182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31819
31820 [BZ #15890]
31821 * nscd/aicache.c: Include res_hconf.h.
31822 (addhstaiX): Initialize res_hconf.
31823
ffabd393
AS
318242013-08-26 Andreas Schwab <schwab@suse.de>
31825
31826 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31827 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31828
e0a69f5c
SP
318292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31830
31831 * nscd/aicache.c (addhstaiX): Fix indentation.
31832
8c12f01d
MF
318332013-08-25 Mike Frysinger <vapier@gentoo.org>
31834
31835 * configure.ac: Quote $build_pt_chown test.
31836 * configure: Regenerated.
31837
8fe89494
JM
318382013-08-23 Joseph Myers <joseph@codesourcery.com>
31839
31840 [BZ #15532]
31841 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31842 * math/s_cexpf.c (__cexpf): Likewise.
31843 * math/s_cexpl.c (__cexpl): Likewise.
31844 * math/libm-test.inc (cexp_test_data): Correct expected return
31845 value for NaN + i0. Add another test.
31846
75b181d6
DM
318472013-08-22 David S. Miller <davem@davemloft.net>
31848
31849 * po/ca.po: Update Catalan translation from translation project.
936241e4 31850 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 31851
acd06bb1
JM
318522013-08-21 Joseph Myers <joseph@codesourcery.com>
31853
31854 [BZ #15797]
31855 * math/s_fdim.c (__fdim): Check for infinite arguments if result
31856 is infinite, not alongside NaN test.
31857 * math/s_fdimf.c (__fdimf): Likewise.
31858 * math/s_fdiml.c (__fdiml): Likewise.
31859 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
31860 errno is unchanged.
31861
c0c3f78a
OB
318622013-08-21 Ondřej Bílka <neleai@seznam.cz>
31863
31864 * argp/argp-help.c: Fix typos.
31865 * crypt/speeds.c: Likewise.
31866 * csu/check_fds.c: Likewise.
31867 * elf/dl-load.c: Likewise.
31868 * elf/dl-open.c: Likewise.
31869 * elf/reldep3.c: Likewise.
31870 * elf/reldep.c: Likewise.
31871 * elf/sprof.c: Likewise.
31872 * iconv/iconv_charmap.c: Likewise.
31873 * iconv/skeleton.c: Likewise.
31874 * iconv/strtab.c: Likewise.
31875 * io/lockf64.c: Likewise.
31876 * libio/libioP.h: Likewise.
31877 * resolv/gai_notify.c: Likewise.
31878 * resolv/ns_name.c: Likewise.
31879 * resolv/ns_samedomain.c: Likewise.
31880 * resolv/res_send.c: Likewise.
31881 * stdlib/random.c: Likewise.
31882 * sunrpc/rpc/xdr.h: Likewise.
31883 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31885 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31886 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31890 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31891 * sysdeps/mach/hurd/check_fds.c: Likewise.
31892 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31893 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31894 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31896 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31897 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31898 * sysdeps/pthread/aio_notify.c: Likewise.
31899 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31900 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31901 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31903 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31904
46ed1038
LD
319052013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31906
31907 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31908 version if bit_Slow_SSE4_2 is set.
31909 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31910 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31911
d400dcac
AZ
319122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31913
31914 [BZ #15867]
31915 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31916 trampoline stack frame information.
31917 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31919 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31920 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31921 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31922 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31923 (_libc_vdso_platform_setup): Initialize the signal trampolines.
31924 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31925 sa_flags value.
31926 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31927 interrupting a syscall and set with option SA_SIGINFO.
31928
42c8fdd8
JM
319292013-08-20 Joseph Myers <joseph@codesourcery.com>
31930
c980f2f4
JM
31931 [BZ #15531]
31932 * math/s_cproj.c (__cproj): Only return an infinity if one part of
31933 argument is infinite.
31934 * math/s_cprojf.c (__cprojf): Likewise.
31935 * math/s_cprojl.c (__cprojl): Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31937 * math/libm-test.inc (cproj_test_data): Add more tests.
31938
0716c4fc
JM
31939 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31940
42c8fdd8
JM
31941 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31942 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31943 size. Use __ffs to determine corresponding shift.
31944
b31469d0
JM
319452013-08-20 Joseph Myers <joseph@codesourcery.com>
31946 Roland McGrath <roland@hack.frob.com>
31947
31948 * Makefile (INSTALL): Remove trailing blank lines from output of
31949 makeinfo.
31950
4e39af6e
AK
319512013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31952
31953 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31954 Align 32 bit compat elf_greg to 8 bytes.
31955
f315524e
AA
319562013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
31957
31958 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31959
1326ba1a
SP
319602013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31961
31962 * string/strcoll_l.c (coll_seq): New structure.
31963 (get_next_seq_cached): New function.
31964 (get_next_seq): New function.
31965 (do_compare): New function.
31966 (STRCOLL): Use GNU style definition. Simplify implementation
31967 by using get_next_seq, get_next_seq_cached and do_compare.
31968
91ce4085
FW
319692013-08-16 Florian Weimer <fweimer@redhat.com>
31970
31971 [BZ #14699]
31972 CVE-2013-4237
31973 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31974 member.
31975 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31976 member.
31977 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31978 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31979 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
31980 conditional.
31981 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31982 GETDENTS_64BIT_ALIGNED.
31983 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31984 * manual/filesys.texi (Reading/Closing Directory): Document
31985 ENAMETOOLONG return value of readdir_r. Recommend readdir more
31986 strongly.
31987 * manual/conf.texi (Limits for Files): Add portability note to
31988 NAME_MAX, PATH_MAX.
31989 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31990
ca0a6bc4
AS
319912013-08-13 Andreas Schwab <schwab@suse.de>
31992
31993 [BZ #15749]
31994 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31995 of fabs.
31996 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31997 LDBL_MAX_EXP >= 16384]: Add tests for it.
31998
6c1fd795
DM
319992013-08-12 David S. Miller <davem@davemloft.net>
32000
32001 * version.h (RELEASE): Set to "development".
32002 (VERSION): Set to "2.18.90".
32003 * NEWS: Add 2.19 section.
32004
31ad488d
DM
320052013-08-03 David S. Miller <davem@davemloft.net>
32006
32007 * po/ko.po: Update Korean translation from translation project.
32008
db24e684
DM
320092013-08-01 David S. Miller <davem@davemloft.net>
32010
32011 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
32012 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32013 Bilka.
32014
f723285b
DM
320152013-07-30 David S. Miller <davem@davemloft.net>
32016
32017 * po/fr.po: Update French translation from translation project.
32018
3cbc52db
DM
320192013-07-28 David S. Miller <davem@davemloft.net>
32020
30bbc0cc
DM
32021 * po/cs.po: Update Czech translation from translation project.
32022
3cbc52db
DM
32023 * po/sv.po: Update Swedish translation from translation project.
32024
d492e6d0
DM
320252013-07-27 David S. Miller <davem@davemloft.net>
32026
f1a7f492
DM
32027 * po/eo.po: Update Esperanto translation from translation project.
32028
90e62a4a
DM
32029 * po/vi.po: Update Vietnamese translation from translation project.
32030
d492e6d0
DM
32031 * po/de.po: Update German translation from translation project.
32032
d4baa62d
DM
320332013-07-26 David S. Miller <davem@davemloft.net>
32034
641aa7b4
DM
32035 * po/bg.po: Update Bulgarian translation from translation project.
32036
d4baa62d
DM
32037 * po/nl.po: Update Dutch translation from translation project.
32038 * po/pl.po: Update Polish translation from translation project.
32039 * po/ru.po: Update Russian translation from translation project.
32040
61a9dcb9
DM
320412013-07-24 David S. Miller <davem@davemloft.net>
32042
32043 * po/libc.pot: Update.
32044
7b1f8b58
AZ
320452013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32046
32047 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32048 variable page size.
32049 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32050 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32051 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32052
a8fc7a03
AK
320532013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32054
32055 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32056
e4608715
CD
320572013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32058 Andreas Schwab <schwab@suse.de>
32059 Roland McGrath <roland@hack.frob.com>
32060 Joseph Myers <joseph@codesourcery.com>
32061 Carlos O'Donell <carlos@redhat.com>
32062
32063 [BZ #15755]
32064 * config.h.in: Define HAVE_PT_CHOWN.
32065 * config.make.in (build-pt-chown): New variable.
32066 * configure.in (--enable-pt_chown): New configure option.
32067 * configure: Regenerate.
32068 * login/Makefile: Include Makeconfig. Build pt_chown only if
32069 build-pt-chown is enabled.
32070 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32071 pt_chown to fix pty ownership.
32072 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32073 CLOSE_ALL_FDS.
32074 * manual/install.texi (Configuring and compiling): Mention
32075 --enable-pt_chown. Add @findex for grantpt.
32076 * INSTALL: Regenerate.
32077
da2d62df
DM
320782013-07-20 David S. Miller <davem@davemloft.net>
32079
32080 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32081 difference between 32-bit and 64-bit.
32082
d7e06450
CD
320832013-07-15 Carlos O'Donell <carlos@redhat.com>
32084
32085 [BZ #15711]
32086 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32087 Avoid system header dependency with -ffreestanding.
32088 ($(objpfx)bits/syscall%d): Likewise.
32089
f959cfd7
DM
320902013-07-13 David S. Miller <davem@davemloft.net>
32091
32092 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32093 underflows from atanl/atan2l due to bug 15319.
32094 (casinh_test_data): Likewise.
32095
c61f8513
DM
320962013-07-07 David S. Miller <davem@davemloft.net>
32097
32098 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32099
72c90ed0
JA
321002013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
32101
32102 * sysdeps/i386/fpu/libm-test-ulps: Update.
32103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32104
52dfbe13
SP
321052013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32106
32107 * configure.in (--enable-lock-elision): Fix message text.
32108 * INSTALL: Regenerate.
32109 * configure: Regenerate.
32110
3f169543
AZ
321112013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32112
32113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32114
521c6785
AJ
321152013-07-03 Andreas Jaeger <aj@suse.de>
32116
32117 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32118 define.
32119 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32120 (ptrace_peeksiginfo_args): Add.
32121 (__ptrace_peeksiginfo_flags): Add.
32122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32125
d2cc15cb
AM
321262013-07-03 Allan McRae <allan@archlinux.org>
32127
32128 * sysdeps/i386/fpu/libm-test-ulps: Update.
32129
3aaeeca7
DM
321302013-07-02 David S. Miller <davem@davemloft.net>
32131
32132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32133
5314ed1a
MT
321342013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
32135
32136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32137
67338156
JM
321382013-07-02 Joseph Myers <joseph@codesourcery.com>
32139
32140 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32142
1717da59
AK
321432013-07-02 Andi Kleen <ak@linux.intel.com>
32144
32145 * config.h.in (ENABLE_LOCK_ELISION): Add.
32146 * configure.in (--enable-lock-elision): Add option.
32147 * manual/install.texi: Document --enable lock elision.
32148 * configure: Regenerate
32149 * INSTALL: Regenerate.
32150
1c81621c
L
321512013-07-02 H.J. Lu <hongjiu.lu@intel.com>
32152
32153 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32154 SSE4.2 strcasecmp for libc.a.
32155 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32156
77f01ab5
JM
321572013-07-02 Joseph Myers <joseph@codesourcery.com>
32158
32159 [BZ #13304]
32160 * soft-fp/op-common.h (_FP_FMA): New macro.
32161 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32162 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
32163 (_FP_MUL_MEAT_1_imm): ... here.
32164 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
32165 (_FP_MUL_MEAT_1_wide): ... here.
32166 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
32167 (_FP_MUL_MEAT_1_hard): ... here.
32168 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32169 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
32170 (_FP_MUL_MEAT_2_wide): ... here.
32171 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
32172 (_FP_MUL_MEAT_2_wide_3mul): ... here.
32173 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
32174 (_FP_MUL_MEAT_2_gmp): ... here.
32175 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32176 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
32177 (_FP_MUL_MEAT_4_wide): ... here.
32178 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
32179 (_FP_MUL_MEAT_4_gmp): ... here.
32180 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32181 (_FP_WFRACBITS_DW_S): Likewise.
32182 (_FP_WFRACXBITS_DW_S): Likewise.
32183 (_FP_HIGHBIT_DW_S): Likewise.
32184 (FP_FMA_S): Likewise.
32185 (_FP_FRAC_HIGH_DW_S): Likewise.
32186 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32187 (_FP_WFRACBITS_DW_D): Likewise.
32188 (_FP_WFRACXBITS_DW_D): Likewise.
32189 (_FP_HIGHBIT_DW_D): Likewise.
32190 (FP_FMA_D): Likewise.
32191 (_FP_FRAC_HIGH_DW_D): Likewise.
32192 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32193 (_FP_WFRACBITS_DW_E): Likewise.
32194 (_FP_WFRACXBITS_DW_E): Likewise.
32195 (_FP_HIGHBIT_DW_E): Likewise.
32196 (FP_FMA_E): Likewise.
32197 (_FP_FRAC_HIGH_DW_E): Likewise.
32198 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32199 (_FP_WFRACBITS_DW_Q): Likewise.
32200 (_FP_WFRACXBITS_DW_Q): Likewise.
32201 (_FP_HIGHBIT_DW_Q): Likewise.
32202 (FP_FMA_Q): Likewise.
32203 (_FP_FRAC_HIGH_DW_Q): Likewise.
32204 * soft-fp/fmasf4.c: New file.
32205 * soft-fp/fmadf4.c: Likewise.
32206 * soft-fp/fmatf4.c: Likewise.
32207
6308fd9a
LD
322082013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32209
32210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32211 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32212 Silvermont.
32213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32214 macro.
32215 (index_Slow_SSE4_2): Likewise.
32216 (index_Prefer_PMINUB_for_stringop): Likewise.
32217 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32218 bit_Slow_SSE4_2 is set.
32219 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32221
89cd9569
RA
322222013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32223
32224 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32225 rtld_global._dl_hwcap2.
32226 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32227 POWER8.
32228 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32229 POWER8 feature descriptions defined in _dl_hwcap2.
32230 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32231 string handling for POWER8 feature bits.
32232 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32233 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32234 _dl_powerpc_cap_flags.
32235 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32236 * sysdeps/powerpc/rtld-global-offsets.sym
32237 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32238 _dl_hwcap2 in the rtld_global_ro structure.
32239
1ae8bfe0
RA
322402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32241
32242 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32243 hardware capabilities in support of AT_HWCAP2.
32244 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32245 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32246 GLRO(dl_hwcap2).
32247 (_dl_show_auxv): Add support for calling _dl_procinfo to display
32248 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
32249 explicitly the unknown a_type display mechanism is used.
32250 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32251 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32252 struct member.
32253 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32254 to macro prototype for AT_HWCAP2 support.
32255 * sysdeps/i386/dl-procinfo.h: Likewise.
32256 * sysdeps/s390/dl-procinfo.h: Likewise.
32257 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32258 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
32259 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
32260 return -1 for unknown a_type display fallback.
32261 * sysdeps/sparc/dl-procinfo.h: Likewise.
32262 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32263 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32264
8fbec010
JM
322652013-06-28 Joseph Myers <joseph@codesourcery.com>
32266
32267 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32268 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32269
0432680e
PY
322702013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
32271
32272 [BZ #12492]
32273 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32274 mprotect making __stack_prot writable.
32275
ce61a2ad
NF
322762013-06-28 Nathan Froyd <froydnj@codesourcery.com>
32277 Joseph Myers <joseph@codesourcery.com>
32278
32279 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32280 as being properly aligned.
32281
f91f1c0f
MR
322822013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
32283
3d0f5d0c
MR
32284 * dlfcn/modstatic5.c: New file.
32285 * dlfcn/tststatic5.c: New file.
32286 * dlfcn/Makefile (tests): Add tststatic5.
32287 (tests-static): Likewise.
32288 (modules-names): Add modstatic5.
32289 (tststatic5-ENV): New variable.
32290 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32291
f91f1c0f
MR
32292 [BZ #15022]
32293 * elf/dl-support.c (_dl_main_map): New variable.
32294 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32295 (_dl_nns, _dl_load_adds): Set to 1.
32296 (_dl_initial_searchlist): Refer to _dl_main_map.
32297 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32298 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32299 call to _dl_get_origin.
32300 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32301 around call_map.
32302 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32303 * dlfcn/modstatic3.c: New file.
32304 * dlfcn/tststatic3.c: New file.
32305 * dlfcn/tststatic4.c: New file.
32306 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32307 (tests-static): Likewise.
32308 (modules-names): Add modstatic3.
32309 (tststatic3-ENV, tststatic4-ENV): New variables.
32310 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32311 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32312
cbe7d24b
JM
323132013-06-26 Joseph Myers <joseph@codesourcery.com>
32314
32315 * configure.in (CC): Require GCC version 4.4 or later.
32316 * configure: Regenerated.
32317 * manual/install.texi (Tools for Compilation): Update GCC version
32318 requirement.
32319 * INSTALL: Regenerated.
32320
11b8a0e1
LD
323212013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32322
32323 [BZ #15674]
bb5bb87c
L
32324 * string/test-memcmp.c (check2): New.
32325 (main): Call check2.
32326
11b8a0e1
LD
32327 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32328
b0037103
MR
323292013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
32330
32331 [BZ #15022]
32332 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32333 over to...
32334 (dl_open_worker) [!SHARED]: ... here.
32335
c18c701d
RA
323362013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32337
32338 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32339
1d17fa5f
RH
323402013-06-25 Richard Henderson <rth@redhat.com>
32341
32342 * locale/programs/locarchive.c: Include <libc-internal.h>
32343
8fcb833a
JM
323442013-06-25 Joseph Myers <joseph@codesourcery.com>
32345
32346 * manual/texinfo.tex: Update to version 2013-06-21.17, with
32347 trailing whitespace removed.
32348
17db6e8d
MF
323492013-06-24 Mike Frysinger <vapier@gentoo.org>
32350
32351 [BZ #10283]
17db6e8d
MF
32352 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32353 * locale/programs/locarchive.c: Include libc-mmap.h.
32354 (prepare_address_space): Take two new outputs (the mmap base and len).
32355 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
32356 values.
32357 (create_archive): Declare new mmap base and len values for
32358 prepare_address_space, and store the result in ah.
32359 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32360 (enlarge_archive): If ah->mmap_base is not NULL, use that and
32361 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32362 Declare new mmap base and len values for
32363 prepare_address_space, and store the result in new_ah.
32364 (open_archive): Declare new mmap base and len values for
32365 prepare_address_space, and store the result in ah.
32366 (close_archive): If ah->mmap_base is not NULL, use that and
32367 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32368 * sysdeps/generic/libc-mmap.h: New file.
32369
d605071e
MF
323702013-06-24 Mike Frysinger <vapier@gentoo.org>
32371
32372 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32373 (ALIGN_UP): Likewise.
32374 (PTR_ALIGN_DOWN): Likewise.
32375 (PTR_ALIGN_UP): Likewise.
32376
2f063a6e
RA
323772013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32378
32379 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32380 entry mapped to PPC_PLATFORM_POWER8.
32381 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32382 POWER8.
32383 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32384 (_dl_string_platform): Add case for exporting platform position for
32385 POWER8.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32387 search path to sysdeps/powerpc/powerpc32/power8 directory.
32388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32389 search path to sysdeps/powerpc/powerpc64/power8 directory.
32390 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32391 power7 directories.
32392 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32393 power7 directories.
32394
a31ee4b3
SP
323952013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32396
a74ca98f
SP
32397 * INSTALL: Regenerate.
32398
a31ee4b3
SP
32399 * nscd/connections.c (nscd_init): Fix comment.
32400
695c378f
JM
324012013-06-22 Joseph Myers <joseph@codesourcery.com>
32402
d8412221
JM
32403 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32404
695c378f
JM
32405 [BZ #15667]
32406 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32407 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32408
d1d54715
MR
324092013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
32410
32411 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32412 DL_DST_REQ_STATIC.
32413 (DL_DST_REQ_STATIC): Remove macro.
32414
8fdda7af
JM
324152013-06-21 Joseph Myers <joseph@codesourcery.com>
32416
32417 [BZ #7006]
32418 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32419 with a shift of 0 bits.
32420
f3bc5e5a
MR
324212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
32422
32423 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32424 $(tststatic-ENV).
32425
be09e8c9
KK
324262013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32427
32428 [BZ #15655]
32429 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32430
85c2e611
AZ
324312013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32432
32433 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32434 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32435 accepts -fno-tree-loop-distribute-patterns.
32436 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32437 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32438 recursive call.
32439 * string/memset.c (memset): Likewise.
32440 * string/test-memmove.c (simple_memmove): Disable loop transformation
32441 to library calls.
32442 * string/test-memset.c (simple_memset): Likewise.
32443 * benchtests/bench-memmove.c (simple_memmove): Likewise.
32444 * benchtests/bench-memset.c (simple_memset): Likewise.
32445 * configure: Regenerated.
32446
c91e0825
JM
324472013-06-20 Joseph Myers <joseph@codesourcery.com>
32448
b8c792af
JM
32449 * math/test-misc.c (main): Ignore fesetround failure when failures
32450 of subsequent rounding tests would be ignored.
32451
c91e0825
JM
32452 [BZ #15654]
32453 * math/fedisblxcpt.c (fedisableexcept): Return 0.
32454 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32455 * math/fegetenv.c (__fegetenv): Return 0.
32456 * math/fegetexcept.c (fegetexcept): Return 0.
32457 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32458 FE_TONEAREST.
32459 * math/feholdexcpt.c (feholdexcept): Return 0.
32460 * math/fesetenv.c (__fesetenv): Return 0.
32461 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32462 argument FE_TONEAREST.
32463 * math/feupdateenv.c (__feupdateenv): Return 0.
32464 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32465
bfcacbde
RM
324662013-06-18 Roland McGrath <roland@hack.frob.com>
32467
32468 * elf/rtld-Rules (rtld-compile-command.S): New variable.
32469 (rtld-compile-command.s, rtld-compile-command.c): New variables.
32470 ($(objpfx)rtld-%.os rules): Use them.
32471
e55a9b25
AZ
324722013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32473
32474 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32475 fields.
32476
346d65b3
RM
324772013-06-17 Roland McGrath <roland@hack.frob.com>
32478
12086fb4
RM
32479 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32480 length of target pattern, then descending length of dependency pattern.
32481 * configure.in (AWK): Require gawk 3.1.2 or newer.
32482 * manual/install.texi (Tools for Compilation): Say that we do.
32483 * configure: Regenerated.
32484
346d65b3
RM
32485 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32486 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32487 * scripts/sysd-rules.awk: ... this new script.
32488 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32489 than a glob-style pattern.
32490
1a846317
JM
324912013-06-17 Joseph Myers <joseph@codesourcery.com>
32492
32493 * math/test-misc.c (main): Do not treat incorrectly rounded
32494 conversions as failure unless ROUNDING_TESTS passes.
32495
8fc75e6f
JM
324962013-06-15 Joseph Myers <joseph@codesourcery.com>
32497
3711a167
JM
32498 [BZ #15631]
32499 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32500 restore exception state around main square root computation, then
32501 check for inexactness explicitly.
32502
8fc75e6f
JM
32503 * math/libm-test.inc (fma_test_data): Add another test.
32504
61dd6208
SP
325052013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32506
adf23d2c
SP
32507 * manual/threads.texi (Non-POSIX Extensions): New document
32508 node. Document pthread_getattr_default_np and
32509 pthread_setattr_default_np.
32510
61dd6208
SP
32511 * Versions.def (libpthread): Add GLIBC_2.18.
32512 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32514 Likewise.
32515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32516 Likewise.
32517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32518 Likewise.
32519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32520 Likewise.
32521 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32522 Likewise.
32523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32524 Likewise.
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32526 Likewise.
32527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32528 Likewise.
32529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32530 Likewise.
32531
d086fc7b
LD
325322013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32533
32534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32535 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32536
747ef469
SP
325372013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32538 H.J. Lu <hjl.tools@gmail.com>
32539
32540 [BZ #15627]
32541 * sysdeps/x86_64/rtld-memset.c: Remove file.
32542 * sysdeps/x86_64/rtld-memset.S: New file.
32543
1b2feed2
JM
325442013-06-14 Joseph Myers <joseph@codesourcery.com>
32545
32546 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32547 (test_in_one_mode): Take arguments for whether the rounding mode
32548 is supported for each floating-point type.
32549 (do_test): Pass new arguments to test_in_one_mode using
32550 ROUNDING_TESTS.
32551
a58ad3f8
RM
325522013-06-13 Roland McGrath <roland@hack.frob.com>
32553
32554 * posix/tst-waitid.c (do_test): Distinguish different instances of
32555 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
32556 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32557 before entering the kernel for waitpid.
32558
c204ab28
SP
325592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32560
32561 * NEWS: Fix note on clock function precision. Text by Roland
32562 McGrath.
32563
f4a29fba
RM
325642013-06-13 Roland McGrath <roland@hack.frob.com>
32565
32566 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32567 it into place only when and if the sanity check passes.
32568
1f24b9ad
JM
325692013-06-13 Joseph Myers <joseph@codesourcery.com>
32570
32571 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32572 output for whether conversion result is exact. Take argument
32573 indicating whether type is IBM long double.
32574 (round_for_all): Change need_exact field to ibm_ld.
32575 * stdlib/tst-strtod-round.c (struct exactness): New type.
32576 (struct test): Change bool ld_ok field to struct exactness exact.
32577 (TEST): Update all definitions for change to field.
32578 (tests): Regenerate array contents.
32579 (test_in_one_mode): Take pointer to new field instead of old ld_ok
32580 field value. Check for IBM long double here.
32581 (do_test): Update calls to test_in_one_mode.
32582
58206c68
SP
325832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32584
32585 [BZ #12515]
32586 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32587 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32588
2d6f4c5b 325892013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
32590
32591 [BZ #15605]
32592 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32593 generated by the compiler on loop optimizations.
32594 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32595 general definitions.
32596
94f2c076
JM
325972013-06-12 Joseph Myers <joseph@codesourcery.com>
32598
32599 * math/bug-nextafter.c: Include <math-tests.h>.
32600 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32601 the relevant type.
32602 * math/bug-nexttoward.c: Include <math-tests.h>.
32603 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32604 the relevant type.
32605 * math/test-misc.c: Include <math-tests.h>.
32606 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32607 the relevant type.
32608
e0e50a0a
AJ
326092013-06-12 Andreas Jaeger <aj@suse.de>
32610
32611 * po/ia.po: Update Interlingua translation from translation
32612 project.
32613
25061094
SP
326142013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32615
32616 * include/fenv.h: Include stdbool.h.
32617 (struct rm_ctx): New structure.
32618 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32619 Define macro.
32620 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32621 (SET_RESTORE_ROUNDF): Likewise.
32622 (SET_RESTORE_ROUNDL): Likewise.
32623 (SET_RESTORE_ROUND_NOEX): Likewise.
32624 (SET_RESTORE_ROUND_NOEXF): Likewise.
32625 (SET_RESTORE_ROUND_NOEXL): Likewise.
32626 (SET_RESTORE_ROUND_53BIT): Likewise.
32627 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32628 (libc_feresetround_noexf_ctx): Likewise.
32629 (libc_feresetround_noexl_ctx): Likewise.
32630 (libc_feholdsetround_53bit_ctx): Likewise.
32631 (libc_feresetround_53bit_ctx): Likewise.
32632 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32633 (libc_feholdexcept_setround_sse_ctx): New function.
32634 (libc_fesetenv_sse_ctx): Likewise.
32635 (libc_feupdateenv_sse_ctx): Likewise.
32636 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32637 (libc_feholdexcept_setround_387_ctx): Likewise.
32638 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32639 (libc_feholdsetround_387_prec_ctx): Likewise.
32640 (libc_feholdsetround_387_ctx): Likewise.
32641 (libc_feholdsetround_387_53bit_ctx): Likewise.
32642 (libc_feholdsetround_sse_ctx): Likewise.
32643 (libc_feresetround_sse_ctx): Likewise.
32644 (libc_feresetround_387_ctx): Likewise.
32645 (libc_feupdateenv_387_ctx): Likewise.
32646 (libc_feholdexcept_setroundf_ctx): Define macro.
32647 (libc_fesetenvf_ctx): Likewise.
32648 (libc_feupdateenvf_ctx): Likewise.
32649 (libc_feholdsetroundf_ctx): Likewise.
32650 (libc_feresetroundf_ctx): Likewise.
32651 (libc_feholdexcept_setround_ctx): Likewise.
32652 (libc_fesetenv_ctx): Likewise.
32653 (libc_feupdateenv_ctx): Likewise.
32654 (libc_feholdsetround_ctx): Likewise.
32655 (libc_feresetround_ctx): Likewise.
32656 (libc_feholdexcept_setroundl_ctx): Likewise.
32657 (libc_feupdateenvl_ctx): Likewise.
32658 (libc_feholdsetroundl_ctx): Likewise.
32659 (libc_feresetroundl_ctx): Likewise.
32660 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32661 (libc_feresetround_53bit_ctx): Likewise.
32662
59b30555
SP
326632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32664
32665 * locale/iso-639.def: Convert to UTF-8.
32666
f1d73d30
JM
326672013-06-11 Joseph Myers <joseph@codesourcery.com>
32668
32669 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32670 (EXCEPTION_TESTS_double): Likewise.
32671 (EXCEPTION_TESTS_long_double): Likewise.
32672 (EXCEPTION_TESTS): Likewise.
32673 * math/libm-test.inc (test_exceptions): Only test exceptions if
32674 EXCEPTION_TESTS (FLOAT).
32675
94aca5e7
SP
326762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32677
32678 * benchtests/Makefile (string-bench): Add strcpy_chk and
32679 stpcpy_chk.
32680 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32681 * benchtests/bench-stpcpy_chk.c: New file.
32682 * benchtests/bench-strcpy_chk-ifunc.c: New file.
32683 * benchtests/bench-strcpy_chk.c: New file.
32684 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32685 code.
32686 (do_test): Likewise.
32687
fac0c5f2
RA
326882013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32689
32690 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32691 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32692 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32693 with tabs where appropriate.
32694 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32695 dl-procinfo.h.
32696 [PPC_PLATFORM_PPC440]: Likewise.
32697 [PPC_PLATFORM_PPC464]: Likewise.
32698 [PPC_PLATFORM_PPC476]: Likewise.
32699 (_dl_string_platform): Add support for detecting ppc405, ppc440,
32700 ppc464, and ppc476 platform strings merging from ports/
32701 dl-procinfo.h.
32702
f22bc486
AS
327032013-06-11 Andreas Schwab <schwab@suse.de>
32704
32705 [BZ #14991]
32706 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32707 (from_ucs4_idx): Regenerate.
32708 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32709 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32710 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32711 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32712 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32713 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32714 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32715 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32716 from FROM_LOOP and TO_LOOP specific macros.
32717 (BODY): Handle combining characters.
32718 * iconvdata/BIG5HKSCS.irreversible: Update.
32719 * iconvdata/BIG5HKSCS.precomposed: New file.
32720 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32721 characters.
32722 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32723
c1f75dc3
SP
327242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32725
4eacded2
SP
32726 * include/sys/time.h: Fix indentation and add copyright header.
32727
fec799f8
SP
32728 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32729 (do_test): Likewise.
32730 * string/test-memchr.c (do_one_test): Likewise.
32731 (do_test): Likewise.
32732 * string/test-memcmp.c (do_one_test): Likewise.
32733 (do_test): Likewise.
32734 * string/test-memcpy.c (do_one_test): Likewise.
32735 (do_test): Likewise.
32736 * string/test-memmem.c (do_one_test): Likewise.
32737 (do_test): Likewise.
32738 (do_random_tests): Likewise.
32739 * string/test-memmove.c (do_one_test): Likewise.
32740 (do_test): Likewise.
32741 * string/test-memset.c (do_one_test): Likewise.
32742 (do_test): Likewise.
32743 * string/test-rawmemchr.c (do_one_test): Likewise.
32744 (do_test): Likewise.
32745 * string/test-strcasecmp.c (do_one_test): Likewise.
32746 (do_test): Likewise.
32747 * string/test-strcasestr.c (do_one_test): Likewise.
32748 (do_test): Likewise.
32749 * string/test-strcat.c (do_one_test): Likewise.
32750 (do_test): Likewise.
32751 * string/test-strchr.c (do_one_test): Likewise.
32752 (do_test): Likewise.
32753 * string/test-strcmp.c (do_one_test): Likewise.
32754 (do_test): Likewise.
32755 * string/test-strcpy.c (do_one_test): Likewise.
32756 (do_test): Likewise.
32757 * string/test-string.h: Likewise.
32758 (test_init): Likewise.
32759 * string/test-strlen.c (do_one_test): Likewise.
32760 (do_test): Likewise.
32761 * string/test-strncasecmp.c (do_one_test): Likewise.
32762 (do_test): Likewise.
32763 * string/test-strncat.c (do_one_test): Likewise.
32764 (do_test): Likewise.
32765 * string/test-strncmp.c (do_one_test): Likewise.
32766 (do_test_limit): Likewise.
32767 (do_test): Likewise.
32768 * string/test-strncpy.c (do_one_test): Likewise.
32769 (do_test): Likewise.
32770 * string/test-strnlen.c (do_one_test): Likewise.
32771 (do_test): Likewise.
32772 * string/test-strpbrk.c (do_one_test): Likewise.
32773 (do_test): Likewise.
32774 * string/test-strrchr.c (do_one_test): Likewise.
32775 (do_test): Likewise.
32776 * string/test-strspn.c (do_one_test): Likewise.
32777 (do_test): Likewise.
32778 * string/test-strstr.c (do_one_test): Likewise.
32779 (do_test): Likewise.
32780
97020474
SP
32781 * benchtests/Makefile (string-bench): Add string benchmarks.
32782 * benchtests/bench-bcopy-ifunc.c: New file.
32783 * benchtests/bench-bcopy.c: New file.
32784 * benchtests/bench-bzero-ifunc.c: New file.
32785 * benchtests/bench-bzero.c: New file.
32786 * benchtests/bench-memccpy-ifunc.c: New file.
32787 * benchtests/bench-memccpy.c: New file.
32788 * benchtests/bench-memchr-ifunc.c: New file.
32789 * benchtests/bench-memchr.c: New file.
32790 * benchtests/bench-memcmp-ifunc.c: New file.
32791 * benchtests/bench-memcmp.c: New file.
32792 * benchtests/bench-memmem-ifunc.c: New file.
32793 * benchtests/bench-memmem.c: New file.
32794 * benchtests/bench-memmove-ifunc.c: New file.
32795 * benchtests/bench-memmove.c: New file.
32796 * benchtests/bench-mempcpy-ifunc.c: New file.
32797 * benchtests/bench-mempcpy.c: New file.
32798 * benchtests/bench-memset-ifunc.c: New file.
32799 * benchtests/bench-memset.c: New file.
32800 * benchtests/bench-rawmemchr-ifunc.c: New file.
32801 * benchtests/bench-rawmemchr.c: New file.
32802 * benchtests/bench-stpcpy-ifunc.c: New file.
32803 * benchtests/bench-stpcpy.c: New file.
32804 * benchtests/bench-stpncpy-ifunc.c: New file.
32805 * benchtests/bench-stpncpy.c: New file.
32806 * benchtests/bench-strcasecmp-ifunc.c: New file.
32807 * benchtests/bench-strcasecmp.c: New file.
32808 * benchtests/bench-strcasestr-ifunc.c: New file.
32809 * benchtests/bench-strcasestr.c: New file.
32810 * benchtests/bench-strcat-ifunc.c: New file.
32811 * benchtests/bench-strcat.c: New file.
32812 * benchtests/bench-strchr-ifunc.c: New file.
32813 * benchtests/bench-strchr.c: New file.
32814 * benchtests/bench-strchrnul-ifunc.c: New file.
32815 * benchtests/bench-strchrnul.c: New file.
32816 * benchtests/bench-strcmp-ifunc.c: New file.
32817 * benchtests/bench-strcmp.c: New file.
32818 * benchtests/bench-strcpy-ifunc.c: New file.
32819 * benchtests/bench-strcpy.c: New file.
32820 * benchtests/bench-strcspn-ifunc.c: New file.
32821 * benchtests/bench-strcspn.c: New file.
32822 * benchtests/bench-strlen-ifunc.c: New file.
32823 * benchtests/bench-strlen.c: New file.
32824 * benchtests/bench-strncasecmp-ifunc.c: New file.
32825 * benchtests/bench-strncasecmp.c: New file.
32826 * benchtests/bench-strncat-ifunc.c: New file.
32827 * benchtests/bench-strncat.c: New file.
32828 * benchtests/bench-strncmp-ifunc.c: New file.
32829 * benchtests/bench-strncmp.c: New file.
32830 * benchtests/bench-strncpy-ifunc.c: New file.
32831 * benchtests/bench-strncpy.c: New file.
32832 * benchtests/bench-strnlen-ifunc.c: New file.
32833 * benchtests/bench-strnlen.c: New file.
32834 * benchtests/bench-strpbrk-ifunc.c: New file.
32835 * benchtests/bench-strpbrk.c: New file.
32836 * benchtests/bench-strrchr-ifunc.c: New file.
32837 * benchtests/bench-strrchr.c: New file.
32838 * benchtests/bench-strspn-ifunc.c: New file.
32839 * benchtests/bench-strspn.c: New file.
32840 * benchtests/bench-strstr-ifunc.c: New file.
32841 * benchtests/bench-strstr.c: New file.
32842
c1f75dc3
SP
32843 * benchtests/Makefile: Disable parallel execution of targets.
32844 (string-bench): Add memcpy.
32845 (benchset): New variable to store a list of benchmark sets.
32846 (bench-func): Renamed from bench.
32847 (bench-set): New target.
32848 (bench): Depend on bench-func and bench-set.
32849 * benchtests/README: Add section on benchmark sets.
32850 * benchtests/bench-memcpy-ifunc.c: New file.
32851 * benchtests/bench-memcpy.c: New file.
32852 * benchtests/bench-string.h: New file.
32853
50fd745b
AS
328542013-06-11 Andreas Schwab <schwab@suse.de>
32855
32856 [BZ #15577]
32857 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32858 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32859 values in the triple.
32860 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32861 terminator in the group key.
32862
3ee7e9fe
AJ
328632013-06-11 Andreas Jaeger <aj@suse.de>
32864
32865 * po/zh_TW.po: Update Chinese (traditional) translation from
32866 translation project.
32867
89fb6835
SP
328682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32869
32870 * include/time.h (__clock_gettime): Add libc_hidden_proto.
32871 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32872 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
32873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32874 (clock_getcpuclockid): Likewise.
32875 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32876 Add weak_alias and libc_hidden_def.
32877 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32878 * rt/clock_gettime.c (clock_gettime): Rename to
32879 __clock_gettime. Add weak_alias and libc_hidden_def.
32880 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32881 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32882 __clock_nanosleep. Add weak_alias and libc_hidden_def.
32883 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32884 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32885 Likewise.
32886 * rt/clock_settime.c (clock_settime): Rename to
32887 __clock_settime. Add weak_alias and libc_hidden_def.
32888 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32889
0efa6f8b
JM
328902013-06-10 Joseph Myers <joseph@codesourcery.com>
32891
b8c61b4b
JM
32892 * mach/err_boot.sub: Remove trailing whitespace.
32893 * mach/err_ipc.sub: Likewise.
32894 * mach/err_mach.sub: Likewise.
32895
0efa6f8b
JM
32896 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32897 (ROUNDING_TESTS_double): Likewise.
32898 (ROUNDING_TESTS_long_double): Likewise.
32899 (ROUNDING_TESTS): Likewise.
32900 * math/libm-test.inc: Include <math-tests.h>.
32901 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32902 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32903 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32904 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32905
50b818bf
SP
329062013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32907
32908 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32909 of assigning.
32910
60d2f8f3
JM
329112013-06-08 Joseph Myers <joseph@codesourcery.com>
32912
4902d2c3
JM
32913 * sysdeps/gnu/errlist.awk: Do not generate space at end of
32914 otherwise empty TRANS lines.
32915 * sysdeps/gnu/errlist.c: Regenerated.
32916
60d2f8f3
JM
32917 * catgets/gencat.c (error_print): Use (void) in function
32918 definition.
32919 * crypt/crypt_util.c (__init_des): Likewise.
32920 * crypt/speeds.c (Stop): Likewise.
32921 (main): Likewise.
32922 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32923 * inet/ruserpass.c (token): Likewise.
32924 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32925 * intl/localealias.c (extend_alias_table): Likewise.
32926 * intl/plural-exp.c (init_germanic_plural): Likewise.
32927 * libio/fcloseall.c (__fcloseall): Likewise.
32928 * libio/genops.c (_IO_flush_all): Likewise.
32929 (_IO_flush_all_linebuffered): Likewise.
32930 (_IO_cleanup): Likewise.
32931 (_IO_iter_begin): Likewise.
32932 (_IO_iter_end): Likewise.
32933 (_IO_list_lock): Likewise.
32934 (_IO_list_unlock): Likewise.
32935 (_IO_list_resetlock): Likewise.
32936 * libio/getchar.c (getchar): Likewise.
32937 * libio/getchar_u.c (getchar_unlocked): Likewise.
32938 * libio/getwchar.c (getwchar): Likewise.
32939 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32940 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32941 * login/getpt.c (__getpt): Likewise.
32942 * login/tst-utmp.c (main): Likewise.
32943 * malloc/hooks.c (__malloc_check_init): Likewise.
32944 * malloc/malloc.c (__malloc_stats): Likewise.
32945 * malloc/mtrace.c (tr_break): Likewise.
32946 (mtrace): Likewise.
32947 (muntrace): Likewise.
32948 * misc/fstab.c (endfsent): Likewise.
32949 * misc/getclktck.c (__getclktck): Likewise.
32950 * misc/getdtsz.c (__getdtablesize): Likewise.
32951 * misc/gethostid.c (gethostid): Likewise.
32952 * misc/getpagesize.c (__getpagesize): Likewise.
32953 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32954 (__get_nprocs): Likewise.
32955 (__get_phys_pages): Likewise.
32956 (__get_avphys_pages): Likewise.
32957 * misc/getttyent.c (getttyent): Likewise.
32958 (setttyent): Likewise.
32959 (endttyent): Likewise.
32960 * misc/getusershell.c (getusershell): Likewise.
32961 (endusershell): Likewise.
32962 (setusershell): Likewise.
32963 (initshells): Likewise.
32964 * misc/hsearch.c (__hdestroy): Likewise.
32965 * misc/sync.c (sync): Likewise.
32966 * misc/syslog.c (closelog_internal): Likewise.
32967 (closelog): Likewise.
32968 * misc/ttyslot.c (ttyslot): Likewise.
32969 * misc/vhangup.c (vhangup): Likewise.
32970 * posix/fork.c (__fork): Likewise.
32971 * posix/getegid.c (__getegid): Likewise.
32972 * posix/geteuid.c (__geteuid): Likewise.
32973 * posix/getgid.c (__getgid): Likewise.
32974 * posix/getpid.c (__getpid): Likewise.
32975 * posix/getppid.c (__getppid): Likewise.
32976 * posix/getuid.c (__getuid): Likewise.
32977 * posix/pause.c (pause): Likewise.
32978 * posix/setpgrp.c (setpgrp): Likewise.
32979 * posix/setsid.c (__setsid): Likewise.
32980 * posix/test-vfork.c (noop): Likewise.
32981 * resolv/gethnamaddr.c (_endhtent): Likewise.
32982 (_gethtent): Likewise.
32983 (ht_endhostent): Likewise.
32984 (gethostent): Likewise.
32985 (dns_service): Likewise.
32986 * stdlib/drand48.c (drand48): Likewise.
32987 * stdlib/lrand48.c (lrand48): Likewise.
32988 * stdlib/mrand48.c (mrand48): Likewise.
32989 * stdlib/rand.c (rand): Likewise.
32990 * stdlib/random.c (__random): Likewise.
32991 * stdlib/setenv.c (clearenv): Likewise.
32992 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32993 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32994 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32995 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32996 (__get_nprocs): Likewise.
32997 (__get_phys_pages): Likewise.
32998 (__get_avphys_pages): Likewise.
32999 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33000 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33001 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33002 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33003 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33004 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33005 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33006 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33007 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33008 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33009 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33010 * sysdeps/mach/hurd/sync.c (sync): Likewise.
33011 * sysdeps/posix/clock.c (clock): Likewise.
33012 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33013 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33014 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33015 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33016 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33018 (__get_nprocs_conf): Likewise.
33019 (__get_phys_pages): Likewise.
33020 (__get_avphys_pages): Likewise.
33021 * time/clock.c (clock): Likewise.
33022 * time/tzset.c (__tzname_max): Likewise.
33023
2e09a79a
JM
330242013-06-07 Joseph Myers <joseph@codesourcery.com>
33025
33026 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33027 (__bswap_32): Do not use "register".
33028 * crypt/crypt.c (_ufc_doit_r): Likewise.
33029 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33030 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33031 * gmon/gmon.c (__monstartup): Likewise.
33032 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33033 * hurd/hurdmalloc.c (more_memory): Likewise.
33034 (malloc): Likewise.
33035 (free): Likewise.
33036 (realloc): Likewise.
33037 (malloc_fork_prepare): Likewise.
33038 (malloc_fork_parent): Likewise.
33039 (malloc_fork_child): Likewise.
33040 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33041 (_svcauth_des): Likewise.
33042 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33043 * inet/inet_net.c (inet_network): Likewise.
33044 * inet/inet_netof.c (inet_netof): Likewise.
33045 * inet/rcmd.c (__validuser2_sa): Likewise.
33046 * io/fts.c (fts_open): Likewise.
33047 (fts_load): Likewise.
33048 (fts_close): Likewise.
33049 (fts_read): Likewise.
33050 (fts_children): Likewise.
33051 (fts_build): Likewise.
33052 (fts_stat): Likewise.
33053 (fts_sort): Likewise.
33054 (fts_alloc): Likewise.
33055 (fts_lfree): Likewise.
33056 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33057 (_IO_file_xsgetn): Likewise.
33058 (_IO_file_xsgetn_mmap): Likewise.
33059 * libio/iofopncook.c (_IO_cookie_read): Likewise.
33060 (_IO_cookie_write): Likewise.
33061 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33062 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33063 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33064 * malloc/obstack.c (_obstack_begin): Likewise.
33065 (_obstack_begin_1): Likewise.
33066 (_obstack_newchunk): Likewise.
33067 (_obstack_allocated_p): Likewise.
33068 (obstack_free): Likewise.
33069 (_obstack_memory_used): Likewise.
33070 * misc/getttyent.c (getttynam): Likewise.
33071 (getttyent): Likewise.
33072 (skip): Likewise.
33073 (value): Likewise.
33074 * misc/getusershell.c (initshells): Likewise.
33075 * misc/syslog.c (__vsyslog_chk): Likewise.
33076 * misc/ttyslot.c (ttyslot): Likewise.
33077 * nis/nis_hash.c (__nis_hash): Likewise.
33078 * posix/fnmatch_loop.c (FCT): Likewise.
33079 * posix/getconf.c (print_all): Likewise.
33080 (main): Likewise.
33081 * posix/getopt.c (exchange): Likewise.
33082 * posix/glob.c (globfree): Likewise.
33083 (prefix_array): Likewise.
33084 (__glob_pattern_type): Likewise.
33085 * resolv/arpa/nameser.h (NS_GET16): Likewise.
33086 (NS_GET32): Likewise.
33087 (NS_PUT16): Likewise.
33088 (NS_PUT32): Likewise.
33089 * resolv/gethnamaddr.c (getanswer): Likewise.
33090 (gethostbyname2): Likewise.
33091 (gethostbyaddr): Likewise.
33092 (_gethtent): Likewise.
33093 (_gethtbyname2): Likewise.
33094 (_gethtbyaddr): Likewise.
33095 * resolv/ns_print.c (dst_s_get_int16): Likewise.
33096 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33097 * resolv/res_init.c (__res_vinit): Likewise.
33098 (net_mask): Likewise.
33099 * resolv/res_mkquery.c (outchar): Likewise.
33100 (PRINT): Likewise.
33101 * stdio-common/printf_fp.c (outchar): Likewise.
33102 (PRINT): Likewise.
33103 * stdio-common/printf_fphex.c (outchar): Likewise.
33104 (PRINT): Likewise.
33105 * stdio-common/printf_size.c (outchar): Likewise.
33106 (PRINT): Likewise.
33107 * stdio-common/test_rdwr.c (main): Likewise.
33108 * stdio-common/tfformat.c (matches): Likewise.
33109 * stdio-common/vfprintf.c (outchar): Likewise.
33110 (printf_unknown): Likewise.
33111 (buffered_vfprintf): Likewise.
33112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33113 * stdio-common/xbug.c (AppendToBuffer): Likewise.
33114 (ReadFile): Likewise.
33115 * stdlib/qsort.c (SWAP): Likewise.
33116 (_quicksort): Likewise.
33117 * stdlib/setenv.c (__add_to_environ): Likewise.
33118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33119 * stdlib/strtol_l.c (__strtol_l): Likewise.
33120 * stdlib/tst-strtod.c (main): Likewise.
33121 * stdlib/tst-strtol.c (main): Likewise.
33122 * stdlib/tst-strtoll.c (main): Likewise.
33123 * string/bits/string2.h (__strcmp_cc): Likewise.
33124 (__strcmp_cg): Likewise.
33125 (__strcspn_c1): Likewise.
33126 (__strcspn_c2): Likewise.
33127 (__strcspn_c3): Likewise.
33128 (__strspn_c1): Likewise.
33129 (__strspn_c2): Likewise.
33130 (__strspn_c3): Likewise.
33131 (__strsep_1c): Likewise.
33132 (__strsep_2c): Likewise.
33133 (__strsep_3c): Likewise.
33134 * string/memccpy.c (__memccpy): Likewise.
33135 * string/stpcpy.c (__stpcpy): Likewise.
33136 * string/strcmp.c (strcmp): Likewise.
33137 * string/strrchr.c (strrchr): Likewise.
33138 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33139 Likewise.
33140 * sysdeps/mach/hurd/getcwd.c
33141 (_hurd_canonicalize_directory_name_internal): Likewise.
33142 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33143 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33144 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33145 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33146 Likewise, in both definitions.
33147 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33148 definitions.
33149 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33150 64] (__bswap_64): Likewise.
33151 * time/test_time.c (main): Likewise.
33152 * time/tzfile.c (__tzfile_read): Likewise.
33153 (__tzfile_compute): Likewise.
33154 * time/tzset.c (__tzset_parse_tz): Likewise.
33155 (tzset_internal): Likewise.
33156 (compute_change): Likewise.
33157 * wcsmbs/wcscat.c (__wcscat): Likewise.
33158 * wcsmbs/wcschr.c (wcschr): Likewise.
33159 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33160 * wcsmbs/wcscspn.c (wcscspn): Likewise.
33161 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33162 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33163 * wcsmbs/wcsspn.c (wcsspn): Likewise.
33164 * wcsmbs/wcsstr.c (wcsstr): Likewise.
33165 * wcsmbs/wmemchr.c (wmemchr): Likewise.
33166 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33167 * wcsmbs/wmemset.c (wmemset): Likewise.
33168
9e54314b
JM
331692013-06-06 Joseph Myers <joseph@codesourcery.com>
33170
33171 * scripts/config.guess: Update to version 2013-05-16.
33172 * scripts/config.sub: Update to version 2013-04-24.
33173 * scripts/install-sh: Update to version 2011-11-20.07.
33174 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33175 * scripts/move-if-change: Update to version 2012-01-06 07:23.
33176
350635a5
OB
331772013-06-06 Ondřej Bílka <neleai@seznam.cz>
33178
33179 * debug/fgetws_u_chk.c: Fix leading whitespaces.
33180 * elf/sln.c: Likewise.
33181 * hurd/hurd/ioctl.h: Likewise.
33182 * hurd/hurdmalloc.c: Likewise.
33183 * hurd/xattr.c: Likewise.
33184 * include/shlib-compat.h: Likewise.
33185 * inet/ruserpass.c: Likewise.
33186 * libio/iofgets_u.c: Likewise.
33187 * libio/iofgetws_u.c: Likewise.
33188 * locale/programs/ld-identification.c: Likewise.
33189 * locale/programs/ld-time.c: Likewise.
33190 * mach/msg-destroy.c: Likewise.
33191 * nss/nss_files/files-netgrp.c: Likewise.
33192 * resolv/res_data.c: Likewise.
33193 * soft-fp/op-1.h: Likewise.
33194 * soft-fp/op-2.h: Likewise.
33195 * soft-fp/op-4.h: Likewise.
33196 * soft-fp/op-common.h: Likewise.
33197 * stdio-common/printf_fphex.c: Likewise.
33198 * stdlib/strtod_l.c: Likewise.
33199 * sunrpc/rpc/clnt.h: Likewise.
33200 * sysdeps/generic/framestate.c: Likewise.
33201 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33202 * sysdeps/i386/bsd-setjmp.S: Likewise.
33203 * sysdeps/i386/__longjmp.S: Likewise.
33204 * sysdeps/i386/setjmp.S: Likewise.
33205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33206 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33207 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33223 * sysdeps/ieee754/support.c: Likewise.
33224 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33225 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33226 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33227 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33228 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33229 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33230 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33231 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33232 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33233 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33234 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33235 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33236 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33237 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33239 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33240 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33242
44a988af
OB
332432013-06-05 Ondřej Bílka <neleai@seznam.cz>
33244
25506f09 33245 * posix/transbug.c: Remove executable mode.
44a988af 33246
9c84384c
JM
332472013-06-05 Joseph Myers <joseph@codesourcery.com>
33248
33249 * crypt/speeds.c: Remove trailing whitespace.
33250 * dlfcn/default.c: Likewise.
33251 * elf/ifuncdep2.c: Likewise.
33252 * elf/ifuncmain1.c: Likewise.
33253 * elf/ifuncmain1vis.c: Likewise.
33254 * elf/testobj.h: Likewise.
33255 * elf/tst-stackguard1.c: Likewise.
33256 * gmon/sys/gmon.h: Likewise.
33257 * hurd/hurdmsg.c: Likewise.
33258 * hurd/new-fd.c: Likewise.
33259 * hurd/ports-get.c: Likewise.
33260 * iconvdata/ibm1008_420.c: Likewise.
33261 * inet/tst-getni1.c: Likewise.
33262 * inet/tst-getni2.c: Likewise.
33263 * libio/ioungetc.c: Likewise.
33264 * libio/wfiledoalloc.c: Likewise.
33265 * manual/libm-err-tab.pl: Likewise.
33266 * math/w_dremf.c: Likewise.
33267 * misc/ftruncate.c: Likewise.
33268 * posix/bug-glob2.c: Likewise.
33269 * posix/tst-pcre.c: Likewise.
33270 * posix/wait4.c: Likewise.
33271 * resolv/README: Likewise.
33272 * resolv/res_debug.h: Likewise.
33273 * resolv/tst-inet_ntop.c: Likewise.
33274 * setjmp/bug269-setjmp.c: Likewise.
33275 * soft-fp/extended.h: Likewise.
33276 * soft-fp/op-1.h: Likewise.
33277 * soft-fp/op-2.h: Likewise.
33278 * soft-fp/op-4.h: Likewise.
33279 * soft-fp/op-8.h: Likewise.
33280 * soft-fp/testit.c: Likewise.
33281 * stdio-common/bug16.c: Likewise.
33282 * stdlib/random.c: Likewise.
33283 * sunrpc/rpcsvc/rquota.x: Likewise.
33284 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33289 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33293 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33295 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33300 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33306 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33309 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33311 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33312 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33313 * sysdeps/ieee754/s_lib_version.c: Likewise.
33314 * sysdeps/mach/hurd/check_fds.c: Likewise.
33315 * sysdeps/mach/hurd/getsockname.c: Likewise.
33316 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33317 * sysdeps/mach/hurd/recvfrom.c: Likewise.
33318 * sysdeps/powerpc/bits/link.h: Likewise.
33319 * sysdeps/powerpc/dl-procinfo.c: Likewise.
33320 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33321 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33322 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33323 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33324 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33325 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33326 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33327 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33328 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33330 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33331 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33332 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33333 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33334 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33336 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33339 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33340 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33342 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33343 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33345 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33346 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33347 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33348 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33353 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33354 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33355 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33356 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33357 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33358 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33359 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33360 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33361 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33362 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33363 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33364 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33365 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33366 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33367 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33368 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33372 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33373 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33374 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33375 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33376 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33378 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33379 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33380 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33381 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33383 * sysdeps/powerpc/sysdep.h: Likewise.
33384 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33385 * sysdeps/s390/s390-64/sub_n.S: Likewise.
33386 * sysdeps/sh/dl-trampoline.S: Likewise.
33387 * sysdeps/sh/memset.S: Likewise.
33388 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33389 * sysdeps/sh/strlen.S: Likewise.
33390 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33391 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33392 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33393 * sysdeps/sparc/sparc32/rem.S: Likewise.
33394 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33395 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33396 * sysdeps/sparc/sparc32/strchr.S: Likewise.
33397 * sysdeps/sparc/sparc32/udiv.S: Likewise.
33398 * sysdeps/sparc/sparc32/urem.S: Likewise.
33399 * sysdeps/sparc/sparc64/add_n.S: Likewise.
33400 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33401 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33402 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33403 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33404 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33405 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33406 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33407 * sysdeps/unix/bsd/times.c: Likewise.
33408 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33409 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33414 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33415 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33418 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33419 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33420 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33421 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33422 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33423 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33424 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33425 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33426 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33427 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33428 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33429 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33430 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33431 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33432 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33433 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33434 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33436 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33437 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33438 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33439 * sysdeps/x86_64/strcspn.S: Likewise.
33440
869378a5
RA
334412013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33442
33443 * locale/C-translit.h: Revert #include <stdint.h> because this is a
33444 generated file. Regenerate properly from gen-translit.pl.
33445 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
33446 locale/C-translit.h.
33447
840e2943
AS
334482013-06-05 Andreas Schwab <schwab@suse.de>
33449
33450 [BZ #15100]
33451 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33452 week as 6 instead of -1.
33453 * time/tst-strptime.c (day_tests): Add test case.
33454
4c60cb0c
SP
334552013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33456
33457 * sysdeps/generic/math_private.h
33458 (libc_feholdexcept_setround_53bit): Replace with
33459 libc_feholdsetround_53bit.
33460 (libc_feupdateenv_53bit): Replace with
33461 libc_feresetround_53bit.
33462 (SET_RESTORE_ROUND_53BIT): Adjust.
33463
d180203e
SP
334642013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33465
96df079a
SP
33466 * string/test-strchrnul.c: Add copyright header.
33467
d180203e
SP
33468 * posix/tst-getaddrinfo4.c: Increase test timeout.
33469
8b0ccb2d
CD
334702013-06-03 Carlos O'Donell <carlos@redhat.com>
33471
33472 [BZ #15536]
33473 * math/libm-test.inc (MAX_EXP): Remove
33474 (MIN_EXP): Define.
33475 (ulp): Use MIN_EXP - MANT_DIG.
33476 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33477
3b3c4d40
CD
334782013-05-31 Carlos O'Donell <carlos@redhat.com>
33479
33480 * po/be.po: Revert last change.
33481 * po/zh_CN.po: Likewise.
33482 * po/header.pot: Likewise.
33483
fab7ce3f
JM
334842013-05-31 Joseph Myers <joseph@codesourcery.com>
33485
33486 * Makefile ($(common-objpfx)linkobj/libc.so): Define
33487 link-libc-deps to empty as target-specific variable.
33488 * Makerules (link-libc-args): New variable.
33489 (libc-for-link): Likewise.
33490 (link-libc-deps): Likewise.
33491 (lib%.so): Depend on $(link-libc-deps). Link with
33492 $(link-libc-args).
33493 (build-module): Link with $(link-libc-args).
33494 (build-module-asneeded): Likewise.
33495 (build-module-helper-objlist): Filter out $(link-libc-deps) from
33496 list of objects.
33497 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33498 target-specific variable.
33499 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33500 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33501 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33502 libc.
33503 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33504 libc and ld.so.
33505 ($(objpfx)libpcprofile.so): Likewise.
33506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33507 libc_nonshared.a.
33508 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33509 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33510 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33511 $(link-libc-deps).
33512 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33513 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33514 * login/Makefile ($(objpfx)libutil.so): Likewise.
33515 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33516 * math/Makefile ($(objpfx)libm.so): Likewise.
33517 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33518 $(objpfx)libnsl.so): Define libc-for-link as target-specific
33519 variable instead of depending directly on libc.
33520 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33521 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33522 $(link-libc-deps).
33523 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33524 libc.
33525 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33526 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33527 ($(objpfx)libanl.so): Likewise.
33528 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33529 ld.so.
33530 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33531 $(link-libc-deps).
33532 * sysdeps/i386/fpu/Makefile: Remove file.
33533 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33534 ($(objpfx)libm.so): Remove dependency on ld.so.
33535
eca5920c
PF
335362013-05-30 Patsy Franklin <pfrankli@redhat.com>
33537
33538 [BZ # 15553]
33539 * nis/yp_xdr.c (XDRMAXNAME): Define.
33540 (XDRMAXRECORD): Define.
33541 (xdr_domainname): Use XDRMAXNAME.
33542 (xdr_mapname): Likewise.
33543 (xdr_peername): Likewise.
33544 (xdr_keydat): Use XDRMAXRECORD.
33545 (xdr_valdat): Likewise.
33546
335472013-05-30 Jeff Law <law@redhat.com>
96945714
JL
33548
33549 [BZ #14256]
33550 * manual/errno.texi (ESTALE): Update to account for more than
33551 just NFS file systems.
33552 * sysdeps/gnu/errlist.c: Regenerated.
33553
b9375348
SP
335542013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33555
33556 [BZ #15465]
33557 * elf/Makefile (tests): Add tst-null-argv.
33558 (modules-names): Add tst-null-argv-lib.
33559 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33560 (tst-null-argv-ENV): Set environment for tst-null-argv.
33561 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33562 (RTLD_PROGNAME): New macro.
33563 * elf/tst-null-argv.c: New test case.
33564 * elf/tst-null-argv-lib.c: Library for test case.
33565 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33566 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33567 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33568 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33569 * elf/dl-init.c (call_init): Likewise.
33570 (_dl_init): Likewise.
33571 * elf/dl-load.c (print_search_path): Likewise.
33572 (_dl_map_object): Likewise.
33573 * elf/dl-lookup.c (do_lookup_x): Likewise.
33574 (add_dependency): Likewise.
33575 (_dl_lookup_symbol_x): Likewise.
33576 (_dl_debug_bindings): Likewise.
33577 * elf/dl-open.c (_dl_show_scope): Likewise.
33578 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33579 * elf/dl-version.c (match_symbol): Likewise.
33580 (_dl_check_map_versions): Likewise.
33581 * elf/rtld.c (dl_main): Likewise.
33582 (print_unresolved): Use RTLD_PROGNAME.
33583 (print_missing_version): Likewise.
33584 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33585 (elf_machine_rela): Likewise.
33586 * sysdeps/powerpc/powerpc32/dl-machine.c
33587 (__process_machine_rela): Likewise.
33588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33589 Likewise.
33590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33591 Likewise.
33592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33593 Likewise.
33594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33595 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33596 Likewise.
33597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33598 Likewise.
33599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33600
8a9f20c8
CD
336012013-05-28 Carlos O'Donell <carlos@redhat.com>
33602
33603 * po/be.po: Add descriptive title.
33604 * po/zh_CN.po: Likewise.
33605 * po/header.pot: Likewise.
33606
0e60d68e
MF
336072013-05-28 Mike Frysinger <vapier@gentoo.org>
33608
33609 * locale/programs/locarchive.c (create_archive): Inlucde fname in
33610 error message.
33611 (enlarge_archive): Likewise.
33612
56b672e9
BN
336132013-05-28 Ben North <ben@redfrontdoor.org>
33614
33615 * manual/arith.texi (frexp): It is the magnitude of the return
33616 value which lies in [0.5, 1), not the return value itself.
33617
5e056687
AZ
336182013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33619
33620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33621
2b66ef5d
TS
336222013-05-26 Thomas Schwinge <thomas@codesourcery.com>
33623
528c2405
TS
33624 * stdio-common/bug26.c (main): Correct fscanf template.
33625
07b4c13d
TS
33626 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33627 declare _dl_skip_args.
33628
ec9dd97c
TS
33629 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33630 Don't declare.
33631
2b66ef5d
TS
33632 * manual/platform.texi: Add missing @end deftypefun.
33633
4f8dfe27
JM
336342013-05-24 Joseph Myers <joseph@codesourcery.com>
33635
0323d086
JM
33636 [BZ #15529]
33637 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33638 bit of mantissa of 2^16382.
33639 * math/libm-test.inc (hypot_test_data): Add more tests.
33640
dd4259b9
JM
33641 * math/libm-test.inc: Add drem and pow10 to list of tested
33642 functions.
33643 (pow10_test): New function.
33644 (drem_test): Likewise.
33645 (drem_test_tonearest): Likewise.
33646 (drem_test_towardzero): Likewise.
33647 (drem_test_downward): Likewise.
33648 (drem_test_upward): Likewise.
33649 (main): Call the new functions.
33650
4f8dfe27
JM
33651 * math/libm-test.inc (finite_test_data): Remove.
33652 (finite_test): Run tests from isfinite_test_data.
33653 (gamma_test_data): Remove.
33654 (gamma_test): Run tests from lgamma_test_data.
33655 * sysdeps/i386/fpu/libm-test-ulps: Update.
33656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33657
d116b7c4
AZ
336582013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33659
33660 * manual/platform.texi: Add PowerPC PPR function set documentation.
33661 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33662 implementation.
33663
e96e3767
CD
336642013-05-24 Carlos O'Donell <carlos@redhat.com>
33665
33666 * math/libm-test.inc (MAX_EXP): Define.
33667 (ULPDIFF): Define.
33668 (ulp): New function.
33669 (check_float_internal): Use ULPDIFF.
33670 (cpow_test): Disable failing test.
33671 (check_ulp): Test ulp() implemetnation.
33672 (main): Call check_ulp before starting tests.
33673
b679a606
JM
336742013-05-24 Joseph Myers <joseph@codesourcery.com>
33675
e8bdba36
JM
33676 * math/gen-libm-test.pl (generate_testfile): Do not handle
33677 START_DATA and END_DATA.
33678 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33679 END_DATA.
33680 (acos_tonearest_test_data): Likewise.
33681 (acos_towardzero_test_data): Likewise.
33682 (acos_downward_test_data): Likewise.
33683 (acos_upward_test_data): Likewise.
33684 (acosh_test_data): Likewise.
33685 (asin_test_data): Likewise.
33686 (asin_tonearest_test_data): Likewise.
33687 (asin_towardzero_test_data): Likewise.
33688 (asin_downward_test_data): Likewise.
33689 (asin_upward_test_data): Likewise.
33690 (asinh_test_data): Likewise.
33691 (atan_test_data): Likewise.
33692 (atanh_test_data): Likewise.
33693 (atan2_test_data): Likewise.
33694 (cabs_test_data): Likewise.
33695 (cacos_test_data): Likewise.
33696 (cacosh_test_data): Likewise.
33697 (carg_test_data): Likewise.
33698 (casin_test_data): Likewise.
33699 (casinh_test_data): Likewise.
33700 (catan_test_data): Likewise.
33701 (catanh_test_data): Likewise.
33702 (cbrt_test_data): Likewise.
33703 (ccos_test_data): Likewise.
33704 (ccosh_test_data): Likewise.
33705 (ceil_test_data): Likewise.
33706 (cexp_test_data): Likewise.
33707 (cimag_test_data): Likewise.
33708 (clog_test_data): Likewise.
33709 (clog10_test_data): Likewise.
33710 (conj_test_data): Likewise.
33711 (copysign_test_data): Likewise.
33712 (cos_test_data): Likewise.
33713 (cos_tonearest_test_data): Likewise.
33714 (cos_towardzero_test_data): Likewise.
33715 (cos_downward_test_data): Likewise.
33716 (cos_upward_test_data): Likewise.
33717 (cosh_test_data): Likewise.
33718 (cosh_tonearest_test_data): Likewise.
33719 (cosh_towardzero_test_data): Likewise.
33720 (cosh_downward_test_data): Likewise.
33721 (cosh_upward_test_data): Likewise.
33722 (cpow_test_data): Likewise.
33723 (cproj_test_data): Likewise.
33724 (creal_test_data): Likewise.
33725 (csin_test_data): Likewise.
33726 (csinh_test_data): Likewise.
33727 (csqrt_test_data): Likewise.
33728 (ctan_test_data): Likewise.
33729 (ctan_tonearest_test_data): Likewise.
33730 (ctan_towardzero_test_data): Likewise.
33731 (ctan_downward_test_data): Likewise.
33732 (ctan_upward_test_data): Likewise.
33733 (ctanh_test_data): Likewise.
33734 (ctanh_tonearest_test_data): Likewise.
33735 (ctanh_towardzero_test_data): Likewise.
33736 (ctanh_downward_test_data): Likewise.
33737 (ctanh_upward_test_data): Likewise.
33738 (erf_test_data): Likewise.
33739 (erfc_test_data): Likewise.
33740 (exp_test_data): Likewise.
33741 (exp_tonearest_test_data): Likewise.
33742 (exp_towardzero_test_data): Likewise.
33743 (exp_downward_test_data): Likewise.
33744 (exp_upward_test_data): Likewise.
33745 (exp10_test_data): Likewise.
33746 (exp2_test_data): Likewise.
33747 (expm1_test_data): Likewise.
33748 (fabs_test_data): Likewise.
33749 (fdim_test_data): Likewise.
33750 (finite_test_data): Likewise.
33751 (floor_test_data): Likewise.
33752 (fma_test_data): Likewise.
33753 (fma_towardzero_test_data): Likewise.
33754 (fma_downward_test_data): Likewise.
33755 (fma_upward_test_data): Likewise.
33756 (fmax_test_data): Likewise.
33757 (fmin_test_data): Likewise.
33758 (fmod_test_data): Likewise.
33759 (fpclassify_test_data): Likewise.
33760 (frexp_test_data): Likewise.
33761 (gamma_test_data): Likewise.
33762 (hypot_test_data): Likewise.
33763 (ilogb_test_data): Likewise.
33764 (isfinite_test_data): Likewise.
33765 (isgreater_test_data): Likewise.
33766 (isgreaterequal_test_data): Likewise.
33767 (isinf_test_data): Likewise.
33768 (isless_test_data): Likewise.
33769 (islessequal_test_data): Likewise.
33770 (islessgreater_test_data): Likewise.
33771 (isnan_test_data): Likewise.
33772 (isnormal_test_data): Likewise.
33773 (issignaling_test_data): Likewise.
33774 (isunordered_test_data): Likewise.
33775 (j0_test_data): Likewise.
33776 (j1_test_data): Likewise.
33777 (jn_test_data): Likewise.
33778 (ldexp_test_data): Likewise.
33779 (lgamma_test_data): Likewise.
33780 (lrint_test_data): Likewise.
33781 (lrint_tonearest_test_data): Likewise.
33782 (lrint_towardzero_test_data): Likewise.
33783 (lrint_downward_test_data): Likewise.
33784 (lrint_upward_test_data): Likewise.
33785 (llrint_test_data): Likewise.
33786 (llrint_tonearest_test_data): Likewise.
33787 (llrint_towardzero_test_data): Likewise.
33788 (llrint_downward_test_data): Likewise.
33789 (llrint_upward_test_data): Likewise.
33790 (log_test_data): Likewise.
33791 (log10_test_data): Likewise.
33792 (log1p_test_data): Likewise.
33793 (log2_test_data): Likewise.
33794 (logb_test_data): Likewise.
33795 (logb_downward_test_data): Likewise.
33796 (lround_test_data): Likewise.
33797 (llround_test_data): Likewise.
33798 (modf_test_data): Likewise.
33799 (nearbyint_test_data): Likewise.
33800 (nextafter_test_data): Likewise.
33801 (nexttoward_test_data): Likewise.
33802 (pow_test_data): Likewise.
33803 (pow_tonearest_test_data): Likewise.
33804 (pow_towardzero_test_data): Likewise.
33805 (pow_downward_test_data): Likewise.
33806 (pow_upward_test_data): Likewise.
33807 (remainder_test_data): Likewise.
33808 (remainder_tonearest_test_data): Likewise.
33809 (remainder_towardzero_test_data): Likewise.
33810 (remainder_downward_test_data): Likewise.
33811 (remainder_upward_test_data): Likewise.
33812 (remquo_test_data): Likewise.
33813 (rint_test_data): Likewise.
33814 (rint_tonearest_test_data): Likewise.
33815 (rint_towardzero_test_data): Likewise.
33816 (rint_downward_test_data): Likewise.
33817 (rint_upward_test_data): Likewise.
33818 (round_test_data): Likewise.
33819 (scalb_test_data): Likewise.
33820 (scalbn_test_data): Likewise.
33821 (scalbln_test_data): Likewise.
33822 (signbit_test_data): Likewise.
33823 (sin_test_data): Likewise.
33824 (sin_tonearest_test_data): Likewise.
33825 (sin_towardzero_test_data): Likewise.
33826 (sin_downward_test_data): Likewise.
33827 (sin_upward_test_data): Likewise.
33828 (sincos_test_data): Likewise.
33829 (sinh_test_data): Likewise.
33830 (sinh_tonearest_test_data): Likewise.
33831 (sinh_towardzero_test_data): Likewise.
33832 (sinh_downward_test_data): Likewise.
33833 (sinh_upward_test_data): Likewise.
33834 (sqrt_test_data): Likewise.
33835 (tan_test_data): Likewise.
33836 (tan_tonearest_test_data): Likewise.
33837 (tan_towardzero_test_data): Likewise.
33838 (tan_downward_test_data): Likewise.
33839 (tan_upward_test_data): Likewise.
33840 (tanh_test_data): Likewise.
33841 (tgamma_test_data): Likewise.
33842 (trunc_test_data): Likewise.
33843 (y0_test_data): Likewise.
33844 (y1_test_data): Likewise.
33845 (yn_test_data): Likewise.
33846 (significand_test_data): Likewise.
33847
b679a606
JM
33848 * math/gen-libm-test.pl (@functions): Remove variable.
33849 (generate_testfile): Don't handle START and END lines.
33850 * math/libm-test.inc (START): New macro.
33851 (END): Likewise.
33852 (END_COMPLEX): Likewise.
33853 (acos_test): Use END macro without arguments.
33854 (acos_test_tonearest): Likewise.
33855 (acos_test_towardzero): Likewise.
33856 (acos_test_downward): Likewise.
33857 (acos_test_upward): Likewise.
33858 (acosh_test): Likewise.
33859 (asin_test): Likewise.
33860 (asin_test_tonearest): Likewise.
33861 (asin_test_towardzero): Likewise.
33862 (asin_test_downward): Likewise.
33863 (asin_test_upward): Likewise.
33864 (asinh_test): Likewise.
33865 (atan_test): Likewise.
33866 (atanh_test): Likewise.
33867 (atan2_test): Likewise.
33868 (cabs_test): Likewise.
33869 (cacos_test): Use END_COMPLEX macro without arguments.
33870 (cacosh_test): Likewise.
33871 (carg_test): Use END macro without arguments.
33872 (casin_test): Use END_COMPLEX macro without arguments.
33873 (casinh_test): Likewise.
33874 (catan_test): Likewise.
33875 (catanh_test): Likewise.
33876 (cbrt_test): Use END macro without arguments.
33877 (ccos_test): Use END_COMPLEX macro without arguments.
33878 (ccosh_test): Likewise.
33879 (ceil_test): Use END macro without arguments.
33880 (cexp_test): Use END_COMPLEX macro without arguments.
33881 (cimag_test): Use END macro without arguments.
33882 (clog_test): Use END_COMPLEX macro without arguments.
33883 (clog10_test): Likewise.
33884 (conj_test): Likewise.
33885 (copysign_test): Use END macro without arguments.
33886 (cos_test): Likewise.
33887 (cos_test_tonearest): Likewise.
33888 (cos_test_towardzero): Likewise.
33889 (cos_test_downward): Likewise.
33890 (cos_test_upward): Likewise.
33891 (cosh_test): Likewise.
33892 (cosh_test_tonearest): Likewise.
33893 (cosh_test_towardzero): Likewise.
33894 (cosh_test_downward): Likewise.
33895 (cosh_test_upward): Likewise.
33896 (cpow_test): Use END_COMPLEX macro without arguments.
33897 (cproj_test): Likewise.
33898 (creal_test): Use END macro without arguments.
33899 (csin_test): Use END_COMPLEX macro without arguments.
33900 (csinh_test): Likewise.
33901 (csqrt_test): Likewise.
33902 (ctan_test): Likewise.
33903 (ctan_test_tonearest): Likewise.
33904 (ctan_test_towardzero): Likewise.
33905 (ctan_test_downward): Likewise.
33906 (ctan_test_upward): Likewise.
33907 (ctanh_test): Likewise.
33908 (ctanh_test_tonearest): Likewise.
33909 (ctanh_test_towardzero): Likewise.
33910 (ctanh_test_downward): Likewise.
33911 (ctanh_test_upward): Likewise.
33912 (erf_test): Use END macro without arguments.
33913 (erfc_test): Likewise.
33914 (exp_test): Likewise.
33915 (exp_test_tonearest): Likewise.
33916 (exp_test_towardzero): Likewise.
33917 (exp_test_downward): Likewise.
33918 (exp_test_upward): Likewise.
33919 (exp10_test): Likewise.
33920 (exp2_test): Likewise.
33921 (expm1_test): Likewise.
33922 (fabs_test): Likewise.
33923 (fdim_test): Likewise.
33924 (finite_test): Likewise.
33925 (floor_test): Likewise.
33926 (fma_test): Likewise.
33927 (fma_test_towardzero): Likewise.
33928 (fma_test_downward): Likewise.
33929 (fma_test_upward): Likewise.
33930 (fmax_test): Likewise.
33931 (fmin_test): Likewise.
33932 (fmod_test): Likewise.
33933 (fpclassify_test): Likewise.
33934 (frexp_test): Likewise.
33935 (gamma_test): Likewise.
33936 (hypot_test): Likewise.
33937 (ilogb_test): Likewise.
33938 (isfinite_test): Likewise.
33939 (isgreater_test): Likewise.
33940 (isgreaterequal_test): Likewise.
33941 (isinf_test): Likewise.
33942 (isless_test): Likewise.
33943 (islessequal_test): Likewise.
33944 (islessgreater_test): Likewise.
33945 (isnan_test): Likewise.
33946 (isnormal_test): Likewise.
33947 (issignaling_test): Likewise.
33948 (isunordered_test): Likewise.
33949 (j0_test): Likewise.
33950 (j1_test): Likewise.
33951 (jn_test): Likewise.
33952 (ldexp_test): Likewise.
33953 (lgamma_test): Likewise.
33954 (lrint_test): Likewise.
33955 (lrint_test_tonearest): Likewise.
33956 (lrint_test_towardzero): Likewise.
33957 (lrint_test_downward): Likewise.
33958 (lrint_test_upward): Likewise.
33959 (llrint_test): Likewise.
33960 (llrint_test_tonearest): Likewise.
33961 (llrint_test_towardzero): Likewise.
33962 (llrint_test_downward): Likewise.
33963 (llrint_test_upward): Likewise.
33964 (log_test): Likewise.
33965 (log10_test): Likewise.
33966 (log1p_test): Likewise.
33967 (log2_test): Likewise.
33968 (logb_test): Likewise.
33969 (logb_test_downward): Likewise.
33970 (lround_test): Likewise.
33971 (llround_test): Likewise.
33972 (modf_test): Likewise.
33973 (nearbyint_test): Likewise.
33974 (nextafter_test): Likewise.
33975 (nexttoward_test): Likewise.
33976 (pow_test): Likewise.
33977 (pow_test_tonearest): Likewise.
33978 (pow_test_towardzero): Likewise.
33979 (pow_test_downward): Likewise.
33980 (pow_test_upward): Likewise.
33981 (remainder_test): Likewise.
33982 (remainder_test_tonearest): Likewise.
33983 (remainder_test_towardzero): Likewise.
33984 (remainder_test_downward): Likewise.
33985 (remainder_test_upward): Likewise.
33986 (remquo_test): Likewise.
33987 (rint_test): Likewise.
33988 (rint_test_tonearest): Likewise.
33989 (rint_test_towardzero): Likewise.
33990 (rint_test_downward): Likewise.
33991 (rint_test_upward): Likewise.
33992 (round_test): Likewise.
33993 (scalb_test): Likewise.
33994 (scalbn_test): Likewise.
33995 (scalbln_test): Likewise.
33996 (signbit_test): Likewise.
33997 (sin_test): Likewise.
33998 (sin_test_tonearest): Likewise.
33999 (sin_test_towardzero): Likewise.
34000 (sin_test_downward): Likewise.
34001 (sin_test_upward): Likewise.
34002 (sincos_test): Likewise.
34003 (sinh_test): Likewise.
34004 (sinh_test_tonearest): Likewise.
34005 (sinh_test_towardzero): Likewise.
34006 (sinh_test_downward): Likewise.
34007 (sinh_test_upward): Likewise.
34008 (sqrt_test): Likewise.
34009 (tan_test): Likewise.
34010 (tan_test_tonearest): Likewise.
34011 (tan_test_towardzero): Likewise.
34012 (tan_test_downward): Likewise.
34013 (tan_test_upward): Likewise.
34014 (tanh_test): Likewise.
34015 (tgamma_test): Likewise.
34016 (trunc_test): Likewise.
34017 (y0_test): Likewise.
34018 (y1_test): Likewise.
34019 (yn_test): Likewise.
34020 (significand_test): Likewise.
34021
bae143d2
OB
340222013-05-24 Ondřej Bílka <neleai@seznam.cz>
34023
34024 [BZ #15381]
34025 * libio/genops.c (_IO_no_init): Initialize wide struct info.
34026
9323d39b
EM
340272013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
34028
d4ea44a0 34029 [BZ #14894]
9323d39b
EM
34030 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34031 __ppc_mdoio and __ppc_mdoom.
34032 * manual/platform.texi: Document new functions __ppc_yield,
34033 __ppc_mdoio and __ppc_mdoom.
34034
13e23af7
CD
340352013-05-22 Carlos O'Donell <carlos@redhat.com>
34036
34037 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34038 (main): Mention "tls" pseudo-hwcap is legacy.
34039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34040
351fe550
JM
340412013-05-22 Joseph Myers <joseph@codesourcery.com>
34042
34043 * math/gen-libm-test.pl (parse_args): Output only string of
34044 arguments as text for test name, not full call or descriptions of
34045 tests for extra outputs.
34046 (generate_testfile): Do not pass function name to parse_args.
34047 Generate this_func variable from START.
34048 * math/libm-test.inc (struct test_f_f_data): Rename test_name
34049 field to arg_str.
34050 (struct test_ff_f_data): Likewise.
34051 (test_ff_f_data_nexttoward): Likewise.
34052 (struct test_fi_f_data): Likewise.
34053 (struct test_fl_f_data): Likewise.
34054 (struct test_if_f_data): Likewise.
34055 (struct test_fff_f_data): Likewise.
34056 (struct test_c_f_data): Likewise.
34057 (struct test_f_f1_data): Likewise. Remove field extra_name.
34058 (struct test_fF_f1_data): Likewise.
34059 (struct test_ffI_f1_data): Likewise.
34060 (struct test_c_c_data): Rename test_name field to arg_str.
34061 (struct test_cc_c_data): Likewise.
34062 (struct test_f_i_data): Likewise.
34063 (struct test_ff_i_data): Likewise.
34064 (struct test_f_l_data): Likewise.
34065 (struct test_f_L_data): Likewise.
34066 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
34067 and extra2_name.
34068 (COMMON_TEST_SETUP): New macro.
34069 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34070 (COMMON_TEST_CLEANUP): Likewise.
34071 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34072 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
34073 macros.
34074 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34075 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
34076 macros.
34077 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34078 (RUN_TEST_fff_f): Take argument string. Call new setup and
34079 cleanup macros.
34080 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34081 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
34082 macros.
34083 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34084 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
34085 macros.
34086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34087 (RUN_TEST_fF_f1): Take argument string. Call new setup and
34088 cleanup macros.
34089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34090 (RUN_TEST_fI_f1): Take argument string. Call new setup and
34091 cleanup macros.
34092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34093 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
34094 cleanup macros.
34095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34096 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
34097 macros.
34098 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34099 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
34100 macros.
34101 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34102 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
34103 macros.
34104 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34105 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
34106 cleanup macros.
34107 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34108 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
34109 cleanup macros.
34110 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34111 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
34112 macros.
34113 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34114 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
34115 cleanup macros.
34116 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34117 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
34118 macros.
34119 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34120 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
34121 macros.
34122 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34123 (RUN_TEST_fFF_11): Take argument string. Call new setup and
34124 cleanup macros.
34125 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34126
85118d4d
EBM
341272013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
34128
34129 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34130 to _sifields.sigfault.
34131 (si_addr_lsb): Define new macro.
34132 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34134 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34135
7a44c18f
CD
341362013-05-03 Carlos O'Donell <carlos at redhat.com>
34137
34138 [BZ #15441]
34139 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34140 returns -1.
34141 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34142 null return -1.
34143 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34144 loading the domain.
34145
b50a7181
JM
341462013-05-22 Joseph Myers <joseph@codesourcery.com>
34147
34148 * math/gen-libm-test.pl (parse_args): Do not include expected
34149 result in test name.
34150 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34153 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156
051063c8
SP
341572013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34158
3ce9e010
SP
34159 * benchtests/Makefile: Sort function entries.
34160
051063c8
SP
34161 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34162 tanh, asinh, acosh, atanh.
34163 * benchtests/acos-inputs: New file.
34164 * benchtests/acosh-inputs: New file.
34165 * benchtests/asin-inputs: New file.
34166 * benchtests/asinh-inputs: New file.
34167 * benchtests/atanh-inputs: New file.
34168 * benchtests/cosh-inputs: New file.
34169 * benchtests/log-inputs: New file.
34170 * benchtests/sinh-inputs: New file.
34171 * benchtests/tanh-inputs: New file.
34172
47c22455
DL
341732013-05-21 Dmitry V. Levin <ldv@altlinux.org>
34174
34175 [BZ #15339]
34176 * posix/tst-getaddrinfo4.c: New test.
34177 * posix/Makefile (tests): Add it.
34178
3d04f5db
SP
341792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34180
34181 [BZ #15339]
34182 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34183 when no services were used.
34184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34185 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34186
d5dd6189
AS
341872013-05-21 Andreas Schwab <schwab@suse.de>
34188
34189 [BZ #15014]
34190 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34191 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34192 successful.
34193 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34194 redundant variable declarations and reallocation of buffer when
34195 parsing as IPv6 address. Always set NSS status when called from
34196 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
34197 buffer too small. Correct computation of needed size.
34198 * nss/Makefile (tests): Add test-digits-dots.
34199 * nss/test-digits-dots.c: New test.
34200
fef94eab
SP
342012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34202
34203 * benchtests/Makefile: Remove instructions for adding
34204 benchmark tests.
34205 * benchtests/README: New file to explain how to execute and
34206 enhance the benchmark tests.
34207
e39adf43
AS
342082013-05-21 Andreas Schwab <schwab@suse.de>
34209
34210 [BZ #15493]
34211 * setjmp/Makefile (tests): Add tst-sigsetjmp.
34212 * setjmp/tst-sigsetjmp.c: New test.
34213
b2b671b6
OB
342142013-05-20 Ondřej Bílka <neleai@seznam.cz>
34215
34216 * sysdeps/x86_64/memset.S (memset): New implementation.
34217 (__bzero): Likewise.
34218 (__memset_tail): New function.
34219
2d48b41c
OB
342202013-05-20 Ondřej Bílka <neleai@seznam.cz>
34221
34222 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34223 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34224 __memcpy_sse2_unaligned ifunc selection.
34225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34226 Add memcpy-sse2-unaligned.S.
34227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34228 Add: __memcpy_sse2_unaligned.
34229
f16cc3eb
JM
342302013-05-19 Joseph Myers <joseph@codesourcery.com>
34231
3e694268
JM
34232 [BZ #15490]
34233 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34234 math_force_eval before restoring floating-point envrionment.
34235 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34237 Likewise.
34238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34239 <math_private.h>.
34240 (__nearbyintl): Use math_force_eval before restoring
34241 floating-point environment.
34242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34243
db62a907
JM
34244 * math/gen-libm-test.pl (special_functions): Remove.
34245 (parse_args): Don't handle TEST_extra. Handle functions with no
34246 return value.
34247 * math/libm-test.inc (struct test_sincos_data): Replace with
34248 struct test_fFF_11_data.
34249 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34250 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34251 (sincos_test_data): Change element type to struct
34252 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
34253 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34254 RUN_TEST_LOOP_sincos.
34255 * math/README.libm-test: Don't mention special handling of
34256 individual functions.
34257 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34259 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34263
f16cc3eb
JM
34264 * math/gen-libm-test.pl (get_variable): Remove function.
34265 (parse_args): Don't show pointer parameters to call in test
34266 names. Use "extra output N" in test names for extra outputs
34267 rather than naming variables.
34268
3779b5b6
JM
342692013-05-18 Joseph Myers <joseph@codesourcery.com>
34270
2ee094ff
JM
34271 [BZ #15488]
34272 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34273 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34274 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34275 double tests.
34276 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34277 disable.
34278 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34279 check_long_double.
34280
3779b5b6
JM
34281 * math/gen-libm-test.pl (@tests): Remove variable.
34282 ($count): Likewise.
34283 (new_test): Remove function.
34284 (show_exceptions): New function.
34285 (special_functions): Use show_exceptions instead of new_test.
34286 (parse_args): Likewise.
34287 (generate_testfile): Pass only function name in generated call to
34288 print_max_error or print_complex_max_error.
34289 (get_ulps): Do not handle complex tests specially.
34290 (output_test): Rename to ...
34291 (get_all_ulps_for_test): ... this. Return a string rather than
34292 printing to a file. Require ulps to be present.
34293 (output_ulps): Generate arrays rather than #defines.
34294 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34295 (struct ulp_data): New type.
34296 (BUILD_COMPLEX_ULP): Remove macro.
34297 (compare_ulp_data): New function.
34298 (find_ulps): Likewise.
34299 (find_test_ulps): Likewise.
34300 (find_function_ulps): Likewise.
34301 (find_complex_function_ulps): Likewise.
34302 (print_max_error): Determine allowed ulps using
34303 find_function_ulps.
34304 (print_complex_max_error): Determine allowed ulps using
34305 find_complex_function_ulps.
34306 (check_float_internal): Determine max ulps using find_test_ulps.
34307 (check_float): Do not take max_ulp parameter. Update call to
34308 check_float_internal.
34309 (check_complex): Likewise.
34310 (check_int): Do not take max_ulp parameter.
34311 (check_long): Likewise.
34312 (check_bool): Likewise.
34313 (check_longlong): Likewise.
34314 (struct test_f_f_data): Remove max_ulp field.
34315 (struct test_ff_f_data): Likewise.
34316 (struct test_ff_f_data_nexttoward): Likewise.
34317 (struct test_fi_f_data): Likewise.
34318 (struct test_fl_f_data): Likewise.
34319 (struct test_if_f_data): Likewise.
34320 (struct test_fff_f_data): Likewise.
34321 (struct test_c_f_data): Likewise.
34322 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34323 (struct test_fF_f1_data): Likewise.
34324 (struct test_ffI_f1_data): Likewise.
34325 (struct test_c_c_data): Remove max_ulp field.
34326 (struct test_cc_c_data): Likewise.
34327 (struct test_f_i_data): Likewise.
34328 (struct test_ff_i_data): Likewise.
34329 (struct test_f_l_data): Likewise.
34330 (struct test_f_L_data): Likewise.
34331 (struct test_sincos_data): Likewise.
34332 (RUN_TEST_f_f): Do not handle ulps.
34333 (RUN_TEST_LOOP_f_f): Likewise.
34334 (RUN_TEST_2_f): Likewise.
34335 (RUN_TEST_LOOP_2_f): Likewise.
34336 (RUN_TEST_fff_f): Likewise.
34337 (RUN_TEST_LOOP_fff_f): Likewise.
34338 (RUN_TEST_c_f): Likewise.
34339 (RUN_TEST_LOOP_c_f): Likewise.
34340 (RUN_TEST_f_f1): Likewise.
34341 (RUN_TEST_LOOP_f_f1): Likewise.
34342 (RUN_TEST_fF_f1): Likewise.
34343 (RUN_TEST_LOOP_fF_f1): Likewise.
34344 (RUN_TEST_fI_f1): Likewise.
34345 (RUN_TEST_LOOP_fI_f1): Likewise.
34346 (RUN_TEST_ffI_f1): Likewise.
34347 (RUN_TEST_LOOP_ffI_f1): Likewise.
34348 (RUN_TEST_c_c): Likewise.
34349 (RUN_TEST_LOOP_c_c): Likewise.
34350 (RUN_TEST_cc_c): Likewise.
34351 (RUN_TEST_LOOP_cc_c): Likewise.
34352 (RUN_TEST_f_i): Likewise.
34353 (RUN_TEST_LOOP_f_i): Likewise.
34354 (RUN_TEST_f_i_tg): Likewise.
34355 (RUN_TEST_LOOP_f_i_tg): Likewise.
34356 (RUN_TEST_ff_i_tg): Likewise.
34357 (RUN_TEST_LOOP_ff_i_tg): Likewise.
34358 (RUN_TEST_f_b): Likewise.
34359 (RUN_TEST_LOOP_f_b): Likewise.
34360 (RUN_TEST_f_b_tg): Likewise.
34361 (RUN_TEST_LOOP_f_b_tg): Likewise.
34362 (RUN_TEST_f_l): Likewise.
34363 (RUN_TEST_LOOP_f_l): Likewise.
34364 (RUN_TEST_f_L): Likewise.
34365 (RUN_TEST_LOOP_f_L): Likewise.
34366 (RUN_TEST_sincos): Likewise.
34367 (RUN_TEST_LOOP_sincos): Likewise.
34368
8269107f
JM
343692013-05-17 Joseph Myers <joseph@codesourcery.com>
34370
bb38759d
JM
34371 [BZ #15480]
34372 [BZ #15485]
34373 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34374 main case of finite arguments, set rounding mode to FE_TONEAREST
34375 and discard exceptions.
34376 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34377 exceptions.
34378 (remainder_tonearest_test_data): New variable.
34379 (remainder_test_tonearest): New function.
34380 (remainder_towardzero_test_data): New variable.
34381 (remainder_test_towardzero): New function.
34382 (remainder_downward_test_data): New variable.
34383 (remainder_test_downward): New function.
34384 (remainder_upward_test_data): New variable.
34385 (remainder_test_upward): New function.
34386 (main): Call the new test functions.
34387
a00bdcf0
JM
34388 * math/libm-test.inc (struct test_f_f1_data): Remove field
34389 extra_init.
34390 (struct test_fF_f1_data): Likewise.
34391 (struct test_ffI_f1_data): Likewise.
34392 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
34393 based on value of EXTRA_EXPECTED.
34394 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34395 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
34396 EXTRA_VAR based on value of EXTRA_EXPECTED.
34397 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34398 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
34399 EXTRA_VAR based on value of EXTRA_EXPECTED.
34400 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34401 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
34402 EXTRA_VAR based on value of EXTRA_EXPECTED.
34403 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34404 * math/gen-libm-test.pl (parse_args): Don't output initializers
34405 for extra output values.
34406
de407f79
JM
34407 * math/libm-test.inc (check_int): Expect result to be exactly
34408 equal to expected value and do not handle ulps.
34409 (check_long): Likewise.
34410 (check_longlong): Likewise.
34411
8269107f
JM
34412 * math/libm-test.inc (ceil_test_data): Test for "inexact"
34413 exceptions.
34414 (cimag_test_data): Likewise.
34415 (conj_test_data): Likewise.
34416 (copysign_test_data): Likewise.
34417 (cproj_test_data): Likewise.
34418 (creal_test_data): Likewise.
34419 (fabs_test_data): Likewise.
34420 (fdim_test_data): Likewise.
34421 (finite_test_data): Likewise.
34422 (floor_test_data): Likewise.
34423 (fmax_test_data): Likewise.
34424 (fmin_test_data): Likewise.
34425 (fmod_test_data): Likewise.
34426 (fpclassify_test_data): Likewise.
34427 (frexp_test_data): Likewise.
34428 (ilogb_test_data): Likewise.
34429 (isfinite_test_data): Likewise.
34430 (isgreater_test_data): Likewise.
34431 (isgreaterequal_test_data): Likewise.
34432 (isinf_test_data): Likewise.
34433 (isless_test_data): Likewise.
34434 (islessequal_test_data): Likewise.
34435 (islessgreater_test_data): Likewise.
34436 (isnan_test_data): Likewise.
34437 (isnormal_test_data): Likewise.
34438 (issignaling_test_data): Likewise.
34439 (isunordered_test_data): Likewise.
34440 (ldexp_test_data): Likewise.
34441 (lrint_test_data): Likewise.
34442 (lrint_test_data) [TEST_FLOAT]: Disable one test.
34443 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34444 (lrint_tonearest_test_data): Test for "inexact" exceptions.
34445 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34446 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34447 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34448 test input.
34449 (lrint_towardzero_test_data): Test for "inexact" exceptions.
34450 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34451 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34452 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34453 that test input.
34454 (lrint_downward_test_data): Test for "inexact" exceptions.
34455 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34456 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34457 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34458 test input.
34459 (lrint_upward_test_data): Test for "inexact" exceptions.
34460 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34461 test input.
34462 (llrint_test_data): Test for "inexact" exceptions.
34463 (llrint_test_data) [TEST_FLOAT]: Disable one test.
34464 (llrint_tonearest_test_data): Test for "inexact" exceptions.
34465 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34466 (llrint_towardzero_test_data): Test for "inexact" exceptions.
34467 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34468 (llrint_downward_test_data): Test for "inexact" exceptions.
34469 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34470 (llrint_upward_test_data): Test for "inexact" exceptions.
34471 (logb_test_data): Likewise.
34472 (logb_downward_test_data): Likewise.
34473 (nextafter_test_data): Likewise.
34474 (nexttoward_test_data): Likewise.
34475 (remainder_test_data): Likewise.
34476 (remquo_test_data): Likewise.
34477 (scalbn_test_data): Likewise.
34478 (scalbln_test_data): Likewise.
34479 (signbit_test_data): Likewise.
34480 (sqrt_test_data): Likewise.
34481 (significand_test_data): Likewise.
34482
48a18de1
SP
344832013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34484
34485 [BZ #15424]
34486 * benchtests/bench-modf.c (struct args): Mark arg0 as
34487 volatile.
34488 * scripts/bench.pl: Mark members of struct args as volatile.
34489
13d3b41a
AZ
344902013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34491
68191c1d 34492 [BZ # 15497]
13d3b41a
AZ
34493 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34494 negative infinity on POWER6 or lower.
34495 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34496
2848b105
MR
344972013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
34498
34499 [BZ #15442]
34500 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34501 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34502 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34503 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34504 (_FP_SETQNAN): New macro.
34505 (_FP_SETQNAN_SEMIRAW): Likewise.
34506 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34507 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34508 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34509 (FP_EXTEND): Use _FP_FRAC_SNANP.
34510 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34511 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34512 into account.
34513 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34514 New macro.
34515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34516 Likewise.
34517
323e5cb7
JM
345182013-05-16 Joseph Myers <joseph@codesourcery.com>
34519
c58b274f
JM
34520 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34521 with DIVIDE_BY_ZERO_EXCEPTION.
34522 (gamma_test_data): Likewise.
34523 (lgamma_test_data): Likewise.
34524 (log_test_data): Likewise.
34525 (log10_test_data): Likewise.
34526 (log2_test_data): Likewise.
34527 (tgamma_test_data): Likewise.
34528
0ab34904
JM
34529 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34530 (acos_test_tonearest): Likewise.
34531 (acos_test_towardzero): Likewise.
34532 (acos_test_downward): Likewise.
34533 (acos_test_upward): Likewise.
34534 (acosh_test): Likewise.
34535 (asin_test): Likewise.
34536 (asin_test_tonearest): Likewise.
34537 (asin_test_towardzero): Likewise.
34538 (asin_test_downward): Likewise.
34539 (asin_test_upward): Likewise.
34540 (asinh_test): Likewise.
34541 (atan_test): Likewise.
34542 (atanh_test): Likewise.
34543 (atan2_test): Likewise.
34544 (cabs_test): Likewise.
34545 (cacos_test): Likewise.
34546 (cacosh_test): Likewise.
34547 (casin_test): Likewise.
34548 (casinh_test): Likewise.
34549 (catan_test): Likewise.
34550 (catanh_test): Likewise.
34551 (cbrt_test): Likewise.
34552 (ccos_test): Likewise.
34553 (ccosh_test): Likewise.
34554 (cexp_test): Likewise.
34555 (clog_test): Likewise.
34556 (clog10_test): Likewise.
34557 (cos_test): Likewise.
34558 (cos_test_tonearest): Likewise.
34559 (cos_test_towardzero): Likewise.
34560 (cos_test_downward): Likewise.
34561 (cos_test_upward): Likewise.
34562 (cosh_test): Likewise.
34563 (cosh_test_tonearest): Likewise.
34564 (cosh_test_towardzero): Likewise.
34565 (cosh_test_downward): Likewise.
34566 (cosh_test_upward): Likewise.
34567 (cpow_test): Likewise.
34568 (csin_test): Likewise.
34569 (csinh_test): Likewise.
34570 (csqrt_test): Likewise.
34571 (ctan_test): Likewise.
34572 (ctan_test_tonearest): Likewise.
34573 (ctan_test_towardzero): Likewise.
34574 (ctan_test_downward): Likewise.
34575 (ctan_test_upward): Likewise.
34576 (ctanh_test): Likewise.
34577 (ctanh_test_tonearest): Likewise.
34578 (ctanh_test_towardzero): Likewise.
34579 (ctanh_test_downward): Likewise.
34580 (ctanh_test_upward): Likewise.
34581 (erf_test): Likewise.
34582 (erfc_test): Likewise.
34583 (exp_test): Likewise.
34584 (exp_test_tonearest): Likewise.
34585 (exp_test_towardzero): Likewise.
34586 (exp_test_downward): Likewise.
34587 (exp_test_upward): Likewise.
34588 (exp10_test): Likewise.
34589 (exp2_test): Likewise.
34590 (expm1_test): Likewise.
34591 (fmod_test): Likewise.
34592 (gamma_test): Likewise.
34593 (hypot_test): Likewise.
34594 (j0_test): Likewise.
34595 (j1_test): Likewise.
34596 (jn_test): Likewise.
34597 (lgamma_test): Likewise.
34598 (log_test): Likewise.
34599 (log10_test): Likewise.
34600 (log1p_test): Likewise.
34601 (log2_test): Likewise.
34602 (logb_test_downward): Likewise.
34603 (pow_test): Likewise.
34604 (pow_test_tonearest): Likewise.
34605 (pow_test_towardzero): Likewise.
34606 (pow_test_downward): Likewise.
34607 (pow_test_upward): Likewise.
34608 (remainder_test): Likewise.
34609 (remquo_test): Likewise.
34610 (sin_test): Likewise.
34611 (sin_test_tonearest): Likewise.
34612 (sin_test_towardzero): Likewise.
34613 (sin_test_downward): Likewise.
34614 (sin_test_upward): Likewise.
34615 (sincos_test): Likewise.
34616 (sinh_test): Likewise.
34617 (sinh_test_tonearest): Likewise.
34618 (sinh_test_towardzero): Likewise.
34619 (sinh_test_downward): Likewise.
34620 (sinh_test_upward): Likewise.
34621 (sqrt_test): Likewise.
34622 (tan_test): Likewise.
34623 (tan_test_tonearest): Likewise.
34624 (tan_test_towardzero): Likewise.
34625 (tan_test_downward): Likewise.
34626 (tan_test_upward): Likewise.
34627 (tanh_test): Likewise.
34628 (tgamma_test): Likewise.
34629 (y0_test): Likewise.
34630 (y1_test): Likewise.
34631 (yn_test): Likewise.
34632
323e5cb7
JM
34633 * math/gen-libm-test.pl (adjust_arg): Remove function.
34634 (special_function): Remove argument $in_func. Only handle
34635 generating output for tables of tests, not inside functions.
34636 (parse_args): Likewise.
34637 (generate_testfile): Remove variable $in_func. Update call to
34638 parse_args.
34639 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34640 (MINUS_ZERO_INIT): Rename macro to minus_zero.
34641 (PLUS_INFTY_INIT): Rename macro to plus_infty.
34642 (MINUS_INFTY_INIT): Rename macro to minus_infty.
34643 (QNAN_VALUE_INIT): Rename macro to qnan_value.
34644 (MAX_VALUE_INIT): Rename macro to max_value.
34645 (MIN_VALUE_INIT): Rename macro to min_value.
34646 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34647 (plus_zero): Remove variable.
34648 (minus_zero): Likewise.
34649 (plus_infty): Likewise.
34650 (minus_infty): Likewise.
34651 (qnan_value): Likewise.
34652 (max_value): Likewise.
34653 (min_value): Likewise.
34654 (min_subnorm_value): Likewise.
34655
e054f494
RA
346562013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34657
34658 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34659 uint64_t or uint32_t usage.
34660 * crypt/sha256-block.c: Likewise.
34661 * crypt/sha256-crypt.c: Likewise.
34662 * crypt/sha256.c: Likewise.
34663 * crypt/sha512-block.c: Likewise.
34664 * crypt/sha512-crypt.c: Likewise.
34665 * crypt/sha512.c: Likewise.
34666 * debug/backtrace-tst.c: Likewise.
34667 * debug/pcprofiledump.c: Likewise.
34668 * elf/cache.c: Likewise.
34669 * elf/dl-cache.c: Likewise.
34670 * elf/dl-misc.c: Likewise.
34671 * elf/dl-profile.c: Likewise.
34672 * elf/dl-support.c: Likewise.
34673 * elf/ldconfig.c: Likewise.
34674 * elf/sprof.c: Likewise.
34675 * iconv/dummy-repertoire.c: Likewise.
34676 * iconv/iconv_charmap.c: Likewise.
34677 * iconv/skeleton.c: Likewise.
34678 * iconvdata/8bit-generic.c: Likewise.
34679 * iconvdata/cp737.h: Likewise.
34680 * iconvdata/cp775.h: Likewise.
34681 * iconvdata/ibm1008.h: Likewise.
34682 * iconvdata/ibm1025.h: Likewise.
34683 * iconvdata/ibm1046.h: Likewise.
34684 * iconvdata/ibm1097.h: Likewise.
34685 * iconvdata/ibm1112.h: Likewise.
34686 * iconvdata/ibm1122.h: Likewise.
34687 * iconvdata/ibm1123.h: Likewise.
34688 * iconvdata/ibm1124.h: Likewise.
34689 * iconvdata/ibm1129.h: Likewise.
34690 * iconvdata/ibm1130.h: Likewise.
34691 * iconvdata/ibm1132.h: Likewise.
34692 * iconvdata/ibm1133.h: Likewise.
34693 * iconvdata/ibm1137.h: Likewise.
34694 * iconvdata/ibm1140.h: Likewise.
34695 * iconvdata/ibm1141.h: Likewise.
34696 * iconvdata/ibm1142.h: Likewise.
34697 * iconvdata/ibm1143.h: Likewise.
34698 * iconvdata/ibm1144.h: Likewise.
34699 * iconvdata/ibm1145.h: Likewise.
34700 * iconvdata/ibm1146.h: Likewise.
34701 * iconvdata/ibm1147.h: Likewise.
34702 * iconvdata/ibm1148.h: Likewise.
34703 * iconvdata/ibm1149.h: Likewise.
34704 * iconvdata/ibm1153.h: Likewise.
34705 * iconvdata/ibm1154.h: Likewise.
34706 * iconvdata/ibm1155.h: Likewise.
34707 * iconvdata/ibm1156.h: Likewise.
34708 * iconvdata/ibm1157.h: Likewise.
34709 * iconvdata/ibm1158.h: Likewise.
34710 * iconvdata/ibm1160.h: Likewise.
34711 * iconvdata/ibm1161.h: Likewise.
34712 * iconvdata/ibm1162.h: Likewise.
34713 * iconvdata/ibm1163.h: Likewise.
34714 * iconvdata/ibm1164.h: Likewise.
34715 * iconvdata/ibm1166.h: Likewise.
34716 * iconvdata/ibm1167.h: Likewise.
34717 * iconvdata/ibm12712.h: Likewise.
34718 * iconvdata/ibm1390.h: Likewise.
34719 * iconvdata/ibm1399.h: Likewise.
34720 * iconvdata/ibm16804.h: Likewise.
34721 * iconvdata/ibm4517.h: Likewise.
34722 * iconvdata/ibm4899.h: Likewise.
34723 * iconvdata/ibm4909.h: Likewise.
34724 * iconvdata/ibm4971.h: Likewise.
34725 * iconvdata/ibm5347.h: Likewise.
34726 * iconvdata/ibm803.h: Likewise.
34727 * iconvdata/ibm856.h: Likewise.
34728 * iconvdata/ibm901.h: Likewise.
34729 * iconvdata/ibm902.h: Likewise.
34730 * iconvdata/ibm9030.h: Likewise.
34731 * iconvdata/ibm9066.h: Likewise.
34732 * iconvdata/ibm921.h: Likewise.
34733 * iconvdata/ibm922.h: Likewise.
34734 * iconvdata/ibm9448.h: Likewise.
34735 * iconvdata/isiri-3342.h: Likewise.
34736 * iconvdata/jis0201.h: Likewise.
34737 * include/link.h: Likewise.
34738 * include/netdb.h: Likewise.
34739 * inet/check_native.c: Likewise.
34740 * inet/check_pf.c: Likewise.
34741 * inet/getipv4sourcefilter.c: Likewise.
34742 * inet/getnameinfo.c: Likewise.
34743 * inet/getsourcefilter.c: Likewise.
34744 * inet/htonl.c: Likewise.
34745 * inet/setipv4sourcefilter.c: Likewise.
34746 * inet/setsourcefilter.c: Likewise.
34747 * inet/test-inet6_opt.c: Likewise.
34748 * inet/tst-network.c: Likewise.
34749 * locale/C-collate.c: Likewise.
34750 * locale/C-ctype.c: Likewise.
34751 * locale/C-time.c: Likewise.
34752 * locale/C-translit.h: Likewise.
34753 * locale/loadarchive.c: Likewise.
34754 * locale/programs/3level.h: Likewise.
34755 * locale/programs/charmap.c: Likewise.
34756 * locale/programs/charmap.h: Likewise.
34757 * locale/programs/ld-address.c: Likewise.
34758 * locale/programs/ld-collate.c: Likewise.
34759 * locale/programs/ld-ctype.c: Likewise.
34760 * locale/programs/ld-identification.c: Likewise.
34761 * locale/programs/ld-measurement.c: Likewise.
34762 * locale/programs/ld-messages.c: Likewise.
34763 * locale/programs/ld-monetary.c: Likewise.
34764 * locale/programs/ld-name.c: Likewise.
34765 * locale/programs/ld-numeric.c: Likewise.
34766 * locale/programs/ld-paper.c: Likewise.
34767 * locale/programs/ld-telephone.c: Likewise.
34768 * locale/programs/ld-time.c: Likewise.
34769 * locale/programs/linereader.c: Likewise.
34770 * locale/programs/locale.c: Likewise.
34771 * locale/programs/locarchive.c: Likewise.
34772 * locale/programs/locfile.h: Likewise.
34773 * locale/programs/repertoire.c: Likewise.
34774 * locale/programs/simple-hash.c: Likewise.
34775 * locale/programs/simple-hash.h: Likewise.
34776 * malloc/memusage.c: Likewise.
34777 * malloc/memusagestat.c: Likewise.
34778 * nis/nis_defaults.c: Likewise.
34779 * nis/nis_hash.c: Likewise.
34780 * nis/nis_print.c: Likewise.
34781 * nis/nis_xdr.c: Likewise.
34782 * nscd/connections.c: Likewise.
34783 * nscd/hstcache.c: Likewise.
34784 * nscd/nscd_gethst_r.c: Likewise.
34785 * nscd/nscd_getserv_r.c: Likewise.
34786 * nscd/nscd_helper.c: Likewise.
34787 * nscd/servicescache.c: Likewise.
34788 * nss/makedb.c: Likewise.
34789 * nss/nss_db/db-XXX.c: Likewise.
34790 * nss/nss_db/db-initgroups.c: Likewise.
34791 * nss/nss_db/db-netgrp.c: Likewise.
34792 * nss/nss_files/files-network.c: Likewise.
34793 * nss/nss_files/files-parse.c: Likewise.
34794 * posix/bug-regex5.c: Likewise.
34795 * posix/fnmatch_loop.c: Likewise.
34796 * posix/regcomp.c: Likewise.
34797 * posix/regexec.c: Likewise.
34798 * posix/tst-rfc3484-2.c: Likewise.
34799 * posix/tst-rfc3484-3.c: Likewise.
34800 * posix/tst-rfc3484.c: Likewise.
34801 * resolv/nss_dns/dns-canon.c: Likewise.
34802 * resolv/nss_dns/dns-network.c: Likewise.
34803 * resolv/res_init.c: Likewise.
34804 * resolv/res_mkquery.c: Likewise.
34805 * resolv/tst-aton.c: Likewise.
34806 * stdlib/cxa_atexit.c: Likewise.
34807 * stdlib/cxa_finalize.c: Likewise.
34808 * stdlib/gen-fpioconst.c: Likewise.
34809 * stdlib/strtol_l.c: Likewise.
34810 * string/tst-endian.c: Likewise.
34811 * sunrpc/auth_des.c: Likewise.
34812 * sunrpc/clnt_udp.c: Likewise.
34813 * sunrpc/rtime.c: Likewise.
34814 * sunrpc/svcauth_des.c: Likewise.
34815 * sunrpc/xdr.c: Likewise.
34816 * sunrpc/xdr_intXX_t.c: Likewise.
34817 * sunrpc/xdr_rec.c: Likewise.
34818 * sysdeps/generic/ldconfig.h: Likewise.
34819 * sysdeps/generic/ldsodefs.h: Likewise.
34820 * sysdeps/generic/memusage.h: Likewise.
34821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34827 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34828 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34831 * sysdeps/posix/getaddrinfo.c: Likewise.
34832 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34834 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34835 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34836 * sysdeps/powerpc/test-gettimebase.c: Likewise.
34837 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34838 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34839 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34840 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34841 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34843 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34844 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34845 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34846 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34847 * sysdeps/x86_64/dl-tls.h: Likewise.
34848 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34849 * time/alt_digit.c: Likewise.
34850 * time/era.c: Likewise.
34851 * wcsmbs/tst-c16c32-1.c: Likewise.
34852
8c75f674
JM
348532013-05-16 Joseph Myers <joseph@codesourcery.com>
34854
34855 * math/libm-test.inc (struct test_sincos_data): New type.
34856 (RUN_TEST_LOOP_sincos): New macro.
34857 (sincos_test_data): New variable.
34858 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34859
e6e49e59
RH
348602013-05-16 Richard Henderson <rth@redhat.com>
34861
34862 * math/atest-exp2.c (LIMB64): New macro.
34863 (CONSTSZ): New macro.
34864 (mp_exp1, mp_exp_m1, mp_log2): New variables.
34865 (hexdig): Move ...
34866 (print_mpn_fp): ... to function scope.
34867 (read_mpn_hex): Remove.
34868 (get_log2): Remove.
34869 (exp2_mpn): Use mp_log2.
34870 (main): Use mp_exp1.
34871
15c7c18d
JM
348722013-05-16 Joseph Myers <joseph@codesourcery.com>
34873
105a07df
JM
34874 * math/libm-test.inc: Remove comment about not testing "inexact"
34875 exceptions.
34876 (INEXACT_EXCEPTION): New macro.
34877 (NO_INEXACT_EXCEPTION): Likewise.
34878 (INVALID_EXCEPTION_OK): Update value.
34879 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34880 (OVERFLOW_EXCEPTION_OK): Likewise.
34881 (UNDERFLOW_EXCEPTION_OK): Likewise.
34882 (IGNORE_ZERO_INF_SIGN): Likewise.
34883 (ERRNO_UNCHANGED): Likewise.
34884 (ERRNO_EDOM): Likewise.
34885 (ERRNO_ERANGE): Likewise.
34886 (test_exceptions): Handle testing "inexact" exceptions.
34887 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34888 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34889 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34890 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34891 INEXACT_EXCEPTION.
34892 (rint_towardzero_test_data): Likewise.
34893 (rint_downward_test_data): Likewise.
34894 (rint_upward_test_data): Likewise.
34895
e9eee333
JM
34896 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34897 with OVERFLOW_EXCEPTION.
34898 (exp10_test_data): Likewise.
34899 (exp2_test_data): Likewise.
34900 (expm1_test_data): Likewise.
34901 (lgamma_test_data): Likewise.
34902 (pow_test_data): Likewise.
34903 (tgamma_test_data): Likewise.
34904 (yn_test_data): Remove duplicate test of overflow.
34905
1c38ff73
JM
34906 * math/libm-test.inc (struct test_cc_c_data): New type.
34907 (RUN_TEST_LOOP_cc_c): New macro.
34908 (cpow_test_data): New variable.
34909 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34910
15c7c18d
JM
34911 * math/libm-test.inc (struct test_f_L_data): New type.
34912 (RUN_TEST_LOOP_f_L): New macro.
34913 (llrint_test_data): New variable.
34914 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34915 (llrint_tonearest_test_data): New variable.
34916 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34917 (llrint_towardzero_test_data): New variable.
34918 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34919 (llrint_downward_test_data): New variable.
34920 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34921 (llrint_upward_test_data): New variable.
34922 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34923 (llround_test_data): New variable.
34924 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34925
f137ff13
PC
349262013-05-13 Peter Collingbourne <pcc@google.com>
34927
34928 * math/atest-exp2.c (get_log2): Remove const attribute.
34929
3608cb24
JM
349302013-05-15 Joseph Myers <joseph@codesourcery.com>
34931
34932 * math/libm-test.inc (struct test_f_l_data): New type.
34933 (RUN_TEST_LOOP_f_l): New macro.
34934 (lrint_test_data): New variable.
34935 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34936 (lrint_tonearest_test_data): New variable.
34937 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34938 (lrint_towardzero_test_data): New variable.
34939 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34940 (lrint_downward_test_data): New variable.
34941 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34942 (lrint_upward_test_data): New variable.
34943 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34944 (lround_test_data): New variable.
34945 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34946
39b1f617
PC
349472013-05-15 Peter Collingbourne <pcc@google.com>
34948
1deff3dc
PC
34949 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34950 (EXTRACT_WORDS64) Use where appropriate.
34951 (INSERT_WORDS64) Likewise.
34952
791f3ba0
PC
34953 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34954 constraints with x constraints.
34955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34956
39b1f617
PC
34957 * malloc/obstack.c (_obstack_compat): Add initializer.
34958
12fba011
EM
349592013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
34960
34961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34962 si_trapno and add si_addr_lsb to _sifields.sigfault.
34963 (si_trapno): Remove macro.
34964 (si_addr_lsb): Define new macro.
34965 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34966
d369f531
JM
349672013-05-15 Joseph Myers <joseph@codesourcery.com>
34968
b861c6c4
JM
34969 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34970 instead of TEST_f_l.
34971 (llrint_test_tonearest): Likewise.
34972 (llrint_test_towardzero): Likewise.
34973 (llrint_test_downward): Likewise.
34974 (llrint_test_upward): Likewise.
34975 (llround_test): Likewise.
34976
7abeee12
JM
34977 * math/libm-test.inc (struct test_f_i_data): Add comment.
34978 (RUN_TEST_LOOP_f_b): New macro.
34979 (RUN_TEST_LOOP_f_b_tg): Likewise.
34980 (finite_test_data): New variable.
34981 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34982 (isfinite_test_data): New variable.
34983 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34984 (isinf_test_data): New variable.
34985 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34986 (isnan_test_data): New variable.
34987 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34988 (isnormal_test_data): New variable.
34989 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34990 (issignaling_test_data): New variable.
34991 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34992 (signbit_test_data): New variable.
34993 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34994
cbe8c4d3
JM
34995 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34996 with INVALID_EXCEPTION.
34997 (acosh_test_data): Likewise.
34998 (asin_test_data): Likewise.
34999 (atanh_test_data): Likewise.
35000 (fmod_test_data): Likewise.
35001 (log_test_data): Likewise.
35002 (log10_test_data): Likewise.
35003 (log2_test_data): Likewise.
35004 (pow_test_data): Likewise.
35005 (sqrt_test_data): Likewise.
35006 (y0_test_data): Likewise.
35007 (y1_test_data): Likewise.
35008 (yn_test_data): Likewise.
35009
5575c0e5
JM
35010 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35011 function contents.
35012
d369f531
JM
35013 * math/libm-test.inc (struct test_ff_i_data): New type.
35014 (RUN_TEST_LOOP_ff_i_tg): New macro.
35015 (isgreater_test_data): New variable.
35016 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35017 (isgreaterequal_test_data): New variable.
35018 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35019 (isless_test_data): New variable.
35020 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35021 (islessequal_test_data): New variable.
35022 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35023 (islessgreater_test_data): New variable.
35024 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35025 (isunordered_test_data): New variable.
35026 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35027
781fd748
DM
350282013-05-14 David S. Miller <davem@davemloft.net>
35029
35030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35031
87aa21df
JM
350322013-05-14 Joseph Myers <joseph@codesourcery.com>
35033
5e908270
JM
35034 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35035
f71172e5
JM
35036 * math/libm-test.inc (struct test_fF_f1_data): Change type of
35037 extra_test to int.
35038 (struct test_f_i_data): Change type of max_ulp to int.
35039
8cfa635a
JM
35040 * math/libm-test.inc (test_ffI_f1_data): New type.
35041 (RUN_TEST_LOOP_ffI_f1): New macro.
35042 (remquo_test_data): New variable.
35043 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35044
2bcb36b2
JM
35045 * setjmp/tst-setjmp-fp.c: New file.
35046 * setjmp/Makefile (tests): Add tst-setjmp-fp.
35047 (link-libm): New variable.
35048 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35049
acbd839a
JM
35050 * math/libm-test.inc (struct test_f_i_data): New type.
35051 (RUN_TEST_LOOP_f_i): New macro.
35052 (RUN_TEST_LOOP_f_i_tg): Likewise.
35053 (fpclassify_test_data): New variable.
35054 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35055 (ilogb_test_data): New variable.
35056 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35057
e414d745
JM
35058 * math/libm-test.inc (scalbln_test): Correct function name in END
35059 call.
35060
d9c2a0fd
JM
35061 * math/libm-test.inc (struct test_f_f1_data): Add comment.
35062 (RUN_TEST_LOOP_fI_f1): New macro.
35063 (frexp_test_data): New variable.
35064 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35065
9dc9095d
JM
35066 * math/libm-test.inc (struct test_fF_f1_data): New type.
35067 (RUN_TEST_LOOP_fF_f1): New macro.
35068 (modf_test_data): New variable.
35069 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35070
87aa21df
JM
35071 * math/libm-test.inc (struct test_f_f1_data): New type.
35072 (RUN_TEST_LOOP_f_f1): New macro.
35073 (gamma_test_data): New variable.
35074 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35075 (lgamma_test_data): New variable.
35076 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35077
141af660
CD
350782013-05-13 Carlos O'Donell <carlos@redhat.com>
35079
35080 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35081 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35082 (main): Comment "tls" pseudo-hwcap.
35083
6d33265c
JM
350842013-05-13 Joseph Myers <joseph@codesourcery.com>
35085
68fc074c
JM
35086 * math/libm-test.inc (struct test_fl_f_data): New type.
35087 (RUN_TEST_LOOP_fl_f): New variable.
35088 (scalbln_test_data): New variable.
35089 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35090
243216e1
JM
35091 * math/libm-test.inc (struct test_fi_f_data): New type.
35092 (RUN_TEST_LOOP_fi_f): New macro.
35093 (ldexp_test_data): New variable.
35094 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35095 (scalbn_test_data): New variable.
35096 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35097
6a1992e2
JM
35098 * math/libm-test.inc (struct test_c_f_data): New type.
35099 (RUN_TEST_LOOP_c_f): New macro.
35100 (cabs_test_data): New variable.
35101 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35102 (carg_test_data): New variable.
35103 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35104 (cimag_test_data): New variable.
35105 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35106 (creal_test_data): New variable.
35107 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35108
0e400df5
JM
35109 * math/libm-test.inc (struct test_if_f_data): New type.
35110 (RUN_TEST_LOOP_if_f): New macro.
35111 (jn_test_data): New variable.
35112 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35113 (yn_test_data): New variable.
35114 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35115
6d33265c
JM
35116 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35117
f98ece5f
AZ
351182013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35119
35120 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35121 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35122
0f7d347b
SP
351232013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35124
43fe811b
SP
35125 * benchtests/Makefile (CPPFLAGS-nonlib): Add
35126 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35127 (bench-deps): Add bench-timing.h.
35128 * benchtests-bench-skeleton.c: Include bench-timing.h.
35129 (main): Use TIMING_* macros instead of clock_gettime.
35130 * benchtests/bench-timing.h: New file.
35131
0f7d347b
SP
35132 [BZ #14582]
35133 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35134 Renamed from _LIB_VERSION.
35135 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35136
601a3a5f
JM
351372013-05-12 Joseph Myers <joseph@codesourcery.com>
35138
4f184d30
JM
35139 * math/libm-test.inc (struct test_fff_f_data): New type.
35140 (RUN_TEST_LOOP_fff_f): New macro.
35141 (fma_test_data): New variable.
35142 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35143 (fma_towardzero_test_data): New variable.
35144 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35145 (fma_downward_test_data): New variable.
35146 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35147 (fma_upward_test_data): New variable.
35148 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35149
08198877
JM
35150 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35151 (struct test_c_c_data): New type.
35152 (RUN_TEST_LOOP_c_c): New macro.
35153 (cacos_test_data): New variable.
35154 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35155 (cacosh_test_data): New variable.
35156 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35157 (casin_test_data): New variable.
35158 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35159 (casinh_test_data): New variable.
35160 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35161 (catan_test_data): New variable.
35162 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35163 (catanh_test_data): New variable.
35164 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35165 (ccos_test_data): New variable.
35166 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35167 (ccosh_test_data): New variable.
35168 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35169 (cexp_test_data): New variable.
35170 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35171 (clog_test_data): New variable.
35172 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35173 (clog10_test_data): New variable.
35174 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35175 (conj_test_data): New variable.
35176 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35177 (cproj_test_data): New variable.
35178 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35179 (csin_test_data): New variable.
35180 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35181 (csinh_test_data): New variable.
35182 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35183 (csqrt_test_data): New variable.
35184 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35185 (ctan_test_data): New variable.
35186 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35187 (ctan_tonearest_test_data): New variable.
35188 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35189 (ctan_towardzero_test_data): New variable.
35190 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35191 (ctan_downward_test_data): New variable.
35192 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35193 (ctan_upward_test_data): New variable.
35194 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35195 (ctanh_test_data): New variable.
35196 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35197 (ctanh_tonearest_test_data): New variable.
35198 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35199 (ctanh_towardzero_test_data): New variable.
35200 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35201 (ctanh_downward_test_data): New variable.
35202 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35203 (ctanh_upward_test_data): New variable.
35204 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35205 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35206 of BUILD_COMPLEX.
35207
601a3a5f
JM
35208 * math/libm-test.inc (struct test_ff_f_data): New type.
35209 (struct test_ff_f_data_nexttoward): Likewise.
35210 (RUN_TEST_LOOP_2_f): New macro.
35211 (RUN_TEST_LOOP_ff_f): Likewise.
35212 (atan2_test_data): New variable.
35213 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35214 (copysign_test_data): New variable.
35215 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35216 (fdim_test_data): New variable.
35217 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35218 (fmax_test_data): New variable.
35219 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35220 (fmin_test_data): New variable.
35221 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35222 (fmod_test_data): New variable.
35223 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35224 (hypot_test_data): New variable.
35225 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35226 (nextafter_test_data): New variable.
35227 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35228 (nexttoward_test_data): New variable.
35229 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35230 (pow_test_data): New variable.
35231 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35232 (pow_tonearest_test_data): New variable.
35233 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35234 (pow_towardzero_test_data): New variable.
35235 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35236 (pow_downward_test_data): New variable.
35237 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35238 (pow_upward_test_data): New variable.
35239 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35240 (remainder_test_data): New variable.
35241 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35242 (scalb_test_data): New variable.
35243 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35244 * sysdeps/i386/fpu/libm-test-ulps: Update.
35245
74c57478
JM
352462013-05-11 Joseph Myers <joseph@codesourcery.com>
35247
8329e4da
JM
35248 * math/libm-test.inc (fma_test): Use max_value instead of local
35249 variable fltmax.
35250 (nextafter_test): Likewise.
35251
74c57478
JM
35252 * math/libm-test.inc (acos_towardzero_test_data): New variable.
35253 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35254 (acos_downward_test_data): New variable.
35255 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35256 (acos_upward_test_data): New variable.
35257 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35258 (acosh_test_data): New variable.
35259 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35260 (asin_test_data): New variable.
35261 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35262 (asin_tonearest_test_data): New variable.
35263 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35264 (asin_towardzero_test_data): New variable.
35265 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35266 (asin_downward_test_data): New variable.
35267 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35268 (asin_upward_test_data): New variable.
35269 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35270 (asinh_test_data): New variable.
35271 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35272 (atan_test_data): New variable.
35273 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35274 (atanh_test_data): New variable.
35275 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35276 (cbrt_test_data): New variable.
35277 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35278 (ceil_test_data): New variable.
35279 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35280 (cos_test_data): New variable.
35281 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35282 (cos_tonearest_test_data): New variable.
35283 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35284 (cos_towardzero_test_data): New variable.
35285 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35286 (cos_downward_test_data): New variable.
35287 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35288 (cos_upward_test_data): New variable.
35289 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35290 (cosh_test_data): New variable.
35291 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35292 (cosh_tonearest_test_data): New variable.
35293 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35294 (cosh_towardzero_test_data): New variable.
35295 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35296 (cosh_downward_test_data): New variable.
35297 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35298 (cosh_upward_test_data): New variable.
35299 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35300 (erf_test_data): New variable.
35301 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35302 (erfc_test_data): New variable.
35303 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35304 (exp_test_data): New variable.
35305 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35306 (exp_tonearest_test_data): New variable.
35307 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35308 (exp_towardzero_test_data): New variable.
35309 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35310 (exp_downward_test_data): New variable.
35311 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35312 (exp_upward_test_data): New variable.
35313 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35314 (exp10_test_data): New variable.
35315 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35316 (exp2_test_data): New variable.
35317 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35318 (expm1_test_data): New variable.
35319 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35320 (fabs_test_data): New variable.
35321 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35322 (floor_test_data): New variable.
35323 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35324 (j0_test_data): New variable.
35325 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35326 (j1_test_data): New variable.
35327 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35328 (log_test_data): New variable.
35329 (log_test): Run tests with RUN_TEST_LOOP_f_f.
35330 (log10_test_data): New variable.
35331 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35332 (log1p_test_data): New variable.
35333 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35334 (log2_test_data): New variable.
35335 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35336 (logb_test_data): New variable.
35337 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35338 (logb_downward_test_data): New variable.
35339 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35340 (nearbyint_test_data): New variable.
35341 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35342 (rint_test_data): New variable.
35343 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35344 (rint_tonearest_test_data): New variable.
35345 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35346 (rint_towardzero_test_data): New variable.
35347 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35348 (rint_downward_test_data): New variable.
35349 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35350 (rint_upward_test_data): New variable.
35351 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35352 (round_test_data): New variable.
35353 (round_test): Run tests with RUN_TEST_LOOP_f_f.
35354 (sin_test_data): New variable.
35355 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35356 (sin_tonearest_test_data): New variable.
35357 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35358 (sin_towardzero_test_data): New variable.
35359 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35360 (sin_downward_test_data): New variable.
35361 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35362 (sin_upward_test_data): New variable.
35363 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35364 (sinh_test_data): New variable.
35365 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35366 (sinh_tonearest_test_data): New variable.
35367 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35368 (sinh_towardzero_test_data): New variable.
35369 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35370 (sinh_downward_test_data): New variable.
35371 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35372 (sinh_upward_test_data): New variable.
35373 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35374 (sqrt_test_data): New variable.
35375 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35376 (tan_test_data): New variable.
35377 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35378 (tan_tonearest_test_data): New variable.
35379 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35380 (tan_towardzero_test_data): New variable.
35381 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35382 (tan_downward_test_data): New variable.
35383 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35384 (tan_upward_test_data): New variable.
35385 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35386 (tanh_test_data): New variable.
35387 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35388 (tgamma_test_data): New variable.
35389 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35390 (trunc_test_data): New variable.
35391 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35392 (y0_test_data): New variable.
35393 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35394 (y1_test_data): New variable.
35395 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35396 (significand_test_data): New variable.
35397 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35398
7187d844
CG
353992013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
35400
35401 [BZ #12387]
35402 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35403
f63fae73
PT
354042013-05-10 Pino Toscano <toscano.pino@tiscali.it>
35405
35406 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35407
8a67a4b3
AJ
354082013-05-10 Andreas Jaeger <aj@suse.de>
35409
35410 [BZ #15448]
35411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35412 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35413
51df539d
JM
354142013-05-10 Joseph Myers <joseph@codesourcery.com>
35415
35416 * math/gen-libm-test.pl (adjust_arg): New function.
35417 (special_functions): Handle generating output in both functions
35418 and arrays.
35419 (parse_args): Likewise.
35420 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
35421 $in_func argument to parse_args.
35422 * math/libm-test.inc (struct test_f_f_data): New type.
35423 (IF_ROUND_INIT_): New macro.
35424 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35425 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35426 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35427 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35428 (ROUND_RESTORE_): Likewise.
35429 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35430 (ROUND_RESTORE_FE_TONEAREST): Likewise.
35431 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35432 (ROUND_RESTORE_FE_UPWARD): Likewise.
35433 (RUN_TEST_LOOP_f_f): New macro.
35434 (acos_test_data): New variable.
35435 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35436 (acos_tonearest_test_data): New variable.
35437 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35438
5c637fe5
SP
354392013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35440
35441 * benchtests/bench-skeleton.c (startup): Fix coding style.
35442
ab2b9461
JM
354432013-05-10 Joseph Myers <joseph@codesourcery.com>
35444
35445 [BZ #6809]
35446 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35447 negative infinity argument.
35448 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35449 negative infinity argument.
35450 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35451 negative infinity argument.
35452 * math/libm-test.inc (tgamma_test): Expect errno to be set for
35453 domain errors.
35454
4c0fe6fe
FW
354552013-05-10 Florian Weimer <fweimer@redhat.com>
35456
35457 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35458 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35459 * iconv/iconv_prog.c (main): Likewise.
35460 * locale/programs/charmap-dir.c (charmap_readdir)
35461 (fopen_uncompressed): Likewise.
35462 * locale/programs/locfile.c (siblings_uncached)
35463 (write_locale_data): Use lstat64 instead of lstat.
35464 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35465 stat.
35466
a3375d29
AJ
354672013-05-10 Andreas Jaeger <aj@suse.de>
35468
35469 [BZ #15395]
35470 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35471 localization.
35472 Include <locale.h>.
35473
36129722
CD
354742013-05-09 Carlos O'Donell <carlos@redhat.com>
35475
35476 * elf/dl-close.c (_dl_close_worker): Add comments.
35477
faa7f811
JM
354782013-05-09 Joseph Myers <joseph@codesourcery.com>
35479
ed41ffef
JM
35480 [BZ #15359]
35481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35482 high part of pi/2.
35483 (__ieee754_rem_pio2l): Update comments.
35484
d0213cd0
JM
35485 [BZ #15429]
35486 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35487 high part of pi/2.
35488 (__ieee754_rem_pio2l): Update comments.
35489
0d3e777a
JM
35490 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35491 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35492
24f56066
JM
35493 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35494 M_PI_4l.
35495
faa7f811
JM
35496 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35497 (M_PI_34_LOG10El): Likewise.
35498 (M_PI2_LOG10El): Likewise.
35499 (M_PI4_LOG10El): Likewise.
35500 (M_PI_LOG10El): Likewise.
35501
e9a5e0fd
AZ
355022013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35503
35504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35505
d8cd06db
JM
355062013-05-08 Joseph Myers <joseph@codesourcery.com>
35507
a0d9f9d7
JM
35508 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35509 (MINUS_ZERO_INIT): Likewise.
35510 (PLUS_INFTY_INIT): Likewise.
35511 (MINUS_INFTY_INIT): Likewise.
35512 (QNAN_VALUE_INIT): Likewise.
35513 (MAX_VALUE_INIT): Likewise.
35514 (MIN_VALUE_INIT): Likewise.
35515 (MIN_SUBNORM_VALUE_INIT): Likewise.
35516 (plus_zero): Initialize with PLUS_ZERO_INIT.
35517 (minus_zero): Initialize with MINUS_ZERO_INIT.
35518 (plus_infty): Initialize with PLUS_INFTY_INIT.
35519 (minus_infty): Initialize with MINUS_INFTY_INIT.
35520 (qnan_value): Initialize with QNAN_VALUE_INIT.
35521 (max_value): Initialize with MAX_VALUE_INIT.
35522 (min_value): Initialize with MIN_VALUE_INIT.
35523 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35524
ae08db3b
JM
35525 * math/libm-test.inc (RUN_TEST_if_f): New macro.
35526 (jn_test): Use TEST_if_f instead of TEST_ff_f.
35527 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35528 (yn_test): Use TEST_if_f instead of TEST_ff_f.
35529
f44bf14a
JM
35530 * math/libm-test.inc (RUN_TEST_f_f): New macro.
35531 (RUN_TEST_2_f): Likewise.
35532 (RUN_TEST_ff_f): Likewise.
35533 (RUN_TEST_fi_f): Likewise.
35534 (RUN_TEST_fl_f): Likewise.
35535 (RUN_TEST_fff_f): Likewise.
35536 (RUN_TEST_c_f): Likewise.
35537 (RUN_TEST_f_f1): Likewise.
35538 (RUN_TEST_fF_f1): Likewise.
35539 (RUN_TEST_fI_f1): Likewise.
35540 (RUN_TEST_ffI_f1): Likewise.
35541 (RUN_TEST_c_c): Likewise.
35542 (RUN_TEST_cc_c): Likewise.
35543 (RUN_TEST_f_i): Likewise.
35544 (RUN_TEST_f_i_tg): Likewise.
35545 (RUN_TEST_ff_i_tg): Likewise.
35546 (RUN_TEST_f_b): Likewise.
35547 (RUN_TEST_f_b_tg): Likewise.
35548 (RUN_TEST_f_l): Likewise.
35549 (RUN_TEST_f_L): Likewise.
35550 (RUN_TEST_sincos): Likewise.
35551 * math/gen-libm-test.pl (new_test): Take new argument to indicate
35552 whether to show exceptions. Do not include ");\n" in return
35553 value.
35554 (special_functions): Output call to RUN_TEST_sincos instead of
35555 check_float calls. Update calls to new_test.
35556 (parse_args): Output call to single RUN_TEST_* macro instead of
35557 check_* calls and other assignments. Update calls to new_test.
35558
d8cd06db
JM
35559 [BZ #2546]
35560 [BZ #2560]
35561 [BZ #5159]
35562 [BZ #15426]
35563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35564 input to result for tgamma overflow.
35565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35566 (gamma_coeff): New variable.
35567 (NCOEFF): New macro.
35568 (gamma_positive): New function.
35569 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35570 underflow here. Use gamma_positive instead of exp (lgamma) for
35571 other arguments.
35572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35573 (gamma_coeff): New variable.
35574 (NCOEFF): New macro.
35575 (gammaf_positive): New function.
35576 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35577 underflow here. Use gamma_positive instead of exp (lgamma) for
35578 other arguments.
35579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35580 (gamma_coeff): New variable.
35581 (NCOEFF): New macro.
35582 (gammal_positive): New function.
35583 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35584 underflow here. Use gamma_positive instead of exp (lgamma) for
35585 other arguments.
35586 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35587 (gamma_coeff): New variable.
35588 (NCOEFF): New macro.
35589 (gammal_positive): New function.
35590 (__ieee754_gammal_r): Handle positive infinity, overflow and
35591 underflow here. Handle NaN the same as positive infinity. Remove
35592 check x < 0xffffffff for negative integers. Use gamma_positive
35593 instead of exp (lgamma) for other arguments.
35594 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35595 (gamma_coeff): New variable.
35596 (NCOEFF): New macro.
35597 (gammal_positive): New function.
35598 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35599 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35603 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35604 * sysdeps/generic/math_private.h (__gamma_productf): New
35605 prototype.
35606 (__gamma_product): Likewise.
35607 (__gamma_productl): Likewise.
35608 * math/Makefile (libm-calls): Add gamma_product.
35609 * math/libm-test.inc (tgamma_test): Add more tests.
35610 * sysdeps/i386/fpu/libm-test-ulps: Update.
35611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35612
bb7cf681
OB
356132013-05-08 Ondřej Bílka <neleai@seznam.cz>
35614
35615 * benchtests/bench-skeleton.c (main): Preheat CPU.
35616
ba853947
AJ
356172013-05-07 Aurelien Jarno <aurelien@aurel32.net>
35618
35619 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35620
8347c74c
RM
356212013-05-07 Roland McGrath <roland@hack.frob.com>
35622
35623 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35624 and _dl_skip_args_internal.
35625
e8dd4791
CD
356262013-05-07 Carlos O'Donell <carlos@redhat.com>
35627
35628 * manual/message.texi (Message Translation): Talk about users.
35629 Message to key mapping impacts design.
35630
c7405830
RM
356312013-05-06 Roland McGrath <roland@hack.frob.com>
35632
a9173057
RM
35633 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35634
976e2f03
RM
35635 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35636
9723ffc5
RM
35637 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35638 * sysdeps/wordsize-64/glob64.c: ... here.
35639
962e6658
RM
35640 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35641 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35642 New macros.
35643
ee586a6d
RM
35644 * debug/getlogin_r_chk.c: Moved to ...
35645 * login/getlogin_r_chk.c: ... here.
35646 * debug/Makefile (routines): Move getlogin_r_chk to ...
35647 * login/Makefile (routines): ... here.
35648 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35649 * login/Versions (libc: GLIBC_2.4): ... here.
35650
355f9165
RM
35651 * io/poll.c (__poll): Renamed from poll.
35652 Add libc_hidden_def.
35653 (poll): Define as weak alias.
35654
bd9ffde6
RM
35655 * debug/ptsname_r_chk.c: Moved to ...
35656 * login/ptsname_r_chk.c: ... here.
35657 * debug/Makefile (routines): Move ptsname_r_chk to ...
35658 * login/Makefile (routines): ... here.
35659 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35660 * login/Versions (libc: GLIBC_2.4): ... here.
35661
8fb16a04
RM
35662 * posix/getlogin.c: Moved to ...
35663 * login/getlogin.c: ... here.
35664 * posix/getlogin_r.c: Moved to ...
35665 * login/getlogin_r.c: ... here.
35666 * posix/getlogin_r.c: Moved to ...
35667 * login/getlogin_r.c: ... here.
35668 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35669 * login/Makefile (routines): ... here.
35670 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35671 * login/Versions (libc: GLIBC_2.0): ... here.
35672
b99b892f
RM
35673 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35674 (setrlimit): Define as weak alias.
35675
c7405830
RM
35676 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35677 Call __ names for open, ftruncate, and close.
35678 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35679 (truncate): Define as weak alias.
35680
5bf96de5
JM
356812013-05-06 Joseph Myers <joseph@codesourcery.com>
35682
9ea3513c
JM
35683 * math/gen-libm-test.pl (parse_args): Initialize x before each
35684 test of frexp, modf and remquo.
35685
5bf96de5
JM
35686 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35687 test signgam value.
35688
16e616a7
AZ
356892013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35690
35691 [BZ #15418]
35692 [BZ #15419]
35693 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35694 internal tests.
35695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35696
d5e82754
RM
356972013-05-06 Roland McGrath <roland@hack.frob.com>
35698
35699 * elf/dl-writev.h: New file.
35700 * elf/dl-misc.c: Include it.
35701 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35702 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35703
a7548d41
JM
357042013-05-04 Joseph Myers <joseph@codesourcery.com>
35705
b7dab1e4
JM
35706 * math/libm-test.inc (noXFails): Remove variable.
35707 (noXPasses): Likewise.
35708 (BUILD_COMPLEX_INT): Remove macro.
35709 (print_screen): Remove xfail argument.
35710 (print_screen_max_error): Likewise.
35711 (update_stats): Likewise.
35712 (print_max_error): Likewise. Update calls to other affected
35713 functions.
35714 (print_complex_max_error): Likewise.
35715 (test_single_exception): Update calls to print_screen.
35716 (test_single_errno): Likewise.
35717 (check_float_internal): Remove xfail argument. Update calls to
35718 other affected functions.
35719 (check_float): Likewise.
35720 (check_complex): Likewise.
35721 (check_int): Likewise.
35722 (check_long): Likewise.
35723 (check_bool): Likewise.
35724 (check_longlong): Likewise.
35725 (main): Don't print noXFails and noXPasses.
35726 * math/gen-libm-test.pl (top level): Don't mention expected
35727 failure handling in comment.
35728 (new_test): Don't handle expected failures.
35729 (parse_args): Don't mention expected failure handling in comment.
35730 (generate_testfile): Don't handle expected failures.
35731 (parse_ulps): Likewise.
35732 (print_ulps_file): Likewise.
35733 (get_failure): Remove function.
35734 (output_test): Don't handle expected failures.
35735 * make/README.libm-test: Don't mention expected failure handling.
35736
a7548d41
JM
35737 * math/libm-test.inc (plus_zero): Make const. Add initializer.
35738 (minus_zero): Likewise.
35739 (plus_infty): Likewise.
35740 (minus_infty): Likewise.
35741 (qnan_value): Likewise.
35742 (max_value): Likewise.
35743 (min_value): Likewise.
35744 (min_subnorm_value): Likewise.
35745 (initialize): Do not initialize those variables dynamically.
35746
60bfd54c
RM
357472013-05-03 Roland McGrath <roland@hack.frob.com>
35748
cc0e6ed8
RM
35749 * io/open.c (__open_2): Moved to ...
35750 * io/open_2.c: ... this new file.
35751 * io/open64.c (__open64_2): Moved to ...
35752 * io/open64_2.c: ... this new file.
35753 * io/openat.c (__openat_2): Moved to ...
35754 * io/openat_2.c: ... this new file.
35755 * io/openat64.c (__openat64_2): Moved to ...
35756 * io/openat64_2.c: ... this new file.
35757 * io/Makefile (routines): Add them.
35758 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35759 * sysdeps/unix/sysv/linux/open_2.c: File removed.
35760 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35761 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35762 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35763 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35764 (__openat64): Add hidden_ver.
35765 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35766 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35767
60bfd54c
RM
35768 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35769 Separately conditionalize setting of GLRO(dl_sysinfo) so
35770 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35771 as well, but the actual setting is only under [NEED_DL_SYSINFO].
35772
83e7640f
AZ
357732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35774
35775 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35777 definition.
35778 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35779 * sysdeps/unix/sysv/linux/powerpc/init-first.c
35780 (_libc_vdso_platform_setup): Add __vdso_time initialization.
35781 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35782 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35783
d5dc2af3
JM
357842013-05-03 Joseph Myers <joseph@codesourcery.com>
35785
c31a5b1e
JM
35786 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35787 test signgam value.
35788
d5dc2af3
JM
35789 * math/libm-test.inc (hypot_test): Do not use
35790 IGNORE_ZERO_INF_SIGN.
35791
164fd39d
AJ
357922013-05-03 Andreas Jaeger <aj@suse.de>
35793
35794 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35795 Linux 3.9.
35796 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35797 (PF_MAX): Adjust for VSOCK change.
35798
8237f48c
AZ
357992013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35800
35801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35802
9df02941
CD
358032013-05-02 Carlos O'Donell <carlos@redhat.com>
35804
35805 [BZ #15264]
35806 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35807 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35808 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35809
d422395e
DM
358102013-05-02 David S. Miller <davem@davemloft.net>
35811
35812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35813
a07c5731
OB
358142013-05-01 Ondřej Bílka <neleai@seznam.cz>
35815
35816 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35817
1324e37f
RM
358182013-05-01 Roland McGrath <roland@hack.frob.com>
35819
35820 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35821
0695940b
RS
358222013-05-01 Richard Smith <richard@metafoo.co.uk>
35823
bb5f27ad 35824 [BZ #14952]
0695940b
RS
35825 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35826 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35827 Use __attribute__ ((__gnu_inline__)).
35828 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35829 Don't use __attribute__ ((__gnu_inline__)).
35830
10de07f5
JM
358312013-05-01 Joseph Myers <joseph@codesourcery.com>
35832
35833 [BZ #15423]
35834 * math/s_catan.c (__catan): Handle small real or imaginary part of
35835 input specially to avoid spurious underflow.
35836 * math/s_catanf.c (__catanf): Likewise.
35837 * math/s_catanh.c (__catanh): Likewise.
35838 * math/s_catanhf.c (__catanhf): Likewise.
35839 * math/s_catanhl.c (__catanhl): Likewise.
35840 * math/s_catanl.c (__catanl): Likewise.
35841 * math/libm-test.inc (catan_test): Add more tests.
35842 (catanh_test): Likewise.
35843 * sysdeps/i386/fpu/libm-test-ulps: Update.
35844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35845
cb4d5414
AZ
358462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35847
35848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35849
caf84319
JM
358502013-04-30 Joseph Myers <joseph@codesourcery.com>
35851
35852 [BZ #15416]
35853 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35854 accurately for denominator in atan2.
35855 * math/s_catanf.c (__catanf): Likewise.
35856 * math/s_catanh.c (__catanh): Likewise.
35857 * math/s_catanhf.c (__catanhf): Likewise.
35858 * math/s_catanhl.c (__catanhl): Likewise.
35859 * math/s_catanl.c (__catanl): Likewise.
35860 * math/libm-test.inc (catan_test): Add more tests.
35861 (catanh_test): Likewise.
35862 * sysdeps/i386/fpu/libm-test-ulps: Update.
35863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35864
d569c6ee
SP
358652013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35866
6dbe713d
SP
35867 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35868
f0ee064b
SP
35869 * benchtests/Makefile (bench): Remove slow benchmarks.
35870 * benchtests/atan-inputs: Add slow benchmark inputs.
35871 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35872 (BENCH_FUNC): Accept variant offset.
35873 (VARIANT): Define.
35874 * benchtests/bench-skeleton.c (main): Run benchmark for each
35875 variant.
35876 * benchtests/cos-inputs: Add slow benchmark inputs.
35877 * benchtests/exp-inputs: Likewise.
35878 * benchtests/pow-inputs: Likewise.
35879 * benchtests/sin-inputs: Likewise.
35880 * benchtests/slowatan-inputs: Remove.
35881 * benchtests/slowatan.c: Remove.
35882 * benchtests/slowcos-inputs: Remove.
35883 * benchtests/slowcos.c: Remove.
35884 * benchtests/slowexp-inputs: Remove.
35885 * benchtests/slowexp.c: Remove.
35886 * benchtests/slowpow-inputs: Remove.
35887 * benchtests/slowpow.c: Remove.
35888 * benchtests/slowsin-inputs: Remove.
35889 * benchtests/slowsin.c: Remove.
35890 * benchtests/slowtan-inputs: Remove.
35891 * benchtests/slowtan.c: Remove.
35892 * benchtests/tan-inputs: Add slow benchmark inputs.
35893 * scripts/bench.pl: Parse comments and directives.
35894
d569c6ee
SP
35895 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
35896 in CPPFLAGS.
35897 ($(objpfx)bench-%.c): Remove *-ITER.
35898 * benchtests/bench-modf.c: Remove definition of ITER.
35899 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35900 (main): Loop for DURATION seconds instead of fixed number of
35901 iterations.
35902 * scripts/bench.pl: Don't expect iterations in parameters.
35903
a6a242fe
RM
359042013-04-29 Roland McGrath <roland@hack.frob.com>
35905
35906 * io/fchdir.c (__fchdir): Renamed from fchdir.
35907 (fchdir): Define as weak alias.
35908
f2da7793
JM
359092013-04-29 Joseph Myers <joseph@codesourcery.com>
35910
35911 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35912 (ERRNO_EDOM): Likewise.
35913 (ERRNO_ERANGE): Likewise.
35914 (noErrnoTests): New variable.
35915 (init_max_error): Set errno to 0.
35916 (test_single_errno): New function.
35917 (test_errno): Likewise.
35918 (check_float_internal): Call test_errno. Set errno to 0.
35919 (check_complex): Refer to errno tests in comment.
35920 (check_int): Call test_errno. Set errno to 0.
35921 (check_long): Likewise.
35922 (check_bool): Likewise.
35923 (check_longlong): Likewise.
35924 (cos_test): Use ERRNO_* flags for errno tests instead of
35925 check_int.
35926 (expm1_test): Likewise.
35927 (fmod_test): Likewise.
35928 (ilogb_test): Likewise.
35929 (lgamma_test): Likewise.
35930 (pow_test): Likewise.
35931 (remainder_test): Likewise.
35932 (sin_test): Likewise.
35933 (tan_test): Likewise.
35934 (yn_test): Likewise.
35935 (initialize): Set errno to 0.
35936 (main): Print number of errno tests.
35937 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35938
b1a36ceb
AJ
359392013-04-29 Andreas Jaeger <aj@suse.de>
35940
c3ed8088
AJ
35941 [BZ #15084]
35942 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35943 and RES_USEVC.
35944
f1a24198
AJ
35945 [BZ #15085]
35946 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35947 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35948 unimplemented.
35949
9ce3b2cb
AJ
35950 [BZ #15380]
35951 * stdlib/random.c (__initstate): Return NULL if
35952 __initstate fails.
35953
f1a24198 35954 [BZ #15086]
b1a36ceb
AJ
35955 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35956 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35957 RES_SNGLKUPREOP.
35958
7e7b6f36
AZ
359592013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35960
35961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35962
4d14f449
JM
359632013-04-29 Joseph Myers <joseph@codesourcery.com>
35964
35965 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35966 of individual tests.
35967 (casin_test): Likewise.
35968 (casinh_test): Likewise.
35969
5b4217d7
JM
359702013-04-27 Joseph Myers <joseph@codesourcery.com>
35971
35972 [BZ #15409]
35973 * math/s_catan.c (__catan): Handle arguments with large real or
35974 imaginary part separately without squaring.
35975 * math/s_catanf.c (__catanf): Likewise.
35976 * math/s_catanh.c (__catanh): Likewise.
35977 * math/s_catanhf.c (__catanhf): Likewise.
35978 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35979 and redefine.
35980 (__catanhl): Handle arguments with large real or imaginary part
35981 separately without squaring.
35982 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35983 and redefine.
35984 (__catanl): Handle arguments with large real or imaginary part
35985 separately without squaring.
35986 * math/libm-test.inc (catan_test): Add more tests.
35987 (catanh_test): Likewise.
35988 * sysdeps/i386/fpu/libm-test-ulps: Update.
35989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35990
4220c3ef
AJ
359912013-04-27 Andreas Jaeger <aj@suse.de>
35992
35993 [BZ #15007]
35994 * stdlib/stdlib.h: Update guards for qecvt.
35995 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35996 <stdlib.h>.
35997
4721b2d1
AM
359982013-04-27 Allan McRae <allan@archlinux.org>
35999
36000 * sysdeps/i386/fpu/libm-test-ulps: Update.
36001
f0302940
JM
360022013-04-26 Joseph Myers <joseph@codesourcery.com>
36003
9457fd95
JM
36004 [BZ #15406]
36005 * math/s_catan.c: Include <float.h>.
36006 (__catan): Ensure underflow exception occurs for underflowed
36007 result.
36008 * math/s_catanf.c: Include <float.h>.
36009 (__catanf): Ensure underflow exception occurs for underflowed
36010 result.
36011 * math/s_catanh.c: Include <float.h>.
36012 (__catanh): Ensure underflow exception occurs for underflowed
36013 result.
36014 * math/s_catanhf.c: Include <float.h>.
36015 (__catanhf): Ensure underflow exception occurs for underflowed
36016 result.
36017 * math/s_catanhl.c: Include <float.h>.
36018 (__catanhl): Ensure underflow exception occurs for underflowed
36019 result.
36020 * math/s_catanl.c: Include <float.h>.
36021 (__catanl): Ensure underflow exception occurs for underflowed
36022 result.
36023 * math/libm-test.inc (catan_test): Add more tests.
36024 (catanh_test): Likewise.
36025
f0302940
JM
36026 [BZ #15405]
36027 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36028 underflowed result.
36029 * math/s_ccoshf.c (__ccoshf): Likewise.
36030 * math/s_ccoshl.c (__ccoshl): Likewise.
36031 * math/s_csin.c (__csin): Likewise.
36032 * math/s_csinf.c (__csinf): Likewise.
36033 * math/s_csinh.c (__csinh): Likewise.
36034 * math/s_csinhf.c (__csinhf): Likewise.
36035 * math/s_csinhl.c (__csinhl): Likewise.
36036 * math/s_csinl.c (__csinl): Likewise.
36037 * math/libm-test.inc (ccos_test): Add more tests.
36038 (ccosh_test): Likewise.
36039 (csin_test): Likewise.
36040 (csinh_test): Likewise.
36041
aa630f59
AZ
360422013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36043
36044 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36045 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36046 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36047 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36048 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36049 powerpc/power5+/fpu folders.
36050 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36051
36052
1b835983
MT
360532013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36054
36055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36056
73709b26
JM
360572013-04-25 Joseph Myers <joseph@codesourcery.com>
36058
36059 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36060 additions to variable.
36061 [$(config-machine) = x86_64] (modules-names): Likewise.
36062 ($(objpfx)tst-audit3): Remove dependency.
36063 ($(objpfx)tst-audit3.out): Likewise.
36064 ($(objpfx)tst-audit4): Likewise.
36065 ($(objpfx)tst-audit4.out): Likewise.
36066 ($(objpfx)tst-audit5): Likewise.
36067 ($(objpfx)tst-audit5.out): Likewise.
36068 ($(objpfx)tst-audit6): Likewise.
36069 ($(objpfx)tst-audit6.out): Likewise.
36070 ($(objpfx)tst-audit7): Likewise.
36071 ($(objpfx)tst-audit7.out): Likewise.
36072 (tst-audit3-ENV): Remove variable.
36073 (tst-audit4-ENV): Likewise.
36074 (tst-audit5-ENV): Likewise.
36075 (tst-audit6-ENV): Likewise.
36076 (tst-audit7-ENV): Likewise.
36077 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36078 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36079 addition to variable.
36080 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36081 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36085 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36086 tst-audit3, tst-audit4 and tst-audit5.
36087 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36088 tst-audit6 and tst-audit7.
36089 [$(subdir) = elf] (modules-names): Add audit modules for those
36090 tests.
36091 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36092 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36093 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36094 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36095 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36096 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36097 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36098 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36099 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36100 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36101 [$(subdir) = elf] (tst-audit3-ENV): New variable.
36102 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36103 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36104 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36105 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36106 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36107 Likewise.
36108 [$(subdir) = elf && $(config-cflags-avx) = yes]
36109 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36110 [$(subdir) = elf && $(config-cflags-avx) = yes]
36111 (CFLAGS-tst-auditmod4a.c): Likewise.
36112 [$(subdir) = elf && $(config-cflags-avx) = yes]
36113 (CFLAGS-tst-auditmod4b.c): Likewise.
36114 [$(subdir) = elf && $(config-cflags-avx) = yes]
36115 (CFLAGS-tst-auditmod6b.c): Likewise.
36116 [$(subdir) = elf && $(config-cflags-avx) = yes]
36117 (CFLAGS-tst-auditmod6c.c): Likewise.
36118 [$(subdir) = elf && $(config-cflags-avx) = yes]
36119 (CFLAGS-tst-auditmod7b.c): Likewise.
36120 * elf/tst-audit3.c: Move to ...
36121 * sysdeps/x86_64/tst-audit3.c: ... here.
36122 * elf/tst-audit4.c: Move to ...
36123 * sysdeps/x86_64/tst-audit4.c: ... here.
36124 * elf/tst-audit5.c: Move to ...
36125 * sysdeps/x86_64/tst-audit5.c: ... here.
36126 * elf/tst-audit6.c: Move to ...
36127 * sysdeps/x86_64/tst-audit6.c: ... here.
36128 * elf/tst-audit7.c: Move to ...
36129 * sysdeps/x86_64/tst-audit7.c: ... here.
36130 * elf/tst-auditmod3a.c: Move to ...
36131 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36132 * elf/tst-auditmod3b.c: Move to ...
36133 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36134 * elf/tst-auditmod4a.c: Move to ...
36135 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36136 * elf/tst-auditmod4b.c: Move to ...
36137 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36138 * elf/tst-auditmod5a.c: Move to ...
36139 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36140 * elf/tst-auditmod5b.c: Move to ...
36141 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36142 * elf/tst-auditmod6a.c: Move to ...
36143 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36144 * elf/tst-auditmod6b.c: Move to ...
36145 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36146 * elf/tst-auditmod6c.c: Move to ...
36147 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36148 * elf/tst-auditmod7a.c: Move to ...
36149 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36150 * elf/tst-auditmod7b.c: Move to ...
36151 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36152
1ef74943
PP
361532013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
36154
36155 [BZ #15366]
36156 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36157 define unconditionally.
36158 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36159 define unconditionally.
36160 (INT8_C, INT16_C, etc.): Likewise.
36161
93fd48c5
MR
361622013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
36163
ae9552cf
MR
36164 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36165 __ehdr_start with hidden visibility.
36166
93fd48c5
MR
36167 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36168
418601aa
CD
361692013-04-24 Carlos O'Donell <carlos@redhat.com>
36170
36171 * math/libm-test.inc (cos_test): Use accurate hex constants.
36172 (sincost_test): Likewise.
36173
2f38fbfe
JM
361742013-04-24 Joseph Myers <joseph@codesourcery.com>
36175
5e221800
JM
36176 * math/libm-test.inc (catan_test): Add more tests.
36177 (catanh_test): Likewise.
36178
77f143fd
JM
36179 * math/s_catanf.c (__catanf): Use suffixed floating-point
36180 constants.
36181 * math/s_catanhf.c (__catanhf): Likewise.
36182 * math/s_catanhl.c (__catanhl): Likewise.
36183 * math/s_catanl.c (__catanl): Likewise.
36184
2f38fbfe
JM
36185 [BZ #15394]
36186 * math/s_catan.c (__catan): Calculate imaginary part of result
36187 with log1p not log unless computing log of number close to 0.
36188 * math/s_catanf.c (__catanf): Likewise.
36189 * math/s_catanl.c (__catanl): Likewise.
36190 * math/s_catanh.c (__catanh): Calculate real part of result with
36191 log1p not log unless computing log of number close to 0.
36192 * math/s_catanhf.c (__catanhf): Likewise.
36193 * math/s_catanhl.c (__catanhl): Likewise.
36194 * math/libm-test.inc (catan_test): Add more tests.
36195 (catanh_test): Likewise.
36196 * sysdeps/i386/fpu/libm-test-ulps: Update.
36197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36198
45d69176
SP
361992013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36200
36201 * benchtests/Makefile: Mention files in which fast and slow
36202 paths of math functions are implemented.
36203
87f51853
RM
362042013-04-23 Roland McGrath <roland@hack.frob.com>
36205
36206 * sysdeps/posix/timespec_get.c: New file.
36207
3c026539
AZ
362082013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36209
36210 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36211 POWER.
36212 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36213 for POWER.
36214 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36215 powerpc/power5/fpu folders.
36216 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36217 * benchtests/Makefile: Add modf testcase.
36218 * benchtests/bench-modf.c: New file: Benchmark test for mo
36219
ff491d14
SP
362202013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
36221
36222 [BZ #14888]
36223 * time/Makefile (tests): Add tst-strptime-whitespace.
36224 * time/strptime_l.c (get_number): Use ISSPACE.
36225 (__strptime_internal): Likewise.
36226 * time/tst-strptime-whitespace.c: New test case.
36227
7ed3f4e8
AS
362282013-04-23 Andreas Schwab <schwab@linux-m68k.org>
36229
36230 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36231 member.
36232 (_nss_files_init): Set it here.
36233
5c95f7b6
HC
362342013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
36235
36236 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36237 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36238 unsigned.
36239
d34c9158
JBG
362402013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
36241
36242 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36243
2169712d
SP
362442013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36245
36246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36247 size just once.
36248
29c5de99
DM
362492013-04-21 David S. Miller <davem@davemloft.net>
36250
36251 * po/ru.po: Update Russion translation from translation project.
36252
ccdad15d
AC
362532013-04-17 Adam Conrad <adconrad@0c3.net>
36254
36255 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36256 and setfsgid.
36257
0f122b8d
CD
362582013-04-17 Carlos O'Donell <carlos@redhat.com>
36259
5c5b07da 36260 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 36261 * configure: Regenerate.
5c5b07da 36262 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
36263 Add example to error message.
36264 * sysdeps/i386/configure: Regenerate.
36265
037714dd
SP
362662013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36267
36268 * benchtests/Makefile (bench): Add cos, tan, slowcos and
36269 slowtan.
36270 * benchtests/cos-inputs: New file.
36271 * benchtests/slowcos-inputs: New file.
36272 * benchtests/slowcos.c: New file.
36273 * benchtests/slowtan-inputs: New file.
36274 * benchtests/slowtan.c: New file.
36275 * benchtests/tan-inputs: New file.
36276
e913141d
RM
362772013-04-16 Roland McGrath <roland@hack.frob.com>
36278
36279 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36280 considered kosher.
36281
a2964074
SP
362822013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36283
4856bcd2
SP
36284 * benchtests/Makefile: Include cppflags-iterator.mk to add
36285 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36286
a2964074
SP
36287 * Makefile.in (bench-clean): New target.
36288 * benchtests/Makefile (bench-clean): Likewise.
36289
9fbf9aca
DH
362902013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
36291
36292 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36293
207d1e2a
TS
362942013-04-15 Thomas Schwinge <thomas@codesourcery.com>
36295
36296 * stdio-common/tstdiomisc.c: Fix coding-style violation.
36297
306dfba9
AS
362982013-04-15 Andreas Schwab <schwab@suse.de>
36299
36300 * nscd/grpcache.c (cache_addgr): Properly check for short write.
36301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36302 * nscd/pwdcache.c (cache_addpw): Likewise.
36303 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
36304 more than recsize.
36305
206a6699
SP
363062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36307
36308 * benchtests/Makefile (bench): Write all output to
36309 bench-out.tmp together.
36310
0582f6b3
AS
363112013-04-15 Andreas Schwab <schwab@suse.de>
36312
36313 * nscd/nscd.c (main): Don't fork again after closing files.
36314
acb4325f
SP
363152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36316
5cb26d0a
SP
36317 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36318
acb4325f
SP
36319 * benchtests/Rules (bench-deps): Collect dependencies into a
36320 single variable. Add Makefile to dependencies.
36321 ($(objpfx)bench-%.c): Depend on bench-deps.
36322
47792506
RM
363232013-04-12 Roland McGrath <roland@hack.frob.com>
36324 Xavier Roche <roche+kml2@exalead.com>
36325
36326 [BZ #15361]
36327 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36328 just that it's a file descriptor.
36329 * manual/llio.texi (Synchronizing AIO Operations): Update description
36330 for EBADF error from aio_fsync.
36331
8fc1bee5
SP
363322013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36333
36334 * Rules (bench): Move target definition...
36335 * benchtests/Makefile: ... here.
36336
aba5e333
CD
363372013-04-11 Carlos O'Donell <carlos@redhat.com>
36338
36339 * math/libm-test.inc (cos_test): Fix PI/2 test.
36340 (sincos_test): Likewise.
36341 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36342 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36343
273cdee8
AS
363442013-04-11 Andreas Schwab <schwab@suse.de>
36345
6ecec3b6
AS
36346 [BZ #13988]
36347 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36348 accept exponent character only when digits were seen.
36349 * stdio-common/Makefile (tests): Add bug26.
36350 * stdio-common/bug26.c: New file.
36351
273cdee8
AS
36352 [BZ #14293]
36353 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36354 non-freeable.
36355
8da491f5
SP
363562013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36357
01dc6df9
SP
36358 * Makeconfig (rtld-prefix): Define built linker prefix.
36359 * Rules (run-bench): Use it.
36360 * math/Makefile (run-regen-ulps): Likewise.
36361
8da491f5
SP
36362 * Rules (bench): Remove eval.
36363
abe7f530
SP
363642013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36365 Roland McGrath <roland@hack.frob.com>
36366 Ondrej Bilka <neleai@seznam.cz>
36367
36368 [BZ #15346]
36369 * time/getdate.c: Include ctype.h and alloca.h.
36370 (__getdate_r): Trim leading and trailing spaces of input.
36371 * time/tst-getdate.c (tests): Add tests with leading and
36372 trailing spaces.
36373
61c23e62
RM
363742013-04-08 Roland McGrath <roland@hack.frob.com>
36375
36376 [BZ #14280]
36377 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36378 when computing value.
36379
7208a313
CD
363802013-04-06 Carlos O'Donell <carlos@redhat.com>
36381
085b2d41
CD
36382 * math/README.libm-test (How can I generate "libm-test-ulps"?):
36383 Use testrun.sh to run libm tests.
36384
7208a313
CD
36385 [BZ #15309]
36386 * elf/dl-open.c (dl_open_worker): memset all of seen array.
36387
872c0acd
MM
363882013-04-06 Marko Myllynen <myllynen@redhat.com>
36389
36390 [BZ #15264]
36391 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36392
26510bdd
CD
363932013-04-06 Carlos O'Donell <carlos@redhat.com>
36394
36395 * Makefile.in (regen-ulps): New target.
36396 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36397 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36398 [ifneq (no,$(PERL)] (regen-ulps): New target.
36399 [ifeq (no,$(PERL)] (regen-ulps): New target.
36400 * math/libm-test.inc (ulps_file_name): Define.
36401 (output_dir): New variable.
36402 (options): Add "output-dir" option.
36403 (parse_opt): Handle 'o' case.
36404 (main): If output_dir is non-NULL use it as a prefix
36405 otherwise use "".
36406 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36407
a01f19c8
CD
364082013-04-06 Carlos O'Donell <carlos@redhat.com>
36409
36410 [BZ #10060, #10062]
36411 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36412 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36413 fail configure if __sync_val_compare_and_swap is not inlined.
36414 * sysdeps/i386/configure: Regenerate.
36415 * configure.in: Build for i686 when configured for i386.
36416 * configure: Regenerate.
36417 * README: Remove i386 reference.
36418
b7a329a5
CD
364192013-04-06 Carlos O'Donell <carlos@redhat.com>
36420
36421 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36423
bf0f50df
TS
364242013-04-05 Thomas Schwinge <thomas@codesourcery.com>
36425
ee091edf
TS
36426 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36427 (lmsnanval): New variables.
36428 (F): Add conversion tests.
36429 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36430 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36431
a8b792d6
TS
36432 * stdio-common/tstdiomisc.c (F): Properly collect individual
36433 tests' results.
36434
a1cbf437
TS
36435 [BZ #14686, #15336]
36436 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36437 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36438 Instead, use input NaN values or generate a qNaN by arithmetic
36439 operation. Also fix bugs to comply with the standard.
36440 * math/libm-test.inc (remainder_test): Add more tests.
36441
8b43a0c9
TS
36442 [BZ #15335, #15342]
36443 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36445 input NaN values or generate a qNaN by arithmetic operation.
36446
d91da4ce
TS
36447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36448 unreachable code.
36449
bf0f50df
TS
36450 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36451 definitions.
36452
05e166c8
JM
364532013-04-03 Joseph Myers <joseph@codesourcery.com>
36454
36455 [BZ #14478]
36456 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36457 underflowed result.
36458 * math/s_cexpf.c (__cexpf): Likewise.
36459 * math/s_cexpl.c (__cexpl): Likewise.
36460 * math/libm-test.inc (cexp_test): Add more tests.
36461
1cef1b19
AS
364622013-04-03 Andreas Schwab <schwab@suse.de>
36463
36464 [BZ #15330]
36465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36466 order arrays from heap if bigger than alloca cutoff.
36467
74d87055
TS
364682013-04-03 Thomas Schwinge <thomas@codesourcery.com>
36469
36470 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36471 (SNAN_TESTS_double): Refer to GCC PR56831.
36472 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36473 GCC PR56828.
36474
d755bba4
SP
364752013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36476
90d5d5bb
SP
36477 * Rules (bench): Move bench.out after the run is complete.
36478
73e0cd5d
SP
36479 * Rules (bench): Echo currently running benchmark.
36480
64aabd4b
SP
36481 * benchtests/Makefile (bench): Add atan and slowatan.
36482 * benchtests/atan-inputs: New file.
36483 * benchtests/slowatan-inputs: New file.
36484 * benchtests/slowatan.c: New file.
36485
c871eccd
SP
36486 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36487 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36488 its value.
36489
d755bba4
SP
36490 [BZ #15305]
36491 * sysdeps/unix/sysv/linux/kernel-features.h
36492 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36493 __ASSUME_XFS_RESTRICTED_CHOWN.
36494 * sysdeps/unix/sysv/linux/pathconf.c
36495 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36496 Save and restore errno.
36497
52ce4860
JM
364982013-04-02 Joseph Myers <joseph@codesourcery.com>
36499
36500 [BZ #15327]
36501 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36502 arguments using __kernel_casinh.
36503 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36504 arguments using __kernel_casinhf.
36505 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36506 arguments using __kernel_casinhl.
36507 * math/libm-test.inc (cacosh_test): Add more tests.
36508 * sysdeps/i386/fpu/libm-test-ulps: Update.
36509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36510
81f311c2
SP
365112013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36512
e7906a47
SP
36513 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36515
92e3664b
SP
36516 * bench/Makefile (bench): Add sin and slowsin.
36517 * benchtests/sin-inputs: New file.
36518 * benchtests/slowsin-inputs: New file.
36519 * benchtests/slowsin.c: New file.
36520
81f311c2
SP
36521 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36522 (bench): Add slowexp and slowpow.
36523 (exp-ITER): Increase iterations.
36524 (pow-ITER): Likewise.
36525 * benchtests/exp-inputs: Change input.
36526 * benchtests/pow-inputs: Likewise.
36527 * benchtests/slowexp-inputs: New file.
36528 * benchtests/slowexp.c: New file.
36529 * benchtests/slowpow-inputs: New file.
36530 * benchtests/slowpow.c: New file.
36531
ab0f1aa9
AZ
365322013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36533
36534 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36535 instructions.
36536 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36537 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36538 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36539 * benchtests/Makefile: Add rint benchtest.
36540 * benchtests/rint-inputs: Input for rint benchtest.
36541
57267616
TS
365422013-04-02 Thomas Schwinge <thomas@codesourcery.com>
36543
36544 * Versions.def (libm): Add GLIBC_2.18.
36545 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36546 hidden libm prototypes.
36547 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36548 * math/Makefile (libm-calls): Add s_issignaling.
36549 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36550 __issignalingf, __issignalingl. Adjust all libm.abilist files.
36551 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36552 declaration.
36553 * math/math.h [__USE_GNU] (issignaling): New macro.
36554 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36555 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36557 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36560 * manual/arith.texi (issignaling): New section.
36561 * manual/libm-err-tab.pl (@all_functions): Update comment.
36562 * math/gen-libm-test.pl (parse_args): Apply special handling for
36563 issignaling.
36564 * math/libm-test.inc (print_float, issignaling_test): New
36565 functions.
36566 (check_float_internal): Add issignaling checks.
36567 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36568 default definition.
36569 * sysdeps/powerpc/math-tests.h: New file.
36570 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36571 tests.
36572 * math/test-snan.c (TEST_FUNC): Likewise.
36573
6142896d
DM
365742013-03-30 David S. Miller <davem@davemloft.net>
36575
36576 * po/de.po: Update from translation team.
36577
ccc8cadf
JM
365782013-03-30 Joseph Myers <joseph@codesourcery.com>
36579
36580 [BZ #10357]
36581 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36582 imaginary part less than 1.0 and real part less than 0.5
36583 specially.
36584 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36585 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36586 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36587 (cacos_test): Add more tests.
36588 (casin_test): Likewise.
36589 (casinh_test): Likewise.
36590 * sysdeps/i386/fpu/libm-test-ulps: Update.
36591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36592
0f6a8d4b
SP
365932013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36594
0d1029de
SP
36595 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36596 ONE with its value.
36597
c2d94018
SP
36598 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36599 (__pow_mp): Replace ONE and MONE with their values.
36600 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36602 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36603 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36604 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36605 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36606
27ec37f1
SP
36607 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36608
a64d7e0e
SP
36609 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36610 (__pow_mp): Replace ZERO and MZERO with their values.
36611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36613 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36615 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36616 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36617 (__sqr): Likewise.
36618
d26dd3eb
SP
36619 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36620
0f6a8d4b
SP
36621 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36622
e57b0c61
RM
366232013-03-28 Roland McGrath <roland@hack.frob.com>
36624
36625 * include/stdlib.h [!SHARED] (__call_tls_dtors):
36626 Declare with __attribute__ ((weak)).
36627 * stdlib/exit.c (__libc_atexit) [!SHARED]:
36628 Call __call_tls_dtors only if it's not NULL.
36629
356b3480
RM
366302013-03-28 Roland McGrath <roland@hack.frob.com>
36631
288f7d79
RM
36632 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36633 didn't do it already, then set _dl_phdr and _dl_phnum based on the
36634 magic __ehdr_start linker symbol if it's defined.
36635 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36636 them up here if it was already done.
36637
dc0a0263
RM
36638 * elf/dl-support.c (_dl_phdr): Make pointer to const.
36639 (_dl_aux_init): Use const in cast when setting it.
36640 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36641 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36642 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36643
3d3436ae
RM
36644 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36645 Declare them here.
36646 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36647 * csu/libc-tls.c: Nor here.
36648 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36649
356b3480
RM
36650 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36651 (__libc_message): Never call vsyslog.
36652
b0f1246a
AM
366532013-03-28 Alan Modra <amodra@gmail.com>
36654
36655 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36656 Define as empty.
36657 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36658 Likewise.
36659
fbbe2b9a
AZ
366602013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36661
36662 [BZ #15214]
36663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36664 underflow.
36665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36666
1728ab37
SP
366672013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36668
7a86be6e
SP
36669 [BZ #15304]
36670 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36671 Don't add gid passed as argument.
36672
1728ab37
SP
36673 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36674
3a7182a1
JM
366752013-03-27 Joseph Myers <joseph@codesourcery.com>
36676
36677 [BZ #15307]
36678 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36679 imaginary part between 1.0 and 1.5 and real part less than 0.5
36680 specially.
36681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36683 * math/libm-test.inc (cacos_test): Add more tests.
36684 (casin_test): Likewise.
36685 (casinh_test): Likewise.
36686 * sysdeps/i386/fpu/libm-test-ulps: Update.
36687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36688
6f2e90e7
SP
366892013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36690
5739f705
SP
36691 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36692 constants.
36693 (norm): Likewise.
36694 (denorm): Likewise.
36695 (__dbl_mp): Likewise.
36696 (add_magnitudes): Likewise.
36697 (sub_magnitudes): Likewise.
36698 (__add): Likewise.
36699 (__sub): Likewise.
36700 (__mul): Likewise.
36701 (__sqr): Likewise.
36702 (__inv): Likewise.
36703 (__dvd): Likewise.
36704
e375e83d
SP
36705 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36706 commented code.
36707 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36708 (__dubcos): Likewise.
36709 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36710 (__ieee754_acos): Likewise.
36711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36713 (__exp1): Likewise.
36714 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36716 (log1): Likewise.
36717 (my_log2): Likewise.
36718 (checkint): Likewise.
36719 * sysdeps/ieee754/dbl-64/e_remainder.c
36720 (__ieee754_remainder): Likewise.
36721 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36723 (bsloww): Likewise.
36724 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36725
6f2e90e7
SP
36726 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36728 MANTISSA_STORE_T to store computations on mantissa. Use
36729 macros for rounding and division.
36730 (denorm): Likewise.
36731 (__dbl_mp): Likewise.
36732 (add_magnitudes): Likewise.
36733 (sub_magnitudes): Likewise.
36734 (__mul): Likewise.
36735 (__sqr): Likewise.
36736 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36737 powers of two in terms of TWOPOW macro.
36738 (mp_no): Make type of mantissa as MANTISSA_T.
36739 [!RADIXI]: Define RADIXI.
36740 [!TWO52]: Define TWO52.
36741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36742
fce14d4e
AZ
367432013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36744
36745 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36746 llroundl symbol when building for PPC32.
36747
9ad027fb
MW
367482013-03-24 Mark H Weaver <mhw@netris.org>
36749
36750 * manual/arith.texi (Normalization Functions): Fix prototypes for
36751 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36752
e42a38dd
AZ
367532013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36754
36755 [BZ #13889]
36756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36757 high value to check if expl overflow.
36758 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36759 to check for underflow and overflow.
36760 * math/libm-test.inc: Add exp test.
36761
2e0fb521
DL
367622013-03-21 Dmitry V. Levin <ldv@altlinux.org>
36763
36764 [BZ #11120]
36765 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36766 with NOT_IN_libc.
36767
b5784d95
AZ
367682013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36769
36770 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36771 symbol.
36772
5aa4a1a1
TS
367732013-03-21 Thomas Schwinge <thomas@codesourcery.com>
36774
bdef0be7
TS
36775 * math/gen-libm-test.pl (parse_args, special_functions): Properly
36776 wrap blocks consisting of several statements.
36777
5aa4a1a1
TS
36778 * sysdeps/generic/math-tests.h: New file.
36779 * sysdeps/i386/fpu/math-tests.h: Likewise.
36780 * math/test-snan.c: Include it.
36781 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36782
98c48fe5
JM
367832013-03-21 Joseph Myers <joseph@codesourcery.com>
36784
36785 [BZ #15285]
36786 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36787 (__ieee754_j0l): Do not improve calculations using cos of twice
36788 input for inputs above LDBL_MAX / 2.0L.
36789 (__ieee754_y0l): Likewise.
36790 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36791 (__ieee754_j1l): Do not improve calculations using cos of twice
36792 input for inputs above LDBL_MAX / 2.0L.
36793 (__ieee754_y1l): Likewise.
36794 * math/libm-test.inc (j0_test): Add another test.
36795 (j1_test): Likewise.
36796 (y0_test): Likewise.
36797 (y1_test): Likewise.
36798 * sysdeps/i386/fpu/libm-test-ulps: Update.
36799
3775a8bc
SP
368002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36801
36802 * Rules ($(objpfx)bench-%.c): Include code from a C source
36803 file.
36804
0a1b2ae6
JM
368052013-03-21 Joseph Myers <joseph@codesourcery.com>
36806
36807 [BZ #15287]
36808 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36809 imaginary part 1.0 and real part less than 0.5 specially.
36810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36812 * math/libm-test.inc (cacos_test): Add more tests.
36813 (casin_test): Likewise.
36814 (casinh_test): Likewise.
36815 * sysdeps/i386/fpu/libm-test-ulps: Update.
36816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36817
b33d4ce4
SP
368182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36819
36820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36821 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36822
bef0b507
JM
368232013-03-20 Joseph Myers <joseph@codesourcery.com>
36824
36825 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36826 * config.make.in (config-cflags-sse4): Remove variable.
36827 (config-cflags-avx): Likewise.
36828 (config-cflags-sse2avx): Likewise.
36829 (config-cflags-novzeroupper): Likewise.
36830 (config-asflags-i686): Likewise.
36831 (have-mfma4): Likewise.
36832 (have-as-vis3): Likewise.
36833 (MIG): Likewise.
36834 * configure.in (MIG): Do not AC_SUBST.
36835 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36836 (libc_cv_cc_sse4): Do not AC_SUBST.
36837 (libc_cv_cc_avx): Likewise.
36838 (libc_cv_cc_sse2avx): Likewise.
36839 (libc_cv_cc_novzeroupper): Likewise.
36840 (libc_cv_cc_fma4): Likewise.
36841 (libc_cv_as_i686): Likewise.
36842 (libc_cv_sparc_as_vis3): Likewise.
36843 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36844 LIBC_CONFIG_VAR.
36845 (config-asflags-i686): Likewise.
36846 (config-cflags-avx): Likewise.
36847 (config-cflags-sse2avx): Likewise.
36848 (have-mfma4): Likewise.
36849 (config-cflags-novzeroupper): Likewise.
36850 * sysdeps/mach/configure.in (MIG): Likewise.
36851 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36852 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36853 LIBC_CONFIG_VAR.
36854 (config-cflags-avx): Likewise.
36855 (config-cflags-sse2avx): Likewise.
36856 (have-mfma4): Likewise.
36857 (config-cflags-novzeroupper): Likewise.
36858 * configure: Regenerated.
36859 * sysdeps/i386/configure: Likewise.
36860 * sysdeps/mach/configure: Likewise.
36861 * sysdeps/sparc/configure: Likewise.
36862 * sysdeps/x86_64/configure: Likewise.
36863
912cc4b3
RM
368642013-03-20 Roland McGrath <roland@hack.frob.com>
36865
36866 [BZ #14812]
36867 * locale/programs/localedef.c (options): Put N_ translation marker
36868 on argument names, not just descriptions.
36869
04eed2b0
MS
368702013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36871
36872 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36873
a065ceff
OB
368742013-03-20 Ondřej Bílka <neleai@seznam.cz>
36875
9bb2a810 36876 [BZ #14176]
a065ceff
OB
36877 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36878
a600e5ce
RM
368792013-03-19 Roland McGrath <roland@hack.frob.com>
36880
36881 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36882 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36883 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36884 [!BEFORE_ABORT] (before_abort): New function.
36885 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36886 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36887 (writev_for_fatal): New function.
36888 (WRITEV_FOR_FATAL): New macro; call that.
36889 (backtrace_and_maps): New function.
36890 (BEFORE_ABORT): New macro; call that.
36891 (struct str_list): Type removed.
36892 (__libc_message, __libc_fatal): Functions removed.
36893 Include <sysdeps/posix/libc_fatal.c> instead.
36894
6b18bea6
JM
368952013-03-19 Joseph Myers <joseph@codesourcery.com>
36896
36897 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36898 constants.
36899 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36900 double constants.
36901
aaa8cb4b
AS
369022013-03-19 Andreas Schwab <schwab@suse.de>
36903
44673770
AS
36904 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36905 * sysdeps/gnu/configure: Regenerate.
36906
aaa8cb4b
AS
36907 * configure.in: Substitute libc_cv_rtlddir.
36908 * configure: Regenerate.
36909 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36910 * Makeconfig (rtlddir, inst_rtlddir): New variables.
36911 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36912 * elf/Makefile (install-others, CFLAGS-interp.c)
36913 (ldso_install, common-ldd-rewrite): Likewise.
36914 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36915 $(inst_slibdir)/$(rtld-installed-name).
36916 * scripts/rellns-sh: Add -p option.
36917 * Makerules (make-shlib-link): Use rellns-sh to get relative name
36918 for source.
36919
d3cfc668
SP
369202013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36921
36922 * manual/nptl.texi: Renamed to ...
36923 * manual/threads.texi: ... this.
36924 * manual/Makefile (chapters): Update.
36925
0e2b9cdd
RM
369262013-03-18 Roland McGrath <roland@hack.frob.com>
36927
36928 [BZ #14812]
36929 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36930 on argument names, not just descriptions.
0e2b9cdd
RM
36931 * malloc/memusagestat.c (options): Likewise.
36932 * nss/getent.c (options): Likewise.
63270c24
RM
36933
369342013-03-18 Benno Schulenberg <bensberg@justemail.net>
36935
36936 [BZ #14812]
36937 * iconv/iconv_prog.c (options): Put N_ translation marker
36938 on argument names, not just descriptions.
36939 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 36940
b2e1393c
OB
369412013-03-18 Ondrej Bilka <neleai@seznam.cz>
36942
36943 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36944 implementation which is faster on all x86_64 architectures.
36945 Tested on AMD, Intel Nehalem, SNB, IVB.
36946 * sysdeps/x86_64/strnlen.S: Likewise.
36947
36948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36949 Remove all multiarch strlen and strnlen versions.
36950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36951 Remove strlen and strnlen related parts.
36952
36953 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36954 Inline strlen part.
36955 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36956
36957 * sysdeps/x86_64/multiarch/strlen.S: Remove.
36958 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36959 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36960 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36961 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36962 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36963
ec4ff04d
CD
369642013-03-17 Carlos O'Donell <carlos@redhat.com>
36965
36966 * manual/memory.texi (Malloc Tunable Parameters):
36967 Sort parameters alphabetically. Add comments for missing entries.
36968
cd18e90a
DM
369692013-03-17 David S. Miller <davem@davemloft.net>
36970
36971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36972
2a185d32
JM
369732013-03-16 Joseph Myers <joseph@codesourcery.com>
36974
d2f9799e
JM
36975 [BZ #15283]
36976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36977 for arguments at most half maximum finite value.
36978 * math/libm-test.inc (j0_test): Add more tests.
36979 (j1_test): Likewise.
36980 (y0_test): Likewise.
36981 (y1_test): Likewise.
36982 * sysdeps/i386/fpu/libm-test-ulps: Update.
36983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36984
2a185d32
JM
36985 [BZ #14155]
36986 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36987 1 / x and functions P and Q for arguments above 0x1p256L.
36988 (__ieee754_y0l): Likewise.
36989 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36990 (__ieee754_y1l): Likewise.
36991 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36992 (j1_test): Likewise.
36993 (y0_test): Likewise.
36994 (y1_test): Likewise.
36995
6cbec759
TS
369962013-03-16 Thomas Schwinge <thomas@codesourcery.com>
36997
36998 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36999 variable.
37000
bc16e260
RM
370012013-03-15 Roland McGrath <roland@hack.frob.com>
37002
aefc9b8c
RM
37003 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37004 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37005 zero since it's initialized to EXEC_PAGESIZE.
37006
bc16e260
RM
37007 * sysdeps/unix/sysv/linux/ldsodefs.h
37008 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37009 * sysdeps/generic/ldsodefs.h: ... here.
37010
a57da955
TS
370112013-03-15 Thomas Schwinge <thomas@codesourcery.com>
37012
af00a34d
TS
37013 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37014
495ded2c
TS
37015 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37016 math/test-snan.c.
37017 * math/test-snan.c: Renamed from
37018 sysdeps/powerpc/fpu/test-powerpc-snan.c.
37019 * math/Makefile (tests): Add test-snan.
37020 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37021 test-powerpc-snan.
37022
777b0332
TS
37023 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37024 SUFFIX. Initialize qNaN_var with __builtin_nan family of
37025 functions.
37026 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
37027 __builtin_nan family of functions.
37028 * math/libm-test.inc (initialize): Initialize qnan_value with
37029 __builtin_nan family of functions.
37030 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37031 Remove variables.
37032 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37033 Remove functions.
37034 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
37035 storage class. Initialize qNaN_var and sNaN_var with
37036 __builtin_nan and __builtin_nans families of functions,
37037 respectively.
37038
64d063b8
TS
37039 * math/libm-test.inc (acosh_test): Also test with qNaN input.
37040 (sqrt_test): Remove duplicate test with qNaN input.
37041 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37042 (round_test, signbit_test, significand_test): Note missing +/-Inf
37043 as well as qNaN tests.
37044
67e971f1
TS
37045 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37046 qNaN_var. Fix a few strings, too.
37047 * math/libm-test.inc (nan_value): Rename to qnan_value.
37048 * math/gen-libm-test.pl (%beautify): Adjust to that.
37049 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37050 * math/test-misc.c (main): Likewise.
37051 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37052 to __qnan_bytes, and __qnan_union, respectively.
37053 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37054 Likewise.
37055 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37056 and lqnanval, respectively.
37057 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37058 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37059 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37060 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37061
64487e12
TS
37062 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37063 * math/test-misc.c (main) [__x86_64__]: Enable test for long
37064 doubles.
37065
e015e27b
TS
37066 * math/test-misc.c (main): Fix copy'n'pastos.
37067 * misc/tst-efgcvt.c (special): Likewise.
37068
a57da955
TS
37069 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37070 Remove declarations.
37071
1e380345
SP
370722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37073
37074 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37075 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37076 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37078
ef26eece
AZ
370792013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37080
37081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37082 macro to return vdso values correctly in IFUNC implementations.
37083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37084 Optimization by using IFUNC.
37085
8cfdb7e0
SP
370862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37087 Richard Henderson <rth@redhat.com>
37088 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37089
37090 * Makefile.in (bench): New target.
37091 * NEWS: Mention the benchmark framework.
37092 * Rules (bench): Likewise.
37093 (binaries-bench): Generate binaries for functions to
37094 benchmark.
37095 * benchtests/Makefile: New makefile for benchmark tests.
37096 * benchtests/bench-skeleton.c: New skeleton file for benchmark
37097 programs.
37098 * benchtests/exp-inputs: New input file for EXP function.
37099 * benchtests/pow-inputs: New input file for POW function.
37100 * scripts/bench.pl: New script to generate source files for
37101 benchmark programs.
37102
bcda9880
SP
371032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37104
d22ca8cd
SP
37105 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37106 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37107 computations on mantissa. Use macros for rounding and
37108 division.
37109 (denorm): Likewise.
37110 (__dbl_mp): Likewise.
37111 (add_magnitudes): Likewise.
37112 (sub_magnitudes): Likewise.
37113 (__mul): Likewise.
37114 (__sqr): Likewise.
37115 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37116 powers of two in terms of TWOPOW macro.
37117 (mp_no): Make type of mantissa as MANTISSA_T.
37118 [!RADIXI]: Define RADIXI.
37119 [!TWO52]: Define TWO52.
37120 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37121
bcda9880
SP
37122 * manual/nptl.texi (cindex): Modify threads to pthreads.
37123
06d5adfb
JM
371242013-03-15 Joseph Myers <joseph@codesourcery.com>
37125
37126 * sysdeps/x86_64/preconfigure: Regenerated.
37127
41c7328e
JM
371282013-03-14 Joseph Myers <joseph@codesourcery.com>
37129
37130 [BZ #14155]
37131 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37132 0x1p28 and above.
37133 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37134 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37135 0x1p28 and above.
37136 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37137 * math/libm-test.inc (j0_test): Do not allow one spurious
37138 underflow exception.
37139 (y1_test): Likewise.
37140
e25cfa60
SP
371412013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37142
0409959c
SP
37143 * manual/Makefile (chapters): Add nptl.
37144 * manual/debug.texi (Debugging Support): Add link to Threads
37145 chapter.
37146 * manual/nptl.texi: New file.
37147
e25cfa60
SP
37148 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37149
58a1335e
PB
371502013-03-14 Petr Baudis <pasky@ucw.cz>
37151
37152 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37153 for non-NULL pointer before the memory validity test. Pointed
37154 out by Holger Brunck <holger.brunck@keymile.com>.
37155
9dc7c64f
AS
371562013-03-13 Andreas Schwab <schwab@suse.de>
37157
37158 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37159 instead of .os.
37160
54206aa6
JM
371612013-03-13 Joseph Myers <joseph@codesourcery.com>
37162
37163 * timezone/zic.c: Update from tzcode 2013b.
37164
e98cdb38
CD
371652013-03-12 Carlos O'Donell <carlos@redhat.com>
37166
37167 * manual/install.texi (Configuring and compiling):
37168 Mention i686 and i586.
37169 * INSTALL: Regenerate.
37170
9967e003
RM
371712013-03-12 Roland McGrath <roland@hack.frob.com>
37172
37173 * sysdeps/init_array/elf-init.c: New file.
37174 * csu/elf-init.c
37175 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37176 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37177
37178 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37179 __gmon_start__ as global, but as static with a .preinit_array pointer.
37180 * sysdeps/init_array/gmon-start.c: New file. Use that.
37181 * sysdeps/init_array/crti.S: New file, empty except for comments.
37182 * sysdeps/init_array/crtn.S: Likewise.
37183
e6b5a293 371842013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
37185
37186 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37187 definining bcopy.
80f844c9
OB
37188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37189 Remove Prefer_SSE_for_memop.
37190 * sysdeps/x86_64/multiarch/init-arch.h: Remove
37191 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37192 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
37193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37194 memset-x86-64.
80f844c9 37195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 37196 Remove bzero, memset ifunc support.
80f844c9
OB
37197 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37198 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37199 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37200 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37201
fb6b0fcb
AS
372022013-03-11 Andreas Schwab <schwab@suse.de>
37203
37204 [BZ #15234]
37205 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37206 by SHLIB_COMPAT.
37207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37208 (GLIBC_2.16): Remove pthread_atfork.
37209
3e6bd4b1
PP
372102013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
37211
37212 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37213 (ptestcases.h): Likewise.
37214
222d7f00
RM
372152013-03-08 Roland McGrath <roland@hack.frob.com>
37216
37217 * Makeconfig ($(common-objpfx)config.status): Depend on
37218 sysdeps/*/preconfigure{,.in} too.
37219
1ba4f030
JM
372202013-03-08 Joseph Myers <joseph@codesourcery.com>
37221
a222d91a
JM
37222 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37223 (__free_hook): Use void * instead of __malloc_ptr_t.
37224 (__malloc_hook): Likewise.
37225 (__realloc_hook): Likewise.
37226 (__memalign_hook): Likewise.
37227 (__after_morecore_hook): Likewise.
37228 * malloc/arena.c (save_malloc_hook): Likewise.
37229 (save_free_hook): Likewise.
37230 * malloc/hooks.c (malloc_hook_ini): Likewise.
37231 (realloc_hook_ini): Likewise.
37232 (memalign_hook_ini): Likewise.
37233 * malloc/malloc.c (malloc_hook_ini): Likewise.
37234 (realloc_hook_ini): Likewise.
37235 (memalign_hook_ini): Likewise.
37236 (__free_hook): Likewise.
37237 (__malloc_hook): Likewise.
37238 (__realloc_hook): Likewise.
37239 (__memalign_hook): Likewise.
37240 (__libc_malloc): Likewise.
37241 (__libc_free): Likewise.
37242 (__libc_realloc): Likewise.
37243 (__libc_memalign): Likewise.
37244 (__libc_valloc): Likewise.
37245 (__libc_pvalloc): Likewise.
37246 (__libc_calloc): Likewise.
37247 (__posix_memalign): Likewise.
37248 * malloc/morecore.c (__sbrk): Likewise.
37249 (__default_morecore): Likewise.
37250
5cc45e10
JM
37251 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37252
dd54b864
JM
37253 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37254 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37255 __malloc_ptrdiff_t.
37256
1ba4f030
JM
37257 * malloc/malloc.h (__malloc_size_t): Remove macro.
37258 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37259 __malloc_size_t.
37260 (old_memalign_hook): Likewise.
37261 (old_realloc_hook): Likewise.
37262 (struct hdr): Likewise.
37263 (flood): Likewise.
37264 (mallochook): Likewise.
37265 (memalignhook): Likewise.
37266 (reallochook): Likewise.
37267 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37268 (tr_old_realloc_hook): Likewise.
37269 (tr_old_memalign_hook): Likewise.
37270 (tr_mallochook): Likewise.
37271 (tr_reallochook): Likewise.
37272 (tr_memalignhook): Likewise.
37273
edf66e57
AZ
372742013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37275
37276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37277 default_ldbl_pack and using as default implementation.
37278 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37279 implementation.
37280 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37281 redundant definition.
37282 (ldbl_insert_mantissa): Likewise.
37283 (ldbl_canonicalize): Likewise.
37284 (ldbl_nearbyint): Likewise.
37285 (ldbl_pack): Rename to ldbl_pack_ppc.
37286 (ldbl_unpack): Rename to ldbl_unpack_ppc.
37287 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37288 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37289
6d9145d8
SP
372902013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37291
37292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37293 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37295 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37298 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37299 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37300
4dd4e157
AJ
373012013-03-07 Andreas Jaeger <aj@suse.de>
37302
37303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37304 bits/mman-linux.h.
37305
adbb8027
SP
373062013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37307
ce544b5b
SP
37308 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37309 Include mpa.h and declare __MPEXP.
37310 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37312 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37313 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37315 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37316 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37317
4cc149fd
SP
37318 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37319 (__slowpow): Use long double EXPL and LOGL functions to
37320 compute POW.
37321 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37322 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37324 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37325 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37326 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37327
e6ebd4a7
SP
37328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37329 intermediate variable to calculate exponent.
37330 (__sqr): Likewise.
37331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37332 Likewise.
37333 (__sqr): Likewise.
37334
82a9811d
SP
37335 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37336 [!NO__SQR]: Define __sqr.
37337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37338 and NO__SQR. Remove all code except __mul and __sqr. Include
37339 sysdeps/ieee754/dbl-64/mpa.c.
37340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37341
adbb8027
SP
37342 [BZ #12723]
37343 * posix/Makefile (tests): Add tst-pathconf.
37344 * posix/tst-pathconf.c: New test case.
37345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37346 _PC_PIPE_BUF.
37347 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37348
39120df9
PF
373492013-03-06 Patsy Franklin <pfrankli@redhat.com>
37350
37351 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37352
67525cb8
AJ
373532013-03-06 Andreas Jaeger <aj@suse.de>
37354
664a9ce4
AJ
37355 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37356 definition via __MAP_ANONYMOUS.
37357
8e39047d
AJ
37358 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37359 it's not part of Linux headers.
37360
67525cb8
AJ
37361 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37362 (MAP_HUGE_MASK): Define.
37363
37364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37365 Define.
37366 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37368 Define.
37369 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37370 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37371 Define.
37372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37374 Define.
37375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37376
37377 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37378 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37379 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37380 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37381 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37382 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37383
37384 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37385 Handle f2fs.
37386
37387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37388 Handle f2fs and efivarfs.
37389
37390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37391 f2fs.
37392
37393 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37394 (EFIVARFS_MAGIC): Add.
37395 (F2FS_LINK_MAX): Add.
37396
e1b42695
PP
373972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37398
37399 * stdio-common/vfprintf.c: Replace __builtin_expect with
37400 __glibc_unlikely.
37401
2d67d91a
JM
374022013-03-06 Joseph Myers <joseph@codesourcery.com>
37403
37404 [BZ #13550]
37405 * sysdeps/generic/bp-sym.h: Remove file.
37406 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37407 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37408 <bp-sym.h> and <bp-asm.h>.
37409 (__longjmp): Don't use BP_SYM.
37410 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37411 and <bp-asm.h>.
37412 (memcpy): Don't use BP_SYM.
37413 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37414 <bp-sym.h> and <bp-asm.h>.
37415 (memcpy): Don't use BP_SYM.
37416 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37417 <bp-asm.h>.
37418 (memcpy): Don't use BP_SYM.
37419 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37420 <bp-asm.h>.
37421 (memset): Don't use BP_SYM.
37422 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37423 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37424 (__bzero): Don't use BP_SYM.
37425 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37426 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37427 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37428 <bp-sym.h> and <bp-asm.h>.
37429 (memcmp): Don't use BP_SYM. Remove comment about bounded
37430 pointers.
37431 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37432 <bp-sym.h> and <bp-asm.h>.
37433 (memcpy): Don't use BP_SYM.
37434 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37435 <bp-sym.h> and <bp-asm.h>.
37436 (memset): Don't use BP_SYM.
37437 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37438 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37439 (__bzero): Don't use BP_SYM.
37440 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37441 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37443 <bp-sym.h> and <bp-asm.h>.
37444 (strncmp): Don't use BP_SYM. Remove comment about bounded
37445 pointers.
37446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37447 <bp-sym.h> and <bp-asm.h>.
37448 (memcpy): Don't use BP_SYM.
37449 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37450 <bp-sym.h> and <bp-asm.h>.
37451 (memset): Don't use BP_SYM.
37452 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37453 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37454 (__bzero): Don't use BP_SYM.
37455 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37456 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37458 <bp-sym.h> and <bp-asm.h>.
37459 (__memchr): Don't use BP_SYM.
37460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37461 <bp-sym.h> and <bp-asm.h>.
37462 (memcmp): Don't use BP_SYM. Remove comment about bounded
37463 pointers.
37464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37465 <bp-sym.h> and <bp-asm.h>.
37466 (memcpy): Don't use BP_SYM.
37467 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37468 <bp-sym.h> and <bp-asm.h>.
37469 (__mempcpy): Don't use BP_SYM.
37470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37471 <bp-sym.h> and <bp-asm.h>.
37472 (__memrchr): Don't use BP_SYM.
37473 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37474 <bp-sym.h> and <bp-asm.h>.
37475 (memset): Don't use BP_SYM.
37476 (__bzero): Likewise.
37477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37478 <bp-sym.h> and <bp-asm.h>.
37479 (__rawmemchr): Don't use BP_SYM.
37480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37481 <bp-sym.h> and <bp-asm.h>.
37482 (__STRCMP): Don't use BP_SYM.
37483 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37484 <bp-sym.h> and <bp-asm.h>.
37485 (strchr): Don't use BP_SYM.
37486 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37487 <bp-sym.h> and <bp-asm.h>.
37488 (__strchrnul): Don't use BP_SYM.
37489 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37490 <bp-sym.h> and <bp-asm.h>.
37491 (strlen): Don't use BP_SYM.
37492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37493 <bp-sym.h> and <bp-asm.h>.
37494 (strncmp): Don't use BP_SYM. Remove comment about bounded
37495 pointers.
37496 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37497 <bp-sym.h> and <bp-asm.h>.
37498 (__strnlen): Don't use BP_SYM.
37499 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37500 <bp-sym.h> and <bp-asm.h>.
37501 (__GI__setjmp): Don't use BP_SYM.
37502 (_setjmp): Likewise.
37503 (__sigsetjmp): Likewise.
37504 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37505 (L(start_addresses)): Don't use BP_SYM.
37506 (_start): Likewise.
37507 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37508 <bp-asm.h>.
37509 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37510 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37511 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37512 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37513 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37514 <bp-asm.h>.
37515 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37516 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
37517 about bounded pointers.
37518 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37519 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37520 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37521 <bp-asm.h>.
37522 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37523 about bounded pointers. Remove GKM FIXME comments.
37524 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37525 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37526 <bp-asm.h>.
37527 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37528 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
37529 Remove GKM FIXME comments.
37530 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37531 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37532 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37533 <bp-asm.h>.
37534 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37535 about bounded pointers. Remove GKM FIXME comment.
37536 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37537 and <bp-asm.h>.
37538 (strncmp): Don't use BP_SYM. Remove comment about bounded
37539 pointers.
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37541 <bp-sym.h> and <bp-asm.h>.
37542 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37544 <bp-sym.h> and <bp-asm.h>.
37545 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
37546 comment.
37547
cdcf361f
PP
375482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37549
37550 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37551 call free(NULL).
37552
3c4a2b15
DM
375532013-03-05 David S. Miller <davem@davemloft.net>
37554
37555 * po/es.po: Update from translation team.
37556
cdcf361f 375572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
37558
37559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37560 <bits/mman-linux.h>.
37561 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37562 is fine.
37563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37564 <bits/mman-linux.h> to end of file.
37565 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37566 is fine.
37567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37568 <bits/mman-linux.h> to end of file.
37569 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37570 is fine.
37571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37572 <bits/mman-linux.h> to end of file.
37573
37574 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37575 (MCL_CURRENT, MCL_FUTURE): Define here.
37576
5f67c04f
AK
375772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37578
8a4473cc 37579 [BZ #15232]
5f67c04f
AK
37580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37581 attribute_hidden.
37582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37583
c3e94a95
AK
375842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37585
37586 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37587 fourth parameter needed for rt_sigprocmask syscall.
37588 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37589 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37590 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37591 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37592 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37593 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37594
cfb6382a
JM
375952013-03-04 Joseph Myers <joseph@codesourcery.com>
37596
37597 [BZ #13550]
37598 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37599 comment about bounded pointers.
37600 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37601 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37602
539d8e01
AJ
376032013-03-04 Andreas Jaeger <aj@suse.de>
37604
37605 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37606 common definitions.
37607
37608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37609 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37610 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
37613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37614
2e167a70 376152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
37616
37617 [BZ #15055]
37618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37619 __ieee754_sqrl instead of __sqrl.
37620
68508633
JM
376212013-03-01 Joseph Myers <joseph@codesourcery.com>
37622
37623 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37624 * sysdeps/powerpc/fpu_control.h: ... here.
37625 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37626 * sysdeps/powerpc/bits/fenvinline.h: ... here.
37627 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37628 * sysdeps/powerpc/bits/mathinline.h: ... here.
37629
7775448e
RM
376302013-03-01 Roland McGrath <roland@hack.frob.com>
37631
37632 * elf/dl-hwcaps.c (_dl_important_hwcaps):
37633 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37634 to just [NEED_DL_SYSINFO_DSO].
37635 * elf/dl-support.c: Likewise.
37636 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37637 * elf/rtld.c (dl_main): Likewise.
37638 * elf/setup-vdso.h (setup_vdso): Likewise.
37639 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37640 * sysdeps/unix/sysv/linux/dl-sysdep.c
37641 (_dl_discover_osversion): Likewise.
37642
4e9b5995
CD
376432013-03-01 Carlos O'Donell <carlos@redhat.com>
37644
37645 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37646 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37647
e23872c8
SP
376482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37649
e5c74c63
SP
37650 * NEWS: Mention libm performance improvements and non-x86 PI
37651 futex support.
37652
e23872c8
SP
37653 * csu/libc-start.c (__pthread_initialize_minimal): Change
37654 function arguments.
37655 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37656
b5510883
JM
376572013-02-28 Joseph Myers <joseph@codesourcery.com>
37658
37659 [BZ #13550]
37660 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37661 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37662 <bp-sym.h> and <bp-asm.h>.
37663 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37665 and <bp-asm.h>.
37666 (memcpy): Don't use BP_SYM.
37667 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37668 <bp-asm.h>.
37669 (__mpn_add_n): Don't use BP_SYM.
37670 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37671 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37672 and <bp-asm.h>.
37673 (__mpn_addmul_1): Don't use BP_SYM.
37674 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37675 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37676 <bp-sym.h>.
37677 (_setjmp): Don't use BP_SYM.
37678 (__novmx_setjmp): Likewise.
37679 (__GI__setjmp): Likewise.
37680 (__vmx_setjmp): Likewise.
37681 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37682 <bp-sym.h>.
37683 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37684 (__bzero): Don't use BP_SYM.
37685 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37686 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37687 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37688 <bp-sym.h> and <bp-asm.h>.
37689 (memcpy): Don't use BP_SYM.
37690 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37691 <bp-sym.h> and <bp-asm.h>.
37692 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37693 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37694 <bp-sym.h> and <bp-asm.h>.
37695 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37696 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37697 <bp-asm.h>.
37698 (__mpn_lshift): Don't use BP_SYM.
37699 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37700 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37701 <bp-asm.h>.
37702 (memset): Don't use BP_SYM.
37703 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37704 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37705 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37706 <bp-asm.h>.
37707 (__mpn_mul_1): Don't use BP_SYM.
37708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37710 <bp-sym.h> and <bp-asm.h>.
37711 (memcmp): Don't use BP_SYM.
37712 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37713 <bp-sym.h> and <bp-asm.h>.
37714 (memcpy): Don't use BP_SYM.
37715 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37716 <bp-sym.h> and <bp-asm.h>.
37717 (memset): Don't use BP_SYM.
37718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37719 <bp-sym.h> and <bp-asm.h>.
37720 (strncmp): Don't use BP_SYM.
37721 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37722 <bp-sym.h> and <bp-asm.h>.
37723 (memcpy): Don't use BP_SYM.
37724 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37725 <bp-sym.h> and <bp-asm.h>.
37726 (memset): Don't use BP_SYM.
37727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37728 <bp-sym.h> and <bp-asm.h>.
37729 (__memchr): Don't use BP_SYM.
37730 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37731 <bp-sym.h> and <bp-asm.h>.
37732 (memcmp): Don't use BP_SYM.
37733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37734 <bp-sym.h> and <bp-asm.h>.
37735 (memcpy): Don't use BP_SYM.
37736 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37737 <bp-sym.h> and <bp-asm.h>.
37738 (__mempcpy): Don't use BP_SYM.
37739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37740 <bp-sym.h> and <bp-asm.h>.
37741 (__memrchr): Don't use BP_SYM.
37742 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37743 <bp-sym.h> and <bp-asm.h>.
37744 (memset): Don't use BP_SYM.
37745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37746 <bp-sym.h> and <bp-asm.h>.
37747 (__rawmemchr): Don't use BP_SYM.
37748 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37749 <bp-sym.h> and <bp-asm.h>.
37750 (__STRCMP): Don't use BP_SYM.
37751 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37752 <bp-sym.h> and <bp-asm.h>.
37753 (strchr): Don't use BP_SYM.
37754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37755 <bp-sym.h> and <bp-asm.h>.
37756 (__strchrnul): Don't use BP_SYM.
37757 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37758 <bp-sym.h> and <bp-asm.h>.
37759 (strlen): Don't use BP_SYM.
37760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37761 <bp-sym.h> and <bp-asm.h>.
37762 (strncmp): Don't use BP_SYM.
37763 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37764 <bp-sym.h> and <bp-asm.h>.
37765 (__strnlen): Don't use BP_SYM.
37766 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37767 <bp-asm.h>.
37768 (__mpn_rshift): Don't use BP_SYM.
37769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37770 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37771 <bp-sym.h> and <bp-asm.h>.
37772 (__sigsetjmp): Don't use BP_SYM.
37773 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37774 (L(start_addresses)): Don't use BP_SYM.
37775 (_start): Likewise.
37776 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37777 <bp-asm.h>.
37778 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37779 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37780 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37781 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37782 <bp-asm.h>.
37783 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37784 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37785 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37786 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37787 <bp-asm.h>.
37788 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
37789 comments.
37790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37791 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37792 <bp-asm.h>.
37793 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
37794 FIXME comments.
37795 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37796 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37797 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37798 <bp-asm.h>.
37799 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
37800 comment.
37801 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37802 and <bp-asm.h>.
37803 (strncmp): Don't use BP_SYM,
37804 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37805 <bp-asm.h>.
37806 (__mpn_sub_n): Don't use BP_SYM.
37807 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37808 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37809 and <bp-asm.h>.
37810 (__mpn_submul_1): Don't use BP_SYM.
37811 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37813 <bp-sym.h> and <bp-asm.h>.
37814 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37816 <bp-sym.h> and <bp-asm.h>.
37817 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
37818 comment.
37819
8d19fe64
SP
378202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37821
37822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37823 Use ZK to minimize writes to Z.
37824 (sub_magnitudes): Simplify code a bit.
37825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37826 Use ZK to minimize writes to Z.
37827 (sub_magnitudes): Simplify code a bit.
37828
85bd816a
RM
378292013-02-27 Roland McGrath <roland@hack.frob.com>
37830
37831 * csu/gmon-start.c: Add special exception to license text.
37832
b5977bf2
RH
378332013-02-27 Richard Henderson <rth@redhat.com>
37834
37835 * scripts/config.guess: Update from config.git.
37836 * scripts/config.sub: Likewise.
37837
11d6e2f2
SP
378382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37839
09c14ed2
SP
37840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37841
a688864e
SP
37842 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37843
6295157a
SP
37844 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37845
b8de2202
SP
37846 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37847
11d6e2f2
SP
37848 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37849
7e80ddb8
RM
378502013-02-26 Roland McGrath <roland@hack.frob.com>
37851
37852 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37853 [$(build-shared = yes].
7e80ddb8 37854
7da6d9ed
SP
378552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37856
45f05884
SP
37857 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37858 (__mul): Reduce iterations for calculating mantissa.
37859
2236d359
SP
37860 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37861 MPTWO.
37862 (__mpranred): Likewise.
37863
7da6d9ed
SP
37864 [BZ #15160]
37865 * malloc/memusagestat.c (main): Draw graphs for heap and stack
37866 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37867
b7688c42
PE
378682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
37869
37870 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37871 Define __attribute__.
37872
53a5c423
SP
378732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37874
37875 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37876 unused.
37877 * posix/regex_internal.h (__attribute): Remove.
37878 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37879 (re_string_context_at): Likewise.
37880 (bitset_not): Use __attribute__ and mark function as possibly
37881 unused.
37882 (bitset_merge): Likewise.
37883 (bitset_mask): Likewise.
37884 (re_string_char_size_at): Likewise.
37885 (re_string_wchar_at): Likewise.
37886 (re_string_elem_size_at): Likewise.
37887
60f5a8b5
SP
378882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37889
2a983a2e
SP
37890 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37891 code.
37892 (cc32): Likewise.
37893
e69804d1
SP
37894 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37895 (__acr): Likewise.
37896 (__cpy): Likewise.
37897 (norm): Likewise.
37898 (denorm): Likewise.
37899 (__dbl_mp): Likewise.
37900 (add_magnitudes): Likewise.
37901 (sub_magnitudes): Likewise.
37902 (__mul): Likewise.
37903 (__inv): Likewise.
37904
2f22a1e8
SP
37905 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37906 style.
37907
8930ddc7
SP
37908 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37909 style.
37910
dc60cb11
SP
37911 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37912 code.
37913
60f5a8b5
SP
37914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37915 up changes with default code.
37916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37917 Likewise.
37918
b4d1fd33
AM
379192013-02-24 Allan McRae <allan@archlinux.org>
37920
faf6f8bc
AM
37921 * manual/socket.texi (The Internet Namespace): Order menu items
37922 to match that in the file.
37923
b4d1fd33
AM
37924 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37925 node listing of the info page menu.
37926
2366713d
JM
379272013-02-21 Joseph Myers <joseph@codesourcery.com>
37928
37929 [BZ #13550]
37930 * sysdeps/i386/bp-asm.h: Remove file.
37931 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37932 (PARMS): Do not use macros from bp-asm.h.
37933 (S1): Likewise.
37934 (S2): Likewise.
37935 (SIZE): Likewise.
37936 (__mpn_add_n): Do not use BP_SYM
37937 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37938 "bp-asm.h".
37939 (PARMS): Do not use macros from bp-asm.h.
37940 (S1): Likewise.
37941 (SIZE): Likewise.
37942 (__mpn_addmul_1): Do not use BP_SYM
37943 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37944 "bp-asm.h".
37945 (PARMS): Do not use macros from bp-asm.h.
37946 (SIGMSK): Likewise.
37947 (_setjmp): Likewise. Do not use BP_SYM.
37948 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37949 "bp-asm.h".
37950 (PARMS): Do not use macros from bp-asm.h.
37951 (SIGMSK): Likewise.
37952 (setjmp): Likewise. Do not use BP_SYM.
37953 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37954 "bp-asm.h".
37955 (PARMS): Do not use macros from bp-asm.h.
37956 (__frexp): Do not use BP_SYM.
37957 (frexp): Likewise.
37958 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37959 "bp-asm.h".
37960 (PARMS): Do not use macros from bp-asm.h.
37961 (__frexpf): Do not use BP_SYM.
37962 (frexpf): Likewise.
37963 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37964 "bp-asm.h".
37965 (PARMS): Do not use macros from bp-asm.h.
37966 (__frexpl): Do not use BP_SYM.
37967 (frexpl): Likewise.
37968 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37969 "bp-asm.h".
37970 (PARMS): Do not use macros from bp-asm.h.
37971 (__remquo): Do not use BP_SYM.
37972 (remquo): Likewise.
37973 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37974 "bp-asm.h".
37975 (PARMS): Do not use macros from bp-asm.h.
37976 (__remquof): Do not use BP_SYM.
37977 (remquof): Likewise.
37978 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37979 "bp-asm.h".
37980 (PARMS): Do not use macros from bp-asm.h.
37981 (__remquol): Do not use BP_SYM.
37982 (remquol): Likewise.
37983 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37984 "bp-asm.h".
37985 (PARMS): Do not use macros from bp-asm.h.
37986 (DEST): Likewise.
37987 (SRC): Likewise.
37988 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
37989 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37990 "bp-asm.h".
37991 (PARMS): Do not use macros from bp-asm.h.
37992 (strlen): Do not use BP_SYM.
37993 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37994 "bp-asm.h".
37995 (PARMS): Do not use macros from bp-asm.h.
37996 (S1): Likewise.
37997 (S2): Likewise.
37998 (SIZE): Likewise.
37999 (__mpn_add_n): Do not use BP_SYM.
38000 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38001 "bp-asm.h".
38002 (PARMS): Do not use macros from bp-asm.h.
38003 (S1): Likewise.
38004 (SIZE): Likewise.
38005 (__mpn_addmul_1): Do not use BP_SYM.
38006 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38007 weak_alias.
38008 (bzero): Likewise.
38009 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38010 "bp-asm.h".
38011 (PARMS): Do not use macros from bp-asm.h.
38012 (S): Likewise.
38013 (SIZE): Likewise.
38014 (__mpn_lshift): Do not use BP_SYM.
38015 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38016 "bp-asm.h".
38017 (PARMS): Do not use macros from bp-asm.h.
38018 (DEST): Likewise.
38019 (SRC): Likewise.
38020 (LEN): Likewise.
38021 (memcpy): Likewise. Do not use BP_SYM.
38022 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38023 libc_hidden_def and weak_alias.
38024 (mempcpy): Do not use BP_SYM in weak_alias.
38025 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38026 "bp-asm.h".
38027 (PARMS): Do not use macros from bp-asm.h.
38028 (DEST): Likewise.
38029 (LEN): Likewise.
38030 [!BZERO_P] (CHR): Likewise.
38031 (memset): Likewise. Do not use BP_SYM.
38032 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38033 "bp-asm.h".
38034 (PARMS): Do not use macros from bp-asm.h.
38035 (S1): Likewise.
38036 (SIZE): Likewise.
38037 (__mpn_mul_1): Do not use BP_SYM.
38038 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38039 "bp-asm.h".
38040 (PARMS): Do not use macros from bp-asm.h.
38041 (S): Likewise.
38042 (SIZE): Likewise.
38043 (__mpn_rshift): Do not use BP_SYM.
38044 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38045 "bp-asm.h".
38046 (PARMS): Do not use macros from bp-asm.h.
38047 (STR): Likewise.
38048 (CHR): Likewise.
38049 (strchr): Likewise. Do not use BP_SYM.
38050 (index): Do not use BP_SYM in weak_alias.
38051 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38052 "bp-asm.h".
38053 (PARMS): Do not use macros from bp-asm.h.
38054 (DEST): Likewise.
38055 (SRC): Likewise.
38056 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
38057 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38058 "bp-asm.h".
38059 (PARMS): Do not use macros from bp-asm.h.
38060 (strlen): Do not use BP_SYM.
38061 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38062 "bp-asm.h".
38063 (PARMS): Do not use macros from bp-asm.h.
38064 (S1): Likewise.
38065 (S2): Likewise.
38066 (SIZE): Likewise.
38067 (__mpn_sub_n): Do not use BP_SYM.
38068 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38069 "bp-asm.h".
38070 (PARMS): Do not use macros from bp-asm.h.
38071 (S1): Likewise.
38072 (SIZE): Likewise.
38073 (__mpn_submul_1): Do not use BP_SYM.
38074 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38075 "bp-asm.h".
38076 (PARMS): Do not use macros from bp-asm.h.
38077 (S1): Likewise.
38078 (S2): Likewise.
38079 (SIZE): Likewise.
38080 (__mpn_add_n): Do not use BP_SYM.
38081 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38082 weak_alias.
38083 (bzero): Likewise.
38084 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38085 "bp-asm.h".
38086 (PARMS): Do not use macros from bp-asm.h.
38087 (BLK2): Likewise.
38088 (LEN): Likewise.
38089 (memcmp): Do not use BP_SYM.
38090 (bcmp): Do not use BP_SYM in weak_alias.
38091 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38092 "bp-asm.h".
38093 (PARMS): Do not use macros from bp-asm.h.
38094 (DEST): Likewise.
38095 (SRC): Likewise.
38096 (LEN): Likewise.
38097 (memcpy): Likewise. Do not use BP_SYM.
38098 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38099 "bp-asm.h".
38100 (PARMS): Do not use macros from bp-asm.h.
38101 (DEST): Likewise.
38102 (SRC): Likewise.
38103 (LEN): Likewise.
38104 (memmove): Likewise. Do not use BP_SYM.
38105 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38106 "bp-asm.h".
38107 (PARMS): Do not use macros from bp-asm.h.
38108 (DEST): Likewise.
38109 (SRC): Likewise.
38110 (LEN): Likewise.
38111 (__mempcpy): Likewise. Do not use BP_SYM.
38112 (mempcpy): Do not use BP_SYM in weak_alias.
38113 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38114 "bp-asm.h".
38115 (PARMS): Do not use macros from bp-asm.h.
38116 (DEST): Likewise.
38117 (LEN): Likewise.
38118 [!BZERO_P] (CHR): Likewise.
38119 (memset): Likewise. Do not use BP_SYM.
38120 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38121 "bp-asm.h".
38122 (PARMS): Do not use macros from bp-asm.h.
38123 (STR2): Likewise.
38124 (strcmp): Do not use BP_SYM.
38125 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38126 "bp-asm.h".
38127 (PARMS): Do not use macros from bp-asm.h.
38128 (STR): Likewise.
38129 (DELIM): Likewise.
38130 [USE_AS_STRTOK_R] (SAVE): Likewise.
38131 (FUNCTION): Likewise. Do not use BP_SYM.
38132 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38133 aliases.
38134 (strtok_r): Likewise.
38135 (__GI___strtok_r): Likewise.
38136 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38137 (PARMS): Do not use macros from bp-asm.h.
38138 (S): Likewise.
38139 (SIZE): Likewise.
38140 (__mpn_lshift): Do not use BP_SYM.
38141 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38142 (PARMS): Do not use macros from bp-asm.h.
38143 (STR): Likewise.
38144 (CHR): Likewise.
38145 (__memchr): Do not use BP_SYM.
38146 (memchr): Do not use BP_SYM in weak_alias.
38147 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38148 (PARMS): Do not use macros from bp-asm.h.
38149 (BLK2): Likewise.
38150 (LEN): Likewise.
38151 (memcmp): Do not use BP_SYM.
38152 (bcmp): Do not use BP_SYM in weak_alias.
38153 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38154 (PARMS): Do not use macros from bp-asm.h.
38155 (S1): Likewise.
38156 (SIZE): Likewise.
38157 (__mpn_mul_1): Do not use BP_SYM.
38158 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38159 "bp-asm.h".
38160 (PARMS): Do not use macros from bp-asm.h.
38161 (STR): Likewise.
38162 (CHR): Likewise.
38163 (__rawmemchr): Do not use BP_SYM.
38164 (rawmemchr): Do not use BP_SYM in weak_alias.
38165 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38166 (PARMS): Do not use macros from bp-asm.h.
38167 (S): Likewise.
38168 (SIZE): Likewise.
38169 (__mpn_rshift): Do not use BP_SYM.
38170 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38171 (PARMS): Do not use macros from bp-asm.h.
38172 (SIGMSK): Likewise.
38173 (__sigsetjmp): Likewise. Do not use BP_SYM.
38174 * sysdeps/i386/start.S: Do not include "bp-sym.h".
38175 (_start): Do not use BP_SYM.
38176 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38177 (PARMS): Do not use macros from bp-asm.h.
38178 (DEST): Likewise.
38179 (SRC): Likewise.
38180 (__stpcpy): Likewise. Do not use BP_SYM.
38181 (stpcpy): Do not use BP_SYM in weak_alias.
38182 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38183 "bp-asm.h".
38184 (PARMS): Do not use macros from bp-asm.h.
38185 (DEST): Likewise.
38186 (SRC): Likewise.
38187 (LEN): Likewise.
38188 (__stpncpy): Likewise. Do not use BP_SYM.
38189 (stpncpy): Do not use BP_SYM in weak_alias.
38190 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38191 (PARMS): Do not use macros from bp-asm.h.
38192 (STR): Likewise.
38193 (CHR): Likewise.
38194 (strchr): Likewise. Do not use BP_SYM.
38195 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38196 "bp-asm.h".
38197 (PARMS): Do not use macros from bp-asm.h.
38198 (STR): Likewise.
38199 (CHR): Likewise.
38200 (__strchrnul): Likewise. Do not use BP_SYM.
38201 (strchrnul): Do not use BP_SYM in weak_alias.
38202 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38203 "bp-asm.h".
38204 (PARMS): Do not use macros from bp-asm.h.
38205 (STOP): Likewise.
38206 (strcspn): Do not use BP_SYM.
38207 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38208 "bp-asm.h".
38209 (PARMS): Do not use macros from bp-asm.h.
38210 (STR): Likewise.
38211 (STOP): Likewise.
38212 (strpbrk): Likewise. Do not use BP_SYM.
38213 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38214 "bp-asm.h".
38215 (PARMS): Do not use macros from bp-asm.h.
38216 (STR): Likewise.
38217 (CHR): Likewise.
38218 (strrchr): Likewise. Do not use BP_SYM.
38219 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38220 (PARMS): Do not use macros from bp-asm.h.
38221 (SKIP): Likewise.
38222 (strspn): Do not use BP_SYM.
38223 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38224 (PARMS): Do not use macros from bp-asm.h.
38225 (STR): Likewise.
38226 (DELIM): Likewise.
38227 (SAVE): Likewise.
38228 (FUNCTION): Likewise. Do not use BP_SYM.
38229 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38230 aliases.
38231 (strtok_r): Likewise.
38232 (__GI___strtok_r): Likewise.
38233 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38234 (PARMS): Do not use macros from bp-asm.h.
38235 (S1): Likewise.
38236 (S2): Likewise.
38237 (SIZE): Likewise.
38238 (__mpn_sub_n): Do not use BP_SYM.
38239 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38240 "bp-asm.h".
38241 (PARMS): Do not use macros from bp-asm.h.
38242 (S1): Likewise.
38243 (SIZE): Likewise.
38244 (__mpn_submul_1): Do not use BP_SYM.
38245 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38246 <bp-sym.h>.
38247 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38248 and <bp-asm.h>.
38249 (PARMS): Do not use macros from bp-asm.h.
38250 (FLAGS): Likewise.
38251 (PTID): Likewise.
38252 (TLS): Likewise.
38253 (CTID): Likewise.
38254 (__clone): Do not use BP_SYM.
38255 (clone): Do not use BP_SYM in weak_alias.
38256 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38257 and <bp-asm.h>.
38258 (PARMS): Do not use macros from bp-asm.h.
38259 (LEN): Likewise.
38260 (__mmap64): Do not use BP_SYM.
38261 (mmap64): Do not use BP_SYM in weak_alias.
38262 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38263 <bp-sym.h> and <bp-asm.h>.
38264 (PARMS): Do not use macros from bp-asm.h.
38265 (__posix_fadvise64_l64): Do not use BP_SYM.
38266 * sysdeps/unix/sysv/linux/i386/semtimedop.S
38267 (PARMS): Do not use macros from bp-asm.h.
38268 (NSOPS): Likewise.
38269 (semtimedop): Do not use BP_SYM.
38270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38271 and <bp-asm.h>.
38272
582a3cff
AM
382732013-02-21 Allan McRae <allan@archlinux.org>
38274
38275 * manual/message.texi (Charset conversion in gettext):
38276 Move @end statement to beginning of line.
38277
bab8a695
SP
382782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38279
80945231
SP
38280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38281 static.
38282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38283 Likewise.
38284
bab8a695
SP
38285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38286 (denorm): Likewise.
38287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38289
e21d7aa7
AK
382902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38291
38292 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38293 tail-call to the resolved function if pltexit isn't needed.
38294
4c7a4263
SP
382952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38296
38297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38298 or Y being zero as being unlikely.
38299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38300 Likewise.
38301
41f49342
CD
383022013-02-20 Carlos O'Donell <carlos@redhat.com>
38303
38304 * manual/nss.texi (System Databases and Name Service Switch):
38305 Remove frobnicate @pxref.
38306
50022a93
TS
383072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
38308
38309 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38310 __attribute__ ((unused)) to __attribute__ ((__unused__)).
38311
08cbd996
PM
383122013-02-20 Petr Machata <pmachata@redhat.com>
38313
38314 * elf/elf.h (R_ARM_TARGET1): New macro.
38315 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38316 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38317 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38318 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38319 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38320 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38321 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38322 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38323 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38324 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38325 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38326 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38327 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38328 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38329 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38330 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38331 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38332 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38333 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38334 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38335 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38336 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38337 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38338 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38339 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38340 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38341 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38342 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38343 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38344 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38345 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38346 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38347 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38348 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38349 (R_ARM_THM_GOT_BREL12): Likewise.
38350 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38351 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38352 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38353 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38354 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38355 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38356 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38357 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38358 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38359
c7b275d6
TS
383602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
38361
38362 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38363 __attribute_used__ to __attribute__ ((unused)).
38364
20cd7fb3
SP
383652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38366
38367 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38368 powerpc mpa.c.
38369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38370 comment formatting.
38371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38372
92945b52
JM
383732013-02-19 Joseph Myers <joseph@codesourcery.com>
38374
38375 [BZ #13550]
38376 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38377 Remove macro.
38378 (ENTER): Remove both macro definitions.
38379 (LEAVE): Likewise.
38380 (CHECK_BOUNDS_LOW): Likewise.
38381 (CHECK_BOUNDS_HIGH): Likewise.
38382 (CHECK_BOUNDS_BOTH): Likewise.
38383 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38384 (RETURN_BOUNDED_POINTER): Likewise.
38385 (RETURN_NULL_BOUNDED_POINTER): Likewise.
38386 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38387 (POP_ERRNO_LOCATION_RETURN): Likewise.
38388 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38389 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38390 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38391 macros.
38392 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38393 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38394 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38395 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38396 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38397 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38398 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38399 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38400 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38401 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38402 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38403 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38404 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38405 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38406 removed macros.
38407 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38408 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38409 macros.
38410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38411 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38412 * sysdeps/i386/i586/memset.S (memset): Likewise.
38413 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38414 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38415 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38416 macros.
38417 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38418 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38419 Change uses of L(2) to L(out).
38420 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38421 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38422 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38423 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38424 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38425 removed macros.
38426 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38427 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38428 macros.
38429 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38430 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38431 (RETURN): Do not use macro LEAVE.
38432 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38433 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38434 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38435 * sysdeps/i386/i686/memset.S (memset): Likewise.
38436 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38437 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38438 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38439 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38440 Likewise.
38441 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38442 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
38443 L(1_2) and L(1_3) into L(1).
38444 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38445 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38446 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38447 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38448 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38449 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38450 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38451 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38452 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38453 macros.
38454 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38455 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38456 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38457 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38458 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38459 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38460 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38461 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38462 * sysdeps/i386/strcspn.S (strcspn): Likewise.
38463 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38464 * sysdeps/i386/strrchr.S (strrchr): Likewise.
38465 * sysdeps/i386/strspn.S (strspn): Likewise.
38466 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38467 conditional code.
38468 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38469 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38470 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38471 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
38472 L(1_3) into L(1_1).
38473 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38474 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38475 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38476 macros.
38477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38478
2389741a
JJ
384792013-02-19 Jakub Jelinek <jakub@redhat.com>
38480
38481 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38482 macro.
38483
2016b3cd
SP
384842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38485
e4f22324
SP
38486 * math/atest-exp.c (exp_mpn): Remove ROUND.
38487 * math/atest-exp2.c (exp_mpn): Likewise.
38488 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38489
2016b3cd
SP
38490 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38491 * stdlib/tst-tls-atexit-lib.c: Likewise.
38492 * stdlib/tst-tls-atexit.c: Likewise.
38493
4be9b544
MF
384942013-02-18 Mike Frysinger <vapier@gentoo.org>
38495
38496 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38497 and __attribute_alloc_size__.
38498
2f62b9ee
MF
384992013-02-18 Mike Frysinger <vapier@gentoo.org>
38500
38501 * include/programs/xmalloc.h: Change __attribute_alloc_size to
38502 __attribute_alloc_size__.
38503 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38504 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38505
6ff444c4
MF
385062013-02-18 Mike Frysinger <vapier@gentoo.org>
38507
38508 * include/programs/xmalloc.h: New file.
38509 * catgets/gencat.c: Include it.
38510 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38511 * elf/pldd.c: Likewise.
38512 * iconv/iconv_charmap.c: Likewise.
38513 * iconv/iconvconfig.c: Likewise.
38514 * iconv/strtab.c: Likewise.
38515 * locale/programs/locale.c: Likewise.
38516 * locale/programs/localedef.h: Likewise.
38517 * locale/programs/simple-hash.c: Likewise.
38518 * nscd/nscd.h: Likewise.
38519 * nss/makedb.c: Likewise.
38520 * sysdeps/generic/ldconfig.h: Likewise.
38521
be179c8a
SP
385222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38523
ba384f6e
SP
38524 * Versions.def: Add GLIBC_2.18.
38525 * include/link.h (struct link_map): New member l_tls_dtor_count.
38526 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38527 (__call_tls_dtors): Likewise.
38528 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38529 __cxa_thread_atexit_impl.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38531 Likewise.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38533 Likewise.
38534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38535 Likewise.
38536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38537 Likewise.
38538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38540 Likewise.
38541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38542 Likewise.
38543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38545 Likewise.
38546 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38547 (tests): Add test case tst-tls-atexit.
38548 (modules-names): Add shared library for tst-tls-atexit.
85891aca 38549 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
38550 (GLIBC_PRIVATE): Add __call_tls_dtors.
38551 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38552 for libstdc++.
38553 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38554 * stdlib/tst-tls-atexit.c: New test case.
38555 * stdlib/tst-tls-atexit-lib.c: New test case.
38556
ffaa74cf 38557 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 38558
be179c8a
SP
38559 * elf/Versions (ld): Add _dl_find_dso_for_object.
38560 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38561 * elf/dl-open.c (_dl_find_dso_for_object): New function.
38562 (dl_open_worker): Use _dl_find_dso_for_object.
38563 * elf/dl-sym.c (do_sym): Likewise.
38564 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38565
f78b5caa
AK
385662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38567
38568 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38569 Syntactic changes only.
38570 (_dl_runtime_profile): Do a tail-call to the resolved function.
38571
29691210
JM
385722013-02-17 Joseph Myers <joseph@codesourcery.com>
38573
38574 [BZ #13550]
38575 * sysdeps/x86_64/bp-asm.h: Remove file.
38576 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38577 <bp-sym.h> and <bp-asm.h>.
38578 (__clone): Do not use BP_SYM.
38579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38580 <bp-sym.h> and <bp-asm.h>.
38581 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38582 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38583 "bp-asm.h".
38584 (_setjmp): Do not use BP_SYM.
38585 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38586 "bp-asm.h".
38587 (setjmp): Do not use BP_SYM.
38588 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38589 libc_hidden_def.
38590 (mempcpy): Do not use BP_SYM in weak_alias.
38591 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38592 "bp-asm.h".
38593 (strchr): Do not use BP_SYM.
38594 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38595 "bp-asm.h".
38596 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38597 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38598 (_start): Do not use BP_SYM.
38599 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38600 "bp-asm.h".
38601 (strcat): Do not use BP_SYM.
38602 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38603 "bp-asm.h".
38604 (STRCMP): Do not use BP_SYM.
38605 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38606 "bp-asm.h".
38607 (STRCPY): Do not use BP_SYM.
38608 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38609 "bp-asm.h".
38610 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38611 "bp-asm.h".
38612 (FUNCTION): Do not use BP_SYM.
38613 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38614 weak_alias.
38615 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38616
f238fd19
AJ
386172013-02-17 Andreas Jaeger <aj@suse.de>
38618
38619 * time/Versions: Sort entries.
38620 * string/Versions: Likewise.
38621 * resolv/Versions: Likewise.
38622 * posix/Versions: Likewise.
38623 * iconv/Versions: Likewise.
38624 * elf/Versions: Likewise.
38625 * wcsmbs/Versions: Likewise.
38626
bd07f23c 386272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 38628
22af19f9
SP
38629 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38630 loop termination condition.
38631
4709fe76
SP
38632 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38633 variable to calculate EZ.
38634 (__sqr): Likewise.
2d0e0f29
SP
38635
38636 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38637 the lower precision input.
38638
daaa7713
JM
386392013-02-15 Joseph Myers <joseph@codesourcery.com>
38640
38641 [BZ #13550]
38642 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38643 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38644 (run-via-rtld-prefix): Do not handle %-bp tests.
38645 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38646 (all-object-suffixes): Remove .ob.
38647 (bppfx): Remove variable.
38648 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38649 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38650 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38651 [$(build-bounded) = yes] (libtype.ob): Likewise.
38652 * Makerules (elide-routines.ob): Remove variable.
38653 (do-tests-clean): Do not handle *-bp.out.
38654 (common-mostlyclean): Do not handle *-bp and *-bp.out.
38655 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38656 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38657 (tests): Do not include $(tests-bp.out).
38658 (xtests): Do not include $(xtests-bp.out).
38659 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38660 [$(build-bounded) = yes] ($(addprefix
38661 $(objpfx),$(binaries-bounded))): Remove rule.
38662 ($(objpfx)%-bp.out): Remove rule.
38663 * config.make.in (build-bounded): Remove variable.
38664 * crypt/Makefile [$(build-bounded) = yes]
38665 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38666 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38667 append to variable.
38668 [$(build-bounded) = yes] (install-lib): Likewise.
38669 [$(build-bounded) = yes] (generated): Likewise.
38670 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38671 Remove rule.
38672 * intl/Makefile [$(build-bounded) = yes]
38673 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38674 * math/Makefile [$(build-bounded) = yes]
38675 ($(tests:%=$(objpfx)%-bp): Likewise.
38676 * misc/Makefile [$(build-bounded) = yes]
38677 ($(objpfx)tst-tsearch-bp): Likewise.
38678 * nptl/Makeconfig (bounded-thread-library): Remove variable.
38679 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38680 Remove dependency.
38681 * string/Makefile (o-objects.ob): Remove variable.
38682 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38683 (CFLAGS-.ob): Remove variable.
38684 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38685 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38686 both definitions of variable.
38687 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38688 (ASFLAGS-.ob): Remove variable.
38689
e97ed6dd
JM
386902013-02-14 Joseph Myers <joseph@codesourcery.com>
38691
2bdd4ca6
JM
38692 [BZ #13550]
38693 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38694 Remove __BOUNDED_POINTERS__ from condition.
38695 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38696 * string/bits/string2.h [!__NO_STRING_INLINES &&
38697 !__BOUNDED_POINTERS__]: Likewise.
38698 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38699 Likewise.
38700 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38701 Remove conditional code.
38702 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38703 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38704 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38705 condition.
38706
e97ed6dd
JM
38707 [BZ #13550]
38708 * csu/libc-start.c: Do not include <bp-sym.h>.
38709 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38710 * elf/dl-open.c: Do not include <bp-sym.h>.
38711 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38712 * math/fegetenv.c: Do not include <bp-sym.h>.
38713 (fegetenv): Do not use BP_SYM in versioned symbols.
38714 * nptl/sysdeps/pthread/bits/libc-lockP.h
38715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38716 <bp-sym.h>.
38717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38718 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38720 (__pthread_mutex_destroy): Likewise.
38721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38722 (__pthread_mutex_lock): Likewise.
38723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38724 (__pthread_mutex_trylock): Likewise.
38725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38726 (__pthread_mutex_unlock): Likewise.
38727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38728 (__pthread_mutexattr_init): Likewise.
38729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38730 (__pthread_mutexattr_destroy): Likewise.
38731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38732 (__pthread_mutexattr_settype): Likewise.
38733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38734 (__pthread_rwlock_init): Likewise.
38735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38736 (__pthread_rwlock_destroy): Likewise.
38737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38738 (__pthread_rwlock_rdlock): Likewise.
38739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38740 (__pthread_rwlock_tryrdlock): Likewise.
38741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38742 (__pthread_rwlock_wrlock): Likewise.
38743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38744 (__pthread_rwlock_trywrlock): Likewise.
38745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38746 (__pthread_rwlock_unlock): Likewise.
38747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38748 (__pthread_key_create): Likewise.
38749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38750 (__pthread_setspecific): Likewise.
38751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38752 (__pthread_getspecific): Likewise.
38753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38754 Likewise.
38755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38756 (_pthread_cleanup_push_defer): Likewise.
38757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38758 (_pthread_cleanup_pop_restore): Likewise.
38759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38760 (pthread_setcancelstate): Likewise.
38761 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38762 <bp-sym.h>.
38763 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38764 (memchr): Do not use BP_SYM in weak_alias.
38765 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38766 (fegetenv): Do not use BP_SYM in versioned symbols.
38767 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38768 (fesetenv): Do not use BP_SYM in versioned symbols.
38769 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38770 (feupdateenv): Do not use BP_SYM in versioned symbols.
38771 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38772 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38773 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38774 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38775 (open64): Do not use BP_SYM in weak_alias.
38776 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38777 (fegetenv): Do not use BP_SYM in versioned symbols.
38778 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38779 (fesetenv): Do not use BP_SYM in versioned symbols.
38780 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38781 (feupdateenv): Do not use BP_SYM in versioned symbols.
38782 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38783 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38784 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38785 (feraiseexcept): Do not use BP_SYM in versioned symbols.
38786 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38787 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38789 <bp-sym.h>.
38790 (__libc_start_main): Do not use BP_SYM.
38791
d6752ccd
SP
387922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38793
cb57ce60
SP
38794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38795 redundant return line.
38796 (norm): Likewise.
38797 (denorm): Likewise.
38798 (dbl_mp): Likewise.
38799 (sub_magnitudes): Likewise.
38800 (__add): Likewise.
38801 (__sub): Likewise.
38802 (__mul): Likewise.
38803 (__inv): Likewise.
38804 (__dvd): Likewise.
38805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38806 (norm): Likewise.
38807 (denorm): Likewise.
38808 (dbl_mp): Likewise.
38809 (sub_magnitudes): Likewise.
38810 (__add): Likewise.
38811 (__sub): Likewise.
38812 (__mul): Likewise.
38813 (__inv): Likewise.
38814 (__dvd): Likewise.
38815
f414520d
SP
38816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38817 instead of __mul.
38818 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38819 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38820 (cc32): Likewise.
38821
d6752ccd
SP
38822 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38823 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38825 of __mul for squares.
38826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38827 function
38828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38829 Likewise.
38830 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38832
70d9946a
JM
388332013-02-13 Joseph Myers <joseph@codesourcery.com>
38834
38835 [BZ #13550]
38836 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38837 code.
38838 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38839 prototype or function definition. Rename ubp_* variables and
38840 parameters. Remove argv definitions conditional on
38841 [__BOUNDED_POINTERS__].
38842 * debug/backtrace.c (__backtrace): Do not use __unbounded.
38843 * elf/dl-runtime.c (_dl_fixup): Likewise.
38844 * include/set-hooks.h (RUN_HOOK): Likewise.
38845 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38846 definition.
38847 * string/strcpy.c (strcpy): Do not use __unbounded.
38848 * sysdeps/generic/frame.h (struct layout): Likewise.
38849 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38850 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38851 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38852 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38853 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38854 (__backtrace): Likewise.
38855 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38856 use __ptrvalue.
38857 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38858 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38859 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38860 Likewise.
38861 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38862 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38863 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38864 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38865 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38866 Do not use __unbounded.
38867 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38868 Rename __unboundedrlimits parameter to rlimits in prototype.
38869 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38870 Do not use __unbounded.
38871 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38872 not use __ptrvalue.
38873 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38874 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38875 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38876 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38877 __ptrvalue or __unbounded.
38878 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38879 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38880 use __unbounded.
38881 (__new_msgctl): Do not use __ptrvalue.
38882 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38883 __unbounded.
38884 (__libc_msgrcv): Do not use __ptrvalue.
38885 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38886 startup_info): Do not use __unbounded.
38887 (__libc_start_main): Likewise. Rename ubp_* variables and
38888 parameters. Remove argv definitions conditional on
38889 [__BOUNDED_POINTERS__].
38890 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38891 __ptrvalue.
38892 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38893 use __unbounded.
38894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38895 or __ptrvalue.
38896 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38897 use __unbounded.
38898 (__new_shmctl): Do not use __ptrvalue.
38899 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38900 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38901 Likewise.
38902 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38904 (__libc_sigaction): Likewise.
38905 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38906 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38907 Likewise.
38908 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38909
cc7834d6
OB
389102013-02-13 Ondřej Bílka <neleai@seznam.cz>
38911
ffb1ec7b 38912 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
38913
38914 * string/mempcpy.c: Implement by calling memcpy.
38915
bdf02814
SP
389162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
38917
c2af38aa
SP
38918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38919
4e92d59e
SP
38920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38921 evaluation.
38922
909279a5
SP
38923 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38924 values in the mantissa.
38925
bdf02814
SP
38926 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38927 minimize writes to Z.
38928 (sub_magnitudes): Simplify code a bit.
38929
cd525923
RM
389302013-02-12 Roland McGrath <roland@hack.frob.com>
38931
38932 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38933 from the message. The linker prefixes all warnings with that already.
38934
7e2f0d2d
AS
389352013-02-12 Andreas Schwab <schwab@suse.de>
38936
a445af0b
AS
38937 [BZ #15078]
38938 * posix/regexec.c (extend_buffers): Add parameter min_len.
38939 (check_matching): Pass minimum needed length.
38940 (clean_state_log_if_needed): Likewise.
38941 (get_subexp): Likewise.
38942 * posix/Makefile (tests): Add bug-regex34.
38943 (bug-regex34-ENV): Define.
38944 * posix/bug-regex34.c: New file.
38945
7e2f0d2d
AS
38946 [BZ #11561]
38947 * posix/regcomp.c (parse_bracket_exp): When looking up collating
38948 elements compare against the byte sequence of it, not its name.
38949 * posix/Makefile (tests): Add bug-regex35.
38950 (bug-regex35-ENV): Define.
38951 * posix/bug-regex35.c: New file.
38952
a175b684
TV
389532013-02-11 Tom de Vries <tom@codesourcery.com>
38954
38955 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
38956 comment.
38957 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38958 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38959 (CHECK_EOL): Add undef.
38960
310998fe 389612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
38962
38963 * bits/stdlib-bsearch.h: New file.
38964 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 38965 * stdlib/stdlib.h: Likewise.
41eda41d 38966
8ded91fb
RM
389672013-02-11 Roland McGrath <roland@hack.frob.com>
38968
38969 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38970 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38971 declaration.
38972 * manual/search.texi (Array Search Function): Add missing const in
38973 lfind prototype.
38974 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38975 declaration to use rlim_t.
38976 (Basic Scheduling Functions): Remove erroneous const from
38977 sched_getparam prototype. Remove erroneous * from
38978 sched_get_priority_max and sched_get_priority_min prototypes.
38979 (Resource Usage): Fix summary @comment on vtimes to refer to
38980 sys/vtimes.h rather than vtimes.h.
38981 Add missing *s in vtimes prototype.
38982 (Limits on Resources): Fix ulimit prototype to return long int.
38983 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38984 prototypes to use long int rather than double.
38985 (BSD Random): Fix initstate and setstate to use char *, not void *.
38986 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38987 prototype to make second argument 'struct aiocb64 *const[]'.
38988 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38989 (Status of AIO Operations): Remove erroneous const in aio_return and
38990 aio_return64 prototypes.
38991 (Synchronizing I/O): Fix sync prototype to return void.
38992 * manual/startup.texi (Suboptions): Remove an erroneous const in
38993 getsubopt prototype.
38994 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38995 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38996 use size_t rather than int.
38997 (Scanning All Users): Likewise for getpwent_r.
38998 (Setting Groups): Add missing const to setgroups prototype.
38999 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39000 * manual/socket.texi (Host Names): Fix gethostbyaddr and
39001 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39002 'const void *' rather than 'const char *'.
39003 (Host Address Functions): Likewise for inet_ntop.
39004 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39005 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39006 ssize_t for return value.
39007 (Sending Data): Likewise for send, sendto, sendmsg.
39008 (Socket Option Functions): Add a missing const in setsockopt prototype.
39009 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39010 use wchar_t for the argument.
39011 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39012 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39013 take no arguments.
39014 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39015 double/float/long double for second argument.
39016 Fix return types of significand, significandf, significandl.
39017 * manual/filesys.texi (Setting Permissions): Use mode_t for second
39018 argument in fchmod prototype.
39019 (File Owner): Use uid_t and gid_t in fchown prototype.
39020 (File Times): Add const to utimes, futimes, and lutimes prototypes.
39021 (Making Special Files): Use mode_t and dev_t in mknod prototype.
39022 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39023 use 'const struct dirent **' as argument types to CMP function pointer
39024 argument.
39025 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39026 (File Times): Fix summary magic @comment for struct utimbuf and utime
39027 to refer to utime.h, not time.h.
39028 * manual/string.texi (Argz Functions): Add missing const in
39029 argz_extract and argz_next prototypes.
39030 (Finding Tokens in a String): Likewise for basename.
39031 (String/Array Comparison): Fix typo in wcscasecmp prototype.
39032 (Copying and Concatenation): Fix typo in wmemmove prototype.
39033 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39034 (Signal Stack): Remove erroneous const in sigstack prototype.
39035 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39036 prototype.
39037 (Simple Calendar Time): Likewise for stime.
39038 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39039 prototype.
39040 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39041 say sys/sysctl.h instead.
39042 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39043 and vsyslog prototypes.
39044
fe77fe6d
TV
390452013-02-11 Tom de Vries <tom@codesourcery.com>
39046
39047 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39048 Remove.
39049
3a09b620
RM
390502013-02-11 Roland McGrath <roland@hack.frob.com>
39051
39052 * misc/sys/mman.h: Fix typo in mremap comment.
39053
550a0b89
RM
390542013-02-08 Roland McGrath <roland@hack.frob.com>
39055
39056 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39057 the '\0' terminator.
39058
a2da1673
JM
390592013-02-08 Joseph Myers <joseph@codesourcery.com>
39060
39061 [BZ #13550]
39062 * debug/segfault.c: Don't include <bp-checks.h>.
39063 * sysdeps/generic/bp-checks.h: Remove file.
39064 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39065 (__GETDENTS): Don't use CHECK_N.
39066 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39067 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39068 (__getgroups): Don't use CHECK_N.
39069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39070 (setgroups): Don't use CHECK_N.
39071 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39072 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39073 (__libc_msgrcv): Don't use CHECK_N.
39074 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39075 (__libc_msgsnd): Don't use CHECK_N.
39076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39077 <bp-checks.h>.
39078 (__libc_pread): Don't use CHECK_N.
39079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39080 include <bp-checks.h>.
39081 (__libc_pread64): Don't use CHECK_N.
39082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39083 include <bp-checks.h>.
39084 (__libc_pwrite): Don't use CHECK_N.
39085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39086 include <bp-checks.h>.
39087 (__libc_pwrite64): Don't use CHECK_N.
39088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39089 <bp-checks.h>.
39090 (__libc_pread): Don't use CHECK_N.
39091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39092 include <bp-checks.h>.
39093 (__libc_pread64): Don't use CHECK_N.
39094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39095 include <bp-checks.h>.
39096 (__libc_pwrite): Don't use CHECK_N.
39097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39098 include <bp-checks.h>.
39099 (__libc_pwrite64): Don't use CHECK_N.
39100 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39101 (do_pread): Don't use CHECK_N.
39102 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39103 (do_pread64): Don't use CHECK_N.
39104 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39105 (do_pwrite): Don't use CHECK_N.
39106 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39107 (do_pwrite64): Don't use CHECK_N.
39108 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39109 (__libc_readv): Don't use CHECK_N.
39110 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39111 (semop): Don't use CHECK_N.
39112 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39113 <bp-checks.h>.
39114 (semtimedop): Don't use CHECK_N.
39115 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39116 (__libc_pread): Don't use CHECK_N.
39117 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39118 <bp-checks.h>.
39119 (__libc_pread64): Don't use CHECK_N.
39120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39121 <bp-checks.h>.
39122 (__libc_pwrite): Don't use CHECK_N.
39123 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39124 <bp-checks.h>.
39125 (__libc_pwrite64): Don't use CHECK_N.
39126 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39127 <bp-checks.h>.
39128 (__libc_msgrcv): Don't use CHECK_N.
39129 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39130 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
39131 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39132 (__libc_writev): Don't use CHECK_N.
39133
b84660a8
RM
391342013-02-08 Roland McGrath <roland@hack.frob.com>
39135
7f3e75f8
RM
39136 * string/strcpy.c: Removed unused variable.
39137
b84660a8
RM
39138 * Makeconfig (+sysdep-includes): Define with := rather than =.
39139 Use an existing include/ subdir of each sysdeps dir before it.
39140
471514d3
CD
391412013-02-08 Carlos O'Donell <carlos@redhat.com>
39142
39143 * nscd/connection.c (register_traced_file): Comment function.
39144 [HAVE_INOTIFY] (union __inev): Define.
39145 [HAVE_INOTIFY] (inotify_check_files): New function.
39146 [HAVE_INOTIFY] (clear_db_cache): Likewise.
39147 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39148 clear_db_cache.
39149 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39150
b2d3c3be
CD
391512013-02-08 Carlos O'Donell <carlos@redhat.com>
39152
39153 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39154 loaded if not already and that a failure is permanent.
39155
b39949d2
CD
391562013-02-08 Carlos O'Donell <carlos@redhat.com>
39157
ddacd1db 39158 [BZ #15006]
b39949d2
CD
39159 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39160 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39161
b2c9eff4
JM
391622013-02-08 Joseph Myers <joseph@codesourcery.com>
39163
f3aae3f3
JM
39164 [BZ #13550]
39165 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39166 (CHECK_1_NULL_OK): Likewise.
39167 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39168 (__fxstat): Do not use CHECK_1.
39169 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39170 <bp-checks.h>.
39171 (___fxstat64): Do not use CHECK_1.
39172 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39173 <bp-checks.h>.
39174 (__fxstatat): Do not use CHECK_1.
39175 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39176 <bp-checks.h>.
39177 (__fxstatat64): Do not use CHECK_1.
39178 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39179 <bp-checks.h>.
39180 (__fxstat): Do not use CHECK_1.
39181 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39182 <bp-checks.h>.
39183 (__fxstatat): Do not use CHECK_1.
39184 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39185 <bp-checks.h>.
39186 (__getresgid): Do not use CHECK_1.
39187 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39188 <bp-checks.h>.
39189 (__getresuid): Do not use CHECK_1.
39190 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39191 <bp-checks.h>.
39192 (__lxstat): Do not use CHECK_1.
39193 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39194 <bp-checks.h>.
39195 (__old_msgctl): Do not use CHECK_1.
39196 (__new_msgctl): Likewise.
39197 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39198 <bp-checks.h>.
39199 (__new_setrlimit): Do not use CHECK_1.
39200 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39201 <bp-checks.h>.
39202 (__old_shmctl): Do not use CHECK_1.
39203 (__new_shmctl): Likewise.
39204 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39205 <bp-checks.h>.
39206 (__xstat): Do not use CHECK_1.
39207 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39208 (__lxstat): Do not use CHECK_1.
39209 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39210 <bp-checks.h>.
39211 (___lxstat64): Do not use CHECK_1.
39212 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39213 (__old_msgctl): Do not use CHECK_1.
39214 (__new_msgctl): Likewise.
39215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39216 <bp-checks.h>.
39217 (__gettimeofday): Do not use CHECK_1.
39218 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39219 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39220 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39221 <bp-checks.h>.
39222 (__gettimeofday): Do not use CHECK_1.
39223 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39224 (__old_shmctl): Do not use CHECK_1_NULL_OK.
39225 (__new_shmctl): Do not use CHECK_1.
39226 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39227 <bp-checks.h>.
39228 (do_sigtimedwait): Do not use CHECK_1.
39229 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39230 <bp-checks.h>.
39231 (do_sigwaitinfo): Do not use CHECK_1.
39232 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39233 <bp-checks.h>.
39234 (msgctl): Do not use CHECK_1.
39235 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39236 <bp-checks.h>.
39237 (shmctl): Do not use CHECK_1.
39238 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39239 (ustat): Do not use CHECK_1.
39240 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39241 <bp-checks.h>.
39242 (__fxstat): Do not use CHECK_1.
39243 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39244 <bp-checks.h>.
39245 (__fxstatat): Do not use CHECK_1.
39246 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39247 <bp-checks.h>.
39248 (__lxstat): Do not use CHECK_1.
39249 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39250 <bp-checks.h>.
39251 (__xstat): Do not use CHECK_1.
39252 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39253 (__xstat): Do not use CHECK_1.
39254 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39255 (___xstat64): Do not use CHECK_1.
39256
b2c9eff4
JM
39257 [BZ #13550]
39258 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39259 definitions.
39260 (CHECK_BOUNDS_HIGH): Likewise.
39261 * string/strcpy.c: Do not include <bp-checks.h>.
39262 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39263
f1d70dad
RM
392642013-02-07 Roland McGrath <roland@hack.frob.com>
39265
39266 * nscd/nscd-client.h (__nscd_drop_map_ref):
39267 Add __attribute__ ((unused)).
39268 * nis/nss-nisplus.h (niserr2nss): Likewise.
39269
39270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39271 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39272
39273 * csu/libc-tls.c (init_static_tls, init_slotinfo):
39274 Remove inline keyword.
39275 * include/rounding-mode.h (round_away): Likewise.
39276 * libio/wfileops.c (adjust_wide_data): Likewise.
39277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39278 (__m128i_strloadu_tolower): Likewise.
39279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39280 (__m128i_strloadu_tolower): Likewise.
39281 * time/mktime.c (ydhms_diff): Likewise.
39282 * locale/elem-hash.h (elem_hash): Likewise.
39283 * locale/setlocale.c (setdata): Likewise.
39284 * posix/regex_internal.h (re_string_char_size_at): Likewise.
39285 (re_string_wchar_at): Likewise.
39286 (bitset_not, bitset_merge, bitset_mask): Likewise.
39287 [!(__GNUC__ > 3)] (inline): Remove macro.
39288 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39289 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39290 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39291 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39292 * string/memcmp.c (memcmp_bytes): Likewise.
39293 * locale/programs/locarchive.c (compute_hashval): Likewise.
39294 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39295 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39296 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39297 * nss/getent.c (print_rpc, print_protocols): Likewise.
39298 (print_passwd, print_group, print_aliases): Likewise.
39299 * nis/nss-nisplus.h (niserr2nss): Likewise.
39300 * nscd/connections.c (restart_p): Likewise.
39301 Change return type to bool.
39302
eab55bfb
RM
393032013-02-05 Roland McGrath <roland@hack.frob.com>
39304
7bd642f5
RM
39305 * Makeconfig (all-Depend-files): Add existing
39306 $(sorted-subdirs:=/Depend) files.
39307 (all-subdirs): Remove nss.
39308 * sysdeps/unix/inet/Subdirs: Add it here instead.
39309 * hesiod/Depend: New file.
39310
573c29b2
RM
39311 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39312 instead of calling alloca.
39313
b2e25af0
RM
39314 * io/lseek.c (__lseek): Rename to __libc_lseek.
39315 Define __lseek as an alias.
39316
eab55bfb
RM
39317 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39318
9a0d1941
CD
393192013-02-04 Carlos O'Donell <carlos@redhat.com>
39320
39321 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39322 else clause and remove check for non-standard endianness.
39323
b83bbec4
DM
393242013-02-04 David S. Miller <davem@davemloft.net>
39325
39326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39327
6277fdab
JM
393282013-02-04 Joseph Myers <joseph@codesourcery.com>
39329
39330 [BZ #13550]
39331 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39332 (__ubp_memchr): Remove prototype.
39333 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39334 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39335 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39336 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39337 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39338 Remove alias.
39339 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39340 (__ubp_memchr): Likewise.
39341 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39342 (__ubp_memchr): Likewise.
39343 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39344 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39345 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39346 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39347 CHECK_STRING.
39348 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39349 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39350 (__getcwd): Do not use CHECK_STRING.
39351 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39352 <bp-checks.h>.
39353 (__real_chown): Do not use CHECK_STRING.
39354 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39355 <bp-checks.h>.
39356 (fchownat): Do not use CHECK_STRING.
39357 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39358 CHECK_STRING.
39359 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39360 <bp-checks.h>.
39361 (__lchown): Do not use CHECK_STRING.
39362 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39363 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39364 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39365 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39367 include <bp-checks.h>.
39368 (truncate64): Do not use CHECK_STRING.
39369 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39370 <bp-checks.h>.
39371 (__real_chown): Do not use CHECK_STRING.
39372 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39373 <bp-checks.h>.
39374 (__lchown): Do not use CHECK_STRING.
39375 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39376 <bp-checks.h>.
39377 (__chown): Do not use CHECK_STRING.
39378 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39379 <bp-checks.h>.
39380 (truncate64): Do not use CHECK_STRING.
39381 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39382 Likewise.
39383 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39384 (__xmknod): Do not use CHECK_STRING.
39385 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39386 <bp-checks.h>.
39387 (__xmknodat): Do not use CHECK_STRING.
39388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39389 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39390
903ae060
AS
393912013-02-04 Andreas Schwab <schwab@suse.de>
39392
39393 [BZ #14142]
39394 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39395 * include/netdb.h: Likewise for h_errno.
39396 * elf/tst-stackguard1.c: Include <tls.h>.
39397
542f9466
JK
393982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
39399
39400 * elf/link.h (struct link_map): Extend the l_addr comment.
39401 * include/link.h (struct link_map): Likewise.
39402
e782a927
JM
394032013-02-01 Joseph Myers <joseph@codesourcery.com>
39404
39405 [BZ #13550]
39406 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39407 (BOUNDED_1): Remove macro.
39408 * debug/backtrace.c: Don't include <bp-checks.h>.
39409 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39410 (__backtrace): Likewise.
39411 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39412 <bp-checks.h>.
39413 (__backtrace): Don't use BOUNDED_1.
39414 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39415 <bp-checks.h>.
39416 (__backtrace): Don't use BOUNDED_1.
39417 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39418 (__backtrace): Don't use BOUNDED_1.
39419 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39420 (shmat): Don't use BOUNDED_N.
39421
8cf28c5e
JM
394222013-01-31 Joseph Myers <joseph@codesourcery.com>
39423
3a7ac8a0
JM
39424 [BZ #13550]
39425 * sysdeps/generic/bp-start.h: Remove file.
39426 * csu/libc-start.c: Don't include <bp-start.h>.
39427 (LIBC_START_MAIN): Set up __environ directly instead of using
39428 INIT_ARGV_and_ENVIRON.
39429 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39430 <bp-start.h>.
39431
f3499f95
JM
39432 [BZ #13550]
39433 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39434 definitions.
39435 (CHECK_FCNTL): Likewise.
39436 (CHECK_N_PAGES): Likewise.
39437
32a45bea
JM
39438 [BZ #13550]
39439 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39440 definitions.
39441 (CHECK_SIGSET_NULL_OK): Likewise.
39442 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39443 <bp-checks.h>.
39444 (sigpending): Don't use CHECK_SIGSET.
39445 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39446 <bp-checks.h>.
39447 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39448 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39449 <bp-checks.h>.
39450 (do_sigsuspend): Don't use CHECK_SIGSET.
39451 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39452 use CHECK_SIGSET.
39453 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39454 (do_sigwait): Don't use CHECK_SIGSET.
39455 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39456 use CHECK_SIGSET.
39457 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39458 include <bp-checks.h>.
39459 (sigpending): Don't use CHECK_SIGSET.
39460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39461 include <bp-checks.h>.
39462 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39463 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39464 <bp-checks.h>.
39465 (sigpending): Don't use CHECK_SIGSET.
39466 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39467 <bp-checks.h>.
39468 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39469
2e8a5c8c
JM
39470 [BZ #13550]
39471 * sysdeps/generic/bp-semctl.h: Remove file.
39472 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39473 <bp-checks.h> and <bp-semctl.h>.
39474 (__old_semctl): Don't use CHECK_SEMCTL.
39475 (__new_semctl): Likewise.
39476 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39477 and <bp-semctl.h>.
39478 (__old_semctl): Don't use CHECK_SEMCTL.
39479 (__new_semctl): Likewise.
39480 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39481 <bp-checks.h> and <bp-semctl.h>.
39482 (__old_semctl): Don't use CHECK_SEMCTL.
39483 (__new_semctl): Likewise.
39484 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39485 <bp-checks.h> and <bp-semctl.h>.
39486 (semctl): Don't use CHECK_SEMCTL.
39487
c2d54929
JM
39488 [BZ #13550]
39489 * Makerules (elide-bp-thunks): Remove variable.
39490 (elide-routines.oS): Don't use $(elide-bp-thunks).
39491 (elide-routines.os): Likewise.
39492 (elide-routines.o): Likewise.
39493 (elide-routines.op): Likewise.
39494 (elide-routines.og): Likewise.
39495 (objects): Don't use $(bp-thunks).
39496 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39497 include.
39498 (common-generated): Do not add s-proto-bp.d.
39499 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39500 (int): Likewise.
39501 (typ): Likewise.
39502 Do not generate makefile rules for bounded-pointer thunks.
39503 * sysdeps/generic/bp-thunks.h: Remove file.
39504 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39505 * sysdeps/unix/s-proto-bp.S: Likewise.
39506
8cf28c5e
JM
39507 [BZ #15062]
39508 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39509 parts of result separately when argument is not close to line from
39510 -i to i and one part of argument is small.
39511 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39512 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39513 * math/libm-test.inc (cacos_test): Add more tests.
39514 (casin_test): Likewise.
39515 (casinh_test): Likewise.
39516 * sysdeps/i386/fpu/libm-test-ulps: Update.
39517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39518
c4e33b8d
DM
395192013-01-31 David S. Miller <davem@davemloft.net>
39520
39521 * po/de.po: Update from translation team.
39522
3b60b421
MK
395232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
39524
39525 * time/tzfile.c: Include stdint.h for SIZE_MAX.
39526
bb931195
TS
395272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
39528
b5a5da23
TS
39529 * configure.in (_AC_PROG_CC_C89): New definition.
39530 * configure: Regenerate.
39531
bb931195
TS
39532 * configure.in (AC_PROG_CPP): New definition.
39533 * configure: Regenerate.
39534
8c53a12c
JM
395352013-01-23 Joseph Myers <joseph@codesourcery.com>
39536
39537 * debug/tst-backtrace.h: New file.
39538 * debug/tst-backtrace2.c: Include tst-backtrace.h.
39539 (ret): Remove variable.
39540 (x): Likewise.
39541 (FAIL): Remove macro.
39542 (NO_INLINE): Likewise.
39543 (fn1): Use match function instead of strstr.
39544 * debug/tst-backtrace3.c: Include tst-backtrace.h.
39545 (ret): Remove variable.
39546 (x): Likewise.
39547 (FAIL): Remove macro.
39548 (NO_INLINE): Likewise.
39549 (fn): Use match function instead of strstr.
39550 * debug/tst-backtrace4.c: Include tst-backtrace.h.
39551 (ret): Remove variable.
39552 (x): Likewise.
39553 (FAIL): Remove macro.
39554 (NO_INLINE): Likewise.
39555 (handle_signal): Use match function instead of strstr.
39556 * debug/tst-backtrace5.c: Include tst-backtrace.h.
39557 (ret): Remove variable.
39558 (x): Likewise.
39559 (FAIL): Remove macro.
39560 (NO_INLINE): Likewise.
39561 (handle_signal): Use match function instead of strstr.
39562
4858fa2a
RM
395632013-01-23 Roland McGrath <roland@hack.frob.com>
39564
39565 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39566
bae8e7f5
DM
395672013-01-23 David S. Miller <davem@davemloft.net>
39568
39569 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39570 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39571 argument of CAS if possible.
39572 * sysdeps/sparc/sparc64/bits/atomic.h
39573 (__arch_compare_and_exchange_val_32_acq): Likewise.
39574 (__arch_compare_and_exchange_val_64_acq): Likewise.
39575
9cbbc4ae
PT
395762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
39577
39578 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39579 * sysdeps/posix/ulimit.c: ... this.
92a601b8 39580 Include <limits.h>.
67b3f58c 39581 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 39582
5655a0b5
AC
395832013-01-23 Adam Conrad <adconrad@0c3.net>
39584
39585 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39586 (LDFLAGS-tst-array5): Likewise.
39587
052aff95
JM
395882013-01-23 Joseph Myers <joseph@codesourcery.com>
39589
39590 [BZ #15036]
39591 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39592 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39593 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39594 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39595
7c1e01aa
DM
395962013-01-21 David S. Miller <davem@davemloft.net>
39597
39598 * sysdeps/sparc/backtrace.c: New file.
39599 * sysdeps/sparc/sparc32/backtrace.h: New file.
39600 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39601 * sysdeps/sparc/sparc64/backtrace.h: New file.
39602 * sysdeps/sparc/sparc64/backtrace.c: Delete.
39603 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39604 -funwind-tables.
39605
ab087e0a
AS
396062013-01-21 Andreas Schwab <schwab@suse.de>
39607
39608 [BZ #15020]
39609 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39610 closed its stdout.
39611
ed689c2f
AS
396122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
39613
39614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39615 "mpa2.h".
39616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39617
31d470ac
JM
396182013-01-18 Joseph Myers <joseph@codesourcery.com>
39619 Mark Mitchell <mark@codesourcery.com>
39620 Tom de Vries <tom@codesourcery.com>
39621 Paul Pluzhnikov <ppluzhnikov@google.com>
39622
39623 * debug/tst-backtrace2.c: New file.
39624 * debug/tst-backtrace3.c: Likewise.
39625 * debug/tst-backtrace4.c: Likewise.
39626 * debug/tst-backtrace5.c: Likewise.
39627 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39628 (CFLAGS-tst-backtrace3.c): Likewise.
39629 (CFLAGS-tst-backtrace4.c): Likewise.
39630 (CFLAGS-tst-backtrace5.c): Likewise.
39631 (LDFLAGS-tst-backtrace2): Likewise.
39632 (LDFLAGS-tst-backtrace3): Likewise.
39633 (LDFLAGS-tst-backtrace4): Likewise.
39634 (LDFLAGS-tst-backtrace5): Likewise.
39635 (tests): Add new tests tst-backtrace2, tst-backtrace3,
39636 tst-backtrace4 and tst-backtrace5.
39637
90567f30 396382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
39639 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39640
39641 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39642 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39643 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39644 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39646 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39647 "+r" and remove output regs list as redundant. Add explicit inline
39648 asm to specify register of return val to work around compiler codegen
39649 bug. Remove (int) cast on return value. Add return type parameter to
39650 use in macro so that this macro does not truncate return value for
39651 64-bit values.
39652 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39653 pass to INTERNAL_VSYSCALL_NCS.
39654 (INLINE_VSYSCALL): Add 'long int' as return type to
39655 INTERNAL_VSYSCALL_NCS macro invocation.
39656 (INTERNAL_VSYSCALL): Add 'long int' as return type to
39657 INTERNAL_VSYSCALL_NCS macro invocation.
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39659
d3b9ea61
SP
396602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39661
0b57daeb
SP
39662 [BZ #14496]
39663 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39664 Fix application of SIMD FP exception mask.
39665
caa99d06
SP
39666 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39667 mp_no from a power of two.
39668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39669 __mpexp_twomm1. Use __pow_mp.
39670
d3b9ea61
SP
39671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39672 multiplication.
39673
1dbaee3c
DM
396742013-01-17 David S. Miller <davem@davemloft.net>
39675
39676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39677
728d7b43
JM
396782013-01-17 Joseph Myers <joseph@codesourcery.com>
39679
39680 [BZ #15023]
39681 * include/complex.h: Condition contents on [!_COMPLEX_H].
39682 (__kernel_casinhf): New prototype.
39683 (__kernel_casinh): Likewise.
39684 (__kernel_casinhl): Likewise.
39685 * math/Makefile (libm_calls): Add k_casinh.
39686 * math/k_casinh.c: New file.
39687 * math/k_casinhf.c: Likewise.
39688 * math/k_casinhl.c: Likewise.
39689 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39690 finite nonzero arguments.
39691 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39692 finite nonzero arguments.
39693 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39694 finite nonzero arguments.
39695 * math/s_casinh.c: Do not include <float.h>.
39696 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39697 * math/s_casinhf.c: Do not include <float.h>.
39698 (__casinhf): Move code for finite nonzero arguments to
39699 k_casinhf.c.
39700 * math/s_casinhl.c: Do not include <float.h>.
39701 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39702 redefine.
39703 (__casinhl): Move code for finite nonzero arguments to
39704 k_casinhl.c.
39705 * math/libm-test.inc (cacos_test): Add more tests.
39706 * sysdeps/i386/fpu/libm-test-ulps: Update.
39707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39708
2a26ef3a
PT
397092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
39710
39711 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39712 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39713 [!HAVE_MREMAP]: Remove [defined linux] case.
39714 * malloc/arena.c: Do not include <malloc-sysdep.h>.
39715
a897655d
SP
397162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
39717
39718 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39719
881ebe89 397202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
39721
39722 * elf/elf.h (R_386_SIZE32): New relocation.
39723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39724 R_386_SIZE32.
39725 (elf_machine_rela): Likewise.
39726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39727 R_X86_64_SIZE64 and R_X86_64_SIZE32.
39728
59981e9b
JM
397292013-01-17 Joseph Myers <joseph@codesourcery.com>
39730
39731 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39732 (FP_FAST_FMA): Do not define.
39733 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39734 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39735 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39736 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39737 !_SOFT_FLOAT]: Likewise.
39738 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39739 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39740 value.
39741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39742 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39744 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39745 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39746 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39747 file.
39748
cfa8054f
AS
397492013-01-16 Andreas Schwab <schwab@suse.de>
39750
39751 [BZ #14327]
39752 * include/stdlib.h (__mktemp): Add declaration.
39753 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39754 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39755
dd930cc5
SP
397562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39757
881ebe89
SP
39758 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39759 definitions.
39760 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39761 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39762 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39763 definitions here.
39764 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39765 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39766 definitions.
39767 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39768 and ONE.
39769 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39770 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39772 definitions.
39773 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39774 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39775 definitions.
39776 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 39777
dd930cc5
SP
39778 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39779
c19a9f89
DM
397802013-01-15 David S. Miller <davem@davemloft.net>
39781
1aa61767
DM
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39783 trunc{,f} to libm-sysdep_routes.
39784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39786 file.
39787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39789 file.
39790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39791 file.
39792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39795 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39796 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39797 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39798 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39799 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39800
c42d5e98
DM
39801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39802 nearbyint{,f} to libm-sysdep_routes.
39803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39805 New file.
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39807 file.
39808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39809 New file.
39810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39811 file.
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39814 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39815 file.
39816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39818 file.
39819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39820 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39821 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39822
c19a9f89
DM
39823 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39824 libc_feholdexcept and libc_fesetenv.
39825
357679d2
MF
398262013-01-15 Mike Frysinger <vapier@gentoo.org>
39827
39828 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39829
65a82e3d
DM
398302013-01-14 David S. Miller <davem@davemloft.net>
39831
8b954ab9
DM
39832 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39833 (SPARC_ASM_VIS2_IFUNC): Likewise.
39834 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39836 use of 'siam' instruction.
39837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39838 Likewise.
39839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39840 Likewise.
39841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39842 Likewise.
39843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39848 file.
39849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39850 file.
39851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39852 file.
39853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39854 file.
39855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39860 new VIS2 routines.
39861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39864 Likewise.
39865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39870 routines to libm-sysdep_routines.
39871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39872
65a82e3d
DM
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39874 fdim/fdimf to libm-sysdep_routines.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39876 file.
39877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39879 file.
39880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39883 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39884 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39885 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39886 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39887
e34ab705
SP
398882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39889
2a91b573
SP
39890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39891 to optimize copies.
39892
1066a534
SP
39893 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39896
e34ab705
SP
39897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39898 local variable MPTWO.
39899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39900 Likewise.
39901
aba5e596
MF
399022013-01-13 Mike Frysinger <vapier@gentoo.org>
39903
39904 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39905 GLOB_NOESCAPE.
39906
e557e9e5
MF
399072013-01-13 Mike Frysinger <vapier@gentoo.org>
39908
39909 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39910
0428cec9
MF
399112013-01-13 Mike Frysinger <vapier@gentoo.org>
39912
39913 * manual/pattern.texi (glob_t): Document gl_flags.
39914 (glob64_t): Likewise.
39915
8794a964
DM
399162013-01-11 David S. Miller <davem@davemloft.net>
39917
66438c3f
RM
39918 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39919 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39920 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
39921 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39922 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39923 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39924 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39925 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39926 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39927 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39928 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39929 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39930 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39931
4ae4244d
DM
39932 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39933 sparc V9 rather than using V8 code.
39934 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39935 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39936
8794a964
DM
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39938 Move to...
39939 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39940 Here.
39941
6270516e
RM
399422013-01-11 Roland McGrath <roland@hack.frob.com>
39943
39944 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39945 not in the main loop.
39946 * configure: Regenerated.
39947
6a57d931
JM
399482013-01-11 Joseph Myers <joseph@codesourcery.com>
39949
39950 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39951 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39952 to just #else.
39953 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
39954 [!__GLIBC_HAVE_LONG_LONG] case.
39955 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39956 condition to just #else.
39957 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39958 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39959 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39960 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39961 unconditional.
39962 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39963 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39964 #elif condition to just #else.
39965 * sysdeps/unix/sysv/linux/sys/sysmacros.h
39966 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39967 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39968 #elif condition to just #else.
39969
0e8529e9
SE
399702013-01-11 Steve Ellcey <sellcey@mips.com>
39971
39972 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39973 (EF_MIPS_ARCH_64): Fix value.
39974 (EF_MIPS_ARCH_32R2): New.
39975 (EF_MIPS_ARCH_64R2): New.
39976
740b3dbe
L
399772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
39978
39979 * Makeconfig (+link-pie-before-libc): New.
39980 (+link-pie-after-libc): Likewise.
39981 (+link-pie-tests): Likewise.
39982 (+link-pie): Rewritten.
39983 (link-before-libc): Remove $(config-LDFLAGS).
39984 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39985 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39986 (config-LDFLAGS): Renamed to ...
39987 (rtld-LDFLAGS): This.
39988 (rtld-tests-LDFLAGS): New macro.
39989 (link-libc-rpath-link): Likewise.
39990 (link-libc-tests-rpath-link): Likewise.
39991 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39992 (link-libc): Prepand $(link-libc-rpath-link).
39993 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39994 (test-program-prefix): New macro.
39995 (test-via-rtld-prefix): Likewise.
39996 (test-program-cmd): Likewise.
39997 (host-test-program-cmd): Likewise.
39998 * Makefile ($(common-objpfx)testrun.sh): Replace
39999 $(run-program-prefix) with $(test-program-prefix).
40000 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40001 $(rtld-LDFLAGS).
40002 ($(common-objpfx)shlib.lds): Likewise.
40003 (build-module-helper): Likewise.
40004 ($(common-objpfx)format.lds): Likewise.
40005 * Rules (binaries-pie-tests): New.
40006 (binaries-pie-notests): Likewise.
40007 (binaries-pie): Rewritten.
40008 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40009 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40010 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40011 (make-test-out): Replace $(host-built-program-cmd) with
40012 $(host-test-program-cmd).
40013 * config.make.in (build-hardcoded-path-in-tests): New variable.
40014 * configure.in (--enable-hardcoded-path-in-tests): New configure
40015 option.
40016 (hardcoded_path_in_tests): New AC_SUBST.
40017 * configure: Regenerated.
40018 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40019 $(built-program-cmd) with $(test-program-cmd).
40020 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40021 (test_program_cmd): This.
40022 * elf/Makefile ($(objpfx)order.out): Run test with
40023 $(test-program-prefix).
40024 ($(objpfx)order2.out): Likewise.
40025 ($(objpfx)tst-initorder.out): Likewise.
40026 ($(objpfx)tst-initorder2.out): Likewise.
40027 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40028 $(test-program-cmd).
40029 ($(objpfx)tst-array1-static.out): Likewise.
40030 ($(objpfx)tst-array2.out): Likewise.
40031 ($(objpfx)tst-array3.out): Likewise.
40032 ($(objpfx)tst-array4.out): Likewise.
40033 ($(objpfx)tst-array5.out): Likewise.
40034 ($(objpfx)tst-array5-static.out): Likewise.
40035 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40036 $(test-program-cmd).
40037 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40038 $(run-program-prefix) with $(test-program-prefix).
40039 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40040 (test_program_prefix): This.
40041 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40042 $(run-program-prefix) with $(test-program-prefix).
40043 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40044 (test_program_prefix): This.
40045 * iconvdata/tst-tables.sh: Likewise.
40046 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40047 $(run-program-prefix) with $(test-program-prefix).
40048 ($(objpfx)tst-translit.out): Likewise.
40049 ($(objpfx)tst-gettext2.out): Likewise.
40050 ($(objpfx)tst-gettext4.out): Likewise.
40051 ($(objpfx)tst-gettext6.out): Likewise.
40052 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40053 (test_program_prefix): This.
40054 * intl/tst-gettext2.sh: Likewise.
40055 * intl/tst-gettext4.sh Likewise.
40056 * intl/tst-gettext6.sh: Likewise.
40057 * intl/tst-translit.sh: Likewise.
40058 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40059 with $(test-program-cmd).
40060 * libio/Makefile ($(objpfx)test-freopen.out): Replace
40061 $(run-program-prefix) with $(test-program-prefix).
40062 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40063 (test_program_prefix): This.
40064 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40065 $(run-program-prefix) with $(test-program-prefix).
40066 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40067 (test_program_prefix): This.
40068 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40069 * posix/Makefile ($(objpfx)globtest.out): Replace
40070 $(run-via-rtld-prefix) and $(test-wrapper) with
40071 $(test-program-prefix) and $(test-via-rtld-prefix).
40072 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40073 $(test-program-prefix).
40074 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40075 $(host-test-program-cmd).
40076 (tst-spawn-ARGS): Likewise.
40077 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40078 $(test-program-prefix).
40079 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40080 (test_via_rtld_prefix): This.
40081 (test_wrapper): Renamed to ...
40082 (test_program_prefix): This.
40083 (run_program_prefix): Replaced by test_program_prefix.
40084 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40085 (test_program_prefix): This.
40086 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40087 with $(host-test-program-cmd).
40088 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40089 $(run-program-prefix) with $(test-program-prefix).
40090 ($(objpfx)tst-printf.out): Likewise.
40091 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40092 $(test-program-cmd).
40093 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40094 (test_program_prefix): This.
40095 * stdio-common/tst-unbputc.sh: Likewise.
40096 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40097 $(run-program-prefix) with $(test-program-prefix).
40098 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40099 (test_program_prefix): This.
40100 * string/Makefile ($(objpfx)tst-svc.out): Replace
40101 $(built-program-cmd) with $(test-program-cmd).
40102
c6fe55cf
AJ
401032013-01-11 Andreas Jaeger <aj@suse.de>
40104
40105 [BZ #15003]
40106 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40107 value. Sync with Linux 3.7.
40108
9e6919c8
DM
401092013-01-10 David S. Miller <davem@davemloft.net>
40110
40111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40114
1c9f1a02
RM
401152013-01-10 Roland McGrath <roland@hack.frob.com>
40116
40117 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40118 never set.
40119 * configure: Regenerated.
40120
b9de2dde
DM
401212013-01-10 David S. Miller <davem@davemloft.net>
40122
40123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40124 sparc V9 rather than using V8 code.
40125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40127
e7f68ef4
RM
401282013-01-10 Roland McGrath <roland@hack.frob.com>
40129
40130 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40131 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40132 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40133 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40134 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40135 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40136 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40137 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40138 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40139 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40140 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40141 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40142 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40143 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40144 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40145 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40146 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40147 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40148 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40149 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40150 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40151 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40152 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40153 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40154 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40155 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40156 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40157
5a47cc9c
DM
401582013-01-10 David S. Miller <davem@davemloft.net>
40159
40160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40161
4cf8f209
L
401622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
40163
40164 * posix/Makefile (tests-static): New variable.
40165 (tests): Add $(tests-static).
40166 (tst-exec-static-ARGS): New variable.
40167 (tst-spawn-static-ARGS): Likewise.
40168 * posix/tst-exec-static.c: New file.
40169 * posix/tst-spawn-static.c: Likewise.
40170 * posix/tst-exec.c: Support run directly.
40171 * posix/tst-spawn.c: Likewise.
40172
fed0faa1
JM
401732013-01-10 Joseph Myers <joseph@codesourcery.com>
40174
828beb13
JM
40175 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40176 long.
40177 * math/bits/mathcalls.h (llrint): Likewise.
40178 (llround): Likewise.
40179 * stdlib/stdlib.h (struct drand48_data): Likewise.
40180 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40181 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40182 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40183 Likewise.
40184 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40185 Likewise.
40186 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40187 (elf_greg_t): Likewise.
40188 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40189 (__jmp_buf): Likewise.
40190 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40191 definitions.
40192 (llrint): Likewise, for all definitions.
40193 (llrintl): Likewise.
40194
fed0faa1
JM
40195 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40196 Remove [__GNUC__] condition.
40197 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40198 condition to just [__USE_ISOC99].
40199 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40200
1a20cb20
L
402012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
40202
40203 [BZ #14200]
40204 * sysdeps/unix/sysv/linux/x86/bits/environments.h
40205 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40206 defined.
40207 (_POSIX_V6_ILP32_OFF32): Likewise.
40208 (_XBS5_ILP32_OFF32): Likewise.
40209 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40210 (__ILP32_OFFBIG_LDFLAGS): Likewise.
40211
751b85f7
SP
402122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40213
7490eb81
SP
40214 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40215
751b85f7
SP
40216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40217 doubles __mpexp_twomm1. Adjust usage.
40218 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40219 Remove.
40220
988197f0
AS
402212013-01-10 Andreas Schwab <schwab@suse.de>
40222
40223 [BZ #14964]
40224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40225 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40226
e83d7298
DM
402272013-01-09 David S. Miller <davem@davemloft.net>
40228
034ed64b 40229 [BZ #15003]
57f41c40
AS
40230 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40231 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40232 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40233 (TCP_FASTOPEN): Define.
e83d7298
DM
40234 (tcp_repair_opt): New structure.
40235 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40236 enum values.
57f41c40
AS
40237 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40238 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40239 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
40240 (tcp_cookie_transactions): New structure.
40241
d5e0b9bd
AB
402422013-01-09 Anton Blanchard <anton@samba.org>
40243
40244 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40245 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40246 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40248
0c07e3ea
JM
402492013-01-09 Joseph Myers <joseph@codesourcery.com>
40250
40251 * include/features.h (__USE_ANSI): Remove.
40252
232f7002
RM
402532013-01-09 Roland McGrath <roland@hack.frob.com>
40254
ad98e30c
RM
40255 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40256
232f7002
RM
40257 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40258
950c99ca
SP
402592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
40260
b5792741
SP
40261 * sysdeps/s390/fpu/libm-test-ulps: Update.
40262
47cf2278
SP
40263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40264
950c99ca
SP
40265 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40266 (__acr): Likewise.
40267 (__cpy): Likewise.
40268 (norm): Likewise.
40269 (denorm): Likewise.
40270 (__mp_dbl): Likewise.
40271 (__dbl_mp): Likewise.
40272 (add_magnitudes): Likewise.
40273 (sub_magnitudes): Likewise.
40274 (__add): Likewise.
40275 (__sub): Likewise.
40276 (__mul): Likewise.
40277 (__inv): Likewise.
40278 (__dvd): Likewise.
40279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40280 (__acr): Likewise.
40281 (__cpy): Likewise.
40282 (norm): Likewise.
40283 (denorm): Likewise.
40284 (__mp_dbl): Likewise.
40285 (__dbl_mp): Likewise.
40286 (add_magnitudes): Likewise.
40287 (sub_magnitudes): Likewise.
40288 (__add): Likewise.
40289 (__sub): Likewise.
40290 (__mul): Likewise.
40291 (__inv): Likewise.
40292 (__dvd): Likewise.
40293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40294 (__acr): Likewise.
40295 (__cpy): Likewise.
40296 (norm): Likewise.
40297 (denorm): Likewise.
40298 (__mp_dbl): Likewise.
40299 (__dbl_mp): Likewise.
40300 (add_magnitudes): Likewise.
40301 (sub_magnitudes): Likewise.
40302 (__add): Likewise.
40303 (__sub): Likewise.
40304 (__mul): Likewise.
40305 (__inv): Likewise.
40306 (__dvd): Likewise.
40307
eede9df9
JM
403082013-01-08 Joseph Myers <joseph@codesourcery.com>
40309
40310 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40311 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40312 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40313 2 && __USE_EXTERN_INLINES]: Likewise.
40314
c40ea3d9
AJ
403152013-01-08 Andreas Jaeger <aj@suse.de>
40316
40317 [BZ# 14985]
40318 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40319 Remove.
40320 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40321 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40322
2ccdea26
AB
403232013-01-07 Anton Blanchard <anton@samba.org>
40324
40325 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40326 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40327 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40328 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40329 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40330 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40331 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40332 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40336 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40338 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40341 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40342 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40343 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40344 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40345 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40348 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40349 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40351 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40352 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40354 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40355 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40360 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40361 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40362 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40363 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40364 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40365 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40367 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40368
a9708fed
JM
403692013-01-07 Joseph Myers <joseph@codesourcery.com>
40370
375607b9
JM
40371 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40372 (__MALLOC_PMT): Likewise.
40373 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40374 [__GNUC__], only on [_LIBC].
40375 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40376 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40377 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40378 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40379 forward declaration.
40380 (realloc_hook_ini): Likewise.
40381 (memalign_hook_ini): Likewise.
40382 (__libc_memalign): Do not use __MALLOC_PMT in variable
40383 declaration.
40384 (__libc_valloc): Likewise.
40385 (__libc_pvalloc): Likewise.
40386 (__libc_calloc): Likewise.
40387 (__posix_memalign): Likewise.
40388
a9708fed
JM
40389 [BZ #14996]
40390 * math/s_casinh.c: Include <float.h>.
40391 (__casinh): Do not do computation with squaring and square root
40392 for large arguments.
40393 * math/s_casinhf.c: Include <float.h>.
40394 (__casinhf): Do not do computation with squaring and square root
40395 for large arguments.
40396 * math/s_casinhl.c: Include <float.h>.
40397 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40398 (__casinhl): Do not do computation with squaring and square root
40399 for large arguments.
40400 * math/libm-test.inc (casin_test): Add more tests.
40401 (casinh_test): Likewise.
40402 * sysdeps/i386/fpu/libm-test-ulps: Update.
40403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40404
afec409a
L
404052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
40406
40407 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40408 (__x86_64_raw_data_cache_size): Likewise.
40409 (__x86_64_data_cache_size_half): Likewise.
40410 (__x86_64_raw_data_cache_size_half): Likewise.
40411 (__x86_64_shared_cache_size): Likewise.
40412 (__x86_64_raw_shared_cache_size): Likewise.
40413 (__x86_64_shared_cache_size_half): Likewise.
40414 (__x86_64_raw_shared_cache_size_half): Likewise.
40415 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40416 to ...
40417 (__x86_data_cache_size): This.
40418 (__x86_64_raw_data_cache_size): Renamed to ...
40419 (__x86_raw_data_cache_size): This.
40420 (__x86_64_data_cache_size_half): Renamed to ...
40421 (__x86_data_cache_size_half): This.
40422 (__x86_64_raw_data_cache_size_half): Renamed to ...
40423 (__x86_raw_data_cache_size_half): This.
40424 (__x86_64_shared_cache_size): Renamed to ...
40425 (__x86_shared_cache_size): This.
40426 (__x86_64_raw_shared_cache_size): Renamed to ...
40427 (__x86_raw_shared_cache_size): This.
40428 (__x86_64_shared_cache_size_half): Renamed to ...
40429 (__x86_shared_cache_size_half): This.
40430 (__x86_64_raw_shared_cache_size_half): Renamed to ...
40431 (__x86_raw_shared_cache_size_half): This.
40432 * sysdeps/x86_64/memcpy.S: Updated.
40433 * sysdeps/x86_64/memset.S: Likewise.
40434 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40437
0b3986d0
DM
404382013-01-04 David S. Miller <davem@davemloft.net>
40439
40440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40441
e47686e9
AS
404422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
40443
d643bac1
AS
40444 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40445 1 to avoid redefinition warning.
40446 (__USE_GNU): Don't define.
40447 (init_signaling_nan): Protoize.
40448
e47686e9
AS
40449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40450
b18decba
SP
404512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40452
fffb407f
SP
40453 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40455 (__cpymn): Likewise.
40456 (norm): Remove commented code.
40457 (denorm): Likewise.
40458 (__mp_dbl): Likewise.
40459 (__inv): Likewise.
40460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40461 (__cpymn): Likewise.
40462 (norm): Remove commented code.
40463 (denorm): Likewise.
40464 (__mp_dbl): Likewise.
40465 (__inv): Likewise.
40466
b18decba
SP
40467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40468 mp_no value for 1.0 and 2.0.
40469 (norm): Use RADIXI instead of radixi.d.
40470 (denorm): Likewise.
40471 (__mul): Use 0.0 instead of zero.d.
40472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40473 mp_no value for 1.0 and 2.0.
40474 (norm): Use RADIXI instead of radixi.d.
40475 (denorm): Likewise.
40476 (__mul): Use 0.0 instead of zero.d.
40477
cdc1c96f
JM
404782013-01-04 Joseph Myers <joseph@codesourcery.com>
40479
40480 [BZ #14994]
40481 * math/s_casinh.c (__casinh): Reduce finite argument to first
40482 quadrant then set signs of results at the end.
40483 * math/s_casinhf.c (__casinhf): Likewise.
40484 * math/s_casinhl.c (__casinhl): Likewise.
40485 * math/libm-test.inc (casin_test): Add more tests.
40486 (casinh_test): Likewise.
40487 * sysdeps/i386/fpu/libm-test-ulps: Update.
40488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40489
302913e1
SP
404902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40491
6420d207
SP
40492 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40493
a9e48ab4
SP
40494 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40495
b7837264
SP
40496 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40497 declarations.
40498 (denorm): Likewise.
40499 (__mp_dbl): Likewise.
40500 (__inv): Likewise.
40501
f8af25d2
SP
40502 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40503 and adjust the header comment.
40504
302913e1
SP
40505 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40506 variable name from declaration.
40507
5d7dd1ca
L
405082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
40509
40510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40511 Initialize COMMON_CPUID_INDEX_7 element.
40512 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40513 (CPUID_RTM): Likewise.
40514 (HAS_RTM): Likewise.
40515 (COMMON_CPUID_INDEX_7): New enum.
40516
2f5f40f4
AS
405172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
40518
40519 [BZ #14981]
40520 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40521 size is zero, record memory as freed.
40522
4056f4a0
AJ
405232013-01-03 Andreas Jaeger <aj@suse.de>
40524
40525 * po/ia.po: Add new Interlingua translation.
40526
ab15736f 405272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
40528
40529 * locale/programs/localedef.c: Fix description of '--posix' flag.
40530
568035b7
JM
405312013-01-02 Joseph Myers <joseph@codesourcery.com>
40532
e6898b8d
JM
40533 * NEWS: Update dates in second copyright notice.
40534 * README: Update copyright dates in example.
40535 * manual/libc.texinfo: Update copyright dates.
40536 * scripts/test-installation.pl: Update copyright date in --version
40537 output.
40538
0e2f9562
JM
40539 * hurd/ctty-input.c: Fix copyright notice formatting.
40540 * hurd/ctty-output.c: Likewise.
40541 * hurd/dtable.c: Likewise.
40542 * hurd/hurd-raise.c: Likewise.
40543 * hurd/hurdprio.c: Likewise.
40544 * hurd/msgportdemux.c: Likewise.
40545 * misc/sys/file.h: Likewise.
40546 * misc/sys/ioctl.h: Likewise.
40547 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40548 * sysdeps/mach/hurd/chdir.c: Likewise.
40549 * sysdeps/mach/hurd/fchdir.c: Likewise.
40550 * sysdeps/mach/hurd/rename.c: Likewise.
40551 * sysdeps/mach/hurd/rmdir.c: Likewise.
40552 * sysdeps/mach/hurd/seekdir.c: Likewise.
40553 * sysdeps/mach/hurd/setsid.c: Likewise.
40554 * sysdeps/posix/wait3.c: Likewise.
40555
568035b7
JM
40556 * All files with FSF copyright notices: Update copyright dates
40557 using scripts/update-copyrights.
40558 * intl/plural.c: Regenerated.
40559 * locale/programs/charmap-kw.h: Likewise.
40560 * locale/programs/locfile-kw.h: Likewise.
40561
da08f647
SP
405622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40563
0f5477af
SP
40564 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40565 four values.
40566
44e0d4c2
SP
40567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40568 calculation loop and add branch prediction.
40569
4d55b4e5
SP
40570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40571 check access beyond bounds of m1np.
40572
da08f647
SP
40573 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40574 MPTWO.
40575 (__inv): Remove local variable MPTWO to use the global
40576 constant.
40577 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40579 variable MPTWO.
40580 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40581 MP3HALFS static const.
40582
8e051029
DM
405832013-01-01 David S. Miller <davem@davemloft.net>
40584
40585 * po/ca.po: Update from translation team.
40586
f4cf5f2d
JM
405872013-01-01 Joseph Myers <joseph@codesourcery.com>
40588
40589 * scripts/update-copyrights: New file.
40590 * Makeconfig: Reformat copyright notice.
40591 * ctype/ctype.h: Likewise.
40592 * debug/swprintf_chk.c: Likewise.
40593 * elf/dl-cache.c: Likewise.
40594 * elf/dl-debug.c: Likewise.
40595 * elf/dl-object.c: Likewise.
40596 * grp/initgroups.c: Likewise.
40597 * hurd/Makefile: Likewise.
40598 * hurd/hurd/signal.h: Likewise.
40599 * hurd/hurdfault.c: Likewise.
40600 * hurd/hurdioctl.c: Likewise.
40601 * hurd/hurdlookup.c: Likewise.
40602 * hurd/intr-msg.c: Likewise.
40603 * iconv/gconv_open.c: Likewise.
40604 * libio/swprintf.c: Likewise.
40605 * locale/lc-ctype.c: Likewise.
40606 * locale/nl_langinfo.c: Likewise.
40607 * mach/Machrules: Likewise.
40608 * mach/Makefile: Likewise.
40609 * malloc/obstack.h: Likewise.
40610 * manual/Makefile: Likewise.
40611 * manual/tsort.awk: Likewise.
40612 * misc/bits/stab.def: Likewise.
40613 * nis/nis_print_group_entry.c: Likewise.
40614 * nis/nis_table.c: Likewise.
40615 * nis/nss_compat/compat-pwd.c: Likewise.
40616 * nis/nss_compat/compat-spwd.c: Likewise.
40617 * po/Makefile: Likewise.
40618 * posix/fnmatch.c: Likewise.
40619 * posix/regex.h: Likewise.
40620 * resolv/Makefile: Likewise.
40621 * resolv/nss_dns/dns-network.c: Likewise.
40622 * resolv/res_hconf.c: Likewise.
40623 * scripts/gen-sorted.awk: Likewise.
40624 * soft-fp/soft-fp.h: Likewise.
40625 * stdio-common/printf.h: Likewise.
40626 * stdlib/monetary.h: Likewise.
40627 * stdlib/random.c: Likewise.
40628 * stdlib/random_r.c: Likewise.
40629 * sysdeps/generic/Makefile: Likewise.
40630 * sysdeps/gnu/Makefile: Likewise.
40631 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40633 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40642 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40643 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40644 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40645 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40651 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40652 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40653 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40655 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40658 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40659 * sysdeps/mach/hurd/errnos.awk: Likewise.
40660 * sysdeps/mach/hurd/fork.c: Likewise.
40661 * sysdeps/mach/hurd/getcwd.c: Likewise.
40662 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40663 * sysdeps/mach/hurd/mmap.c: Likewise.
40664 * sysdeps/mach/hurd/utimes.c: Likewise.
40665 * sysdeps/mach/hurd/xmknod.c: Likewise.
40666 * sysdeps/posix/profil.c: Likewise.
40667 * sysdeps/posix/readdir_r.c: Likewise.
40668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40669 * sysdeps/powerpc/bits/setjmp.h: Likewise.
40670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40671 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40673 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40674 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40675 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40677 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40678 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40679 * sysdeps/pthread/lio_listio.c: Likewise.
40680 * sysdeps/sparc/dl-procinfo.h: Likewise.
40681 * sysdeps/unix/i386/sysdep.S: Likewise.
40682 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40683 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40684 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40685 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40687 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40688 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40689 * sysdeps/unix/sysv/linux/speed.c: Likewise.
40690 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40691 * sysdeps/wordsize-32/divdi3.c: Likewise.
40692 * time/sys/time.h: Likewise.
40693 * wcsmbs/Makefile: Likewise.
40694
0549fbba
DM
406952013-01-01 David S. Miller <davem@davemloft.net>
40696
a141f1a7
DM
40697 * po/fr.po: Update from translation team.
40698
0549fbba
DM
40699 * catgets/gencat.c: Update copyright year.
40700 * csu/version.c: Likewise.
40701 * debug/catchsegv.sh: Likewise.
40702 * debug/pcprofiledump.c: Likewise.
40703 * debug/xtrace.sh: Likewise.
40704 * elf/ldconfig.c: Likewise.
40705 * elf/ldd.bash.in: Likewise.
40706 * elf/pldd.c: Likewise.
40707 * elf/sotruss.ksh: Likewise.
40708 * elf/sprof.c: Likewise.
40709 * iconv/iconv_prog.c: Likewise.
40710 * iconv/iconvconfig.c: Likewise.
40711 * locale/programs/locale.c: Likewise.
40712 * locale/programs/localedef.c: Likewise.
40713 * login/programs/pt_chown.c: Likewise.
40714 * malloc/memusage.sh: Likewise.
40715 * malloc/memusagestat.c: Likewise.
40716 * malloc/mtrace.pl: Likewise.
40717 * nscd/nscd.c: Likewise.
40718 * nss/getent.c: Likewise.
40719 * nss/makedb.c: Likewise.
40720 * posix/getconf.c: Likewise.
40721
18ea052c
SP
407222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40723
40724 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40725 numbers.
40726
9c89fca6
MF
407272012-12-30 Mike Frysinger <vapier@gentoo.org>
40728
40729 * math/bits/mathcalls.h (modf): Use __nonnull.
40730
085ec079
SP
407312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40732
40733 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40734 (split): Use macro CN instead of the bare value.
40735 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40736 could be used.
40737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40738 instead of the bare value.
40739 (power1): Likewise.
40740
6d9f97e1
SP
407412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40742
d63f73be
SP
40743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40744 __ATAN_TWOM.
40745 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40746
6d9f97e1
SP
40747 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40748 their values.
40749 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40751 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40752 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40753
4c4febf5
AJ
407542012-12-28 Andreas Jaeger <aj@suse.de>
40755
af5843ef
AJ
40756 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
40757 values are from Linux 3.7.
40758
4c4febf5
AJ
40759 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40760 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
40761
99136f82
SP
407622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40763
2f216c3c 40764 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
40765 TRUE case.
40766
99136f82
SP
40767 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40768 (norm): Likewise.
40769 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40770 variables with preprocessor constants.
40771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40772 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40774
7fffbdff
BH
407752012-12-27 Bruno Haible <bruno@clisp.org>
40776
40777 [BZ #14317]
40778 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40779 only if needed.
40780
b76eb5f0
SP
407812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40782
31a7fe5c
SP
40783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40784 and use variable directly.
40785 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40786
b76eb5f0
SP
40787 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40788 MPONE.
40789 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40791 variable MPONE.
40792 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40794 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40795 include directive. Remove local variable MPONE.
40796 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40799
2c8bfe7d
DM
408002012-12-25 David S. Miller <davem@davemloft.net>
40801
40802 * version.h (RELEASE): Set to "development".
40803 (VERSION): Set to "2.17.90".
40804 * NEWS: Add 2.18 section.
40805
147d03b0
DM
408062012-12-21 David S. Miller <davem@davemloft.net>
40807
40808 * po/hr.po: Update from translation team.
40809
a8ebb2b9
AK
408102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40811
40812 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40813
95b4f1b6
SE
408142012-12-19 Steve Ellcey <sellcey@mips.com>
40815
b2d94007 40816 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 40817
cedb2a90
MS
408182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40819
40820 * manual/contrib.texi (Contributors): Spelling correction.
40821
bbf527d6
DM
408222012-12-15 David S. Miller <davem@davemloft.net>
40823
40824 * po/ru.po: Update from translation team.
40825
bc38c906
DM
408262012-12-13 David S. Miller <davem@davemloft.net>
40827
85429b1a
DM
40828 * NEWS: Mention IFUNC testsuite enhancements.
40829
d283e353
DM
40830 * po/pl.po: Update from translation team.
40831 * po/bg.po: Likewise.
40832
bc38c906
DM
40833 * manual/contrib.texi (Contributors): Update entries for Hongjiu
40834 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
40835
a181b0d7
DM
408362012-12-11 David S. Miller <davem@davemloft.net>
40837
4641d57e
DM
40838 * po/sv.po: Update from translation team.
40839
f7bc6495
DM
40840 * po/vi.po: Update from translation team.
40841
6fc9048f
DM
40842 * po/cs.po: Update from translation team.
40843
a181b0d7
DM
40844 * po/de.po: Update from translation team.
40845 * po/eo.po: Likewise.
40846 * po/nl.po: Likewise.
40847
f70bfe80
SP
408482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40849
3c8b4190
SP
40850 [BZ #14246]
40851 * manual/argp.texi (Argp Helper Functions): Move node to follow
40852 Argp Parsing State.
40853
f70bfe80
SP
40854 [BZ #14872]
40855 * manual/conf.texi (Limits on File System Capacity): Mention if
40856 terminating null is included in the max size.
40857
188f0adf
AJ
408582012-12-10 Andreas Jaeger <aj@suse.de>
40859
40860 * po/cs.po: Update from translation team.
40861
56e7d3ad
SP
408622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40863
40864 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40865 void pointer and cast to uintptr_t.
40866 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40867 path.
40868 * sysdeps/s390/s390-64/memcpy.S: Likewise.
40869 * sysdeps/s390/s390-64/memset.S: Likewise.
40870
76f2d2ea 408712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
40872
40873 [BZ #14833]
40874 * menual/message.texi (Message Translation): Fix typos.
40875 (Helper programs for gettext): Likewise.
40876
67cbf9a2
AS
408772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
40878
40879 [BZ #14898]
40880 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40881 Change to -1.
40882
682d0e9a
DM
408832012-12-07 David S. Miller <davem@davemloft.net>
40884
40885 * po/libc.pot: Update.
40886
573cd484
RH
408872012-12-07 Richard Henderson <rth@redhat.com>
40888
7e9da188 40889 [BZ #10114]
573cd484
RH
40890 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40891 normal/normal case to before the switch.
40892 (_FP_DIV): Likewise.
40893
e933a943
MF
408942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
40895 Mike Frysinger <vapier@gentoo.org>
40896
40897 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40898 check for __NR_fadvise64_64.
40899
82123268
CM
409002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
40901
40902 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40903 0, not just to plain "0" as a statement.
40904 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40905 with cw.
40906
d9814526
JM
409072012-12-06 Joseph Myers <joseph@codesourcery.com>
40908
40909 * NEWS: Use sourceware.org in Bugzilla URL.
40910
7728c574
SP
409112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40912
f16946dd
SP
40913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40914 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40915
5704bbcb
SP
40916 * stdio-common/tst-put-error.c (do_test): Add newline to the
40917 padded test to ensure flush.
40918
17aa0516
JL
409192012-12-05 Jeff Law <law@redhat.com>
40920
40921 * sunrpc/etc.rpc (fedfs_admin): Add entry.
40922
363313b5
JM
409232012-12-05 Joseph Myers <joseph@codesourcery.com>
40924
effbd42a
JM
40925 * README: Don't refer to ports add-on as distributed separately.
40926 Mention AArch64 in list of systems supported in the ports add-on.
40927
87600365
JM
40928 * LICENSES: Add more non-FSF copyright and license notices.
40929
a0d7066a
JM
40930 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40931 ((unused)).
40932
66ca5a5b
JM
40933 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40934
363313b5
JM
40935 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40936 10000 as width of padded output.
40937
b37984ad
JM
409382012-12-04 Joseph Myers <joseph@codesourcery.com>
40939
9003570a
JM
40940 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40941
b37984ad
JM
40942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40943 variable LX with __attribute__ ((unused)).
40944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40945 Likewise.
40946 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40948 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40949 with __attribute__ ((unused)).
40950
c8df52ec
DM
409512012-12-04 David S. Miller <davem@abraco.davemloft.net>
40952
40953 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40954
b3b099af
JM
409552012-12-04 Joseph Myers <joseph@codesourcery.com>
40956
c33aa6e3
JM
40957 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40958 (CFLAGS-nldbl-acos.c): New variable.
40959 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40960 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40961 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40962 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40963 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40964 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40965 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40966 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40967 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40968 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40969 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40970 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40971 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40972 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40973 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40974 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40975 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40976 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40977 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40978 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40979 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40980 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40981 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40982 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40983 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40984 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40985 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40986 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40987 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40988 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40989 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40990 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40991 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40992 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40993 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40994 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40995 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40996 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40997 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40998 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40999 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41000 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41001 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41002 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41003 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41004 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41005 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41006 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41007 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41008 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41009 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41010 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41011 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41012 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41013 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41014 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41015 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41016 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41017 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41018 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41019 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41020 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41021 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41022 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41023 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41024 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41025 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41026 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41027 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41028 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41029 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41030 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41031 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41032 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41033 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41034 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41035 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41036 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41037 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41038 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41039 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41040 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41041 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41042 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41043 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41044 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41045 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41046 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41047 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41048 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41049 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41050 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41051 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41052 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41053 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41054 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41055 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41056
20f0018d
JM
41057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41058 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41059
b3b099af
JM
41060 [BZ #14914]
41061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41062 whole low double instead of just low 47 bits when splitting values
41063 into two parts.
41064
029264d1
AM
410652012-12-03 Allan McRae <allan@archlinux.org>
41066
41067 * manual/stdio.texi (Predefined Printf Handlers): Remove
41068 @hsep and @vsep usage.
41069
c9d6789e
MF
410702012-12-03 Mike Frysinger <vapier@gentoo.org>
41071
41072 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41073 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41074
4b7634a5
JL
410752012-12-03 Jeff Law <law@redhat.com>
41076
41077 * time/sys/time.h (settimeofday): Do not mark TV argument
41078 as __nonnull.
41079
eb6cbd24
MF
410802012-12-01 Mike Frysinger <vapier@gentoo.org>
41081
41082 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41083 when currently writing and seek to current position when not.
41084 * libio/Makefile (tests): Remove bug-fclose1.
41085 * libio/bug-fclose1.c: Delete.
41086
f638872a
JM
410872012-12-01 Joseph Myers <joseph@codesourcery.com>
41088
41089 * manual/arith.texi (feenableexcept): Fix typo.
41090 (fedisableexcept): Likewise.
41091
48085d14
RM
410922012-11-30 Roland McGrath <roland@hack.frob.com>
41093
41094 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41095 second, differently-typed declaration, rather than a cast.
41096
1a538b9f
SP
410972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41098
41099 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41100 * include/rpc/svc.h: ... here.
41101
d07f2ff1 411022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
41103
41104 [BZ #13013]
41105 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41106 depending n and resplen2 to catch cases where answer
41107 equals answerp2.
41108
c93ec1f0
CD
411092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
41110
41111 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41112 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41113
37db69de
MF
411142012-11-29 Mike Frysinger <vapier@gentoo.org>
41115
41116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41117
e10c4e4f
RM
411182012-11-29 Roland McGrath <roland@hack.frob.com>
41119
41120 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41121
2af1b328
JL
411222012-11-28 Jeff Law <law@redhat.com>
41123
41124 [BZ #13761]
41125 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41126 dataset_temporary. Track alloca usage into alloca_used.
41127 If dataset is large allocate and release it via malloc/free.
41128
111db5b1
FW
411292012-06-04 Florian Weimer <fweimer@redhat.com>
41130
f06cc227 41131 [BZ #14197]
111db5b1
FW
41132 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41133
dd694abd
DM
411342012-11-28 David S. Miller <davem@davemloft.net>
41135
41136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41137
9984dd01
JM
411382012-11-28 Joseph Myers <joseph@codesourcery.com>
41139
41140 [BZ #14803]
41141 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41142 of pi/2 rounded to nearest to 64 bits.
41143 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41144 nearest to 64 bits.
41145 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41146 bits.
41147
14bc93a9
JL
411482012-11-28 Jeff Law <law@redhat.com>
41149 Martin Osvald <mosvald@redhat.com>
41150
41151 [BZ #14889]
41152 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41153 * sunrpc/svc.c: Include time.h.
41154 (__svc_accept_failed): New function.
41155 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41156 any reason other than EINTR, call __svc_accept_failed.
41157 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41158 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41159
e3c6aa3a
AS
411602012-11-28 Andreas Schwab <schwab@suse.de>
41161
41162 * scripts/abilist.awk: Also handle indirect functions in .opd
41163 section.
41164
1bead169
JM
411652012-11-28 Joseph Myers <joseph@codesourcery.com>
41166
41167 [BZ #13881]
41168 * sysdeps/x86/fpu/powl_helper.c: New file.
41169 * sysdeps/x86/fpu/Makefile: Likewise.
41170 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41171 (p3): New object.
41172 (__ieee754_powl): Use __powl_helper for finite arguments except
41173 integer exponents below 8.
41174 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41175 (p3): New object.
41176 (__ieee754_powl): Use __powl_helper for finite arguments except
41177 integer exponents below 8.
41178 * math/libm-test.inc (pow_test): Add more tests and enable some
41179 previously disabled tests.
41180 * sysdeps/i386/fpu/libm-test-ulps: Update.
41181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41182
0817d63d
SP
411832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41184 Carlos O'Donell <carlos_odonell@mentor.com>
41185
41186 * nss/makedb.c (is_prime): Assert that input is odd and greater
41187 than 4. Note that fact in a comment too.
41188 (next_prime): Add 4 to input.
41189
de2fd463
SP
411902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41191
41192 [BZ #11741]
41193 * libio/Makefile (tests): Add test case tst-fwrite-error.
41194 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41195 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41196 * libio/tst-fwrite-error.c: New test case.
41197
c515fb51
L
411982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
41199
41200 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41201 before casting to void *.
41202 * include/libc-internal.h (__pointer_type): New macro.
41203 (__integer_if_pointer_type_sub): Likewise.
41204 (__integer_if_pointer_type): Likewise.
41205 (cast_to_integer): Likewise.
41206 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41207 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41208 before casting to atomic64_t.
41209 (atomic_exchange_acq): Likewise.
41210 (__arch_exchange_and_add_body): Likewise.
41211 (__arch_add_body): Likewise.
41212 (atomic_add_negative): Likewise.
41213 (atomic_add_zero): Likewise.
41214
4cf77aa9
JM
412152012-11-26 Joseph Myers <joseph@codesourcery.com>
41216
41217 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41218 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41219 (add_fdes): Likewise.
41220 (linear_search_fdes): Likewise.
41221 (binary_search_unencoded_fdes): Likewise.
41222
d260b3b4
AS
412232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
41224
41225 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41226
67060746
AC
412272012-11-24 Adam Conrad <adconrad@0c3.net>
41228
41229 * configure.in: Autodetect C++ header directories.
41230 * configure: Regenerated.
41231
800938a1
MF
412322012-11-23 Mike Frysinger <vapier@gentoo.org>
41233
41234 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41235
4e6e34e6
AS
412362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
41237
41238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41239
7c7feb47
JM
412402012-11-22 Joseph Myers <joseph@codesourcery.com>
41241
7184dcdf
JM
41242 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41243 LDBL_MANT_DIG == 106]: Disable some tests.
41244 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41245 Likewise.
41246 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41247 Likewise.
41248
0a42601f
JM
41249 [BZ #14871]
41250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41251 input for small inputs. Return +/- pi/2 for large inputs.
41252 * math/libm-test.inc (atan_test): Add more tests.
41253
79c9b9fe
JM
41254 * sysdeps/generic/unwind-dw2-fde-glibc.c
41255 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41256 __attribute__ ((unused)).
41257
c60d3bf2
JM
41258 [BZ #14645]
41259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41260 x * y if x and y are nonzero and z is zero.
41261
ef1e0867
JM
41262 [BZ #14811]
41263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41264 nonzero exponents with absolute value below 0x1p-117 to +/-
41265 0x1p-117.
41266
1468ded3
JM
41267 [BZ #14869]
41268 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41269 up arguments below 2**-450, not just those below 2**-500.
41270 * math/libm-test.inc (hypot_test): Add another test.
41271
8e27e3cc
JM
41272 [BZ #14868]
41273 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41274 Return a+b for ratio over 2**120, not 2**60.
41275 * math/libm-test.inc (hypot_test): Add another test.
41276
c9c0279b
JM
41277 * math/libm-test.inc (clog_test): Use
41278 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41279 (clog10_test): Likewise.
41280
7c7feb47
JM
41281 [BZ #6778]
41282 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41283
fff1530e
AS
412842012-11-22 Andreas Schwab <schwab@suse.de>
41285
41286 * sysdeps/i386/fpu/libm-test-ulps: Update.
41287
94558d30
PT
412882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
41289
41290 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41291 printf output with newline.
41292
7e1be741
L
412932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
41294
6bfea974
L
41295 [BZ #14865]
41296 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41297 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41298 -z nodlopen, -z initfirst and -z execstack support.
41299 * configure: Regenerated.
41300
7e1be741
L
41301 * elf/elf.h (DF_1_NODIRECT): New macro.
41302 (DF_1_IGNMULDEF): Likewise.
41303 (DF_1_NOKSYMS): Likewise.
41304 (DF_1_NOHDR): Likewise.
41305 (DF_1_EDITED): Likewise.
41306 (DF_1_NORELOC): Likewise.
41307 (DF_1_SYMINTPOSE): Likewise.
41308 (DF_1_GLOBAUDIT): Likewise.
41309 (DF_1_SINGLETON): Likewise.
41310 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41311 DT_1_SUPPORTED_MASK bits.
41312 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41313
105ce2ce
CD
413142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
41315
41316 * sysdeps/unix/make-syscalls.sh: Document prefixes.
41317
123be9de
TS
413182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
41319
d072f3f7
TS
41320 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41321 macro.
41322
123be9de
TS
41323 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41324 (sendmmsg): Move declarations...
41325 * socket/sys/socket.h: ... here.
41326 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41327 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41328 include it from...
41329 * socket/recvmmsg.c: ... this new file.
41330 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41331 (sendmmsg): Rename to __sendmmsg, create weak alias and make
41332 definition of __sendmmsg hidden.
41333 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41334 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41335 Move ENOSYS stub into and include it from...
41336 * socket/sendmmsg.c: ... this new file.
41337 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41338 (sysdep_routines): Move recvmmsg and sendmmsg...
41339 * socket/Makefile (routines): ... here.
41340 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41341 (GLIBC_PRIVATE): Add __sendmmsg.
41342 * include/sys/socket.h (__sendmmsg): Add declarations.
41343 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41344 sendmmsg.
41345
cf9a5d18
JM
413462012-11-20 Joseph Myers <joseph@codesourcery.com>
41347
41348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41349 variable I1 with __attribute__ ((unused)).
41350 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41351
ecd4caf9
JM
413522012-11-19 Joseph Myers <joseph@codesourcery.com>
41353
be14d48f
JM
41354 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41355 DUMMY variables with __attribute__ ((unused)).
41356
ecd4caf9
JM
41357 * bits/byteswap.h: Include <bits/types.h>.
41358 (__bswap_64): Use __uint64_t instead of unsigned long long int.
41359
986cab95
PT
413602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
41361
41362 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41363 string_t. Do not manually set errno.
41364 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41365 length with __strnlen. Make sure to both set errno and return it on
41366 failure.
41367
6d33cc9d
DM
413682012-11-19 David S. Miller <davem@davemloft.net>
41369
41370 With help from Joseph Myers.
41371 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41372 very large arguments properly.
41373 * math/libm-test.inc (atan_test): New tests.
41374 (atan2_test): New tests.
41375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41377
ee663277
JM
413782012-11-19 Joseph Myers <joseph@codesourcery.com>
41379
877f2d8e
JM
41380 [BZ #14856]
41381 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41382 Define to 3.
41383
116fc08a
JM
41384 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41385 [POSIX] (EADDRNOTAVAIL): Likewise.
41386 [POSIX] (EAFNOSUPPORT): Likewise.
41387 [POSIX] (EALREADY): Likewise.
41388 [POSIX] (ECONNABORTED): Likewise.
41389 [POSIX] (ECONNREFUSED): Likewise.
41390 [POSIX] (ECONNRESET): Likewise.
41391 [POSIX] (EDESTADDRREQ): Likewise.
41392 [POSIX] (EDQUOT): Likewise.
41393 [POSIX] (EHOSTUNREACH): Likewise.
41394 [POSIX] (EIDRM): Likewise.
41395 [POSIX] (EISCONN): Likewise.
41396 [POSIX] (ELOOP): Likewise.
41397 [POSIX] (EMULTIHOP): Likewise.
41398 [POSIX] (ENETDOWN): Likewise.
41399 [POSIX] (ENETUNREACH): Likewise.
41400 [POSIX] (ENOBUFS): Likewise.
41401 [POSIX] (ENODATA): Likewise.
41402 [POSIX] (ENOLINK): Likewise.
41403 [POSIX] (ENOMSG): Likewise.
41404 [POSIX] (ENOPROTOOPT): Likewise.
41405 [POSIX] (ENOSR): Likewise.
41406 [POSIX] (ENOSTR): Likewise.
41407 [POSIX] (ENOTCONN): Likewise.
41408 [POSIX] (ENOTSOCK): Likewise.
41409 [POSIX] (EOPNOTSUPP): Likewise.
41410 [POSIX] (EOVERFLOW): Likewise.
41411 [POSIX] (EPROTO): Likewise.
41412 [POSIX] (EPROTONOSUPPORT): Likewise.
41413 [POSIX] (EPROTOTYPE): Likewise.
41414 [POSIX] (ESTALE): Likewise.
41415 [POSIX] (ETIME): Likewise.
41416 [POSIX] (ETXTBSY): Likewise.
41417 [POSIX] (EWOULDBLOCK): Likewise.
41418 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41419 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41420 [POSIX] (SEEK_CUR): Likewise.
41421 [POSIX] (SEEK_END): Likewise.
41422 [POSIX || UNIX98] (mode_t): Do not require.
41423 [POSIX] (off_t): Likewise.
41424 [POSIX] (pid_t): Likewise.
41425 [POSIX] (sys/stat.h): Do not allow header.
41426 [POSIX] (unistd.h): Likewise.
41427 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41428 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41429 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41430 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41431 require.
41432 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41433 sigevent): Specify elements.
41434 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41435 entry.
41436 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41437 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41438
a483863f
JM
41439 * conform/data/cpio.h-data [POSIX]: Disable whole file.
41440 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41441 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41442 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41443 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41444 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41445 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41446 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41447 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41448 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41449 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41450 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41451 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41452 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41453 Likewise.
41454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41455 Likewise.
41456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41457 Likewise.
41458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41459 Likewise.
41460 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41461 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41462 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41463 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41464 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41465 Specify lower bound on value.
41466 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41467 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41468 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41469 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41470 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41471 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41472 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41473 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41474 value.
41475 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41476 as optional.
41477 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41478 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41479 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41480 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41481 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41482 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41483 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41484 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41485 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41486 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41487 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41488 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41489 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41490 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41491 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41492 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41493 entry.
41494 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41495 optional.
41496 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41497 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41498 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41499 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41500 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41501 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41502 Likewise.
41503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41504 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41505 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41506 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41507 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
41508 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41509 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41510 as optional.
41511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41513 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41514 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41515 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41516 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41517 specify as optional.
41518 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41519 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41520 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41521 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41522 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41523 [XPG3] (NL_LANGMAX): Likewise.
41524 [POSIX || XPG3] (NL_MSGMAX): Likewise.
41525 [POSIX || XPG3] (NL_NMAX): Likewise.
41526 [POSIX || XPG3] (NL_SETMAX): Likewise.
41527 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41528 [XPG3] (NZERO): Likewise.
41529 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41530 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41531 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41532 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41533 (REG_ERANGE): Expect.
41534 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41535 optional-constant.
41536 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41537 Use (void) in prototype.
41538 [POSIX] (*_t): Allow.
41539 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41540 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41541 (WRDE_BADVAL): Expect.
41542
5ba924e3
JM
41543 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41544 expect.
41545 [XPG3 || XPG4] (O_RSYNC): Likewise.
41546 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41547 Likewise.
41548 [XPG3 || XPG4] (pthread_sigmask): Likewise.
41549 [XPG3 || XPG4] (sigqueue): Likewise.
41550 [XPG3 || XPG4] (sigtimedwait): Likewise.
41551 [XPG3 || XPG4] (sigwaitinfo): Likewise.
41552 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41553 [XPG3 || XPG4] (vsnprintf): Likewise.
41554 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41555 Likewise.
41556 [XPG3 || XPG4] (blksize_t): Likewise.
41557 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41558 Likewise.
41559 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41560 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41561 [XPG3 || XPG4] (struct itimerspec): Likewise.
41562 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41563 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41564 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41565 [XPG3 || XPG4] (clockid_t): Likewise.
41566 [XPG3 || XPG4] (timer_t): Likewise.
41567 [XPG3 || XPG4] (clock_getres): Likewise.
41568 [XPG3 || XPG4] (clock_gettime): Likewise.
41569 [XPG3 || XPG4] (clock_settime): Likewise.
41570 [XPG3 || XPG4] (nanosleep): Likewise.
41571 [XPG3 || XPG4] (timer_create): Likewise.
41572 [XPG3 || XPG4] (timer_delete): Likewise.
41573 [XPG3 || XPG4] (timer_gettime): Likewise.
41574 [XPG3 || XPG4] (timer_getoverrun): Likewise.
41575 [XPG3 || XPG4] (timer_settime): Likewise.
41576 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41577 [XPG3 || XPG4] (getlogin_r): Likewise.
41578 [XPG3 || XPG4] (pread): Likewise.
41579 [XPG3 || XPG4] (pthread_atfork): Likewise.
41580 [XPG3 || XPG4] (pwrite): Likewise.
41581
ee663277
JM
41582 [BZ #14835]
41583 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41584 <bits/siginfo.h>.
41585
942caa16
PT
415862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
41587
e19af380
PT
41588 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41589 finalizing MALLSTREAM.
41590
942caa16
PT
41591 * sysdeps/mach/hurd/syncfs.c: New file.
41592
cfde9b46
SP
415932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41594
41595 [BZ #14719]
41596 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41597 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41598 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41599 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41600 (_nss_dns_gethostbyname4_r): Likewise.
41601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41602 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41603
f6da27e5
PH
416042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
41605
41606 [BZ #13763]
41607 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41608
6665d4a2
SM
416092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
41610
1f51ee92
SM
41611 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41612 * elf/cache.c (print_entry): Print ",AArch64" for
41613 FLAG_AARCH64_LIB64
41614
6665d4a2
SM
41615 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41616 * elf/cache.c (print_entry): Print ",hard-float" for
41617 FLAG_ARM_LIBHF.
41618
05b227bd
DM
416192012-11-18 David S. Miller <davem@davemloft.net>
41620
41621 With help from Joseph Myers.
41622 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41623 cutoff to 2**-13.
41624 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41625 cutoff to 2**-25.
41626 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41627 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41628 small.
41629 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41630 * math/libm-test.inc (y0_test): New tests.
41631 (y1_test): New tests.
41632 * sysdeps/i386/fpu/libm-test-ulps: Update.
41633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41635
786b0b67
AS
416362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
41637
41638 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41639 64-bit targets.
41640 * configure: Regenerated.
41641
8e18b86d
DM
416422012-11-17 David S. Miller <davem@davemloft.net>
41643
41644 [BZ #14811]
41645 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41646 nonzero exponents with absolute value below 0x1p-128 to +/-
41647 0x1p-128.
41648
531f1ae0
JM
416492012-11-17 Joseph Myers <joseph@codesourcery.com>
41650
12df29e2
JM
41651 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41652
150dc1a0
JM
41653 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41654
531f1ae0
JM
41655 * posix/getconf-speclist.c: New file.
41656 * posix/posix-envs.def: Likewise.
41657 * posix/confstr.c (START_ENV_GROUP): New macro.
41658 (END_ENV_GROUP): Likewise.
41659 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41660 (KNOWN_PRESENT_ENV_STRING): Likewise.
41661 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41662 (UNKNOWN_ENVIRONMENT): Likewise.
41663 (confstr): Include posix-envs.def instead of handling
41664 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41665 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41666 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41667 (END_ENV_GROUP): Likewise.
41668 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41669 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41670 (UNKNOWN_ENVIRONMENT): Likewise.
41671 (__sysconf): Include posix-envs.def instead of handling associated
41672 cases directly here.
41673 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41674 preprocessing getconf-speclist.c rather than running getconf or
41675 generating empty file.
41676
a93f9cbc
PT
416772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
41678
41679 * scripts/check-local-headers.sh: Ignore 'mach' headers.
41680
d64d9f87
AL
416812012-11-16 Andrej Lajovic <natrij@gmail.com>
41682
41683 [BZ #14672]
41684 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41685
447885eb
DM
416862012-11-16 David S. Miller <davem@davemloft.net>
41687
41688 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41689 smaller than LDBL_EPSILON/2.0L, just return xm1.
41690
bcbf9830
L
416912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
41692
41693 * elf/tst-array1.c (init): Set constructor priority to 1000.
41694 (fini): Set destructor priority to 1000.
41695 * elf/tst-array2dep.c: Likewise.
41696
2b766585
SP
416972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41698
41699 [BZ #11741]
41700 * libio/fileops.c (_IO_new_file_write): Correctly return error.
41701 (_IO_new_file_xsputn): Also return EOF if none of the input
41702 data was written when overflow failed.
41703 * libio/iopadn.c (_IO_padn): Likewise.
41704 * libio/iowpadn.c (_IO_wpadn): Likewise.
41705 * stdio-common/tst-put-error.c: Add copyright notice.
41706 (do_test): Add case for printing padded string.
41707 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41708 _IO_padn returned error.
41709 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41710 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41711 return EOF.
41712
b1848fde
SP
417132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41714
41715 * libio/libioP.h: Add comment note that the references to C++
41716 bits are now obsolete.
41717
2fd89785
MS
417182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41719
41720 * math/libm-test.inc (check_complex): Use asprintf.
41721
e3ea5409
JM
417222012-11-14 Joseph Myers <joseph@codesourcery.com>
41723
41724 * debug/pcprofiledump.c (print_version): Update copyright year.
41725 * malloc/memusagestat.c (print_version): Likewise.
41726
2e64d265
L
417272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 [BZ #14831]
41730 * elf/Makefile (tests): Add tst-audit8.
41731 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41732 ($(objpfx)tst-audit8.out): New target.
41733 (tst-audit8-ENV): New variable.
41734 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41735 audit if l_reloc_result is NULL.
41736 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41737 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41738 * elf/tst-audit8.c: New file.
41739
c485e4d2
MS
417402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41741
41742 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41743 * misc/Makefile (CFLAGS-select.c): Define.
41744 * posix/Makefile (CFLAGS-pause.c): Define.
41745
3a0d900a
DM
417462012-11-13 David S. Miller <davem@davemloft.net>
41747
41748 * crypt/Makefile: Move test targets after toplevel Rules
41749 inclusion. Grab any necessary sysdep routines when linking.
41750 * crypt/md5.c (md5_process_block): Remove define, we will always
41751 name it __md5_process_block.
41752 (md5_finish_ctx): Update md5_process_block call.
41753 (md5_stream): Likewise.
41754 (md5_process_bytes): Likewise.
41755 (md5_process_block): Rename to __md5_process_block and move to ...
41756 * crypt/md5-block.c: ... here.
41757 * crypt/sha256.c (sha256_process_block): Move to ...
41758 * crypt/sha256-block.c: ... here.
41759 * crypt/sha512.c (sha512_process_block): Move to ...
41760 * crypt/sha512-block.c: ... here.
41761 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41762 path.
41763 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41764 * sysdeps/sparc/sparc64/multiarch/Makefile
41765 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41766 crypt subdir.
41767 (localedef-aux): Add md5 crypto assembler when in locale subdir.
41768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41769 multiarch changes.
41770 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41771 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41772 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41773 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41774 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41775 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41776 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41777 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41778 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41779 file.
41780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41781 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41782 file.
41783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41784
8ca89318
JM
417852012-11-13 Joseph Myers <joseph@codesourcery.com>
41786
e27d476a
JM
41787 * timezone/tzselect.ksh: Update from tzcode git revision
41788 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41789 * timezone/zdump.c: Likewise.
41790 * timezone/zic.c: Likewise.
41791 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41792 in TZVERSION setting, not $(PKGVERSION).
41793 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
41794 REPORT_BUGS_TO settings.
41795
8ca89318
JM
41796 [BZ #14838]
41797 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41798 macro.
41799
47594329
MS
418002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41801
41802 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41803 detection to immediately after _FP_ROUND().
41804 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41805 bits are 0.
41806
640ac3f1
DM
418072012-11-11 David S. Miller <davem@davemloft.net>
41808
41809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41810 inttypes.h
41811 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41812 __close rather than their public counterparts.
41813
3d2577bb
JM
418142012-11-10 Joseph Myers <joseph@codesourcery.com>
41815
41816 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41817 file.
41818 [UNIX98] (sem_timedwait): Do not expect.
41819 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41820 [XPG4 || UNIX98] (sockatmark): Do not expect.
41821 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41822 (clock_getcpuclockid): Do not expect.
41823 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41824 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41825 Do not expect.
41826 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41827 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41828 [UNIX98] (vwscanf): Likewise.
41829 [UNIX98] (vswscanf): Likewise.
41830
fb1ae1ee
JM
418312012-11-09 Joseph Myers <joseph@codesourcery.com>
41832
9ec6f8bd
JM
41833 * timezone/version.h: Remove file.
41834 * timezone/README: Do not refer to version.h.
41835 * timezone/Makefile ($(objpfx)zic.o): New dependency on
41836 $(objpfx)version.h.
41837 ($(objpfx)zdump.o): Likewise.
c3f81911 41838 ($(objpfx)version.h): New target.
9ec6f8bd 41839
0aa8f8a1
JM
41840 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41841 2012i.
41842 * timezone/README: Don't mention modification to tzselect.ksh.
41843 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41844 work on unmodified tzselect.ksh. Substitute version numbers in
41845 tzselect.ksh.
41846
4e87147f
JM
41847 * Makefile (format-me): Remove.
41848 (INSTALL): Adjust indentation. Use commands directly instead of
41849 using $(format-me).
41850
8b748aed
JM
41851 * aclocal.m4 (ACX_PKGVERSION): New macro.
41852 (ACX_BUGURL): Likewise.
41853 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41854 (PKGVERSION): New AC_DEFINE_UNQUOTED.
41855 (REPORT_BUGS_TO): Likewise.
41856 * configure: Regenerated.
41857 * config.h.in (PKGVERSION): New macro.
41858 (REPORT_BUGS_TO): Likewise.
41859 * config.make.in (PKGVERSION): New variable.
41860 (PKGVERSION_TEXI): Likewise.
41861 (REPORT_BUGS_TO): Likewise.
41862 (REPORT_BUGS_TEXI): Likewise.
41863 * Makefile (format-me): Use -I$(common-objpfx)manual.
41864 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41865 ($(common-objpfx)manual/%): New target.
41866 (manual/%): Remove target.
41867 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41868 (print_version): Use PKGVERSION.
41869 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41870 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41871 and REPORT_BUGS_TO.
41872 ($(objpfx)xtrace): Likewise.
41873 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41874 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41875 (print_version): Use PKGVERSION.
41876 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41877 (do_version): Use PKGVERSION.
41878 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41879 REPORT_BUGS_TO.
41880 (common-ldd-rewrite): Likewise.
41881 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41882 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41883 (print_version): Use PKGVERSION.
41884 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41885 * elf/pldd.c (argp_program_bug_address): Remove variable.
41886 (more_help): New function.
41887 (argp): Use more_help.
41888 (print_version): Use PKGVERSION.
41889 * elf/sln.c (main): Use PKGVERSION.
41890 (usage): Use REPORT_BUGS_TO.
41891 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41892 (top level): Use PKGVERSION.
41893 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41894 (print_version): Use PKGVERSION.
41895 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41896 (print_version): Use PKGVERSION.
41897 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41898 (print_version): Use PKGVERSION.
41899 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41900 (print_version): Use PKGVERSION.
41901 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41902 (print_version): Use PKGVERSION.
41903 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41904 (print_version): Use PKGVERSION.
41905 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41906 and BUGURL.
41907 ($(objpfx)memusage): Likewise.
41908 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41909 (do_version): Use PKGVERSION.
41910 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41911 (print_version): Use PKGVERSION.
41912 * malloc/mtrace.pl ($PACKAGE): Remove variable.
41913 ($PKGVERSION): New variable.
41914 ($REPORT_BUGS_TO): Likewise.
41915 (usage): Use $REPORT_BUGS_TO.
41916 (top level): Use $PKGVERSION.
41917 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41918 ($(objpfx)pkgvers.texi): New rule.
41919 ($(objpfx)stamp-pkgvers): Likewise.
41920 * manual/install.texi: Include pkgvers.texi.
41921 (--with-pkgversion): Document new configure option.
41922 (--with-bugurl): Likewise.
41923 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41924 than necessarily for this particular distribution. Use
41925 REPORT_BUGS_TO for where to report bugs.
41926 * INSTALL: Regenerated.
41927 * manual/libc.texinfo: Include pkgvers.texi.
41928 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41929 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41930 (print_version): Use PKGVERSION.
41931 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41932 (print_version): Use PKGVERSION.
41933 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41934 (print_version): Use PKGVERSION.
41935 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41936 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41937 macro.
41938 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41939 (print_version): Use PKGVERSION.
41940 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41941 (print_version): Use PKGVERSION.
41942 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41943 and PKGVERSION.
41944
92e4b6a9
JM
41945 * timezone/checktab.awk: Update from tzcode 2012i.
41946 * timezone/ialloc.c: Likewise.
41947 * timezone/private.h: Likewise.
41948 * timezone/scheck.c: Likewise.
41949 * timezone/tzfile.h: Likewise.
41950 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41951 (TZVERSION): Hardcode tzcode version number.
41952 * timezone/zdump.c: Update from tzcode 2012i.
41953 * timezone/zic.c: Likewise.
41954 * timezone/version.h: New file.
41955 * timezone/README: Describe version.h. Update upstream location.
41956
9bde902c
JM
41957 [BZ #14824]
41958 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41959 (mktemp): Enable declaration.
41960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41964 Likewise.
41965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41966 Likewise.
41967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41968 Likewise.
41969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41970 Likewise.
41971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41972 Likewise.
41973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41974 Likewise.
41975
fb1ae1ee
JM
41976 [BZ #14821]
41977 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41978 offset in buffer as u_int32_t not u_long. Consistently use memcpy
41979 for copies of such integer values.
41980 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41981 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41982
2c1adbcb
AJ
419832012-11-09 Andreas Jaeger <aj@suse.de>
41984
41985 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41986 definitions and declarations that are provided by
41987 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41988
d0f8457e
AK
419892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41990
3a235abb 41991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
41992 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41993 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41994 definition.
41995
57241e26
MS
419962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41997
41998 * elf/elf.h: Update comment before AArch64 relocations.
41999
60e8270d
DM
420002012-11-07 David S. Miller <davem@davemloft.net>
42001
42002 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42003 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42004 (__start_context): Declare.
42005 (__makecontext_ret): Delete.
42006 (__makecontext): Hook up __start_context instead of
42007 __makecontext_ret.
42008 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42009 (sysdep_routines): Add __start_context when in stdlib.
42010
0fbb0fbc
JM
420112012-11-07 Joseph Myers <joseph@codesourcery.com>
42012
42013 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42014 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42015 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
42016 hardcoded "nm".
42017 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
42018 (READELF): New variable. Use it instead of hardcoded "readelf".
42019
eb48db7e
L
420202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42023 * sysdeps/x86/Makefile: Here.
42024 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42025 * sysdeps/x86/tst-xmmymm.sh: This.
42026
05bcf62a
JM
420272012-11-07 Joseph Myers <joseph@codesourcery.com>
42028
c4b6cf53
JM
42029 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42030 expectations.
42031 [UNIX98] (pthread_barrier_t): Do not expect.
42032 [UNIX98] (pthread_barrierattr_t): Likewise.
42033 [UNIX98] (pthread_spinlock_t): Likewise.
42034 [UNIX98] (pthread_barrier_destroy): Likewise.
42035 [UNIX98] (pthread_barrier_init): Likewise.
42036 [UNIX98] (pthread_barrier_wait): Likewise.
42037 [UNIX98] (pthread_barrierattr_destroy): Likewise.
42038 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42039 [UNIX98] (pthread_barrierattr_init): Likewise.
42040 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42041 [UNIX98] (pthread_getcpuclockid): Likewise.
42042 [UNIX98] (pthread_mutex_timedlock): Likewise.
42043 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42044 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42045 [UNIX98] (pthread_sigmask): Likewise.
42046 [UNIX98] (pthread_spin_destroy): Likewise.
42047 [UNIX98] (pthread_spin_init): Likewise.
42048 [UNIX98] (pthread_spin_lock): Likewise.
42049 [UNIX98] (pthread_spin_trylock): Likewise.
42050 [UNIX98] (pthread_spin_unlock): Likewise.
42051 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42052 Do not expect.
42053 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42054 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42055 [XPG3 || XPG4] (pthread_cond_t): Likewise.
42056 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42057 [XPG3 || XPG4] (pthread_key_t): Likewise.
42058 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42059 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42060 [XPG3 || XPG4] (pthread_once_t): Likewise.
42061 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42062 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42063 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42064 [XPG3 || XPG4] (pthread_t): Likewise.
42065
cbe6e120
JM
42066 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42067 not expect.
42068 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42069
1b126443
JM
42070 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42071 Change function return type to int.
42072
b961a573
JM
42073 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42074 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42075 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42076 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42077 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42078 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42079 [!POSIX] (posix_madvise): Likewise.
42080 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42081 && !UNIX98].
42082 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42083 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42084 (mode_t): Likewise.
42085 (posix_mem_offset): Likewise.
42086 (posix_typed_mem_get_info): Likewise.
42087 (posix_typed_mem_open): Likewise.
42088
9e188909
JM
42089 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42090 Change condition to [XOPEN2K8].
42091
05bcf62a
JM
42092 * conform/conformtest.pl: Preprocess allow-header data with -x c
42093 instead of from stdin.
42094 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42095 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42096 [C99-based standards] (cerfc): Likewise.
42097 [C99-based standards] (cexp2): Likewise.
42098 [C99-based standards] (cexpm1): Likewise.
42099 [C99-based standards] (clog10): Likewise.
42100 [C99-based standards] (clog1p): Likewise.
42101 [C99-based standards] (clog2): Likewise.
42102 [C99-based standards] (clgamma): Likewise.
42103 [C99-based standards] (ctgamma): Likewise.
42104 [C99-based standards] (cerff): Likewise.
42105 [C99-based standards] (cerfcf): Likewise.
42106 [C99-based standards] (cexp2f): Likewise.
42107 [C99-based standards] (cexpm1f): Likewise.
42108 [C99-based standards] (clog10f): Likewise.
42109 [C99-based standards] (clog1pf): Likewise.
42110 [C99-based standards] (clog2f): Likewise.
42111 [C99-based standards] (clgammaf): Likewise.
42112 [C99-based standards] (ctgammaf): Likewise.
42113 [C99-based standards] (cerfl): Likewise.
42114 [C99-based standards] (cerfcl): Likewise.
42115 [C99-based standards] (cexp2l): Likewise.
42116 [C99-based standards] (cexpm1l): Likewise.
42117 [C99-based standards] (clog10l): Likewise.
42118 [C99-based standards] (clog1pl): Likewise.
42119 [C99-based standards] (clog2l): Likewise.
42120 [C99-based standards] (clgammal): Likewise.
42121 [C99-based standards] (ctgammal): Likewise.
42122 * conform/data/inttypes.h-data [C99-based standards]: Include
42123 stdint.h-data. Remove all expectations for stdint.h contents.
42124 [C99-based standards] (PRI*): Do not allow.
42125 [C99-based standards] (SCN*): Likewise.
42126 [C99-based standards] (*_t): Likewise.
42127 [C99-based-standards] (PRId8): Expect macro.
42128 [C99-based-standards] (PRIi8): Likewise.
42129 [C99-based-standards] (PRIo8): Likewise.
42130 [C99-based-standards] (PRIu8): Likewise.
42131 [C99-based-standards] (PRIx8): Likewise.
42132 [C99-based-standards] (PRIX8): Likewise.
42133 [C99-based-standards] (SCNd8): Likewise.
42134 [C99-based-standards] (SCNi8): Likewise.
42135 [C99-based-standards] (SCNo8): Likewise.
42136 [C99-based-standards] (SCNu8): Likewise.
42137 [C99-based-standards] (SCNx8): Likewise.
42138 [C99-based-standards] (PRIdLEAST8): Likewise.
42139 [C99-based-standards] (PRIiLEAST8): Likewise.
42140 [C99-based-standards] (PRIoLEAST8): Likewise.
42141 [C99-based-standards] (PRIuLEAST8): Likewise.
42142 [C99-based-standards] (PRIxLEAST8): Likewise.
42143 [C99-based-standards] (PRIXLEAST8): Likewise.
42144 [C99-based-standards] (SCNdLEAST8): Likewise.
42145 [C99-based-standards] (SCNiLEAST8): Likewise.
42146 [C99-based-standards] (SCNoLEAST8): Likewise.
42147 [C99-based-standards] (SCNuLEAST8): Likewise.
42148 [C99-based-standards] (SCNxLEAST8): Likewise.
42149 [C99-based-standards] (PRIdFAST8): Likewise.
42150 [C99-based-standards] (PRIiFAST8): Likewise.
42151 [C99-based-standards] (PRIoFAST8): Likewise.
42152 [C99-based-standards] (PRIuFAST8): Likewise.
42153 [C99-based-standards] (PRIxFAST8): Likewise.
42154 [C99-based-standards] (PRIXFAST8): Likewise.
42155 [C99-based-standards] (SCNdFAST8): Likewise.
42156 [C99-based-standards] (SCNiFAST8): Likewise.
42157 [C99-based-standards] (SCNoFAST8): Likewise.
42158 [C99-based-standards] (SCNuFAST8): Likewise.
42159 [C99-based-standards] (SCNxFAST8): Likewise.
42160 [C99-based-standards] (PRId16): Likewise.
42161 [C99-based-standards] (PRIi16): Likewise.
42162 [C99-based-standards] (PRIo16): Likewise.
42163 [C99-based-standards] (PRIu16): Likewise.
42164 [C99-based-standards] (PRIx16): Likewise.
42165 [C99-based-standards] (PRIX16): Likewise.
42166 [C99-based-standards] (SCNd16): Likewise.
42167 [C99-based-standards] (SCNi16): Likewise.
42168 [C99-based-standards] (SCNo16): Likewise.
42169 [C99-based-standards] (SCNu16): Likewise.
42170 [C99-based-standards] (SCNx16): Likewise.
42171 [C99-based-standards] (PRIdLEAST16): Likewise.
42172 [C99-based-standards] (PRIiLEAST16): Likewise.
42173 [C99-based-standards] (PRIoLEAST16): Likewise.
42174 [C99-based-standards] (PRIuLEAST16): Likewise.
42175 [C99-based-standards] (PRIxLEAST16): Likewise.
42176 [C99-based-standards] (PRIXLEAST16): Likewise.
42177 [C99-based-standards] (SCNdLEAST16): Likewise.
42178 [C99-based-standards] (SCNiLEAST16): Likewise.
42179 [C99-based-standards] (SCNoLEAST16): Likewise.
42180 [C99-based-standards] (SCNuLEAST16): Likewise.
42181 [C99-based-standards] (SCNxLEAST16): Likewise.
42182 [C99-based-standards] (PRIdFAST16): Likewise.
42183 [C99-based-standards] (PRIiFAST16): Likewise.
42184 [C99-based-standards] (PRIoFAST16): Likewise.
42185 [C99-based-standards] (PRIuFAST16): Likewise.
42186 [C99-based-standards] (PRIxFAST16): Likewise.
42187 [C99-based-standards] (PRIXFAST16): Likewise.
42188 [C99-based-standards] (SCNdFAST16): Likewise.
42189 [C99-based-standards] (SCNiFAST16): Likewise.
42190 [C99-based-standards] (SCNoFAST16): Likewise.
42191 [C99-based-standards] (SCNuFAST16): Likewise.
42192 [C99-based-standards] (SCNxFAST16): Likewise.
42193 [C99-based-standards] (PRId32): Likewise.
42194 [C99-based-standards] (PRIi32): Likewise.
42195 [C99-based-standards] (PRIo32): Likewise.
42196 [C99-based-standards] (PRIu32): Likewise.
42197 [C99-based-standards] (PRIx32): Likewise.
42198 [C99-based-standards] (PRIX32): Likewise.
42199 [C99-based-standards] (SCNd32): Likewise.
42200 [C99-based-standards] (SCNi32): Likewise.
42201 [C99-based-standards] (SCNo32): Likewise.
42202 [C99-based-standards] (SCNu32): Likewise.
42203 [C99-based-standards] (SCNx32): Likewise.
42204 [C99-based-standards] (PRIdLEAST32): Likewise.
42205 [C99-based-standards] (PRIiLEAST32): Likewise.
42206 [C99-based-standards] (PRIoLEAST32): Likewise.
42207 [C99-based-standards] (PRIuLEAST32): Likewise.
42208 [C99-based-standards] (PRIxLEAST32): Likewise.
42209 [C99-based-standards] (PRIXLEAST32): Likewise.
42210 [C99-based-standards] (SCNdLEAST32): Likewise.
42211 [C99-based-standards] (SCNiLEAST32): Likewise.
42212 [C99-based-standards] (SCNoLEAST32): Likewise.
42213 [C99-based-standards] (SCNuLEAST32): Likewise.
42214 [C99-based-standards] (SCNxLEAST32): Likewise.
42215 [C99-based-standards] (PRIdFAST32): Likewise.
42216 [C99-based-standards] (PRIiFAST32): Likewise.
42217 [C99-based-standards] (PRIoFAST32): Likewise.
42218 [C99-based-standards] (PRIuFAST32): Likewise.
42219 [C99-based-standards] (PRIxFAST32): Likewise.
42220 [C99-based-standards] (PRIXFAST32): Likewise.
42221 [C99-based-standards] (SCNdFAST32): Likewise.
42222 [C99-based-standards] (SCNiFAST32): Likewise.
42223 [C99-based-standards] (SCNoFAST32): Likewise.
42224 [C99-based-standards] (SCNuFAST32): Likewise.
42225 [C99-based-standards] (SCNxFAST32): Likewise.
42226 [C99-based-standards] (PRId64): Likewise.
42227 [C99-based-standards] (PRIi64): Likewise.
42228 [C99-based-standards] (PRIo64): Likewise.
42229 [C99-based-standards] (PRIu64): Likewise.
42230 [C99-based-standards] (PRIx64): Likewise.
42231 [C99-based-standards] (PRIX64): Likewise.
42232 [C99-based-standards] (SCNd64): Likewise.
42233 [C99-based-standards] (SCNi64): Likewise.
42234 [C99-based-standards] (SCNo64): Likewise.
42235 [C99-based-standards] (SCNu64): Likewise.
42236 [C99-based-standards] (SCNx64): Likewise.
42237 [C99-based-standards] (PRIdLEAST64): Likewise.
42238 [C99-based-standards] (PRIiLEAST64): Likewise.
42239 [C99-based-standards] (PRIoLEAST64): Likewise.
42240 [C99-based-standards] (PRIuLEAST64): Likewise.
42241 [C99-based-standards] (PRIxLEAST64): Likewise.
42242 [C99-based-standards] (PRIXLEAST64): Likewise.
42243 [C99-based-standards] (SCNdLEAST64): Likewise.
42244 [C99-based-standards] (SCNiLEAST64): Likewise.
42245 [C99-based-standards] (SCNoLEAST64): Likewise.
42246 [C99-based-standards] (SCNuLEAST64): Likewise.
42247 [C99-based-standards] (SCNxLEAST64): Likewise.
42248 [C99-based-standards] (PRIdFAST64): Likewise.
42249 [C99-based-standards] (PRIiFAST64): Likewise.
42250 [C99-based-standards] (PRIoFAST64): Likewise.
42251 [C99-based-standards] (PRIuFAST64): Likewise.
42252 [C99-based-standards] (PRIxFAST64): Likewise.
42253 [C99-based-standards] (PRIXFAST64): Likewise.
42254 [C99-based-standards] (SCNdFAST64): Likewise.
42255 [C99-based-standards] (SCNiFAST64): Likewise.
42256 [C99-based-standards] (SCNoFAST64): Likewise.
42257 [C99-based-standards] (SCNuFAST64): Likewise.
42258 [C99-based-standards] (SCNxFAST64): Likewise.
42259 [C99-based-standards] (PRIdMAX): Likewise.
42260 [C99-based-standards] (PRIiMAX): Likewise.
42261 [C99-based-standards] (PRIoMAX): Likewise.
42262 [C99-based-standards] (PRIuMAX): Likewise.
42263 [C99-based-standards] (PRIxMAX): Likewise.
42264 [C99-based-standards] (PRIXMAX): Likewise.
42265 [C99-based-standards] (SCNdMAX): Likewise.
42266 [C99-based-standards] (SCNiMAX): Likewise.
42267 [C99-based-standards] (SCNoMAX): Likewise.
42268 [C99-based-standards] (SCNuMAX): Likewise.
42269 [C99-based-standards] (SCNxMAX): Likewise.
42270 [C99-based-standards] (PRIdPTR): Likewise.
42271 [C99-based-standards] (PRIiPTR): Likewise.
42272 [C99-based-standards] (PRIoPTR): Likewise.
42273 [C99-based-standards] (PRIuPTR): Likewise.
42274 [C99-based-standards] (PRIxPTR): Likewise.
42275 [C99-based-standards] (PRIXPTR): Likewise.
42276 [C99-based-standards] (SCNdPTR): Likewise.
42277 [C99-based-standards] (SCNiPTR): Likewise.
42278 [C99-based-standards] (SCNoPTR): Likewise.
42279 [C99-based-standards] (SCNuPTR): Likewise.
42280 [C99-based-standards] (SCNxPTR): Likewise.
42281 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42282 allow.
42283 * conform/data/stdint.h-data: Update comments to clarify
42284 requirements.
42285 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
42286 type.
42287 [C99-based standards] (INT8_MAX): Likewise.
42288 [C99-based standards] (INT16_MIN): Likewise.
42289 [C99-based standards] (INT16_MAX): Likewise.
42290 [C99-based standards] (INT32_MIN): Likewise.
42291 [C99-based standards] (INT32_MAX): Likewise.
42292 [C99-based standards] (INT64_MIN): Likewise.
42293 [C99-based standards] (INT64_MAX): Likewise.
42294 [C99-based standards] (UINT8_MAX): Likewise.
42295 [C99-based standards] (UINT16_MAX): Likewise.
42296 [C99-based standards] (UINT32_MAX): Likewise.
42297 [C99-based standards] (UINT64_MAX): Likewise.
42298 [C99-based standards] (INT_LEAST8_MIN): Likewise.
42299 [C99-based standards] (INT_LEAST8_MAX): Likewise.
42300 [C99-based standards] (INT_LEAST16_MIN): Likewise.
42301 [C99-based standards] (INT_LEAST16_MAX): Likewise.
42302 [C99-based standards] (INT_LEAST32_MIN): Likewise.
42303 [C99-based standards] (INT_LEAST32_MAX): Likewise.
42304 [C99-based standards] (INT_LEAST64_MIN): Likewise.
42305 [C99-based standards] (INT_LEAST64_MAX): Likewise.
42306 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42307 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42308 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42309 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42310 [C99-based standards] (INT_FAST8_MIN): Likewise.
42311 [C99-based standards] (INT_FAST8_MAX): Likewise.
42312 [C99-based standards] (INT_FAST16_MIN): Likewise.
42313 [C99-based standards] (INT_FAST16_MAX): Likewise.
42314 [C99-based standards] (INT_FAST32_MIN): Likewise.
42315 [C99-based standards] (INT_FAST32_MAX): Likewise.
42316 [C99-based standards] (INT_FAST64_MIN): Likewise.
42317 [C99-based standards] (INT_FAST64_MAX): Likewise.
42318 [C99-based standards] (UINT_FAST8_MAX): Likewise.
42319 [C99-based standards] (UINT_FAST16_MAX): Likewise.
42320 [C99-based standards] (UINT_FAST32_MAX): Likewise.
42321 [C99-based standards] (UINT_FAST64_MAX): Likewise.
42322 [C99-based standards] (INTPTR_MIN): Likewise.
42323 [C99-based standards] (INTPTR_MAX): Likewise.
42324 [C99-based standards] (UINTPTR_MAX): Likewise.
42325 [C99-based standards] (INTMAX_MIN): Likewise.
42326 [C99-based standards] (INTMAX_MAX): Likewise.
42327 [C99-based standards] (UINTMAX_MAX): Likewise.
42328 [C99-based standards] (PTRDIFF_MIN): Likewise.
42329 [C99-based standards] (PTRDIFF_MAX): Likewise.
42330 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42331 [C99-based standards] (SIZE_MAX): Likewise.
42332 [C99-based standards] (WCHAR_MAX): Likewise.
42333 [C99-based standards] (WINT_MAX): Likewise.
42334 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
42335 constraint on value.
42336 [C99-based standards] (WCHAR_MIN): Likewise.
42337 [C99-based standards] (WINT_MIN): Likewise.
42338 [C99-based standards] (*_t): Allow.
42339 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42340 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42341 Include math.h-data and complex.h-data. Remove all expectations
42342 of math.h and complex.h contents.
42343 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42344 at end of line.
42345 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42346 (struct tm): Expect tag.
42347 [C99-based-standards] (wcstof): Expect function.
42348 [C99-based-standards] (wcstold): Likewise.
42349 [C99-based-standards] (wcstoll): Likewise.
42350 [C99-based-standards] (wcstoull): Likewise.
42351 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42352 macro-int-constant. Specify type.
42353 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
42354 constraint on value.
42355 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42356 Specify type.
42357 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42358 Specify value.
42359 [ISO C standards]: Do not allow headers.
42360 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42361 wcs[abcdefghijklmnopqrstuvwxyz]*.
42362 [ISO C standards] (*_t): Do not allow.
42363 * conform/data/wctype.h-data [C99-based standards] (iswblank):
42364 Expect function.
42365 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42366 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42367 Specify type.
42368 [ISO C standards]: Do not allow headers.
42369 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42370 is[abcdefghijklmnopqrstuvwxyz]*.
42371 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42372 to[abcdefghijklmnopqrstuvwxyz]*.
42373 [ISO C standards] (*_t): Do not allow.
42374 * conform/data/stdalign.h-data: New file.
42375 * conform/data/stdbool.h-data: Likewise.
42376 * conform/data/stdnoreturn.h-data: Likewise.
42377
7514feb8
RM
423782012-11-07 Roland McGrath <roland@hack.frob.com>
42379
42380 [BZ #14815]
42381 * manual/filesys.texi (Directory Entries): Typo fix.
42382 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42383
19b2ecfc
MS
423842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42385
42386 * elf/elf.h (EM_AARCH64): New macro.
42387 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42388 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42389 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42390 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42391 (R_AARCH64_TLSDESC): Likewise.
42392 (NT_ARM_TLS): Likewise.
42393 (NT_ARM_HW_BREAK): Likewise.
42394 (NT_ARM_HW_WATCH): Likewise.
42395
60e235ee
JM
423962012-11-07 Joseph Myers <joseph@codesourcery.com>
42397
42398 [BZ #14811]
42399 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42400 (__ieee754_powl): Saturate nonzero exponents with absolute value
42401 below 0x1p-79 to +/- 0x1p-79.
42402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42403 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42404 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42405 nonzero exponents with absolute value below 0x1p-32 to +/-
42406 0x1p-32.
42407 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42408 (__ieee754_powl): Saturate nonzero exponents with absolute value
42409 below 0x1p-79 to +/- 0x1p-79.
42410 * math/libm-test.inc (pow_test): Add more tests.
42411
0ab234b7
AK
424122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42413
42414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42415 _dl_s390_cap_flags with kernel. Increase string length.
42416 (_dl_s390_platforms): Add z196 and zEC12.
42417
45832f74
JM
424182012-11-07 Joseph Myers <joseph@codesourcery.com>
42419
42420 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42421 Change XOPEN21K to XOPEN2K.
42422
19218757
MK
424232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
42424
42425 * string/memmove.c: Use memcpy when possible.
42426
c5f45721
AJ
424272012-11-06 Andreas Jaeger <aj@suse.de>
42428
42429 * po/eo.po: Update from translation team.
42430
82477c28
JM
424312012-11-06 Joseph Myers <joseph@codesourcery.com>
42432
42433 [BZ #14793]
42434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42435 exponent and small x and y exponents, scale x or y up. Increase
42436 by 2 the exponent used in scaling up.
42437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42439 * math/libm-test.inc (fma_test): Add more tests.
42440 (fma_test_towardzero): Likewise.
42441 (fma_test_downward): Likewise.
42442 (fma_test_upward): Likewise.
42443
99252c8c
JM
424442012-11-05 Joseph Myers <joseph@codesourcery.com>
42445
acfa885f
JM
42446 [BZ #14805]
42447 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42448 fenv_t *.
42449
99252c8c
JM
42450 [BZ #14801]
42451 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42452 namespace for names of struct fields.
42453 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42454 fenv_t fields.
42455 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42456 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42457
d6d98dea
ST
424582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
42459
42460 [BZ #3665]
42461 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42462
e10bb107
TS
424632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
42464
42465 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42466 PTR_DEMANGLE.
42467
42468 [BZ #5246]
42469 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42470 PTR_DEMANGLE.
42471
a0c2940d
JM
424722012-11-04 Joseph Myers <joseph@codesourcery.com>
42473
42474 [BZ #14797]
42475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42476 definitely overflow as x * y not x * y + z.
42477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42479 * math/libm-test.inc (fma_test): Add more tests.
42480 (fma_test_towardzero): Likewise.
42481 (fma_test_downward): Likewise.
42482 (fma_test_upward): Likewise.
42483
b830319d
TS
424842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
42485
42486 [BZ #157]
42487
42488 * include/stub-tag.h: Remove file.
42489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42490 '#include' of it.
42491 * manual/maint.texi (Porting): Don't reference it.
42492 * Makerules ($(objpfx)stubs): Likewise.
42493 * dirent/closedir.c: Don't include <stub-tag.h>.
42494 * dirent/dirfd.c: Likewise.
42495 * dirent/fdopendir.c: Likewise.
42496 * dirent/getdents.c: Likewise.
42497 * dirent/getdents64.c: Likewise.
42498 * dirent/opendir.c: Likewise.
42499 * dirent/readdir.c: Likewise.
42500 * dirent/readdir64.c: Likewise.
42501 * dirent/readdir64_r.c: Likewise.
42502 * dirent/readdir_r.c: Likewise.
42503 * dirent/rewinddir.c: Likewise.
42504 * dirent/seekdir.c: Likewise.
42505 * dirent/telldir.c: Likewise.
42506 * gmon/profil.c: Likewise.
42507 * grp/setgroups.c: Likewise.
42508 * inet/if_index.c: Likewise.
42509 * io/access.c: Likewise.
42510 * io/chdir.c: Likewise.
42511 * io/chmod.c: Likewise.
42512 * io/chown.c: Likewise.
42513 * io/close.c: Likewise.
42514 * io/dup.c: Likewise.
42515 * io/dup2.c: Likewise.
42516 * io/dup3.c: Likewise.
42517 * io/euidaccess.c: Likewise.
42518 * io/faccessat.c: Likewise.
42519 * io/fchdir.c: Likewise.
42520 * io/fchmod.c: Likewise.
42521 * io/fchmodat.c: Likewise.
42522 * io/fchown.c: Likewise.
42523 * io/fchownat.c: Likewise.
42524 * io/fcntl.c: Likewise.
42525 * io/flock.c: Likewise.
42526 * io/fstatfs.c: Likewise.
42527 * io/fstatfs64.c: Likewise.
42528 * io/fstatvfs.c: Likewise.
42529 * io/fstatvfs64.c: Likewise.
42530 * io/futimens.c: Likewise.
42531 * io/fxstat.c: Likewise.
42532 * io/fxstat64.c: Likewise.
42533 * io/fxstatat.c: Likewise.
42534 * io/fxstatat64.c: Likewise.
42535 * io/getcwd.c: Likewise.
42536 * io/isatty.c: Likewise.
42537 * io/lchmod.c: Likewise.
42538 * io/lchown.c: Likewise.
42539 * io/link.c: Likewise.
42540 * io/linkat.c: Likewise.
42541 * io/lseek.c: Likewise.
42542 * io/lseek64.c: Likewise.
42543 * io/lxstat64.c: Likewise.
42544 * io/mkdir.c: Likewise.
42545 * io/mkdirat.c: Likewise.
42546 * io/mkfifo.c: Likewise.
42547 * io/mkfifoat.c: Likewise.
42548 * io/open.c: Likewise.
42549 * io/open64.c: Likewise.
42550 * io/openat.c: Likewise.
42551 * io/openat64.c: Likewise.
42552 * io/pipe.c: Likewise.
42553 * io/pipe2.c: Likewise.
42554 * io/poll.c: Likewise.
42555 * io/posix_fadvise.c: Likewise.
42556 * io/posix_fadvise64.c: Likewise.
42557 * io/posix_fallocate.c: Likewise.
42558 * io/posix_fallocate64.c: Likewise.
42559 * io/read.c: Likewise.
42560 * io/readlink.c: Likewise.
42561 * io/readlinkat.c: Likewise.
42562 * io/rmdir.c: Likewise.
42563 * io/sendfile.c: Likewise.
42564 * io/sendfile64.c: Likewise.
42565 * io/statfs.c: Likewise.
42566 * io/statfs64.c: Likewise.
42567 * io/statvfs.c: Likewise.
42568 * io/statvfs64.c: Likewise.
42569 * io/symlink.c: Likewise.
42570 * io/symlinkat.c: Likewise.
42571 * io/ttyname.c: Likewise.
42572 * io/ttyname_r.c: Likewise.
42573 * io/umask.c: Likewise.
42574 * io/unlink.c: Likewise.
42575 * io/unlinkat.c: Likewise.
42576 * io/utime.c: Likewise.
42577 * io/utimensat.c: Likewise.
42578 * io/write.c: Likewise.
42579 * io/xmknod.c: Likewise.
42580 * io/xmknodat.c: Likewise.
42581 * io/xstat.c: Likewise.
42582 * io/xstat64.c: Likewise.
42583 * login/getpt.c: Likewise.
42584 * login/grantpt.c: Likewise.
42585 * login/unlockpt.c: Likewise.
42586 * math/e_acoshl.c: Likewise.
42587 * math/e_acosl.c: Likewise.
42588 * math/e_asinl.c: Likewise.
42589 * math/e_atan2l.c: Likewise.
42590 * math/e_atanhl.c: Likewise.
42591 * math/e_coshl.c: Likewise.
42592 * math/e_expl.c: Likewise.
42593 * math/e_fmodl.c: Likewise.
42594 * math/e_gammal_r.c: Likewise.
42595 * math/e_hypotl.c: Likewise.
42596 * math/e_j0l.c: Likewise.
42597 * math/e_j1l.c: Likewise.
42598 * math/e_jnl.c: Likewise.
42599 * math/e_lgammal_r.c: Likewise.
42600 * math/e_log10l.c: Likewise.
42601 * math/e_log2l.c: Likewise.
42602 * math/e_logl.c: Likewise.
42603 * math/e_powl.c: Likewise.
42604 * math/e_rem_pio2l.c: Likewise.
42605 * math/e_sinhl.c: Likewise.
42606 * math/e_sqrtl.c: Likewise.
42607 * math/fclrexcpt.c: Likewise.
42608 * math/fedisblxcpt.c: Likewise.
42609 * math/feenablxcpt.c: Likewise.
42610 * math/fegetenv.c: Likewise.
42611 * math/fegetexcept.c: Likewise.
42612 * math/fegetround.c: Likewise.
42613 * math/feholdexcpt.c: Likewise.
42614 * math/fesetenv.c: Likewise.
42615 * math/fesetround.c: Likewise.
42616 * math/feupdateenv.c: Likewise.
42617 * math/fgetexcptflg.c: Likewise.
42618 * math/fraiseexcpt.c: Likewise.
42619 * math/fsetexcptflg.c: Likewise.
42620 * math/ftestexcept.c: Likewise.
42621 * math/k_cosl.c: Likewise.
42622 * math/k_rem_pio2l.c: Likewise.
42623 * math/k_sinl.c: Likewise.
42624 * math/k_tanl.c: Likewise.
42625 * math/s_asinhl.c: Likewise.
42626 * math/s_atanl.c: Likewise.
42627 * math/s_cbrtl.c: Likewise.
42628 * math/s_erfl.c: Likewise.
42629 * math/s_expm1l.c: Likewise.
42630 * math/s_log1pl.c: Likewise.
42631 * math/s_tanhl.c: Likewise.
42632 * misc/acct.c: Likewise.
42633 * misc/brk.c: Likewise.
42634 * misc/chflags.c: Likewise.
42635 * misc/chroot.c: Likewise.
42636 * misc/fchflags.c: Likewise.
42637 * misc/fgetxattr.c: Likewise.
42638 * misc/flistxattr.c: Likewise.
42639 * misc/fremovexattr.c: Likewise.
42640 * misc/fsetxattr.c: Likewise.
42641 * misc/fsync.c: Likewise.
42642 * misc/ftruncate.c: Likewise.
42643 * misc/futimes.c: Likewise.
42644 * misc/futimesat.c: Likewise.
42645 * misc/getdomain.c: Likewise.
42646 * misc/getdtsz.c: Likewise.
42647 * misc/gethostid.c: Likewise.
42648 * misc/gethostname.c: Likewise.
42649 * misc/getloadavg.c: Likewise.
42650 * misc/getpagesize.c: Likewise.
42651 * misc/getsysstats.c: Likewise.
42652 * misc/getxattr.c: Likewise.
42653 * misc/gtty.c: Likewise.
42654 * misc/ioctl.c: Likewise.
42655 * misc/lgetxattr.c: Likewise.
42656 * misc/listxattr.c: Likewise.
42657 * misc/llistxattr.c: Likewise.
42658 * misc/lremovexattr.c: Likewise.
42659 * misc/lsetxattr.c: Likewise.
42660 * misc/lutimes.c: Likewise.
42661 * misc/madvise.c: Likewise.
42662 * misc/mincore.c: Likewise.
42663 * misc/mlock.c: Likewise.
42664 * misc/mlockall.c: Likewise.
42665 * misc/mmap.c: Likewise.
42666 * misc/mprotect.c: Likewise.
42667 * misc/msync.c: Likewise.
42668 * misc/munlock.c: Likewise.
42669 * misc/munlockall.c: Likewise.
42670 * misc/munmap.c: Likewise.
42671 * misc/preadv.c: Likewise.
42672 * misc/preadv64.c: Likewise.
42673 * misc/ptrace.c: Likewise.
42674 * misc/pwritev.c: Likewise.
42675 * misc/pwritev64.c: Likewise.
42676 * misc/readv.c: Likewise.
42677 * misc/reboot.c: Likewise.
42678 * misc/remap_file_pages.c: Likewise.
42679 * misc/removexattr.c: Likewise.
42680 * misc/revoke.c: Likewise.
42681 * misc/select.c: Likewise.
42682 * misc/setdomain.c: Likewise.
42683 * misc/setegid.c: Likewise.
42684 * misc/seteuid.c: Likewise.
42685 * misc/sethostid.c: Likewise.
42686 * misc/sethostname.c: Likewise.
42687 * misc/setregid.c: Likewise.
42688 * misc/setreuid.c: Likewise.
42689 * misc/setxattr.c: Likewise.
42690 * misc/sstk.c: Likewise.
42691 * misc/stty.c: Likewise.
42692 * misc/swapoff.c: Likewise.
42693 * misc/swapon.c: Likewise.
42694 * misc/sync.c: Likewise.
42695 * misc/syncfs.c: Likewise.
42696 * misc/syscall.c: Likewise.
42697 * misc/truncate.c: Likewise.
42698 * misc/ualarm.c: Likewise.
42699 * misc/usleep.c: Likewise.
42700 * misc/ustat.c: Likewise.
42701 * misc/utimes.c: Likewise.
42702 * misc/vhangup.c: Likewise.
42703 * misc/writev.c: Likewise.
42704 * posix/_exit.c: Likewise.
42705 * posix/alarm.c: Likewise.
42706 * posix/execve.c: Likewise.
42707 * posix/fexecve.c: Likewise.
42708 * posix/fork.c: Likewise.
42709 * posix/fpathconf.c: Likewise.
42710 * posix/getaddrinfo.c: Likewise.
42711 * posix/getegid.c: Likewise.
42712 * posix/geteuid.c: Likewise.
42713 * posix/getgid.c: Likewise.
42714 * posix/getgroups.c: Likewise.
42715 * posix/getlogin.c: Likewise.
42716 * posix/getlogin_r.c: Likewise.
42717 * posix/getpgid.c: Likewise.
42718 * posix/getpid.c: Likewise.
42719 * posix/getppid.c: Likewise.
42720 * posix/getresgid.c: Likewise.
42721 * posix/getresuid.c: Likewise.
42722 * posix/getsid.c: Likewise.
42723 * posix/getuid.c: Likewise.
42724 * posix/glob64.c: Likewise.
42725 * posix/nanosleep.c: Likewise.
42726 * posix/pathconf.c: Likewise.
42727 * posix/pause.c: Likewise.
42728 * posix/posix_madvise.c: Likewise.
42729 * posix/pread.c: Likewise.
42730 * posix/pread64.c: Likewise.
42731 * posix/pwrite.c: Likewise.
42732 * posix/pwrite64.c: Likewise.
42733 * posix/sched_getaffinity.c: Likewise.
42734 * posix/sched_getp.c: Likewise.
42735 * posix/sched_gets.c: Likewise.
42736 * posix/sched_primax.c: Likewise.
42737 * posix/sched_primin.c: Likewise.
42738 * posix/sched_rr_gi.c: Likewise.
42739 * posix/sched_setaffinity.c: Likewise.
42740 * posix/sched_setp.c: Likewise.
42741 * posix/sched_sets.c: Likewise.
42742 * posix/sched_yield.c: Likewise.
42743 * posix/setgid.c: Likewise.
42744 * posix/setlogin.c: Likewise.
42745 * posix/setpgid.c: Likewise.
42746 * posix/setresgid.c: Likewise.
42747 * posix/setresuid.c: Likewise.
42748 * posix/setsid.c: Likewise.
42749 * posix/setuid.c: Likewise.
42750 * posix/sleep.c: Likewise.
42751 * posix/spawni.c: Likewise.
42752 * posix/sysconf.c: Likewise.
42753 * posix/times.c: Likewise.
42754 * posix/wait.c: Likewise.
42755 * posix/wait3.c: Likewise.
42756 * posix/wait4.c: Likewise.
42757 * posix/waitpid.c: Likewise.
42758 * resolv/gai_sigqueue.c: Likewise.
42759 * resource/getpriority.c: Likewise.
42760 * resource/getrlimit.c: Likewise.
42761 * resource/getrusage.c: Likewise.
42762 * resource/nice.c: Likewise.
42763 * resource/setpriority.c: Likewise.
42764 * resource/setrlimit.c: Likewise.
42765 * resource/ulimit.c: Likewise.
42766 * rt/aio_cancel.c: Likewise.
42767 * rt/aio_fsync.c: Likewise.
42768 * rt/aio_read.c: Likewise.
42769 * rt/aio_sigqueue.c: Likewise.
42770 * rt/aio_suspend.c: Likewise.
42771 * rt/aio_write.c: Likewise.
42772 * rt/clock_getres.c: Likewise.
42773 * rt/clock_gettime.c: Likewise.
42774 * rt/clock_nanosleep.c: Likewise.
42775 * rt/clock_settime.c: Likewise.
42776 * rt/lio_listio.c: Likewise.
42777 * rt/mq_close.c: Likewise.
42778 * rt/mq_getattr.c: Likewise.
42779 * rt/mq_notify.c: Likewise.
42780 * rt/mq_open.c: Likewise.
42781 * rt/mq_receive.c: Likewise.
42782 * rt/mq_send.c: Likewise.
42783 * rt/mq_setattr.c: Likewise.
42784 * rt/mq_timedreceive.c: Likewise.
42785 * rt/mq_timedsend.c: Likewise.
42786 * rt/mq_unlink.c: Likewise.
42787 * rt/shm_open.c: Likewise.
42788 * rt/shm_unlink.c: Likewise.
42789 * rt/timer_create.c: Likewise.
42790 * rt/timer_delete.c: Likewise.
42791 * rt/timer_getoverr.c: Likewise.
42792 * rt/timer_gettime.c: Likewise.
42793 * rt/timer_settime.c: Likewise.
42794 * setjmp/__longjmp.c: Likewise.
42795 * setjmp/setjmp.c: Likewise.
42796 * signal/kill.c: Likewise.
42797 * signal/killpg.c: Likewise.
42798 * signal/raise.c: Likewise.
42799 * signal/sigaction.c: Likewise.
42800 * signal/sigaltstack.c: Likewise.
42801 * signal/sigblock.c: Likewise.
42802 * signal/sigignore.c: Likewise.
42803 * signal/sigintr.c: Likewise.
42804 * signal/signal.c: Likewise.
42805 * signal/sigpause.c: Likewise.
42806 * signal/sigpending.c: Likewise.
42807 * signal/sigqueue.c: Likewise.
42808 * signal/sigreturn.c: Likewise.
42809 * signal/sigset.c: Likewise.
42810 * signal/sigsetmask.c: Likewise.
42811 * signal/sigstack.c: Likewise.
42812 * signal/sigsuspend.c: Likewise.
42813 * signal/sigtimedwait.c: Likewise.
42814 * signal/sigvec.c: Likewise.
42815 * signal/sigwait.c: Likewise.
42816 * signal/sigwaitinfo.c: Likewise.
42817 * signal/sysv_signal.c: Likewise.
42818 * socket/accept.c: Likewise.
42819 * socket/accept4.c: Likewise.
42820 * socket/bind.c: Likewise.
42821 * socket/connect.c: Likewise.
42822 * socket/getpeername.c: Likewise.
42823 * socket/getsockname.c: Likewise.
42824 * socket/getsockopt.c: Likewise.
42825 * socket/isfdtype.c: Likewise.
42826 * socket/listen.c: Likewise.
42827 * socket/recv.c: Likewise.
42828 * socket/recvfrom.c: Likewise.
42829 * socket/recvmsg.c: Likewise.
42830 * socket/send.c: Likewise.
42831 * socket/sendmsg.c: Likewise.
42832 * socket/sendto.c: Likewise.
42833 * socket/setsockopt.c: Likewise.
42834 * socket/shutdown.c: Likewise.
42835 * socket/sockatmark.c: Likewise.
42836 * socket/socket.c: Likewise.
42837 * socket/socketpair.c: Likewise.
42838 * stdio-common/ctermid.c: Likewise.
42839 * stdio-common/cuserid.c: Likewise.
42840 * stdio-common/remove.c: Likewise.
42841 * stdio-common/rename.c: Likewise.
42842 * stdio-common/renameat.c: Likewise.
42843 * stdio-common/tempname.c: Likewise.
42844 * stdlib/getcontext.c: Likewise.
42845 * stdlib/makecontext.c: Likewise.
42846 * stdlib/setcontext.c: Likewise.
42847 * stdlib/swapcontext.c: Likewise.
42848 * stdlib/system.c: Likewise.
42849 * streams/fattach.c: Likewise.
42850 * streams/fdetach.c: Likewise.
42851 * streams/getmsg.c: Likewise.
42852 * streams/getpmsg.c: Likewise.
42853 * streams/putmsg.c: Likewise.
42854 * streams/putpmsg.c: Likewise.
42855 * sysdeps/unix/bsd/getpt.c: Likewise.
42856 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42857 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42858 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42860 Likewise.
42861 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42862 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42863 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42864 * sysvipc/msgctl.c: Likewise.
42865 * sysvipc/msgget.c: Likewise.
42866 * sysvipc/msgrcv.c: Likewise.
42867 * sysvipc/msgsnd.c: Likewise.
42868 * sysvipc/semctl.c: Likewise.
42869 * sysvipc/semget.c: Likewise.
42870 * sysvipc/semop.c: Likewise.
42871 * sysvipc/semtimedop.c: Likewise.
42872 * sysvipc/shmat.c: Likewise.
42873 * sysvipc/shmctl.c: Likewise.
42874 * sysvipc/shmdt.c: Likewise.
42875 * sysvipc/shmget.c: Likewise.
42876 * termios/tcdrain.c: Likewise.
42877 * termios/tcflow.c: Likewise.
42878 * termios/tcflush.c: Likewise.
42879 * termios/tcgetattr.c: Likewise.
42880 * termios/tcgetpgrp.c: Likewise.
42881 * termios/tcsendbrk.c: Likewise.
42882 * termios/tcsetattr.c: Likewise.
42883 * termios/tcsetpgrp.c: Likewise.
42884 * time/adjtime.c: Likewise.
42885 * time/clock.c: Likewise.
42886 * time/getitimer.c: Likewise.
42887 * time/gettimeofday.c: Likewise.
42888 * time/setitimer.c: Likewise.
42889 * time/settimeofday.c: Likewise.
42890 * time/stime.c: Likewise.
42891 * time/time.c: Likewise.
42892
428932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 42894
a20492cf
PT
42895 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42896 /usr/old/bin.
42897
72e182e3
PT
42898 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42899 instead of spaces.
42900 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42901
fbeafede
JM
429022012-11-03 Joseph Myers <joseph@codesourcery.com>
42903
5b5b04d6
JM
42904 [BZ #14796]
42905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42906 FE_TONEAREST before applying Dekker multiplication and Knuth
42907 addition. Clear inexact exceptions and check for exact zero
42908 results afterwards.
42909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42910 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42912 * math/libm-test.inc (fma_test): Add more tests.
42913 (fma_test_towardzero): Likewise.
42914 (fma_test_downward): Likewise.
42915 (fma_test_upward): Likewise.
42916 * sysdeps/generic/math_private.h (default_libc_fesetround): New
42917 function.
42918 (libc_fesetround): New macro.
42919 (libc_fesetroundf): Likewise.
42920 (libc_fesetroundl): Likewise.
42921 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42922 function.
42923 (libc_fesetround_387): Likewise.
42924 (libc_fesetroundf): New macro.
42925 (libc_fesetround): Likewise.
42926 (libc_fesetroundl): Likewise.
42927 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42928 function.
42929 (libc_fesetroundf): New macro.
42930 (libc_fesetround): Likewise.
42931 (libc_fesetroundl): Likewise.
42932 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42933 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42934 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42935 libm_hidden_ver.
42936 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42937 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42938 libm_hidden_def.
42939 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42940 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42941 libm_hidden_ver.
42942 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42943 libm_hidden_def.
42944
fbeafede
JM
42945 [BZ #3439]
42946 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42947 integer constant usable in #if and use that to give value to enum
42948 constant.
42949 (FE_DIVBYZERO): Likewise.
42950 (FE_UNDERFLOW): Likewise.
42951 (FE_OVERFLOW): Likewise.
42952 (FE_INVALID): Likewise.
42953 (FE_INVALID_SNAN): Likewise.
42954 (FE_INVALID_ISI): Likewise.
42955 (FE_INVALID_IDI): Likewise.
42956 (FE_INVALID_ZDZ): Likewise.
42957 (FE_INVALID_IMZ): Likewise.
42958 (FE_INVALID_COMPARE): Likewise.
42959 (FE_INVALID_SOFTWARE): Likewise.
42960 (FE_INVALID_SQRT): Likewise.
42961 (FE_INVALID_INTEGER_CONVERSION): Likewise.
42962 (FE_TONEAREST): Likewise.
42963 (FE_TOWARDZERO): Likewise.
42964 (FE_UPWARD): Likewise.
42965 (FE_DOWNWARD): Likewise.
42966 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42967 (FE_DIVBYZERO): Likewise.
42968 (FE_OVERFLOW): Likewise.
42969 (FE_UNDERFLOW): Likewise.
42970 (FE_INEXACT): Likewise.
42971 (FE_TONEAREST): Likewise.
42972 (FE_DOWNWARD): Likewise.
42973 (FE_UPWARD): Likewise.
42974 (FE_TOWARDZERO): Likewise.
42975 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42976 (FE_UNDERFLOW): Likewise.
42977 (FE_OVERFLOW): Likewise.
42978 (FE_DIVBYZERO): Likewise.
42979 (FE_INVALID): Likewise.
42980 (FE_TONEAREST): Likewise.
42981 (FE_TOWARDZERO): Likewise.
42982 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42983 (FE_OVERFLOW): Likewise.
42984 (FE_UNDERFLOW): Likewise.
42985 (FE_DIVBYZERO): Likewise.
42986 (FE_INEXACT): Likewise.
42987 (FE_TONEAREST): Likewise.
42988 (FE_TOWARDZERO): Likewise.
42989 (FE_UPWARD): Likewise.
42990 (FE_DOWNWARD): Likewise.
42991 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42992 (FE_DIVBYZERO): Likewise.
42993 (FE_OVERFLOW): Likewise.
42994 (FE_UNDERFLOW): Likewise.
42995 (FE_INEXACT): Likewise.
42996 (FE_TONEAREST): Likewise.
42997 (FE_DOWNWARD): Likewise.
42998 (FE_UPWARD): Likewise.
42999 (FE_TOWARDZERO): Likewise.
43000
105ca950
CM
430012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
43002
43003 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43004
a542b389
AS
430052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
43006
43007 * scripts/cross-test-ssh.sh (command): Use newlines to separate
43008 commands. Quote $PWD.
43009 (blacklist_exports): Don't use remove_newlines. Replace "declare
43010 -x" by "export".
43011 (remove_newlines): Remove.
43012
f62c8abc
L
430132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
43014
43015 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43016 * stdlib/stdlib.h (atof): Moved to ...
43017 * include/bits/stdlib-float.h: Here. New file.
43018 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43019 * stdlib/bits/stdlib-float.h: New file.
43020 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43021 -mno-sse -mno-mmx.
43022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43023 <xmmintrin.h>.
43024
0155d5b2
JM
430252012-11-02 Joseph Myers <joseph@codesourcery.com>
43026
a68d0680
JM
43027 * conform/conformtest.pl (@headers): Add fenv.h.
43028 * conform/data/fenv.h-data: New file.
43029 * include/fenv.h [_ISOMAC]: Disable all contents of file except
43030 include of <math/fenv.h>.
43031
caf7f573
JM
43032 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43033 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43034 && !UNIX98]. Enables tests for XOPEN2K8.
43035 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43036 POSIX2008]: Likewise.
43037
6c073ad6
JM
43038 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43039 (struct rusage): Do not expect type or its members.
43040
0155d5b2
JM
43041 [BZ #3439]
43042 * math/math.h (FP_NAN): Define macro to integer constant usable in
43043 #if and use that to give value to enum constant.
43044 (FP_INFINITE): Likewise.
43045 (FP_ZERO): Likewise.
43046 (FP_SUBNORMAL): Likewise.
43047 (FP_NORMAL): Likewise.
43048
b5dcacb4
AS
430492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
43050
43051 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43052 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43053 arguments.
43054
f7934be8
RM
430552012-11-02 Roland McGrath <roland@hack.frob.com>
43056
43057 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43058 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43059 autoconf-time if not.
43060 * configure.in: Remove AC_PREREQ.
43061
d7d08bde
TMQMF
430622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43063
43064 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43065 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43066 of the internal implementation.
43067
dcdae19a
JM
430682012-11-02 Joseph Myers <joseph@codesourcery.com>
43069
43070 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43071 except include of <misc/sys/syslog.h>.
43072
d6cffd3e
AS
430732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
43074
43075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43076 function returns with a NULL context exit with zero.
43077
b3563932
TMQMF
430782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43079
43080 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43081
b288a93d
L
430822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
43083
43084 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43085 (run_program_cmd): This.
43086 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43087 (tst_langinfo): New variable. Use it.
43088
a2421a68
SAS
430892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
43090
43091 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43092 floating point opcodes.
43093
6f796e1b
TS
430942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43095
7402596b
TS
43096 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43097 variable.
43098
d0d4f868
TS
43099 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43100
6f796e1b
TS
43101 * sysdeps/mach/hurd/powerpc: Remove directory.
43102 * sysdeps/mach/powerpc: Likewise.
43103
4da224a2
AS
431042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
43105
43106 * scripts/check-local-headers.sh: Ignore c++ headers.
43107
341dd673
TS
431082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43109
43110 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43111 __libc_cleanup_region_start argument.
43112
473611b2
JM
431132012-11-01 Joseph Myers <joseph@codesourcery.com>
43114
43115 [BZ #14784]
43116 [BZ #14785]
43117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43118 x * y using scaling, not as x * y + z.
43119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43121 * math/libm-test.inc (fma_test): Add more tests.
43122 (fma_test_towardzero): Likewise.
43123 (fma_test_downward): Likewise.
43124 (fma_test_upward): Likewise.
43125
4078da3d
TS
431262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43127
43128 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43129
903252aa
JM
431302012-10-31 Joseph Myers <joseph@codesourcery.com>
43131
43132 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43133 New variable.
43134
cbc818d0
TS
431352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
43136
43137 * rt/tst-shm.c (worker): Correct checking for mmap failure.
43138
5a03cb1e
AS
431392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
43140
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43142 Fix sort order.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43144 Likewise.
43145
90aff2ff
TMQMF
431462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43147
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43149 Fix the order of the list for glibc 2.17.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43151 Likewise.
43152
1818fcb7
AS
431532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
43154
43155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43156
ef82f4da
JM
431572012-10-31 Joseph Myers <joseph@codesourcery.com>
43158
16a0e2ec
JM
43159 [BZ #14610]
43160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43161 for low part of x being zero before using __atanl (y).
43162 * math/libm-test.inc (atan2_test): Add another test.
43163
0eb69512
JM
43164 * manual/install.texi (Configuring and compiling): Document
43165 general use of test-wrapper and test-wrapper-env.
43166 * INSTALL: Regenerated.
43167
ef82f4da
JM
43168 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43169 (__fma): Do not extract and scale down low bits on after-rounding
43170 systems when result rounded to normal precision would have normal
43171 exponent.
43172 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43173 (__fmal): Do not extract and scale down low bits on after-rounding
43174 systems when result rounded to normal precision would have normal
43175 exponent.
43176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43177 (__fmal): Do not extract and scale down low bits on after-rounding
43178 systems when result rounded to normal precision would have normal
43179 exponent.
43180 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43181 macro.
43182 (fma_test): Add more tests.
43183 (fma_test_towardzero): Likewise.
43184 (fma_test_downward): Likewise.
43185 (fma_test_upward): Likewise.
43186
954ef0d9
L
431872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
43188
43189 * sysdeps/i386/tininess.h: Renamed to ...
43190 * sysdeps/x86/tininess.h: This.
43191 * sysdeps/x86_64/tininess.h: Removed.
43192
df61ffb2
JM
431932012-10-30 Joseph Myers <joseph@codesourcery.com>
43194
43195 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43196 input. Use $(build-program-cmd).
43197 ($(objpfx)tst-array1-static.out): Likewise.
43198 ($(objpfx)tst-array2.out): Likewise.
43199 ($(objpfx)tst-array3.out): Likewise.
43200 ($(objpfx)tst-array4.out): Likewise.
43201 ($(objpfx)tst-array5.out): Likewise.
43202 ($(objpfx)tst-array5-static.out): Likewise.
43203
01767843
CM
432042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
43205
47cc1490
CM
43206 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43207 if defined.
43208
01767843
CM
43209 * nss/nsswitch.h (nss_interface_function): Provide new
43210 macro for use with NSS functions.
43211 * grp/initgroups.c: Use new macro.
43212 * nss/getXXbyYY.c: Likewise.
43213 * nss/getXXbyYY_r.c: Likewise.
43214 * nss/getXXent.c: Likewise.
43215 * nss/getXXent_r.c: Likewise.
43216 * sysdeps/posix/getaddrinfo.c: Likewise.
43217
8321aa97
AJ
432182012-10-30 Andreas Jaeger <aj@suse.de>
43219
43220 * po/ru.po: Update Russion translation from translation project.
43221
2a27fd6d
JM
432222012-10-30 Joseph Myers <joseph@codesourcery.com>
43223
8627a232
JM
43224 [BZ #14152]
43225 [BZ #14783]
43226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43227 result and shift together with sticky bit instead of replicating
43228 round-to-nearest rounding.
43229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43231 * math/libm-test.inc (fma_test): Add more tests. Do not permit
43232 missing underflow exceptions.
43233 (fma_test_towardzero): Add more tests.
43234 (fma_test_downward): Likewise.
43235 (fma_test_upward): Likewise.
43236
2a27fd6d
JM
43237 [BZ #14047]
43238 * sysdeps/generic/tininess.h: New file.
43239 * sysdeps/i386/tininess.h: Likewise.
43240 * sysdeps/sh/tininess.h: Likewise.
43241 * sysdeps/x86_64/tininess.h: Likewise.
43242 * stdlib/tst-strtod-underflow.c: Likewise.
43243 * stdlib/tst-tininess.c: Likewise.
43244 * stdlib/strtod_l.c: Include <tininess.h>.
43245 (round_and_return): Do not set errno for exact underflow cases.
43246 Force an underflow exception when setting errno for underflow.
43247 Determine underflow based on rounding to normal precision if
43248 TININESS_AFTER_ROUNDING.
43249 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43250 ERANGE for exact underflow cases.
43251 * stdlib/Makefile (tests): Add tst-tininess and
43252 tst-strtod-underflow.
43253 ($(objpfx)tst-tininess): Use $(link-libm).
43254 ($(objpfx)tst-strtod-underflow): Likewise.
43255
e7170363
AJ
432562012-10-30 Andreas Jaeger <aj@suse.de>
43257
e5088dc6
AJ
43258 [BZ#14767]
43259 * elf/Makefile (tests): Remove conditional for have-initfini-array
43260 since this is now always required and the variable does not exist
43261 anymore.
43262 (tests-static): Likewise.
43263 (modules-names): Likewise.
43264
e7170363 43265 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
43266
43267 * elf/tst-array1.c (fini_array): Make writeable so that it can be
43268 merged with constructor/destructor.
43269 (init_array): Likewise.
43270 * elf/tst-array2dep.c (fini_array): Likewise.
43271 (init_array): Likewise.
43272
60457d8a
MF
432732012-10-29 Mike Frysinger <vapier@gentoo.org>
43274
43275 * manual/message.texi: Delete @cartouche tags.
43276
8bece752
PT
432772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
43278
94ce799f
PT
43279 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43280 EOPNOTSUPP.
43281 * sysdeps/mach/hurd/fsync.c: Likewise.
43282
8bece752
PT
43283 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43284 [_POSIX_REALTIME_SIGNALS]: Change condition to
43285 [_POSIX_REALTIME_SIGNALS > 0].
43286
86ebe6b1
AJ
432872012-10-27 Andreas Jaeger <aj@suse.de>
43288
43289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43290 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43292 [__WORDSIZE != 64]: Likewise.
43293
54399c08
L
432942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
43295
43296 * iconvdata/tst-table.sh: Remove ${SHELL}.
43297 * iconvdata/tst-tables.sh: Likewise.
43298
e2211bed
DM
432992012-10-25 David S. Miller <davem@davemloft.net>
43300
43301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43302 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43303 of strtoull.
43304
f303f97c
DM
43305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43306 ifunc-impl-list.c
43307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43308 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43309 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43310 file.
43311
1e9d84cd
RM
433122012-10-25 Roland McGrath <roland@hack.frob.com>
43313
43314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43315 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43316 __getdirentries.
43317
df381762
JM
433182012-10-25 Joseph Myers <joseph@codesourcery.com>
43319 Jim Blandy <jimb@codesourcery.com>
43320
43321 * scripts/cross-test-ssh.sh: New file.
43322 * manual/install.texi (Configuring and compiling): Document use of
43323 cross-test-ssh.sh.
43324 * INSTALL: Regenerated.
43325
bff64913
PT
433262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
43327
43328 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43329 EOPNOTSUPP.
43330
25fe8932
JM
433312012-10-25 Joseph Myers <joseph@codesourcery.com>
43332
43333 * Makeconfig (run-program-prefix): Fix comment.
43334
cc1290d0
JM
433352012-10-24 Joseph Myers <joseph@codesourcery.com>
43336 Jim Blandy <jimb@codesourcery.com>
43337
43338 * Makeconfig (test-wrapper): New variable,
43339 (test-wrapper-env): Likewise.
43340 [$(cross-compiling) = yes && $(test-wrapper) != ""]
43341 (run-built-tests): Define to yes.
43342 (run-program-prefix): Use $(test-wrapper).
43343 (built-program-cmd): Likewise.
43344 * Rules (make-test-out): Use $(test-wrapper-env) and
43345 $(host-built-program-cmd).
43346 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43347 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43348 tst-pathopt.sh.
43349 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43350 $(test-wrapper-env) to tst-rtld-load-self.sh.
43351 ($(objpfx)order2.out): Use $(test-wrapper).
43352 ($(objpfx)tst-initorder.out): Likewise.
43353 ($(objpfx)tst-initorder2.out): Likewise.
43354 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43355 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43356 (test_wrapper_env): New variable. Use it to run ld.so.
43357 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43358 Use it to run ld.so.
43359 (test_wrapper_env): Likewise.
43360 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43361 $(test-wrapper) to run-iconv-test.sh.
43362 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43363 (ICONV): Use $test_wrapper.
43364 * posix/Makefile ($(objpfx)globtest.out): Pass
43365 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43366 globtest.sh, not $(run-program-prefix).
43367 * posix/globtest.sh (run_via_rtld_prefix): New variable.
43368 (test_wrapper): Likewise.
43369 (test_wrapper_env): Likewise. Use it to run globtest with HOME
43370 set together with run_via_rtld_prefix.
43371 (run_program_prefix): Define in terms of test_wrapper and
43372 run_via_rtld_prefix.
43373
6e6249d0
RM
433742012-10-24 Roland McGrath <roland@hack.frob.com>
43375
43376 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43377 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43378 Targets removed.
43379
43380 [BZ #14743]
43381 * include/time.h: Remove librt_hidden_proto (clock_gettime).
43382 Declare __clock_getres, __clock_gettime, __clock_settime,
43383 __clock_nanosleep, and __clock_getcpuclockid.
43384 * rt/clock_gettime.c: Define __clock_gettime as an alias.
43385 Remove librt_hidden_def (clock_gettime).
43386 * sysdeps/unix/clock_gettime.c: Likewise.
43387 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43389 * rt/clock_getres.c: Define __clock_getres as an alias.
43390 * sysdeps/posix/clock_getres.c: Likewise.
43391 * rt/clock_settime.c: Define __clock_settime as an alias.
43392 * sysdeps/unix/clock_settime.c: Likewise.
43393 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43394 * sysdeps/unix/clock_nanosleep.c: Likewise.
43395 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43396 * rt/clock-compat.c: New file.
43397 * rt/Makefile (librt-routines): Add clock-compat and move
43398 $(clock-routines) to ...
43399 (routines): ... here, new variable.
43400 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43401 Don't add get_clockfreq here.
43402 * rt/Versions (libc: GLIBC_2.17): New version set.
43403 Add clock_* symbols here.
43404 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
43405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43406 (GLIBC_2.17): Add clock_* symbols.
43407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43411 Likewise.
43412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43413 Likewise.
43414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43418 * NEWS: Mention the move.
43419
43420 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43421 Use __open, __read, __close rather than their public counterparts.
43422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43423 (__get_clockfreq_via_cpuinfo): Likewise.
43424 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43425 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43426
43427 * config.h.in (HAVE_IFUNC): New #undef.
43428 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43429 was successful.
43430 * configure: Regenerated.
43431
0cae3f4b
MF
434322012-10-24 Mike Frysinger <vapier@gentoo.org>
43433
43434 * configure.in: Move READELF check to start of file.
43435 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43436 libc_cv_asm_gnu_indirect_function in the process.
43437 * configure: Regenerated.
43438
8175a253
MF
434392012-10-24 Mike Frysinger <vapier@gentoo.org>
43440
43441 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43442 send the output to /dev/null.
43443 (libc_cv_cc_with_libunwind): Likewise.
43444 (libc_cv_as_noexecstack): Likewise.
43445 * configure: Regenerate.
43446
0708a7d1
JM
434472012-10-24 Joseph Myers <joseph@codesourcery.com>
43448
10b40d85
JM
43449 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43450
0708a7d1
JM
43451 * posix/globtest.sh (TMPDIR): Do not set.
43452 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43453 (testout): Likewise.
43454
9fddec1a
AJ
434552012-10-24 Andreas Jaeger <aj@suse.de>
43456
3a8db22f
AJ
43457 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43458 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43459 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43460 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43461 posix_fadvise64, posix_fallocate64.
43462
9fddec1a
AJ
43463 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43464 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43465 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43466 Likewise.
43467 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43468 Likewise.
43469 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43470
43471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43472 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43473 <bits/fcntl-linux.h>.
43474 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43475
43476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43477 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43478 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43479 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43480 [__WORDSIZE != 64]: Likewise.
43481
ebfd1bbd
JM
434822012-10-23 Joseph Myers <joseph@codesourcery.com>
43483
03ac099f
JM
43484 * Makeconfig (run-built-tests): New variable.
43485 * Rules [$(cross-compiling) = yes]: Change condition to
43486 [$(run-built-tests) = no].
43487 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43488 to [$(run-built-tests) = yes].
43489 * elf/Makefile [$(cross-compiling) = no]: Likewise
43490 * grp/Makefile [$(cross-compiling) = no]: Likewise.
43491 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43492 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43493 * intl/Makefile [$(cross-compiling) = no]: Likewise.
43494 * io/Makefile [$(cross-compiling) = no]: Likewise.
43495 * libio/Makefile [$(cross-compiling) = no]: Likewise.
43496 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43497 * misc/Makefile [$(cross-compiling) = no]: Likewise.
43498 * posix/Makefile [$(cross-compiling) = no]: Likewise.
43499 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43500 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43501 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43502 * string/Makefile [$(cross-compiling) = no]: Likewise.
43503
ebfd1bbd
JM
43504 * posix/Makefile ($(objpfx)globtest.out): Pass
43505 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43506 $(rtld-installed-name).
43507 * posix/globtest.sh (elf_objpfx): Remove variable.
43508 (rtld_installed_name): Likewise.
43509 (library_path): Likewise.
43510 (run_program_prefix): New variable. Use for running globtest
43511 binary.
43512
166bca24
JB
435132012-10-23 Jim Blandy <jimb@codesourcery.com>
43514 Joseph Myers <joseph@codesourcery.com>
43515
43516 * Makeconfig (host-built-program-cmd): New variable.
43517 * elf/Makefile (tst-stackguard1-ARGS): Use
43518 $(host-built-program-cmd).
43519 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43520 (tst-spawn-ARGS): Likewise.
43521 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43522
88866099
JM
435232012-10-23 Joseph Myers <joseph@codesourcery.com>
43524 Jim Blandy <jimb@codesourcery.com>
43525
43526 * Makeconfig (run-via-rtld-prefix): New variable.
43527 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43528 (built-program-cmd): Likewise.
43529
b4b4c296
AJ
435302012-10-22 Andreas Jaeger <aj@suse.de>
43531
43532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43533 __O_RSYNC if it exists, otherwise to O_SYNC.
43534
6fb54a22
JB
435352012-10-22 Jim Blandy <jimb@codesourcery.com>
43536 Joseph Myers <joseph@codesourcery.com>
43537
43538 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43539 /dev/null.
43540 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43541 from /dev/null
43542 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43543 /dev/null.
43544
481b90b9
AJ
435452012-10-22 Andreas Jaeger <aj@suse.de>
43546
2a0e2669
AJ
43547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43548 Define always.
43549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43550
76e38f9a
AJ
43551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43552 bits/fcntl-linux.h.
43553
7cd37b43
AJ
43554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43555 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43556
481b90b9
AJ
43557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43558 to __O_LARGEFILE.
43559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43560 to __O_LARGEFILE.
43561
aba75984
JB
435622012-10-21 Jim Blandy <jimb@codesourcery.com>
43563 Joseph Myers <joseph@codesourcery.com>
43564
43565 * config.make.in (NM): New variable.
43566
88d4247f
AJ
435672012-10-21 Andreas Jaeger <aj@suse.de>
43568
43569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43570 definitions and declarations that are provided by
43571 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43572
f2eed205
L
435732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43574
43575 [BZ #14683]
43576 * elf/Makefile (tests-static): Add tst-leaks1-static.
43577 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43578 ($(objpfx)tst-leaks1-static): New rule.
43579 ($(objpfx)tst-leaks1-static-mem): Likewise.
43580 (tst-leaks1-static-ENV): New macro.
43581 * elf/dl-open.c (dl_open_worker): Check the main application
43582 only if SHARED is defined.
43583 * elf/tst-leaks1-static.c: New file.
43584
335e6931
AJ
435852012-10-20 Andreas Jaeger <aj@suse.de>
43586
43587 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43588 generic values for Linux.
43589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43590 and declarations that are provided by <bits/fcntl-linux.h> and
43591 include <bits/fcntl-linux.h>.
43592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43594
ac5c94d3
RM
435952012-10-20 Roland McGrath <roland@hack.frob.com>
43596
43597 * io/fcntl.h: Move include of <bits/types.h> to the top and
43598 include it unconditionally.
43599
de54b33a
L
436002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43601
228cfb01
L
43602 * wcsmbs/Makefile (tests-ifunc): New variable.
43603 (tests): Add $(tests-ifunc).
43604 * wcsmbs/test-wcschr-ifunc.c: New file.
43605 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43606 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43607 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43608 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43609 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43610
69f07e5f
L
43611 * string/Makefile (tests-ifunc): New variable.
43612 (tests): Add $(tests-ifunc).
43613 * string/test-memccpy.c (TEST_NAME): New macro.
43614 * string/test-memchr.c (TEST_NAME): Likewise.
43615 * string/test-memcmp.c (TEST_NAME): Likewise.
43616 * string/test-memcpy.c (TEST_NAME): Likewise.
43617 * string/test-memmem.c (TEST_NAME): Likewise.
43618 * string/test-memmove.c (TEST_NAME): Likewise.
43619 * string/test-memset.c (TEST_NAME): Likewise.
43620 * string/test-rawmemchr.c (TEST_NAME): Likewise.
43621 * string/test-stpcpy.c (TEST_NAME): Likewise.
43622 * string/test-stpncpy.c (TEST_NAME): Likewise.
43623 * string/test-strcasecmp.c (TEST_NAME): Likewise.
43624 * string/test-strcasestr.c (TEST_NAME): Likewise.
43625 * string/test-strcat.c (TEST_NAME): Likewise.
43626 * string/test-strchr.c (TEST_NAME): Likewise.
43627 * string/test-strcmp.c(TEST_NAME): Likewise.
43628 * string/test-strcpy.c (TEST_NAME): Likewise.
43629 * string/test-strcspn.c (TEST_NAME): Likewise.
43630 * string/test-strlen.c (TEST_NAME): Likewise.
43631 * string/test-strncasecmp.c (TEST_NAME): Likewise.
43632 * string/test-strncmp.c (TEST_NAME): Likewise.
43633 * string/test-strncpy.c (TEST_NAME): Likewise.
43634 * string/test-strnlen.c (TEST_NAME): Likewise.
43635 * string/test-strpbrk.c (TEST_NAME): Likewise.
43636 * string/test-strrchr.c (TEST_NAME): Likewise.
43637 * string/test-strspn.c (TEST_NAME): Likewise.
43638 * string/test-strstr.c (TEST_NAME): Likewise.
43639 * string/test-bcopy-ifunc.c: New file.
43640 * string/test-bzero-ifunc.c: Likewise.
43641 * string/test-memccpy-ifunc.c: Likewise.
43642 * string/test-memchr-ifunc.c: Likewise.
43643 * string/test-memcmp-ifunc.c: Likewise.
43644 * string/test-memcpy-ifunc.c: Likewise.
43645 * string/test-memmem-ifunc.c: Likewise.
43646 * string/test-memmove-ifunc.c: Likewise.
43647 * string/test-mempcpy-ifunc.c: Likewise.
43648 * string/test-memset-ifunc.c: Likewise.
43649 * string/test-rawmemchr-ifunc.c: Likewise.
43650 * string/test-stpcpy-ifunc.c: Likewise.
43651 * string/test-stpncpy-ifunc.c: Likewise.
43652 * string/test-strcasecmp-ifunc.c: Likewise.
43653 * string/test-strcasestr-ifunc.c: Likewise.
43654 * string/test-strcat-ifunc.c: Likewise.
43655 * string/test-strchr-ifunc.c: Likewise.
43656 * string/test-strchrnul-ifunc.c: Likewise.
43657 * string/test-strcmp-ifunc.c: Likewise.
43658 * string/test-strcpy-ifunc.c: Likewise.
43659 * string/test-strcspn-ifunc.c: Likewise.
43660 * string/test-strlen-ifunc.c: Likewise.
43661 * string/test-strncasecmp-ifunc.c: Likewise.
43662 * string/test-strncat-ifunc.c: Likewise.
43663 * string/test-strncmp-ifunc.c: Likewise.
43664 * string/test-strncpy-ifunc.c: Likewise.
43665 * string/test-strnlen-ifunc.c: Likewise.
43666 * string/test-strpbrk-ifunc.c: Likewise.
43667 * string/test-strrchr-ifunc.c: Likewise.
43668 * string/test-strspn-ifunc.c: Likewise.
43669 * string/test-strstr-ifunc.c: Likewise.
43670
de54b33a
L
43671 * debug/Makefile (tests-ifunc): New variable.
43672 (tests): Add $(tests-ifunc).
43673 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43674 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43675 * debug/test-stpcpy_chk-ifunc.c: New file.
43676 * debug/test-strcpy_chk-ifunc.c: Likewise.
43677
88481c16
SP
436782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
43679
43680 [BZ #13601]
43681 * elf/dl-load.c (open_verify): Retry read if the entire ELF
43682 header is not read in.
43683
135948bd
JM
436842012-10-19 Joseph Myers <joseph@codesourcery.com>
43685
89f1c388
JM
43686 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
43687 script to $(SHELL) as $<. Pass $(common-objpfx) to script
43688 directly. Pass built executable to script as
43689 $(built-program-cmd).
43690 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
43691 $testprogram without using LD_LIBRARY_PATH and $ldso.
43692
e40a0d21
JM
43693 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43694 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43695 $(rtld-installed-name).
43696 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43697 (rtld_installed_name): Likewise.
43698 (library_path): Likewise.
43699 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
43700 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43701 $(run-program-prefix) to tst-tables.sh.
43702 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
43703 it to run tst-table-from and tst-table-to.
43704 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43705 Pass it to tst-table.sh.
43706 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43707 $(run-program-prefix) to tst-gettext.sh.
43708 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43709 tst-translit.sh.
43710 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43711 tst-gettext2.sh.
43712 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
43713 to run tst-gettext.
43714 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
43715 to run tst-gettext2.
43716 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
43717 to run tst-translit.
43718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43719 $(run-program-prefix) to tst-mtrace.sh.
43720 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
43721 to run tst-mtrace.
43722 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43723 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43724 $(rtld-installed-name).
43725 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43726 (rtld_installed_name): Likewise.
43727 (run_program_prefix): New variable. Use it to run wordexp-test.
43728
728e272a
JM
43729 * Makeconfig (ARCH): Remove all definitions.
43730 (machine): Likewise.
43731 [ARCH]: Remove conditional code.
43732 [!objdir]: Give error.
43733 [!objdir] (objpfx): Remove.
43734 [!objdir] (common-objpfx): Likewise.
43735 [!objdir] (common-objdir): Likewise.
43736 * configure.in (config_makefile): Remove. Hardcode Makefile in
43737 AC_CONFIG_FILES call.
43738 * configure: Regenerated.
43739
d528cdcf
JM
43740 [BZ #13888]
43741 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43742 or TMPDIR.
43743 (testout): Likewise.
43744
135948bd
JM
43745 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43746 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43747 $(rtld-installed-name).
43748 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43749 (rtld_installed_name): Likwise.
43750 (runit): Remove function.
43751 (run_getconf): New variable, Use it for running getconf binary.
43752
38c78296
L
437532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
43754
43755 [BZ #14716]
43756 * string/test-memmem.c (check_result): New function.
43757 (do_one_test): Use it.
43758 (check1): New function.
43759 (test_main): Use it.
43760
d077f65f
MT
437612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
43762
43763 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43764
ced52c71
JM
437652012-10-18 Joseph Myers <joseph@codesourcery.com>
43766
43767 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43768 (_G_LSEEK64): Likewise.
43769 (_G_MMAP64): Likewise.
43770 (_G_FSTAT64): Likewise.
43771 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43772 (_G_LSEEK64): Likewise.
43773 (_G_MMAP64): Likewise.
43774 (_G_FSTAT64): Likewise.
43775 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43776 unconditional. Call __mmap64 directly.
43777 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43778 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
43779 __lseek64 directly.
43780 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43781 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
43782 __mmap64 directly.
43783 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43784 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
43785 __lseek64 directly.
43786 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43787 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
43788 __lseek64 directly.
43789 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43790 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
43791 __lseek64 directly.
43792 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43793 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
43794 __fxstat64 directly.
43795 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43796 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43797 unconditional.
43798 (freopen64) [!_G_OPEN64]: Remove conditional code.
43799 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43800 unconditional.
43801 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43802 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43803 unconditional.
43804 (ftello64) [!_G_LSEEK64]: Remove conditional code.
43805 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43806 unconditional.
43807 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43808 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43809 unconditional.
43810 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43811 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43812 unconditional.
43813 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43814 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43815 unconditional.
43816 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43817 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43818 unconditional.
43819 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43820
b741de23
SP
438212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43822
43823 [BZ #12140]
43824 * manual/memory.texi (Malloc Tunable Parameters): Add note
43825 about free list pointers overwriting some perturb bytes.
43826 Wording suggested by Roland McGrath.
43827
f9b9d9c9
JM
438282012-10-17 Joseph Myers <joseph@codesourcery.com>
43829
43830 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43831 (lgamma_test): Likewise.
43832 (tgamma_test): Likewise.
43833
172a631a
FW
438342012-10-16 Florian Weimer <fweimer@redhat.com>
43835
43836 [BZ #14700]
43837 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43838 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43839
e9f37252
MK
438402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
43841
43842 * NEWS: Mention BZ #14716.
43843 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43844 when removing AVAILABLE1_USES_J macro.
43845
d394eb74
L
438462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
43847
43848 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43849 (__bswap_64): __uint64_t for unsigned 64-bit int.
43850
ca38dc17
AS
438512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
43852
43853 * include/string.h (memmem): Declare libc hidden alias.
43854 * string/memmem.c (memmem): Define libc hidden alias.
43855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43856 __read, __close instead of open, read, close.
43857
9a387d1f
L
438582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
43859
ac49ecaf
L
43860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43861 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43862 global and hidden.
43863 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43864 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43865 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43866 Likewise.
43867 (__rawmemchr_sse2): Likewise.
43868 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43869 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43870 (__strchr_sse2): Likewise.
43871 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43872 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43873 (__strcasecmp_sse2): Likewise.
43874 (__strncasecmp_sse2): Likewise.
43875 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43876 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43877 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43878 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43879 (__strrchr_sse2): Likewise.
43880 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43881 ifunc-impl-list.c.
43882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43884 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43886 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43890 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43891 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43892 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43894 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43895 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43896 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43897 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43898 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43899 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43900 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43901 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43902 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43903 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43904 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43905 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43906 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43908 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43909 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43910 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43911 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43912
b090e8ea
L
43913 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43914 global and hidden.
43915 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43916 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43917 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43918 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43919 Likewise.
43920 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43921 Likewise.
43922 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43923 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43924 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43925 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43926 ifunc-impl-list.c.
43927 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43928 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43940 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43941 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43944 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43947 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43948 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43949 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43950 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43952 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43953 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43954 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43955 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43956 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43957 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43958 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43959 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43960 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43967 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43968
11dd4af6
L
43969 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43970 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43971 * include/ifunc-impl-list.h: New file.
43972 * misc/ifunc-impl-list.c: Likewise.
43973 * misc/Makefile (routines): Add ifunc-impl-list.
43974 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43975 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
43976 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43977 TEST_NAME]: New variables.
11dd4af6
L
43978 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43979 are defined.
43980 (test_init): Call __libc_ifunc_impl_list to initialize
43981 func_list if TEST_IFUNC and TEST_NAME are defined.
43982
9a387d1f
L
43983 * string/Makefile (strop-tests): Add bcopy and bzero.
43984 * string/test-bcopy.c: New file.
43985 * string/test-bzero.c: Likewise.
43986 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43987 defined.
43988 * string/test-memset.c: Support bzero test if TEST_BZERO is
43989 defined.
43990 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43991 __libc_memmove.
43992 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43993 __libc_memset.
43994 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43995 of memset.
43996
472371b9
JM
439972012-10-10 Joseph Myers <joseph@codesourcery.com>
43998
1e4a9536
JM
43999 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44000 * configure: Regenerated.
44001
d173d12e
JM
44002 * Makeconfig (+link-static-before-libc): Don't include
44003 $(link-static-libc).
44004
472371b9
JM
44005 * libio/libio.h (_IO_pos_t): Remove.
44006
89a3ad0b
AO
440072012-10-10 Alexandre Oliva <aoliva@redhat.com>
44008
44009 * NEWS: Add note about FIPS mode. Wording suggested by Roland
44010 McGrath.
44011
e7451425
AO
440122012-10-10 Alexandre Oliva <aoliva@redhat.com>
44013
44014 * crypt/crypt-entry.c: Include fips-private.h.
44015 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44016 * crypt/md5c-test.c (main): Tolerate disabled MD5.
44017 * sysdeps/unix/sysv/linux/fips-private.h: New file.
44018 * sysdeps/generic/fips-private.h: New file, dummy fallback.
44019
4ba74a35
AO
440202012-10-10 Alexandre Oliva <aoliva@redhat.com>
44021
44022 * crypt/crypt-private.h: Include stdbool.h.
44023 (_ufc_setup_salt_r): Return bool.
44024 * crypt/crypt-entry.c: Include errno.h.
44025 (__crypt_r): Return NULL with EINVAL for bad salt.
44026 * crypt/crypt_util.c (bad_for_salt): New.
44027 (_ufc_setup_salt_r): Check that salt is long enough and within
44028 the specified alphabet.
44029 * crypt/badsalttest.c: New file.
44030 * crypt/Makefile (tests): Add it.
44031 ($(objpfx)badsalttest): New.
44032
f96f1242
MK
440332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
44034
44035 * NEWS: Add entry for BZ #14602.
44036
0e8e0c1c
JM
440372012-10-09 Joseph Myers <joseph@codesourcery.com>
44038
44039 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44040 type-generic.
44041 * math/libm-test.inc: Update comment listing what functions and
44042 macros are tested.
44043 (isgreater_test): New function.
44044 (isgreaterequal_test): Likewise.
44045 (isless_test): Likewise.
44046 (islessequal_test): Likewise.
44047 (islessgreater_test): Likewise.
44048 (isunordered_test): Likewise.
44049 (main): Call the new functions.
44050
273edc5e
RM
440512012-10-09 Roland McGrath <roland@hack.frob.com>
44052
b8493de0
RM
44053 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44054 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44055 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44056 * sysdeps/i386/configure: Regenerated.
44057 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44058 * sysdeps/mach/configure: Regenerated.
44059 * sysdeps/mach/hurd/configure: Regenerated.
44060 * sysdeps/powerpc/configure: Regenerated.
44061 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44062 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44063 * sysdeps/s390/s390-32/configure: Regenerated.
44064 * sysdeps/s390/s390-64/configure: Regenerated.
44065 * sysdeps/sh/configure: Regenerated.
44066 * sysdeps/sparc/configure: Regenerated.
44067 * sysdeps/unix/sysv/linux/configure: Regenerated.
44068 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44069 * sysdeps/x86_64/configure: Regenerated.
44070
273edc5e
RM
44071 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44072 defined. Don't check if MAP is NULL.
44073
c8450f70
JM
440742012-10-09 Joseph Myers <joseph@codesourcery.com>
44075
44076 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44077 (_G_stat64): Likewise.
44078 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44079 (_G_stat64): Likewise.
44080 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44081 instead of struct _G_stat64.
44082 * libio/fileops.c (mmap_remap_check): Likewise.
44083 (decide_maybe_mmap): Likewise.
44084 (_IO_new_file_seekoff): Likewise.
44085 (_IO_file_stat): Likewise.
44086 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44087 _G_off64_t.
44088 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44089 instead of struct _G_stat64.
44090 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44091
57e605ba
MK
440922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
44093
44094 [BZ #14602]
44095 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44096 Replace with ...
44097 (CHECK_EOL): New macro.
44098 (two_way_short_needle): Check beginning of haystack for EOL. Use
44099 CHECK_EOL.
44100 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44101 Replace with CHECK_EOL.
44102 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44103 Replace with CHECK_EOL.
44104
ef1bb361
JM
441052012-10-08 Joseph Myers <joseph@codesourcery.com>
44106
44107 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44108 type-generic.
44109 * math/libm-test.inc: Update comment listing what functions and
44110 macros are tested.
44111 (finite_test): New function.
44112 (isinf_test): Likewise.
44113 (isnan_test): Likewise.
44114 (fpclassify_test): Test subnormal input.
44115 (isfinite_test): Likewise.
44116 (isnormal_test): Likewise.
44117 (main): Call the new functions.
44118
55f11534
JN
441192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
44120
44121 [BZ #14660]
44122 * Makerules (%.dynsym): Force C locale when running
44123 $(OBJDUMP) --dynamic-syms.
44124
1ab29350
AS
441252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
44126
44127 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44128 <stdint.h>.
44129
f1ecb7ef
DM
441302012-10-06 David S. Miller <davem@davemloft.net>
44131
44132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44133 upper 32-bits of the length value in %o2 since we use branch-on-register
44134 tests which consider the entire 64-bit register.
44135
5d41d91a
L
441362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
44137
44138 * string/test-strstr.c (check2): Add a test for page boundary.
44139
3baddb72
DM
441402012-10-05 David S. Miller <davem@davemloft.net>
44141
44142 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44144 file.
44145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44146 sysdep_routines.
44147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44148 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44149 and bzero when HWCAP_SPARC_CRYPTO is present.
44150
9cee5585
L
441512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
44152
d7e0dab9
L
44153 [BZ #14602]
44154 * string/test-strstr.c (check2): New function.
44155 (test_main): Call check2.
44156
03759f47
L
44157 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44158 and bug-strchr1.
44159 * string/bug-strcasestr1.c (do_test): Moved to ...
44160 * string/test-strcasestr.c (check1): Here. New function.
44161 (do_one_test): Break out result checking code into ...
44162 (check_result): This. New function.
44163 (do_one_test): Call check_result.
44164 (test_main): Call check1.
44165 * string/bug-strchr1.c (do_test): Moved to ...
44166 * string/test-strchr.c (check1): Here. New function.
44167 (do_one_test): Break out result checking code into ...
44168 (check_result): This. New function.
44169 (do_one_test): Call check_result.
44170 (test_main): Call check1.
44171 * string/bug-strstr1.c (main): Moved to ...
046f153e 44172 * string/test-strstr.c (check1): Here. New function.
03759f47
L
44173 (do_one_test): Break out result checking code into ...
44174 (check_result): This. New function.
44175 (do_one_test): Call check_result.
44176 (test_main): Call check1.
44177 * string/bug-strcasestr1.c: Removed.
44178 * string/bug-strchr1.c: Likewise.
44179 * string/bug-strstr1.c: Likewise.
44180
53cea63e
L
44181 * elf/Makefile (dl-routines): Add hwcaps.
44182 * elf/dl-support.c (_dl_important_hwcaps): Removed.
44183 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44184 (_dl_important_hwcaps): Moved to ...
44185 * elf/dl-hwcaps.c: Here. New file.
44186 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44187
9cee5585 44188 [BZ #14557]
bb859b06
L
44189 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44190 if IS_IN_rtld isn't defined.
44191
9cee5585
L
44192 * elf/dl-support.c (_dl_sysinfo_map): New.
44193 Include "get-dynamic-info.h" and "setup-vdso.h".
44194 (_dl_non_dynamic_init): Call setup_vdso.
44195 * elf/dynamic-link.h: Don't include <assert.h>.
44196 (elf_get_dynamic_info): Moved to ...
44197 * elf/get-dynamic-info.h: Here. New file.
44198 * elf/dynamic-link.h: Include "get-dynamic-info.h".
44199 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44200 * elf/setup-vdso.h: Here. New file.
44201 * elf/rtld.c: Include "setup-vdso.h".
44202 (dl_main): Call setup_vdso.
44203
23c31b76
JM
442042012-10-05 Joseph Myers <joseph@codesourcery.com>
44205
28234b07
JM
44206 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44207 creal in comment listing functions tested. List finite, isinf,
44208 isnan, isless, islessequal, isgreater, isgreaterequal,
44209 islessgreater, isunordered, lgamma_r and pow10 as functions and
44210 macros not tested. Mention which functions not tested are aliases
44211 for other functions. Fix typo. Note that signs of NaNs are not
44212 tested.
44213
23c31b76
JM
44214 * scripts/config.guess: Update from config.git.
44215 * scripts/config.sub: Likewise.
44216
9043e228
RM
442172012-10-04 Roland McGrath <roland@hack.frob.com>
44218
44219 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44220 * misc/madvise.c (madvise): Renamed to __madvise.
44221 Make madvise a weak alias.
44222 * include/sys/mman.h: Declare __madvise.
44223 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44224 * sysdeps/unix/syscalls.list
44225 (madvise): Make __madvise the strong name, and madvise a weak alias.
44226 * sysdeps/unix/sysv/linux/syscalls.list
44227 (madvise, mmap): Remove redundant entries.
44228 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44229 * malloc/malloc.c (mtrim): Likewise.
44230 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44231
f57f8055
RM
442322012-10-03 Roland McGrath <roland@hack.frob.com>
44233
44234 * sysdeps/mach/hurd/dl-cache.c: File removed.
44235 * config.h.in (USE_LDCONFIG): New #undef.
44236 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44237 * configure: Regenerated.
44238 * elf/Makefile (dl-routines): Add dl-cache only under
44239 [$(use-ldconfig) = yes].
44240 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44241 cache on [USE_LDCONFIG].
44242 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44243 [USE_LDCONFIG].
44244 * elf/rtld.c (dl_main): Likewise.
44245
5bb0c10a
PT
442462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
44247
44248 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44249 _SC_LEVEL4_CACHE_LINESIZE.
44250
010188c6
RM
442512012-10-03 Roland McGrath <roland@hack.frob.com>
44252
44253 * sysdeps/unix/bsd/confstr.h: File removed.
44254
b6c5ec07
AO
442552012-10-02 Alexandre Oliva <aoliva@redhat.com>
44256
44257 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44258 sys/sdt-config.h.
44259
408223d4
RM
442602012-10-02 Roland McGrath <roland@hack.frob.com>
44261
44262 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44263 Make 'mapoff' field ElfW(Off) rather than off_t.
44264
bb9510dc
DL
442652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
44266
fc997c6e
DL
44267 * nscd/Makefile: Remove nscd-cflags and all its users.
44268 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44269 (CFLAGS-nonlib): Add compiler flags for nscd modules.
44270
bb9510dc
DL
44271 [BZ #10631]
44272 * malloc.c (malloc_printerr): Clarify error message.
44273
05699367
L
442742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
44275
44276 [BZ #14648]
44277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44278 Set bit_FMA_Usable if FMA is supported.
44279 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44280 macro.
44281 (bit_FMA4_Usable): Updated.
44282 (index_FMA_Usable): New macro.
44283 (CPUID_FMA): Likewise
44284 (HAS_FMA): Defined with bit_FMA_Usable.
44285
51367701
RM
442862012-10-01 Roland McGrath <roland@hack.frob.com>
44287
44288 * bits/types.h (__swblk_t): Type removed.
44289 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44290 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44292 (__SWBLK_T_TYPE): Likewise.
44293 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44294 (__SWBLK_T_TYPE): Likewise.
44295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44296 (__SWBLK_T_TYPE): Likewise.
44297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44298 (__SWBLK_T_TYPE): Likewise.
44299
4d57bf63 443002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 44301 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
44302
44303 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44304 (xdr_mapname): Use YPMAXMAP as maxsize.
44305 (xdr_peername): Use YPMAXPEER as maxsize.
44306 (xdr_keydat): Use YPAXRECORD as maxsize.
44307 (xdr_valdat): Use YPMAXRECORD as maxsize.
44308
93c65d43
RM
443092012-10-01 Roland McGrath <roland@hack.frob.com>
44310
497a03d6
RM
44311 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44312
93c65d43
RM
44313 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44314 * csu/init-first.c: ... here.
44315 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44316 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44319 * sysdeps/i386/init-first.c: File removed.
44320 * sysdeps/sh/init-first.c: File removed.
44321
bec749fd
JM
443222012-10-01 Joseph Myers <joseph@codesourcery.com>
44323
44324 [BZ #14645]
44325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44326 if x * y might underflow to zero and z is zero.
44327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44329 * math/libm-test.inc (min_subnorm_value): New variable.
44330 (fma_test): Add more tests.
44331 (fma_test_towardzero): Likewise.
44332 (fma_test_downward): Likewise
44333 (fma_test_upward): Likewise.
44334 (initialize): Set min_subnorm_value.
44335
8ec5b013
JM
443362012-09-29 Joseph Myers <joseph@codesourcery.com>
44337
44338 [BZ #14638]
44339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44340 0 + 0.
44341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44342 mode for addition resulting in exact zero.
44343 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44345 exact 0 + 0.
44346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44348 * math/libm-test.inc (fma_test): Add more tests.
44349 (fma_test_towardzero): New function.
44350 (fma_test_downward): Likewise.
44351 (fma_test_upward): Likewise.
44352 (main): Call the new functions.
44353
b1fa802e
DM
443542012-09-28 David S. Miller <davem@davemloft.net>
44355
44356 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44357
d3b9fd9e
RM
443582012-09-28 Roland McGrath <roland@hack.frob.com>
44359
ea4d37b3
RM
44360 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44361 instead of SIGALRM.
44362
ac51c949
RM
44363 * sysdeps/gnu/_G_config.h: Moved to ...
44364 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44365 * sysdeps/mach/hurd/_G_config.h: Moved to ...
44366 * sysdeps/generic/_G_config.h: ... here.
44367
28c195f7
RM
44368 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
44369
848917f9
RM
44370 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44371
6bacf05b
RM
44372 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44373 Conditionalize target on [libnss_test1.so-version].
44374
91363dbb
RM
44375 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44376
cc87f7d8
RM
44377 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44378 (elfobjdir): Move out of conditionals.
44379
b1c608fe
RM
44380 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44381 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44382 (__nss_lookup_function): Conditionalize label remove_from_tree on
44383 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 44384
1d9a6d96
DM
443852012-09-28 David S. Miller <davem@davemloft.net>
44386
44387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44389 file.
44390 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44391 sysdep_routines.
44392 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44394 when HWCAP_SPARC_CRYPTO is present.
44395
72581615
PT
443962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44397
44398 * io/tst-mknodat.c: Create a FIFO instead of a socket.
44399
715a900c
JL
444002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
44401
44402 [BZ #6530]
44403 * stdio-common/vfprintf.c (process_string_arg): Revert
44404 2000-07-22 change.
44405
444062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
44407
44408 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44409 for testcase.
44410 * stdio-common/tst-sprintf.c: Include <locale.h>
44411 (main): Test sprintf's handling of incomplete multibyte
44412 characters.
44413
9bac1d86
L
444142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
44415
44416 * elf/dl-runtime.c (VERSYMIDX): Removed.
44417 * elf/dl-version.c (VERSYMIDX): Likewise.
44418 * elf/do-rel.h (VERSYMIDX): Likewise.
44419 (VALIDX): Likewise.
44420 * elf/dynamic-link.h (VERSYMIDX): Likewise.
44421 * elf/rtld.c (VALIDX): Likewise.
44422 (ADDRIDX): Likewise.
9bac1d86
L
44423 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44424 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44425 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
44426 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44427 (VALIDX): Likewise.
44428 (ADDRIDX): Likewise.
9bac1d86 44429
b31606c0
PT
444302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44431
44432 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44433
11541177
JL
444342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
44435
44436 [BZ #11438]
44437 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44438 to global scope.
44439 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44440 addresses are in the same scope as 192.0.2/24.
44441 * posix/gai.conf: Document new scope table defaults.
44442
adb26fae
SP
444432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44444
44445 [BZ #5298]
44446 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44447 for ftell. Compute offsets from write pointers instead.
44448 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44449
4573c6b0
SP
444502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44451
44452 [BZ #14543]
44453 * libio/Makefile (tests): New test case tst-fseek.
44454 * libio/tst-fseek.c: New test case to verify that fseek/ftell
44455 combination works in wide mode.
44456 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44457 state when the external buffer state changes.
44458
aa9bbfe6
DM
444592012-09-27 David S. Miller <davem@davemloft.net>
44460
44461 [BZ #14376]
44462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44463 pass reloc->r_addend in as the 'high' argument to
44464 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44465
784421e7
DM
44466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44467
c39bc8b8
PT
444682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44469
44470 * rt/tst-aio2.c: Include <pthread.h>.
44471 * rt/tst-aio3.c: Likewise.
44472
1ccc2399
SE
444732012-09-27 Steve Ellcey <sellcey@mips.com>
44474
44475 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44476
31ed4153
L
444772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
44478
25f5f885
L
44479 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44480 contents on [SHARED].
31ed4153 44481
b7bfe116
MP
444822012-09-26 Marek Polacek <polacek@redhat.com>
44483
44484 [BZ #14530]
44485 [BZ #13741]
44486 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44487 for C++ and GCC <4.3 as well as for non GCC compilers.
44488
43c4edba
MT
444892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
44490
44491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44492
6a1bf82f
RM
444932012-09-25 Roland McGrath <roland@hack.frob.com>
44494
44495 * Makefile.in (all, install): Declare with .PHONY.
44496 Reported by Michael Hope <michael.hope@linaro.org>.
44497
8ad11b9a
TMQMF
444982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44499
44500 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44501 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44502 system header.
44503 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44504 Likewise.
44505 (sydep_routines): Add the new and the internal functions.
44506 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44509 (GLIBC_2.17): Add the new function.
44510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44511 (GLIBC_2.17): Likewise.
44512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44513 (GLIBC_2.17): Likewise.
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44515 (GLIBC_2.17): Likewise.
44516 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44517
7e2fca8d
AM
445182012-09-25 Alan Modra <amodra@gmail.com>
44519
44520 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44521 Add release barrier before setting once_control to say
44522 initialisation is done. Add hints on lwarx. Use macro in
44523 place of isync.
44524 (clear_once_control): Add release barrier.
44525
b87c4b24
JM
445262012-09-25 Joseph Myers <joseph@codesourcery.com>
44527
d032e0d2
JM
44528 [BZ #13629]
44529 * math/s_clog.c (__clog): Handle more values close to |z| = 1
44530 specially.
44531 * math/s_clog10.c (__clog10): Likewise.
44532 * math/s_clog10f.c (__clog10f): Likewise.
44533 * math/s_clog10l.c (__clog10l): Likewise.
44534 * math/s_clogf.c (__clogf): Likewise.
44535 * math/s_clogl.c (__clogl): Likewise.
44536 * math/Makefile (libm-calls): Add x2y2m1.
44537 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44538 (__x2y2m1): Likewise.
44539 (__x2y2m1l): Likewise.
44540 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44541 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44544 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44545 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44546 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44547 * sysdeps/i386/fpu/libm-test-ulps: Update.
44548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44549
b87c4b24
JM
44550 [BZ #14621]
44551 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44552 int as type of variable DEPTH.
44553 (glob): Use size_t instead of int as type of variables NEWCOUNT
44554 and OLD_PATHC.
44555
6d3bf199
LD
445562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44557
22bf5c17
LD
44558 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44559 Add s_sincosf-sse2.
44560 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44561 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44562 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44563 macros for using routine as __sincosf_ia32.
44564 Use macro for function declaration and weak_alias.
44565 * sysdeps/i386/fpu/libm-test-ulps: Update.
44566
44567 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44569
44570 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
44571 subnormal argument.
44572 * math/s_cexpf.c (__cexpf): Likewise.
44573 * math/s_csinf.c (__csinf): Likewise.
44574 * math/s_csinhf.c (__csinhf): Likewise.
44575 * math/s_ctanf.c (__ctanf): Likewise.
44576 * math/s_ctanhf.c (__ctanhf): Likewise.
44577 * math/s_ccosh.c (__ccoshf): Likewise.
44578 * math/s_cexp.c (__cexpl): Likewise.
44579 * math/s_csin.c (__csin): Likewise.
44580 * math/s_csinh.c (__csinh): Likewise.
44581 * math/s_ctan.c (__ctan): Likewise.
44582 * math/s_ctanh.c (ctanh): Likewise.
44583 * math/s_ccoshl.c (__ccoshl): Likewise.
44584 * math/s_cexpl.c (__cexpl): Likewise.
44585 * math/s_csinl.c (__csinl): Likewise.
44586 * math/s_csinhl.c (__csinhl): Likewise.
44587 * math/s_ctanl.c (__ctanl): Likewise.
44588 * math/s_ctanhl.c (__ctanhl): Likewise.
44589
203e5603
JM
445902012-09-25 Joseph Myers <joseph@codesourcery.com>
44591
44592 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44593 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44594 (_IO_off_t): Define to __off_t, not _G_off_t.
44595 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44596 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44597 (_IO_wint_t): Define to wint_t, not _G_wint_t.
44598 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44599 type of __dummy and __dummy2 fields.
44600 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44601 (_G_ssize_t): Likewise.
44602 (_G_off_t): Likewise.
44603 (_G_pid_t): Likewise.
44604 (_G_uid_t): Likewise.
44605 (_G_wchar_t): Likewise.
44606 (_G_wint_t): Likewise.
44607 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44608 (_G_ssize_t): Likewise.
44609 (_G_off_t): Likewise.
44610 (_G_pid_t): Likewise.
44611 (_G_uid_t): Likewise.
44612 (_G_wchar_t): Likewise.
44613 (_G_wint_t): Likewise.
44614 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44615 (_G_ssize_t): Likewise.
44616 (_G_off_t): Likewise.
44617 (_G_pid_t): Likewise.
44618 (_G_uid_t): Likewise.
44619 (_G_wchar_t): Likewise.
44620 (_G_wint_t): Likewise.
44621
9fab36eb
SP
446222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44623
44624 * malloc/arena.c: Include malloc-sysdep.h.
44625 (shrink_heap): Use check_may_shrink_heap to decide if madvise
44626 is sufficient to shrink the heap or an unmap is needed.
44627 * sysdeps/generic/malloc-sysdep.h: New file. Define
44628 new function check_may_shrink_heap.
44629 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
44630 new function check_may_shrink_heap.
44631
2b4f00d1
SP
446322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44633
44634 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44635 comments.
44636
9a9028b1
DL
446372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
44638
57c69bef
DL
44639 * catgets/test-gencat.sh: Add "set -e".
44640 * elf/tst-pathopt.sh: Likewise.
44641 * grp/tst_fgetgrent.sh: Likewise.
44642 * iconvdata/run-iconv-test.sh: Likewise.
44643 * intl/tst-gettext.sh: Likewise.
44644 * intl/tst-gettext2.sh: Likewise.
44645 * intl/tst-gettext4.sh: Likewise.
44646 * intl/tst-gettext6.sh: Likewise.
44647 * intl/tst-translit.sh: Likewise.
44648 * io/ftwtest-sh: Likewise.
44649 * libio/test-freopen.sh: Likewise.
44650 * malloc/tst-mtrace.sh: Likewise.
44651 * posix/globtest.sh: Likewise.
44652 * posix/tst-getconf.sh: Likewise.
44653 * posix/wordexp-tst.sh: Likewise.
44654 * stdio-common/tst-printf.sh: Likewise.
44655 * stdio-common/tst-unbputc.sh: Likewise.
44656 * stdlib/tst-fmtmsg.sh: Likewise.
44657 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44658 * catgets/Makefile: Do not specify -e option when running
44659 testsuite shell scripts.
44660 * elf/Makefile: Likewise.
44661 * grp/Makefile: Likewise.
44662 * iconvdata/Makefile: Likewise.
44663 * intl/Makefile: Likewise.
44664 * io/Makefile: Likewise.
44665 * libio/Makefile: Likewise.
44666 * malloc/Makefile: Likewise.
44667 * posix/Makefile: Likewise.
44668 * stdio-common/Makefile: Likewise.
44669 * stdlib/Makefile: Likewise.
44670 * sysdeps/x86_64/Makefile: Likewise.
44671
9a9028b1
DL
44672 * io/ftwtest-sh: Add copyright header.
44673 * posix/globtest.sh: Likewise.
44674 * posix/tst-getconf.sh: Likewise.
44675 * posix/wordexp-tst.sh: Likewise.
44676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44677
ced6f16e
L
446782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
44679
94b32c39
L
44680 [BZ #13679]
44681 * Makeconfig (+link): Defined as $(+link-static) if
44682 $(build-shared) isn't yes.
44683 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44684 isn't yes.
44685 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44686
189e935b
L
44687 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44688
ced6f16e
L
44689 [BZ #14562]
44690 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44691 new chunk size with MALLOC_ALIGN_MASK.
44692
a9f8e53a
JM
446932012-09-24 Joseph Myers <joseph@codesourcery.com>
44694
44695 [BZ #5044]
44696 * stdio-common/printf_fphex.c: Include <stdbool.h> and
44697 <rounding-mode.h>.
44698 (__printf_fphex): Determine rounding using get_rounding_mode and
44699 round_away.
44700 * stdio-common/tst-printf-round.c (struct hex_test): New
44701 structure.
44702 (hex_tests): New variable.
44703 (test_hex_in_one_mode): New function.
44704 (do_test): Also run tests for hex float output.
44705
43153109
JM
447062012-09-21 Joseph Myers <joseph@codesourcery.com>
44707
44708 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44709 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44710 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44711 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44712 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44713 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44714 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44716
8a26625d
JM
447172012-09-20 Joseph Myers <joseph@codesourcery.com>
44718
44719 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44720 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44721 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44722 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44723
f3fd569c
DL
447242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
44725
44726 [BZ #14579]
44727 * elf/rtld.c (dl_main): Limit the check for self loading to normal
44728 mode only.
44729 * elf/tst-rtld-load-self.sh: New test.
44730 * elf/Makefile: Run it.
44731
63bbedd4
JM
447322012-09-18 Joseph Myers <joseph@codesourcery.com>
44733
44734 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44735 (tst-writev-ENV): Remove.
44736 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44737
626f8b6a
CM
447382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
44739
44740 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44741
b7aaa4d6
JM
447422012-09-17 Joseph Myers <joseph@codesourcery.com>
44743
44744 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44745 unconditional.
44746 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44747 Likewise.
44748 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44749 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44751 Likewise.
44752
65513990
L
447532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
44754
44755 [BZ #14587]
44756 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44757 * config.make.in (have-cpp-asm-debuginfo): Removed.
44758 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44759 * configure: Regenerated.
44760
784761be
JM
447612012-09-14 Joseph Myers <joseph@codesourcery.com>
44762
44763 [BZ #5044]
44764 * stdio-common/printf_fp.c: Include <stdbool.h> and
44765 <rounding-mode.h>.
44766 (___printf_fp): Determine rounding using get_rounding_mode and
44767 round_away.
44768 * stdio-common/tst-printf-round.c: New file.
44769 * stdio-common/Makefile (tests): Add tst-printf-round.
44770 (link-libm): New variable.
44771 ($(objpfx)tst-printf-round): Depend in $(link-libm).
44772
9503345f
L
447732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
44774
44775 [BZ #14576]
44776 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44777 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44778 Likewise.
44779 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44780 Likewise.
44781
ad35fc00
JM
447822012-09-13 Joseph Myers <joseph@codesourcery.com>
44783
44784 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44785 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44786 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44787 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44788
6c9b0f68
JM
447892012-09-12 Joseph Myers <joseph@codesourcery.com>
44790
44791 [BZ #14518]
44792 * include/rounding-mode.h: New file.
44793 * sysdeps/generic/get-rounding-mode.h: Likewise.
44794 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44795 * stdlib/strtod_l.c: Include <rounding-mode.h>.
44796 (MAX_VALUE): New macro.
44797 (MIN_VALUE): Likewise.
44798 (overflow_value): New function.
44799 (underflow_value): Likewise.
44800 (round_and_return): Use overflow_value and underflow_value to
44801 determine return values in overflow and underflow cases. Use
44802 round_away to determine rounding depending on rounding mode.
44803 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44804 determine return values in overflow and underflow cases.
44805 * stdlib/tst-strtod-round.c: Include <fenv.h>.
44806 (struct test_results): New structure.
44807 (struct test): Use struct test_results to store expected results
44808 for all rounding modes.
44809 (TEST): Include expected results for all rounding modes.
44810 (test_in_one_mode): New function.
44811 (do_test): Use test_in_one_mode to compute and check results.
44812 Check results for all rounding modes.
44813 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44814 $(link-libm).
44815
19fcedd5
AM
448162012-12-09 Allan McRae <allan@archlinux.org>
44817
1e9d84cd 44818 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 44819
8bbfd2f1
JM
448202012-09-11 Joseph Myers <joseph@codesourcery.com>
44821
44822 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44823 (_G_int32_t): Likewise.
44824 (_G_uint16_t): Likewise.
44825 (_G_uint32_t): Likewise.
44826 (_G_HAVE_BOOL): Likewise.
44827 (_G_HAVE_ATEXIT): Likewise.
44828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44829 (_G_HAVE_IO_FILE_OPEN): Likewise.
44830 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44831 (_G_int32_t): Likewise.
44832 (_G_uint16_t): Likewise.
44833 (_G_uint32_t): Likewise.
44834 (_G_HAVE_BOOL): Likewise.
44835 (_G_HAVE_ATEXIT): Likewise.
44836 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44837 (_G_HAVE_IO_FILE_OPEN): Likewise.
44838 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44839 (_G_int32_t): Likewise.
44840 (_G_uint16_t): Likewise.
44841 (_G_uint32_t): Likewise.
44842 (_G_HAVE_BOOL): Likewise.
44843 (_G_HAVE_ATEXIT): Likewise.
44844 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44845 (_G_HAVE_IO_FILE_OPEN): Likewise.
44846
b1dc5912
L
448472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
44848
44849 * csu/libc-tls.c: Update copyright years.
44850
0e886ef9
JM
448512012-09-10 Joseph Myers <joseph@codesourcery.com>
44852
28361c5e
JM
44853 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44854 [!_G_USING_THUNKS]: Remove conditional code.
44855 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44856 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44857
0e886ef9
JM
44858 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44859 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44860 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44861 (_G_VTABLE_LABEL_PREFIX): Likewise.
44862 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44863 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44865 (_G_VTABLE_LABEL_PREFIX): Likewise.
44866 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44867 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44868 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44869 (_G_VTABLE_LABEL_PREFIX): Likewise.
44870 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44871
bcba7aa2
L
448722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
44873
44874 * libio/Makefile: Include ../Makeconfig before tests.
44875 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44876 only if $(build-shared) is yes.
44877
06585ee8
L
44878 * iconv/gconv_db.c: Update copyright years.
44879
80ccd52c
LD
448802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44881
44882 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44883 unwind info if defined PIC. Fix special cases description.
44884 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44885
44886 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44887 DP_HI_MASK entry.
44888 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44889
691bc9c1
L
448902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
44891
3d9b46b3
L
44892 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44893
de2139a9
L
44894 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44895 is NULL.
44896
5ca78dd0
L
44897 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44898 (LDLIBS-tst-chk4): This.
44899 (LDFLAGS-tst-chk5): Renamed to ...
44900 (LDLIBS-tst-chk5): This.
44901 (LDFLAGS-tst-chk6): Renamed to ...
44902 (LDLIBS-tst-chk6): This.
44903 (LDFLAGS-tst-lfschk4): Renamed to ...
44904 (LDLIBS-tst-lfschk4): This.
44905 (LDFLAGS-tst-lfschk5): Renamed to ...
44906 (LDLIBS-tst-lfschk5): This.
44907 (LDFLAGS-tst-lfschk6): Renamed to ...
44908 (LDLIBS-tst-lfschk6): This.
44909
691bc9c1
L
44910 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44911 on $(common-objpfx)soversions.mk.
44912
65cafb1c
JM
449132012-09-07 Joseph Myers <joseph@codesourcery.com>
44914
44915 [BZ #10014]
44916 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44917 example host name.
44918
c78ab094
SP
449192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44920
44921 * malloc/arena.c (arena_get_retry): New function that gets
44922 another arena for the caller to try its request on.
44923 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44924 current arena cannot fulfill the request.
44925 (__libc_memalign): Likewise.
44926 (__libc_memalign): Likewise.
44927 (__libc_pvalloc): Likewise.
44928 (__libc_calloc): Likewise.
44929
01f49f59
JT
449302012-09-05 John Tobey <john.tobey@gmail.com>
44931
44932 [BZ #13542]
44933 * manual/arith.texi (Operations on Complex): Fix description
44934 of carg branch cut.
44935
4c23fed5
JM
449362012-09-06 Joseph Myers <joseph@codesourcery.com>
44937
1d3c8572
JM
44938 [BZ #10014]
44939 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44940 host name.
44941
4c23fed5
JM
44942 [BZ #10038]
44943 * manual/memory.texi (Memory): Make order of menu items match
44944 order of sections.
44945
04570aaa
L
449462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44947
44948 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44949 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
44950 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44951
b80af2f4
L
449522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44953
44954 * csu/libc-tls.c (static_dtv): Renamed to ...
44955 (_dl_static_dtv): This. Make it global.
44956 (_dl_initial_dtv): Removed.
44957 (__libc_setup_tls): Updated.
44958 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44959 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44960 DL_INITIAL_DTV.
44961
2abe9f15
PM
449622012-09-06 Petr Machata <pmachata@redhat.com>
44963
44964 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44965 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44966 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44967 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44968
0948c3af
L
449692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44970
44971 [BZ #14545]
44972 * csu/libc-tls.c (_dl_initial_dtv): New variable.
44973 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44974 freeing dtv[-1].
44975
a5055ad1
L
449762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44977
44978 [BZ #14544]
44979 * Makeconfig (link-static-before-libc): Replace $(+prector)
44980 with $(+prectorT).
44981 (link-static-after-libc): Replace $(+postctor) with
44982 $(+postctorT).
44983 (link-bounded): Replace $(+prector)/$(+postctor) with
44984 $(+prectorT)/$(+postctorT).
44985 (+prectorT): New macro.
44986 (+postctorT): Likewise.
44987
ed8c2ecd
JM
449882012-09-06 Joseph Myers <joseph@codesourcery.com>
44989
44990 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44991 (round_str): Handle values above the maximum for IBM long double
44992 as inexact.
44993 * stdlib/tst-strtod-round.c (tests): Regenerated.
44994
14c996c8
AK
449952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44996
44997 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44998 assembler flag.
44999 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45000 zarch_nohighgprs around the zarch optimized routines.
45001 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45002 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45004 for zarch.
45005
430d6ce6
DM
450062012-09-05 David S. Miller <davem@davemloft.net>
45007
45008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45009
57f41c40
AS
45010 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45011 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
45012 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45013 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45014 entries.
45015
24d4e01b
AO
450162012-09-05 Alexandre Oliva <aoliva@redhat.com>
45017
45018 * malloc/arena.c: Fold copyright years.
45019 * malloc/mcheck.c, malloc/memusage.c: Likewise.
45020
61d58174
AO
450212012-09-05 Alexandre Oliva <aoliva@redhat.com>
45022
45023 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45024
20196a5e
AO
450252012-09-05 Alexandre Oliva <aoliva@redhat.com>
45026
45027 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
45028
5c447383
AO
450292012-09-05 Alexandre Oliva <aoliva@redhat.com>
45030
45031 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45032 change internal state upon failure.
45033
fad64255
AO
450342012-09-05 Alexandre Oliva <aoliva@redhat.com>
45035
45036 * malloc/mcheck.c (mcheck_check_all): Fix typo.
45037 * malloc/memusage.c (mmap): Likewise.
45038 (mmap64, mremap): Likewise. Adjust name in comment.
45039
1ffb8c90
SP
450402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45041
45042 * libio/fileops.c: Fix typos in comments.
45043 * libio/oldfileops.c: Likewise.
45044 * libio/wfileops.c: Likewise.
45045
6ef9cc37
SP
450462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45047
45048 [BZ #1349]
45049 * malloc/Makefile (tests): Add tst-malloc-usable test case.
45050 (tst-malloc-usable-ENV): Set environment for test case.
45051 * malloc/hooks.c (malloc_check_get_size): New function to get
45052 requested size.
45053 * malloc/malloc.c (musable): Use malloc_check_get_size.
45054 * malloc/tst-malloc-usable.c: New test case.
45055
4d038ae3
AS
450562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
45057
45058 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45059
c4e85184
AM
450602012-09-05 Allan McRae <allan@archlinux.org>
45061
b9dafc56 45062 [BZ #13966]
c4e85184
AM
45063 * configure.in (CXX_SYSINCLUDES): Use compiler output to
45064 determine header location.
45065 * configure: Regenerated.
45066
e1343020
AS
450672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
45068
45069 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45070 float format.
45071 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
45072 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45073 format.
e1343020
AS
45074 (test): Regenerate.
45075
0a9f1987
DM
450762012-09-04 David S. Miller <davem@davemloft.net>
45077
45078 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45079 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45081
29237804
FW
450822012-09-04 Florian Weimer <fweimer@redhat.com>
45083
45084 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45085 failures.
45086
edb3cb88
FW
45087 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45088
60160d83
JM
450892012-09-04 Joseph Myers <joseph@codesourcery.com>
45090
45091 [BZ #9914]
45092 * libio/iogetdelim.c: Include <limits.h>.
45093 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45094 + len + 1 would overflow.
45095
bcd6c8dc
AJ
450962012-09-03 Andreas Jaeger <aj@suse.de>
45097
45098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45099 * sysdeps/i386/fpu/libm-test-ulps: Update.
45100
4ffffbd2
LD
451012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45102
45103 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45104 Add s_sinf-sse2, s_conf-sse2.
45105
45106 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45107 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45108 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45109 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45110
45111 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45112 for using routine as __sinf_ia32.
45113 Use macro for function declaration and weak_alias.
45114 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45115 for using routine as __cosf_ia32.
45116 Use macro for function declaration and weak_alias.
45117
45118 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45119 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45120
45121 * sysdeps/x86_64/fpu/s_sinf.S: New file.
45122 * sysdeps/x86_64/fpu/s_cosf.S: New file.
45123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45124
45125 * math/libm-test.inc (cos_test): Add more test cases.
45126 (sin_test): Likewise.
45127 (sincos_test): Likewise.
45128
511fa286
AK
451292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45130
45131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45132 (IFUNC_RESOLVE): Make pointers to the specialized implementations
45133 hidden.
45134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45135
5f30cfec
L
451362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
45137
45138 [BZ #14538]
45139 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45140 first element of the GOT.
45141 (elf_machine_load_address): Return the difference between
45142 the runtime address of _DYNAMIC and elf_machine_dynamic ().
45143
0786794f
AM
451442012-09-01 Allan McRae <allan@archlinux.org>
45145
5f30cfec
L
45146 [BZ #13412]
45147 * configure.in (AWK): Require gawk version 3.0 or later.
45148 * configure: Regenerated.
0786794f 45149
26889eac
JM
451502012-09-01 Joseph Myers <joseph@codesourcery.com>
45151
45152 * sysdeps/unix/sysv/linux/kernel-features.h
45153 (__ASSUME_POSIX_CPU_TIMERS): Remove.
45154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45155 [__NR_clock_getres]: Make code unconditional.
45156 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45157 (clock_getcpuclockid): Remove code left unreachable by removal of
45158 conditionals.
45159 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45160 code unconditional.
45161 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45162 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45163 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45164 Make code unconditional.
45165 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45166 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45167 * sysdeps/unix/sysv/linux/clock_settime.c
45168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45169 conditional code.
45170 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45172
d22e28b0
L
451732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
45174
45175 [BZ #14476]
45176 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45177 scripts/test-installation.pl.
45178
45179 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45180 and $ld_so_version if it is set.
45181
050af9c4
SP
451822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45183
45184 [BZ #14516]
45185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45186 failure if reading from procfs failed.
45187 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45188
ad845c0b
JM
451892012-08-27 Joseph Myers <joseph@codesourcery.com>
45190
45191 * sysdeps/unix/sysv/linux/kernel-features.h
45192 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45193 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45194 Remove conditional code.
45195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45196 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45197 Remove conditional code.
45198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45199 * sysdeps/unix/sysv/linux/i386/fxstat.c
45200 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45202 * sysdeps/unix/sysv/linux/i386/fxstatat.c
45203 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45205 * sysdeps/unix/sysv/linux/i386/lxstat.c
45206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45208 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45209 Remove conditional code.
45210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45211 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45212 Remove conditional code.
45213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45214 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45215 <kernel-features.h>.
45216 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45217 Remove.
45218 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45219 Remove conditional code.
45220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45221 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45222 Remove conditional.
45223
5dbf56af
MF
452242012-08-27 Mike Frysinger <vapier@gentoo.org>
45225
45226 [BZ #5400]
45227 * NEWS: Add fixed bug number.
45228
d6e70f43
JM
452292012-08-27 Joseph Myers <joseph@codesourcery.com>
45230
7efb4737
JM
45231 [BZ #14519]
45232 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45233 underflowing exponent in case of negative sign.
45234 * stdlib/tst-strtod-round-data: Add more tests.
45235 * stdlib/tst-strtod-round.c (tests): Regenerated.
45236
af92131a
JM
45237 [BZ #3479]
45238 * stdlib/strtod_l.c (NDIG): Remove.
45239 (HEXNDIG): Likewise.
45240 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45241 smallest representable value.
45242 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45243 lie within an exact representation of 1/2 ulp of the result.
45244 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45245 unconditionally.
45246 (TENS_P9_IDX): Define unconditionally.
45247 (TENS_P9_SIZE): Likewise.
45248 (TENS_P10_IDX): Likewise.
45249 (TENS_P10_SIZE): Likewise.
45250 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45251 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45252 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45253 entries for 10^2^13 and 10^2^14.
45254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45255 (TENS_P13_IDX): Define.
45256 (TENS_P13_SIZE): Likewise.
45257 (TENS_P14_IDX): Likewise.
45258 (TENS_P14_SIZE): Likewise.
45259 (_fpioconst_pow10): Change array size to
45260 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
45261 unconditional.
45262 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45263 1024]: Add entries for 10^2^13 and 10^2^14.
45264 [LAST_POW10 > _LAST_POW10]: Remove #error.
45265 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45266 (_fpioconst_pow10): Change array size to
45267 FPIOCONST_POW10_ARRAY_SIZE.
45268 * stdlib/gen-fpioconst.c: New file.
45269 * stdlib/gen-tst-strtod-round.c: Likewise.
45270 * stdlib/tst-strtod-round-data: Likewise.
45271 * stdlib/tst-strtod-round.c: Likewise.
45272 * stdlib/Makefile (tests): Add tst-strtod-round.
45273
d6e70f43
JM
45274 [BZ #14459]
45275 * stdlib/strtod_l.c: Include <stdint.h>.
45276 (NDEBUG): Do not define.
45277 (round_and_return): Change EXPONENT parameter to type intmax_t.
45278 Rearrange calculations to avoid internal overflow possibilities.
45279 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45280 Rearrange calculations to avoid internal overflow possibilities.
45281 Assert that number fits inside MPNSIZE limbs.
45282 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45283 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
45284 calculations and add assertions to avoid internal overflow
45285 possibilities. Add casts to avoid signed/unsigned operations.
45286 * stdlib/tst-strtod-overflow.c: New file.
45287 * stdlib/Makefile (tests): Add tst-strtod-overflow.
45288
1f529f7d
MP
452892012-08-25 Marek Polacek <polacek@redhat.com>
45290
45291 * time/time.h: Fix some typos in comments.
45292
59a629f1
RM
452932012-08-23 Roland McGrath <roland@hack.frob.com>
45294
45295 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45296 * posix/tst-rfc3484-2.c: Likewise.
45297 * posix/tst-rfc3484-3.c: Likewise.
45298
d3bafbc9
SM
452992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
45300
45301 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45302 (EF_ARM_ABI_FLOAT_HARD): Likewise.
45303
4efcc022
JM
453042012-08-23 Joseph Myers <joseph@codesourcery.com>
45305
45306 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45307 #include of fxstatat64.c.
45308
3cc3ef96
RM
453092012-08-22 Roland McGrath <roland@hack.frob.com>
45310
f04e2132
RM
45311 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45312 * shadow/getspent_r.c: Likewise.
45313 * shadow/getspnam.c: Likewise.
45314 * shadow/getspnam_r.c: Likewise.
45315 * gshadow/getsgent.c: Likewise.
45316 * gshadow/getsgent_r.c: Likewise.
45317 * gshadow/getsgnam.c: Likewise.
45318 * gshadow/getsgnam_r.c: Likewise.
45319 * inet/getnetbyad.c: Likewise.
45320 * inet/getnetbyad_r.c: Likewise.
45321 * inet/getnetbynm.c: Likewise.
45322 * inet/getnetbynm_r.c: Likewise.
45323 * inet/getnetent.c: Likewise.
45324 * inet/getnetent_r.c: Likewise.
45325 * inet/getproto.c: Likewise.
45326 * inet/getproto_r.c: Likewise.
45327 * inet/getprtent.c: Likewise.
45328 * inet/getprtent_r.c: Likewise.
45329 * inet/getprtname.c: Likewise.
45330 * inet/getprtname_r.c: Likewise.
45331 * inet/getrpcbyname.c: Likewise.
45332 * inet/getrpcbyname_r.c: Likewise.
45333 * inet/getrpcbynumber.c: Likewise.
45334 * inet/getrpcbynumber_r.c: Likewise.
45335 * inet/getrpcent.c: Likewise.
45336 * inet/getrpcent_r.c: Likewise.
45337 * inet/getaliasent.c: Likewise.
45338 * inet/getaliasent_r.c: Likewise.
45339 * inet/getaliasname.c: Likewise.
45340 * inet/getaliasname_r.c: Likewise.
45341 * nscd/getgrgid_r.c: Likewise.
45342 * nscd/getgrnam_r.c: Likewise.
45343 * nscd/gethstbyad_r.c: Likewise.
45344 * nscd/gethstbynm3_r.c: Likewise.
45345 * nscd/getpwnam_r.c: Likewise.
45346 * nscd/getpwuid_r.c: Likewise.
45347 * nscd/getsrvbynm_r.c: Likewise.
45348 * nscd/getsrvbypt_r.c: Likewise.
45349 * nscd/gai.c: Likewise.
45350
c53d909c
RM
45351 * configure.in (build_nscd): New substituted variable, set
45352 by --disable-build-nscd and defaults to $use_nscd.
45353 * configure: Regenerated.
45354 * config.make.in (build-nscd): New substituted variable.
45355 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45356 Change conditional to require [$(build-nscd) = yes] as well.
45357 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45358
3cc3ef96
RM
45359 [BZ# 13696]
45360 * configure.in (use_nscd): New substituted variable, set by
45361 --disable-nscd. If enabled, define USE_NSCD.
45362 * configure: Regenerated.
45363 * config.h.in: Add USE_NSCD.
45364 * config.make.in (use-nscd): New substituted variable.
45365 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45366 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45367 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45368 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45369 (CFLAGS-getgrnam_r.c): Likewise.
45370 (CFLAGS-initgroups.c): Likewise.
45371 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45372 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45373 Variables removed.
45374 * inet/getnetgrent_r.c
45375 (nscd_setnetgrent): New function, broken out of ...
45376 (setnetgrent): ... here. Call it.
45377 (innetgr): Conditionalize nscd bits on [USE_NSCD].
45378 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45379 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45380 * nscd/Makefile (routines, aux): Move definitions after include of
45381 Makeconfig. Conditionalize on [$(use-nscd) != no].
45382 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45383 Conditionalize on [USE_NSCD].
45384 (is_nscd, nscd_init_cb): Likewise.
45385 (nss_load_library): Conditionalize init callback on [USE_NSCD].
45386 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45387 * nss/nss_db/db-init.c: Likewise.
45388 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45389 [USE_NSCD].
45390 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45391 (make_request): Use it.
45392 (cache_valid_p): New function.
45393 (__check_pf): Use it.
45394 * NEWS: Add item for --disable-nscd.
45395
07e51550
DL
453962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
45397
45398 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45399 to support sed >= 4.2.1-20-ga9bf076.
45400 * configure: Regenerated.
45401
35a5b08b
RM
454022012-08-22 Roland McGrath <roland@hack.frob.com>
45403
45404 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45405 Conditionalize whole body on [IREL].
45406
8479f23a
JL
454072012-08-22 Jeff Law <law@redhat.com>
45408
45409 [BZ #14505]
45410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45411 if the family is PF_UNSPEC.
45412
48da0b21
MF
454132012-08-22 Mike Frysinger <vapier@gentoo.org>
45414
45415 * Makerules (lib-version): Rename from V.
45416 (install-lib-nosubdir): Change V to lib-version.
45417
15d0da8c
WS
454182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
45419
45420 [BZ #14252]
45421 * powerpc32/power6/wcschr.c: New file.
45422 * powerpc32/power6/wcscpy.c: New file.
45423 * powerpc32/power6/wcsrchr.c: New file.
45424 * powerpc64/power6/wcschr.c: New file.
45425 * powerpc64/power6/wcscpy.c: New file.
45426 * powerpc64/power6/wcsrchr.c: New file.
45427
bcca0895
MK
454282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
45429
45430 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45431 (two_way_short_needle): Use it.
5a4aaa33
RM
45432 * string/strstr.c (AVAILABLE1_USES_J): Define.
45433 * string/strcasestr.c: Likewise.
99677e57
MK
45434
45435 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45436 array references.
45437 * string/strcasestr.c (TOLOWER): Make side-effect safe.
45438
400726de
MK
45439 [BZ #11607]
45440 * NEWS: Add an entry.
45441 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45442 define their defaults.
45443 (two_way_short_needle): Detect end-of-string on-the-fly.
45444 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45445 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45446 * string/bug-strcasestr1.c: New test.
45447 * string/Makefile: Run it.
45448
20a71f2c
MK
454492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
45450
45451 [BZ #11607]
45452 * string/str-two-way.h (two_way_short_needle): Optimize matching of
45453 the first character.
45454
21ad0558
RM
454552012-08-21 Roland McGrath <roland@hack.frob.com>
45456
45457 * csu/elf-init.c (__libc_csu_irel): Function removed.
45458 * csu/libc-start.c (apply_irel): New function.
45459 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45460
0e1d9911
JM
454612012-08-21 Joseph Myers <joseph@codesourcery.com>
45462
45463 * sysdeps/unix/sysv/linux/kernel-features.h
45464 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45465 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45466 <kernel-features.h>.
45467 [__NR_fadvise64_64]: Make code unconditional.
45468 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45469 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45470 !__NR_fadvise64_64)]: Likewise.
45471 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45472 !__NR_fadvise64_64))]: Likewise.
45473 [__NR_fadvise64]: Make code unconditional.
45474 [!__NR_fadvise64]: Remove conditional code.
45475 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45476 <kernel-features.h>.
45477 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45478 unconditional.
45479 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45480 conditional code.
45481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45482 not include <kernel-features.h>.
45483 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45484 unconditional.
45485 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45486 conditional code.
45487 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45488 include <kernel-features.h>.
45489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45490 unconditional.
45491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45492 conditional code.
45493
14a50c9d
WS
454942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45495
45496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45497 slight instruction rearrangements per scrollpipe analysis.
45498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45499
c0f4faf0
RM
455002012-08-20 Roland McGrath <roland@hack.frob.com>
45501
696da859
RM
45502 * manual/syslog.texi (syslog; vsyslog, closelog):
45503 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45504 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45505
c0f4faf0
RM
45506 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45507 DSOCAPS to match condition on defining it.
45508
348363b2
JM
455092012-08-20 Joseph Myers <joseph@codesourcery.com>
45510
a35cbf28
JM
45511 * sysdeps/unix/sysv/linux/kernel-features.h
45512 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45514 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45515 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45517 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45518 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45522
445f7ecd
JM
45523 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45524 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45525
348363b2
JM
45526 * sysdeps/unix/sysv/linux/kernel-features.h
45527 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45528 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45529 unconditional.
45530 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45531 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45532 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45533 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45534 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45535 Make code unconditional.
45536 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45537 (__mmap64) [!__NR_mmap2]: Likewise.
45538 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45539 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45540 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45541 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45542 [__NR_mmap2]: Make code unconditional.
45543 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45544 (__mmap64) [!__NR_mmap2]: Likewise.
45545
bc5bc0e5
AK
455462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45547
45548 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45549
88d506de
AJ
455502012-08-18 Andreas Jaeger <aj@suse.de>
45551
45552 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45553
493387d2
MF
455542012-08-18 Mike Frysinger <vapier@gentoo.org>
45555
45556 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45557 * include/unistd.h (__have_sock_cloexec): Likewise.
45558 (__have_pipe2): Likewise.
45559 (__have_dup3): Likewise.
45560
a277af22
MF
455612012-08-18 Mike Frysinger <vapier@gentoo.org>
45562
45563 [BZ #9685]
45564 * include/unistd.h (__have_pipe2): Change define into an extern int.
45565 (__have_dup3): Likewise.
45566 * socket/have_sock_cloexec.c: Include fcntl.h.
45567 (__have_pipe2): New variable.
45568 (__have_dup3): Likewise.
45569
fdab8fd3
MF
455702012-08-17 Mike Frysinger <vapier@gentoo.org>
45571
45572 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45573
31035e80
MP
455742012-08-17 Marek Polacek <polacek@redhat.com>
45575
45576 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45577 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45578
3bd9e993
RM
455792012-08-17 Roland McGrath <roland@hack.frob.com>
45580
c91c505f
RM
45581 * configure.in: Add AC_SUBST for sysheaders.
45582 * configure: Regenerated.
45583 * config.make.in (sysheaders): New substituted variable.
45584
7c6f9d53
RM
45585 * sysdeps/unix/mkfifo.c: Moved ...
45586 * sysdeps/posix/mkfifo.c: ... here.
45587 * sysdeps/unix/mkfifoat.c: Moved ...
45588 * sysdeps/posix/mkfifoat.c: ... here.
45589
45590 * sysdeps/unix/utime.c: Moved ...
45591 * sysdeps/posix/utime.c: ... here.
45592
45593 * sysdeps/unix/time.c: Moved ...
45594 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
45595 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45596 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
45597
45598 * sysdeps/unix/nice.c: Moved ...
45599 * sysdeps/posix/nice.c: ... here.
45600
45601 * sysdeps/unix/alarm.c: Moved ...
45602 * sysdeps/posix/alarm.c: ... here.
45603
3bd9e993
RM
45604 * intl/Makefile ($(codeset_mo)): Depend on the input file.
45605
d1f09384
JL
456062012-08-17 Jeff Law <law@redhat.com>
45607
45608 * intl/Makefile (codeset_mo): New variable.
45609 ($(codeset_mo)): New target.
45610 (tst-codeset.out): Depend on that. Remove explicit rule.
45611 (tst-gettext3.out, tst-gettext5.out): Likewise.
45612 (LOCPATH-ENV, tst-codeset-ENV): New variables.
45613 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45614 * intl/tst-codeset.sh: Remove.
45615 * intl/tst-gettext3.sh: Likewise.
45616 * intl/tst-gettext5.sh: Likewise.
45617
2ae1ae5c
RM
456182012-08-17 Roland McGrath <roland@hack.frob.com>
45619
c31fdb83
RM
45620 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
45621 * sysdeps/unix/syscalls.list: ... here.
45622
a0844057
RM
45623 * sysdeps/posix/getaddrinfo.c
45624 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45625 (gaiconf_init, gaiconf_reload): Use them.
45626 [!_STATBUF_ST_NSEC]
45627 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45628 Define using time_t rather than struct timespec.
45629
750c1f2a
RM
45630 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45631 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45632 Macros removed.
45633 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45634 [!NO_THREADS].
45635 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45636 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45637 Likewise.
45638
2ae1ae5c
RM
45639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45640 __libc_cleanup_push argument.
45641
e66a42f5
RM
45642 * bits/param.h: New file.
45643 * misc/sys/param.h: New file.
45644 * include/sys/param.h: New file.
45645 * misc/Makefile (headers): Add bits/param.h.
45646 * sysdeps/generic/sys/param.h: File removed.
45647 * sysdeps/unix/sysv/linux/bits/param.h: New file.
45648 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45649 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 45650 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 45651
b7c08a66
RM
45652 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45653 last change.
45654
b2e1c562
RM
45655 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45656 [_IO_MTSAFE_IO].
45657 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45658 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45659 New macros.
45660
c75ccd4c
RM
45661 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45662 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45663 rather than -D_IO_MTSAFE_IO conditionally.
45664 * stdio-common/Makefile (CPPFLAGS): Likewise.
45665 * wcsmbs/Makefile (CPPFLAGS): Likewise.
45666 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45667 Use $(libio-mtsafe).
45668 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45669 of -D_IO_MTSAFE_IO.
45670 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45671 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45672 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45673 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45674 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45675 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45676 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45677 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45678 (CFLAGS-fread_u_chk.c): Likewise.
45679 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45680 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45681 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45682 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45683 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45684 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45685 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45686 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45687 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45688
45689 * libio/Makefile: Test [$(libc-reentrant) = yes]
45690 instead of [$(filter %REENTRANT, $(defines)) nonempty].
45691
45692 * Makeconfig
45693 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45694 * sysdeps/pthread/configure: File removed.
45695 * sysdeps/pthread/Makeconfig: New file.
45696 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45697 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45698
d9195db8
GB
456992012-08-16 Gary Benson <gbenson@redhat.com>
45700
45701 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45702 unmapping the first object in a namespace.
45703
86466cd9
RM
457042012-08-16 Roland McGrath <roland@hack.frob.com>
45705
45706 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45707 (__internal_setnetgrent): ... this. Add internal_function to
45708 definition. Add libc_hidden_def.
45709 (setnetgrent): Update caller.
45710 (internal_endnetgrent): Renamed to ...
45711 (__internal_endnetgrent): ... this. Add internal_function to
45712 definition. Add libc_hidden_def.
45713 (endnetgrent): Update caller.
45714 (internal_getnetgrent_r): Renamed to ...
45715 (__internal_getnetgrent_r): ... this. Add internal_function to
45716 definition. Add libc_hidden_def.
45717 (__getnetgrent_r): Update caller.
45718 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
45719
c3c8283c
JM
457202012-08-16 Joseph Myers <joseph@codesourcery.com>
45721
45722 * stdlib/longlong.h: Update from GCC.
45723
db1ee0a8
RM
457242012-08-16 Roland McGrath <roland@hack.frob.com>
45725
45726 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45727 on _QL, which is set by umul_ppmm but never used.
45728 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45729 variables, which are set by GMP macros but never used.
45730 * stdio-common/_itowa.c (_itowa): Likewise.
45731 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45732 * stdlib/mod_1.c (mpn_mod_1): Likewise.
45733
30f69637
CD
457342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
45735
45736 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45737 struct La_sh_regs is not constant.
45738 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45739 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45740 and struct La_sparc64_regs are not constant.
45741
93a78ac4
JM
457422012-08-16 Joseph Myers <joseph@codesourcery.com>
45743
45744 * sysdeps/unix/sysv/linux/kernel-features.h
45745 (__ASSUME_POSIX_TIMERS): Remove.
45746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45747 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45748 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45749 Make code unconditional.
45750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45751 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45752 Make code unconditional.
45753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45754 * sysdeps/unix/sysv/linux/clock_nanosleep.c
45755 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45757 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45758 Make code unconditional.
45759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45761 (__libc_missing_posix_timers): Remove.
45762
dd924cd7
RM
457632012-08-15 Roland McGrath <roland@hack.frob.com>
45764
4b4f2771
RM
45765 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45766 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45767
601c888b
RM
45768 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45769
176790a7
RM
45770 * elf/dl-sym.c: Include <stdlib.h>.
45771
329bc018
RM
45772 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45773 constants, which avoids warnings in 32-bit builds.
45774
e04e272d
RM
45775 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45776 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45777
952bf94a
RM
45778 * misc/lseek.c: File moved to ...
45779 * io/lseek.c: ... here.
45780
7c99b50a
RM
45781 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45782
dd924cd7
RM
45783 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45784 shifting LEN more than 31 bits at once.
45785
b3f479a8
LD
457862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45787
45788 [BZ #14195]
8c4ae0d4
RM
45789 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45790 segmentation fault for a case of two empty input strings.
b3f479a8
LD
45791 * string/test-strncasecmp.c (check1): Renamed to...
45792 (bz12205): ...this.
45793 (bz14195): Add new testcase for two empty input strings and N > 0.
45794 (test_main): Call new testcase, adapt for renamed function.
45795
9c55864e
AJ
457962012-08-15 Andreas Jaeger <aj@suse.de>
45797
45798 [BZ #14090]
45799 * crypt/md5test2.c: New test, based on test supplied by Serge
45800 Belyshev <belyshev@depni.sinp.msu.ru>.
45801 * crypt/Makefile (xtests): Add md5test-giant..
45802 * crypt/Makefile ($(objpfx)md5test-giant): Add.
45803
02dcb6c5
PE
458042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
45805
45806 [BZ #14090]
45807 * crypt/md5.c (md5_process_block): Don't assume the buffer
45808 length is less than 2**32.
45809 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45810 length is less than 2**64.
45811
a3f95dcc
RM
458122012-08-15 Roland McGrath <roland@hack.frob.com>
45813
be75d758
RM
45814 * string/str-two-way.h: Include <sys/param.h>.
45815 (MAX): Macro removed.
45816
7312ca90
RM
45817 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45818 Move #define and #undef of memmove to just before and after
45819 including <string.h>.
45820
9a0a5486
RM
45821 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45822 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45823 and after including <string.h>. Move declarations of
45824 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45825 to before #include "string/memmove.c".
45826
67cc348d
RM
45827 * include/dirent.h: Declare __getdirentries.
45828
a3f95dcc
RM
45829 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45830 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45831
ca98e171
MF
458322012-08-14 Mike Frysinger <vapier@gentoo.org>
45833
45834 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45835 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45836 * sysdeps/i386/configure: Regenerated.
45837 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45838 STABS_CURRENT_FILE, and STABS_FUN.
45839 (END): Remove call to STABS_FUN_END.
45840 (STABS_CURRENT_FILE1): Delete.
45841 (STABS_CURRENT_FILE): Likewise.
45842 (STABS_FUN): Likewise.
45843 (STABS_FUN_END): Likewise.
45844 (STABS_FUN2): Likewise.
45845 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45846 * sysdeps/x86_64/configure: Regenerated.
45847
5908bf46
RM
458482012-08-14 Roland McGrath <roland@hack.frob.com>
45849
45850 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 45851 * elf/dl-lookup.c: Likewise.
5908bf46 45852
f2c05b9e
JM
458532012-08-14 Joseph Myers <joseph@codesourcery.com>
45854
45855 * sysdeps/unix/sysv/linux/kernel-features.h
45856 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45857 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45858 unconditionally.
45859 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45860 unconditionally.
45861 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45862 condition on __ASSUME_CLONE_THREAD_FLAGS.
45863
e11f5155
AJ
458642012-08-14 Andreas Jaeger <aj@suse.de>
45865
45866 * sysdeps/i386/fpu/libm-test-ulps: Update.
45867
51a9ba86
MK
458682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
45869
2fdd4f78
AJ
45870 * include/atomic.h (atomic_exchange_and_add): Split into ...
45871 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45872 New atomic macros.
51a9ba86 45873
ba6cba9e
MT
458742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
45875
45876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45877
42443a47
JL
458782012-08-13 Jeff Law <law@redhat.com>
45879
45880 * manual/stdio.texi (snprintf): Clarify handling of the trailing
45881 null byte in the output string.
45882
121dce05
JM
458832012-08-10 Joseph Myers <joseph@codesourcery.com>
45884
45885 * sysdeps/unix/sysv/linux/kernel-features.h
45886 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45887 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45888 (__ASSUME_ARG_MAX_STACK_BASED): Define.
45889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45890 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45891 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
45892 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45893
bf51f568
JL
458942012-08-09 Jeff Law <law@redhat.com>
45895
45896 [BZ #13939]
45897 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45898 When avoid_arena is set, don't retry in the that arena. Pick the
45899 next one, whatever it might be.
45900 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45901 (arena_lock): Pass in new parameter to arena_get2.
45902 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45903 arena_get2.
45904 (__libc_malloc): Unify retrying after main arena failure with
45905 __libc_memalign version.
45906 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45907
f85fa270
L
459082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
45909
45910 [BZ #14166]
45911 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45912 to __redirect_strstr.
45913 (__strstr_sse42): Use typeof __redirect_strstr.
45914 (__strstr_ia32): Likewise.
45915 (__libc_strstr): New prototype.
45916 (strstr): Renamed to ...
45917 (__libc_strstr): This.
45918 (strstr): New strong alias of __libc_strstr.
45919 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45920 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45921 __redirect_time.
45922 Include <time.h>.
45923 (__libc_time): New prototype.
45924 (time_ifunc): Replace time with __libc_time.
45925 (time): New strong alias and hidden definition of __libc_time.
45926 (__GI_time): Remove strong alias.
45927 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45928 Include <stddef.h>.
45929 (memmove): Redefined to __redirect_memmove.
45930 (__memmove_sse2): Use typeof __redirect_memmove.
45931 (__memmove_ssse3): Likewise.
45932 (__memmove_ssse3_back): Likewise.
45933 (__libc_memmove): New prototype.
45934 (memmove): Renamed to ...
45935 (__libc_memmove): This.
45936 (memmove): New strong alias of __libc_memmove.
45937
33b4a91e
MS
459382012-08-08 Mark Salter <msalter@redhat.com>
45939
45940 * elf/elf.h
45941 (R_MN10300_TLS_GD): Define.
45942 (R_MN10300_TLS_LD): Likewise.
45943 (R_MN10300_TLS_LDO): Likewise.
45944 (R_MN10300_TLS_GOTIE): Likewise.
45945 (R_MN10300_TLS_IE): Likewise.
45946 (R_MN10300_TLS_LE): Likewise.
45947 (R_MN10300_TLS_DTPMOD): Likewise.
45948 (R_MN10300_TLS_DTPOFF): Likewise.
45949 (R_MN10300_TLS_TPOFF): Likewise.
45950 (R_MN10300_SYM_DIFF): Likewise.
45951 (R_MN10300_ALIGN): Likewise.
45952 (R_MN10300_NUM): Update.
45953
b36137f1
JM
459542012-08-08 Joseph Myers <joseph@codesourcery.com>
45955
45956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45957 Remove.
45958
cdd915fd
RM
459592012-08-08 Roland McGrath <roland@hack.frob.com>
45960
a2433aac
RM
45961 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45962
cdd915fd
RM
45963 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45964 sysdeps/unix -> sysdeps/posix move.
45965 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45966
bf9b740a
AM
459672012-08-07 Allan McRae <allan@archlinux.org>
45968
45969 [BZ #14303]
45970 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45971 (SUNOS_CPP): Likewise.
45972 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45973 not found.
45974 (open_input): Call CPP using execvp.
45975
93df14ee
JM
459762012-08-07 Joseph Myers <joseph@codesourcery.com>
45977
45978 * sysdeps/unix/sysv/linux/kernel-features.h
45979 (__ASSUME_PROT_GROWSUPDOWN): Remove.
45980 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45981 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45982 (__ASSUME_WAITID_SYSCALL): Likewise.
45983 * sysdeps/unix/sysv/linux/dl-execstack.c
45984 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45985 code unconditional.
45986 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45987 conditional code.
45988 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45989 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45990 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45991 code.
45992 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45993 unconditional.
45994 [__ASSUME_WAITID_SYSCALL]: Likewise.
45995 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45996
d34689de
RM
459972012-08-07 Roland McGrath <roland@hack.frob.com>
45998
a281decc
RM
45999 * sysdeps/unix/closedir.c: Renamed to ...
46000 * sysdeps/posix/closedir.c: ... here.
46001 * sysdeps/unix/dirfd.c: Renamed to ...
46002 * sysdeps/posix/dirfd.c: ... here.
46003 * sysdeps/unix/dirstream.h: Renamed to ...
46004 * sysdeps/posix/dirstream.h: ... here.
46005 * sysdeps/unix/fdopendir.c: Renamed to ...
46006 * sysdeps/posix/fdopendir.c: ... here.
46007 * sysdeps/unix/opendir.c: Renamed to ...
46008 * sysdeps/posix/opendir.c: ... here.
46009 * sysdeps/unix/readdir.c: Renamed to ...
46010 * sysdeps/posix/readdir.c: ... here.
46011 * sysdeps/unix/readdir_r.c: Renamed to ...
46012 * sysdeps/posix/readdir_r.c: ... here.
46013 * sysdeps/unix/rewinddir.c: Renamed to ...
46014 * sysdeps/posix/rewinddir.c: ... here.
46015 * sysdeps/unix/seekdir.c: Renamed to ...
46016 * sysdeps/posix/seekdir.c: ... here.
46017 * sysdeps/unix/telldir.c: Renamed to ...
46018 * sysdeps/posix/telldir.c: ... here.
46019 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46020 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46021 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46022 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46023
22895b47
RM
46024 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46025 * bits/fcntl.h: ... here.
46026
707a53b6
RM
46027 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46028 not 0.
46029 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46030 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46031 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46032 (struct flock): Move l_start, l_len to the beginning.
46033 Use __pid_t for l_pid.
46034 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46035 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46036 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46037 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46038 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46039 [__USE_LARGEFILE64] (struct flock64): New type.
46040 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46041
f0bd3e25
RM
46042 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46043 * bits/dirent.h: ... here.
46044
d34689de
RM
46045 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46046 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46047
6dad2c06
JM
460482012-08-07 Joseph Myers <joseph@codesourcery.com>
46049
46050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46051 Change from 2.6.0 to 2.6.16.
46052 * sysdeps/unix/sysv/linux/configure: Regenerated.
46053 * sysdeps/unix/sysv/linux/kernel-features.h
46054 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46055 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46056 version.
46057 (__ASSUME_UTIMES): Likewise.
46058 (__ASSUME_CLONE_STOPPED): Remove.
46059 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46060 architectures, not kernel version.
46061 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46062 (__ASSUME_NO_CLONE_DETACHED): Likewise.
46063 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46064 (__ASSUME_WAITID_SYSCALL): Likewise.
46065 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46066 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46067 * README: State 2.6.16 as minimum Linux kernel version. Do not
46068 refer to older versions.
46069
03af9520
RM
460702012-08-06 Roland McGrath <roland@hack.frob.com>
46071
8e49df1d
RM
46072 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46073 Define alphasort64 as an alias.
46074 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46075 Define versionsort64 as an alias.
46076 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46077 Define scandir64 as an alias.
46078 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46079 Define scandirat64 as an alias.
46080 * dirent/alphasort64.c (alphasort64):
46081 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46082 * dirent/versionsort64.c: Likewise.
46083 * dirent/scandir64.c: Likewise.
46084 * dirent/scandirat64.c: Likewise.
46085 * sysdeps/wordsize-64/alphasort.c: File removed.
46086 * sysdeps/wordsize-64/alphasort64.c: File removed.
46087 * sysdeps/wordsize-64/scandir.c: File removed.
46088 * sysdeps/wordsize-64/scandir64.c: File removed.
46089 * sysdeps/wordsize-64/scandirat.c: File removed.
46090 * sysdeps/wordsize-64/scandirat64.c: File removed.
46091 * sysdeps/wordsize-64/versionsort.c: File removed.
46092 * sysdeps/wordsize-64/versionsort64.c: File removed.
46093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46094 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46095 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46097 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46100 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46101
46102 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46104 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46106 [defined __arch64__ || defined __sparcv9]
46107 (__INO_T_MATCHES_INO64_T): New macro.
46108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46109 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46110 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46111 * sysdeps/unix/sysv/linux/bits/dirent.h
46112 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46113 (_DIRENT_MATCHES_DIRENT64): New macro.
46114
03af9520
RM
46115 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46116 Define lockf64 as an alias.
46117 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46118 Define fseeko64 as an alias.
46119 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46120 Define ftello64 as an alias.
46121 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46122 Define _IO_fgetpos64 and fgetpos64 as aliases.
46123 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46124 Define _IO_fsetpos64 and fsetpos64 as aliases.
46125 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46126 Conditionalize body on this.
46127 * libio/fseeko64.c: Likewise.
46128 * libio/ftello64.c: Likewise.
46129 * libio/iofgetpos64.c: Likewise.
46130 * libio/iofsetpos64.c: Likewise.
46131 * sysdeps/wordsize-64/lockf.c: File removed.
46132 * sysdeps/wordsize-64/lockf64.c: File removed.
46133 * sysdeps/wordsize-64/fseeko.c: File removed.
46134 * sysdeps/wordsize-64/fseeko64.c: File removed.
46135 * sysdeps/wordsize-64/ftello.c: File removed.
46136 * sysdeps/wordsize-64/ftello64.c: File removed.
46137 * sysdeps/wordsize-64/iofgetpos.c: File removed.
46138 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46139 * sysdeps/wordsize-64/iofsetpos.c: File removed.
46140 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46148 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46151
46152 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46154 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46156 [defined __arch64__ || defined __sparcv9]
46157 (__OFF_T_MATCHES_OFF64_T): New macro.
46158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46159 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46161 (__OFF_T_MATCHES_OFF64_T): New macro.
46162
c5757acd
L
461632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
46164
46165 * stdlib/secure-getenv.c (__secure_getenv): Replace
46166 GLIBC_2_16 with GLIBC_2_17.
46167
3a31811e
L
461682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
46169
46170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46172
faa2bccb
DM
461732012-08-03 David S. Miller <davem@davemloft.net>
46174
46175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46176
85fe1997
JM
461772012-08-03 Joseph Myers <joseph@codesourcery.com>
46178
46179 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46180 Remove.
46181 (__ASSUME_CORRECT_SI_PID): Likewise.
46182 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46183 (__ASSUME_TMPFS_NAME): Likewise.
46184 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46185 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46186 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46187 (HAVE_AUX_SECURE): Make definition unconditional.
46188 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46189 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46190
4f75b7a0
RM
461912012-08-03 Roland McGrath <roland@hack.frob.com>
46192
46193 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46194 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46195 * sysdeps/mach/hurd/eloop-threshold.h: New file.
46196 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46197 __eloop_threshold instead of SYMLOOP_MAX.
46198
46199 * sysdeps/generic/eloop-threshold.h: New file.
46200 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46201 of MAXSYMLINKS.
46202 * elf/chroot_canon.c (chroot_canon): Likewise.
46203
7aab07e4
JM
462042012-08-03 Joseph Myers <joseph@codesourcery.com>
46205
46206 [BZ #13717]
46207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46208 Change to 2.6.0 everywhere.
46209 * sysdeps/unix/sysv/linux/configure: Regenerated.
46210 * sysdeps/unix/sysv/linux/kernel-features.h
46211 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46212 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46213 kernel versions.
46214 (__ASSUME_POSIX_TIMERS): Define unconditionally.
46215 (__ASSUME_FUTEX_REQUEUE): Remove.
46216 (__ASSUME_STATFS64): Define unconditionally.
46217 (__ASSUME_AT_SECURE): Likewise.
46218 (__ASSUME_CORRECT_SI_PID): Likewise.
46219 (__ASSUME_TGKILL): Define without depending on kernel version for
46220 i386.
46221 (__ASSUME_UTIMES): Likewise.
46222 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46223 kernel version.
46224 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46225 (__ASSUME_TMPFS_NAME): Likewise.
46226 * README: Update reference to Linux kernel versions.
46227
b67e9372
MP
462282012-08-02 Marek Polacek <polacek@redhat.com>
46229
1f529f7d 46230 [BZ# 14150]
b67e9372
MP
46231 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
46232 libc_cv_asm_type_prefix with %.
46233 * configure: Regenerated.
d2441631
RM
46234 * include/libc-symbols.h: Remove comment about
46235 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
46236 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46237 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46238 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46239 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46240 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46241 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46242 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46243 * elf/tst-unique2mod1.c: Likewise.
46244 * elf/tst-unique1mod2.c: Likewise.
46245 * elf/tst-unique1mod1.c: Likewise.
46246 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46247 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46248 Replace ASM_TYPE_DIRECTIVE with .type.
46249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46250 * sysdeps/i386/sysdep.h: Likewise.
46251 * sysdeps/x86_64/sysdep.h: Likewise.
46252 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
46253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46254 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 46255 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
46256 * sysdeps/powerpc/powerpc32/sysdep.h:
46257 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
46258 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46259 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46260 * sysdeps/i386/fpu/e_powf.S: Likewise.
46261 * sysdeps/i386/fpu/e_expl.S: Likewise.
46262 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46264 * sysdeps/i386/fpu/e_pow.S: Likewise.
46265 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46267 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46268 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46269 * sysdeps/i386/fpu/e_log2.S: Likewise.
46270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46272 * sysdeps/i386/fpu/e_powl.S: Likewise.
46273 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46274 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46275 * sysdeps/i386/fpu/e_logl.S: Likewise.
46276 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46277 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46278 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46281 * sysdeps/i386/fpu/e_log.S: Likewise.
46282 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46283 * sysdeps/i386/fpu/e_logf.S: Likewise.
46284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46285 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46286 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46287 * sysdeps/i386/fpu/e_log10.S: Likewise.
46288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46294 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46295 * sysdeps/i386/i686/strtok.S: Likewise.
46296 * sysdeps/i386/i386-mcount.S: Likewise.
46297 * sysdeps/i386/strtok.S: Likewise.
46298 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46299 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46302 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46304 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46305 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46307 * sysdeps/x86_64/_mcount.S: Likewise.
46308 * sysdeps/x86_64/strtok.S: Likewise.
46309 * sysdeps/sh/_mcount.S: Likewise.
46310
2747bf9a
RM
463112012-08-01 Roland McGrath <roland@hack.frob.com>
46312
46313 * libio/iofopen.c: Include <fcntl.h>.
46314 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46315 (_IO_fopen64, fopen64): Define as aliases.
46316 * libio/iofopen64.c: Include <fcntl.h>.
46317 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46318 Conditionalize body on this.
46319 * sysdeps/wordsize-64/iofopen.c: File removed.
46320 * sysdeps/wordsize-64/iofopen64.c: File removed.
46321
3fb791b8
MP
463222012-08-01 Marek Polacek <polacek@redhat.com>
46323
46324 * libc/Makeconfig: Use elf in place of binfmt-subdir.
46325 Use dlfcn directly instead of a variable.
46326 (binfmt-subdir): Do not define.
46327 (dlfcn): Likewise.
46328
a9f1039f
JM
463292012-08-01 Joseph Myers <joseph@codesourcery.com>
46330
23bddc06
JM
46331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46332 Remove all definitions.
46333 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46334 <kernel-features.h>.
46335 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46336 (miss_F_GETOWN_EX): Remove all definitions.
46337 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46338 macro definition.
46339 [!__ASSUME_FCNTL64]: Remove conditional code.
46340 [__ASSUME_FCNTL64]: Make code unconditional.
46341 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46342 <kernel-features.h>.
46343 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46344 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46345 (lockf64) [__NR_fcntl64]: Make code unconditional.
46346 (lockf64) [__ASSUME_FCNTL64]: Likewise.
46347
a9f1039f
JM
46348 * sysdeps/unix/sysv/linux/kernel-features.h
46349 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46350 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46351 Make code unconditional.
46352 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46353 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46355 [__NR_vfork]: Make code unconditional.
46356 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46357 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46359 [__NR_vfork]: Make code unconditional.
46360 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46361 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46362
09c0ee5f
RM
463632012-08-01 Roland McGrath <roland@hack.frob.com>
46364
48aec5b9
RM
46365 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46366 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46367
cd97c966
RM
46368 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46369 Define mkstemp64 as an alias.
3f55550c
RM
46370 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46371 Define mkstemps64 as an alias.
cd97c966
RM
46372 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46373 Define mkostemp64 as an alias.
b8625cfc
RM
46374 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46375 Define mkostemps64 as an alias.
cd97c966
RM
46376 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46377 Conditionalize body on this.
46378 * misc/mkostemp64.c: Likewise.
b8625cfc 46379 * misc/mkostemps64.c: Likewise.
3f55550c 46380 * misc/mkstemps64.c: Likewise.
cd97c966
RM
46381 * sysdeps/wordsize-64/mkstemp64.c: File removed.
46382 * sysdeps/wordsize-64/mkostemp64.c: File removed.
46383 * sysdeps/wordsize-64/mkostemp.c: File removed.
46384 * sysdeps/wordsize-64/mkstemp.c: File removed.
46385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46389
09c0ee5f
RM
46390 [BZ #14138]
46391 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46392 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46393 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46394 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46395
46396 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46397 compat_symbol macros from <shlib-compat.h> rather than the underlying
46398 default_symbol_version and symbol_version macros, so that DEFAULT
46399 lines in shlib-versions are respected.
46400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46401
7e66ee51
FW
464022012-08-01 Florian Weimer <fweimer@redhat.com>
46403
46404 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46405 Declare with warn_unused_result.
46406 (setgid, setregid, setegid, setresgid): Likewise.
46407 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46408 Likewise.
46409 * WUR-REPORT: Remove set*id functions.
46410
d2a54255
PT
464112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
46412
46413 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46414
7ecdb005
RM
464152012-07-31 Roland McGrath <roland@hack.frob.com>
46416
b4180a5e 46417 [BZ #10191]
789bd351
RM
46418 * include/sys/socket.h (__libc_accept, __libc_accept4):
46419 Add attribute_hidden.
46420 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46421
40ce302d
RM
46422 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46423 use of PTR_MANGLE.
46424 * inet/getnetgrent_r.c (setup): Likewise.
46425
7ecdb005
RM
46426 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46427
e2eabb2c
DM
464282012-07-31 David S. Miller <davem@davemloft.net>
46429
46430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46431
d0419dbf
JM
464322012-07-31 Joseph Myers <joseph@codesourcery.com>
46433
46434 [BZ #13629]
46435 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46436 value between 1.0 and 2.0 and smaller part has absolute value less
46437 than 1.0.
46438 * math/s_clog10.c (__clog10): Likewise.
46439 * math/s_clog10f.c (__clog10f): Likewise.
46440 * math/s_clog10l.c (__clog10l): Likewise.
46441 * math/s_clogf.c (__clogf): Likewise.
46442 * math/s_clogl.c (__clogl): Likewise.
46443 * math/libm-test.inc (clog_test): Add more tests.
46444 (clog10_test): Likewise.
46445 * sysdeps/i386/fpu/libm-test-ulps: Update.
46446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46447
2bc13872
FW
464482012-07-31 Florian Weimer <fweimer@redhat.com>
46449
46450 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46451 Exit with zero in case no suitable GID is found, and write a
46452 message to standard error.
46453
bea9b193
RM
464542012-07-30 Roland McGrath <roland@hack.frob.com>
46455
46456 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46457 rather than to 1.
46458 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46459 (MAXPATHLEN): Removed.
46460 (NOGROUP, NODEV): New macros.
46461 (setbit, clrbit, isset, isclr): New macros.
46462 (howmany, roundup, powerof2): New macros.
46463 (DEV_BSIZE): New macro.
46464
46465 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46466 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46467
46468 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46469 definition on [!__NO_LONG_DOUBLE_MATH].
46470
46471 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46472 PTR_MANGLE and PTR_DEMANGLE.
46473
46474 * socket/accept4.c (accept4): Rename to __libc_accept4.
46475 Define accept4 as a weak alias.
46476
46477 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46478 on [_DIRENT_HAVE_D_TYPE].
46479 * io/ftw.c (ftw_dir): Likewise.
46480
46481 * io/xmknod.c (__xmknod): Don't check PATH for being null.
46482
46483 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46484
46485 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46486 Use the BSD numbers rather than the arbitrary ones we had.
46487 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46488 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46489 (SIGXCPU, SIGXFSZ): New macros.
46490 (_NSIG): Now 32.
46491
46492 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46493 initializer on [_LIBC_REENTRANT].
46494
46495 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46496 definitions inside [_POSIX_MAPPED_FILES].
46497
46498 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46499
46500 * dirent/opendir.c: Include <fcntl.h>.
46501
46502 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46503 (__libc_getspecific): Likewise.
46504 (__libc_key_create): Likewise.
46505
46506 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46507 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46508 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46509 (tmpfile64): Define as alias.
46510 * sysdeps/wordsize-64/tmpfile.c: File removed.
46511 * sysdeps/wordsize-64/tmpfile64.c: File removed.
46512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46513 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46514
46515 * stdio-common/vfscanf.c: Include <stdbool.h>.
46516 * nss/makedb.c: Likewise.
46517 * stdio-common/_i18n_number.h: Likewise.
46518 * argp/argp-help.c: Likewise.
46519 * posix/wordexp.c: Likewise.
46520 * sysdeps/posix/spawni.c: Likewise.
46521 * nss/nss_files/files-initgroups.c: Likewise.
46522 * stdio-common/reg-modifier.c: Include <stdlib.h>.
46523 * nss/nss_files/files-initgroups.c: Likewise.
46524 * nss/nss_db/db-netgrp.c: Likewise.
46525 * nss/nss_db/db-initgroups.c: Likewise.
46526 * io/fchmodat.c: Include <sys/stat.h>.
46527
46528 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46529 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46530
46531 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46532 [HAVE_MMAP].
46533
46534 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46535 Add multiple inclusion protection.
46536
e5abc686
DM
465372012-07-27 David S. Miller <davem@davemloft.net>
46538
46539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46540
815e6fa3
GB
465412012-07-27 Gary Benson <gbenson@redhat.com>
46542
46543 [BZ #14298]
46544 * elf/rtld.c: Include <stap-probe.h>.
46545 (dl_main): Added static probes "init_start" and "init_complete".
46546 * elf/dl-load.c: Include <stap-probe.h>.
46547 (lose): Take new parameter "nsid".
46548 Added static probe "map_failed".
46549 (_dl_map_object_from_fd): Pass namespace id to lose.
46550 Added static probe "map_start".
46551 (open_verify): Pass namespace id to lose.
46552 * elf/dl-open.c: Include <stap-probe.h>.
46553 (dl_open_worker) Added static probes "map_complete", "reloc_start"
46554 and "reloc_complete".
46555 * elf/dl-close.c: Include <stap-probe.h>.
46556 (_dl_close_worker): Added static probes "unmap_start" and
46557 "unmap_complete".
46558 * elf/rtld-debugger-interface.txt: New file documenting the above.
46559
9f98c16c
RM
465602012-07-26 Roland McGrath <roland@hack.frob.com>
46561
46562 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46563 rather than a string variable.
46564 * sunrpc/rpc_main.c (h_output): Likewise.
46565 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46566
f3c22df3
PT
465672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
46568
46569 * inet/check_native.c: New file.
46570
3129cfc6
JM
465712012-07-26 Joseph Myers <joseph@codesourcery.com>
46572
da865e95
JM
46573 [BZ #13629]
46574 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46575 if larger part has absolute value 1.0.
46576 * math/s_clog10.c (__clog10): Likewise.
46577 * math/s_clog10f.c (__clog10f): Likewise.
46578 * math/s_clog10l.c (__clog10l): Likewise.
46579 * math/s_clogf.c (__clogf): Likewise.
46580 * math/s_clogl.c (__clogl): Likewise.
46581 * math/libm-test.inc (clog_test): Add more tests.
46582 (clog10_test): Likewise.
46583 * sysdeps/i386/fpu/libm-test-ulps: Update.
46584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46585
3129cfc6
JM
46586 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46587 (pltexit): Likewise.
46588 (La_regs): Likewise.
46589 (La_retval): Likewise.
46590 (int_retval): Likewise.
46591 Update #error for removed macros to refer only to definitions in
46592 tst-audit.h.
46593 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46594 macro.
46595 (pltexit): Likewise.
46596 (La_regs): Likewise.
46597 (La_retval): Likewise.
46598 (int_retval): Likewise.
46599 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46600 macro.
46601 (pltexit): Likewise.
46602 (La_regs): Likewise.
46603 (La_retval): Likewise.
46604 (int_retval): Likewise.
46605 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46606 macro.
46607 (pltexit): Likewise.
46608 (La_regs): Likewise.
46609 (La_retval): Likewise.
46610 (int_retval): Likewise.
46611 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46612 macro.
46613 (pltexit): Likewise.
46614 (La_regs): Likewise.
46615 (La_retval): Likewise.
46616 (int_retval): Likewise.
46617 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46618 macro.
46619 (pltexit): Likewise.
46620 (La_regs): Likewise.
46621 (La_retval): Likewise.
46622 (int_retval): Likewise.
46623 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46624 macro.
46625 (pltexit): Likewise.
46626 (La_regs): Likewise.
46627 (La_retval): Likewise.
46628 (int_retval): Likewise.
46629 * sysdeps/generic/tst-audit.h: Update comment to refer only to
46630 macro definitions in tst-audit.h.
46631 * sysdeps/i386/tst-audit.h: New file.
46632 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46633 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46634 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46635 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46636 * sysdeps/sh/tst-audit.h: Likewise.
46637 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46638 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46639 * sysdeps/x86_64/tst-audit.h: Likewise.
46640
bfc07087
AJ
466412012-07-26 Andreas Jaeger <aj@suse.de>
46642
b1b2aaf8
AJ
46643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46644 ptrace.
46645
46646 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46647 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46648 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46649 PTRACE_O_MASK.
46650 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46651 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46652 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46653
bfc07087
AJ
46654 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46655 value.
46656
46657 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46658 _sigsys.
46659 (si_call_addr, si_syscall, si_arch): Define new macro.
46660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46661 _sigsys.
46662 (si_call_addr, si_syscall, si_arch): Define new marcro.
46663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46664 _sigsys.
46665 (si_call_addr, si_syscall, si_arch): Define new macro.
46666 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46667 _sigsys.
46668 (si_call_addr, si_syscall, si_arch): Define new macro.
46669
89b4b02f
JM
466702012-07-25 Joseph Myers <joseph@codesourcery.com>
46671
46672 [BZ #13717]
46673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46674 Change to 2.4.21 where previously 2.4.1.
46675 * sysdeps/unix/sysv/linux/configure: Regenerated.
46676 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46677 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46678 Linux kernel version.
46679 (__ASSUME_STD_AUXV): Remove.
46680 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46681 kernel version.
46682 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46683 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46684 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46685 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46686 (__ASSUME_NETLINK_SUPPORT): Likewise.
46687 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46688 (__no_netlink_support): Remove conditional definition.
46689 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46690 Remove.
46691 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46692 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46693 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46694 (if_nameindex_ioctl): Remove.
46695 (if_nameindex_netlink): Do not handle __no_netlink_support.
46696 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46697 code.
46698 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46699 Remove conditional code.
46700 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46701 code.
46702 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46703 unconditional.
46704 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46705 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46706 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46707 Remove.
46708 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46709 [!__ASSUME_STD_AUXV]: Remove conditional code.
46710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46711 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46712 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46714 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46715 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46716 code.
46717 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46719 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46720 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46721 conditional code.
46722 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46724 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46725 code.
46726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46727 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46728 conditional code.
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46730 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46731 code unconditional.
46732 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46733 conditional code.
46734 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46735 unconditional.
46736 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46737 conditional code.
46738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46739 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46740 unconditional.
46741 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46742 conditional code.
46743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46744 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46745 code unconditional.
46746 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46747 conditional code.
46748 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46749 unconditional.
46750 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46751 conditional code.
46752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46753 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46754 code unconditional.
46755 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46756 conditional code.
46757 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46758 unconditional.
46759 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46760 conditional code.
46761
842a39cd
AS
467622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
46763
46764 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46765 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46766 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46767 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46768 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46769 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46770 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46771 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46772 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46773 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46774 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46775 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46776 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46777 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46778 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46779 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46780 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46781 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46782 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46784 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46785 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46787
84b3fd84
FW
467882012-07-25 Florian Weimer <fweimer@redhat.com>
46789
46790 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
46791 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46792 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46793 Introduce __libc_secure_getenv.
0c7936d5
FW
46794 * stdlib/Versions (2.17): Add secure_getenv
46795 (GLIBC_PRIVATE): Add __libc_secure_getenv.
46796 * stdlib/secure-getenv.c: Rename __secure_getenv to
46797 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
46798 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
46799 * stdlib/tst-secure-getenv.c: New.
46800 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
46801 * manual/startup.texi (Environment Access): Document
46802 secure_getenv.
84b3fd84
FW
46803 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46804 __libc_secure_getenv.
46805 * inet/ruserpass.c (ruserpass): Likewise.
46806 * malloc/mtrace.c (mtrace): Likewise.
46807 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 46808 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
46809 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46810 * sysdeps/posix/tempname.c: Likewise. Evaluate
46811 HAVE_SECURE_GETENV.
46812 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 46813 __secure_getenv to __libc_secure_getenv.
84b3fd84 46814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
46815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46816 Likewise.
46817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46818 Likewise.
46819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 46826
56e49b71
JM
468272012-07-25 Joseph Myers <joseph@codesourcery.com>
46828
46829 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46830 (struct La_i86_retval): Likewise.
46831 (struct La_x86_64_regs): Likewise.
46832 (struct La_x86_64_retval): Likewise.
46833 (struct La_x32_regs): Likewise.
46834 (struct La_x32_retval): Likewise.
46835 (struct La_ppc32_regs): Likewise.
46836 (struct La_ppc32_retval): Likewise.
46837 (struct La_ppc64_regs): Likewise.
46838 (struct La_ppc64_retval): Likewise.
46839 (struct La_sh_regs): Likewise.
46840 (struct La_sh_retval): Likewise.
46841 (struct La_s390_32_regs): Likewise.
46842 (struct La_s390_32_retval): Likewise.
46843 (struct La_s390_64_regs): Likewise.
46844 (struct La_s390_64_retval): Likewise.
46845 (struct La_sparc32_regs): Likewise.
46846 (struct La_sparc32_retval): Likewise.
46847 (struct La_sparc64_regs): Likewise.
46848 (struct La_sparc64_retval): Likewise.
46849 (struct audit_ifaces): Remove architecture-specific pltenter and
46850 pltexit members.
46851 * sysdeps/i386/ldsodefs.h: New file.
46852 * sysdeps/powerpc/ldsodefs.h: Likewise.
46853 * sysdeps/s390/ldsodefs.h: Likewise.
46854 * sysdeps/sh/ldsodefs.h: Likewise.
46855 * sysdeps/sparc/ldsodefs.h: Likewise.
46856 * sysdeps/x86_64/ldsodefs.h: Likewise.
46857
354691b7
MP
468582012-07-25 Marek Polacek <polacek@redhat.com>
46859
46860 [BZ #6808]
46861 * math/libm-test.inc (yn_test): Add another test.
46862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46863 to ERANGE when the result is +-Inf.
46864 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46865 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46866 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46868
bf9e2071
JM
468692012-07-24 Joseph Myers <joseph@codesourcery.com>
46870
46871 * conform/data/time.h-data (NULL): Use macro-constant. Require
46872 equal to 0.
46873 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
46874 clock_t.
46875 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
46876
57633811
TS
468772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
46878
46879 * configure.in <sysdeps resolving>: Correct printing
46880 Implies_before.
46881 * configure: Regenerate.
46882
c23c33b0
TS
468832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
46884
46885 * math/w_ilogb.c: Include <limits.h>.
46886 * math/w_ilogbl.c: Likewise.
46887
b5982523
JM
468882012-07-20 Joseph Myers <joseph@codesourcery.com>
46889
46890 * manual/lang.texi (__va_copy): Document primarily as ISO C99
46891 va_copy. Document allowing for unavailable va_copy only as
46892 pre-C99 compatibility.
46893 * manual/string.texi (Copying and Concatenation): Use va_copy
46894 instead of __va_copy in concat example.
46895
ac4ea442
PT
468962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
46897
46898 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46899 (__sendto): Use create_address_port. Initialize APORT and deallocate
46900 it if not null.
46901
f98eafbd
PT
46902 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46903 with O_NOLINK passed to __file_name_lookup.
46904
898c7aab
PT
46905 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46906 with O_NOLINK passed to __file_name_lookup.
46907
0ced335a
PT
46908 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46909 negative N or less than NGIDS.
46910
b3404dbd
PT
46911 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46912 type to string_t. Set ERANGE as errno and return it if NAME is not big
46913 enough. Use memcpy instead of strncpy.
46914
0f48659e
JM
469152012-07-20 Joseph Myers <joseph@codesourcery.com>
46916
46917 * elf/Makefile (check-data): Remove.
46918 (localplt.data): New vpath directive.
46919 ($(objpfx)check-localplt.out): Use localplt.data from vpath
46920 instead of $(check-data).
46921 * scripts/data/localplt-generic.data: Move to ...
46922 * sysdeps/generic/localplt.data: ... here.
46923 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46924 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46925 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46927 ... here.
46928 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46930 ... here.
46931 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46933 ... here.
46934 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46936 ... here.
46937 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46939 ... here.
46940 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46942 ... here.
46943
d37cbdaa
AZ
469442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46945
46946 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46947 PPC32 and PPC64 files.
46948 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46949 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46950
46f85fc2
AK
469512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46952
46953 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46954 __makecontext_ret to ...
46955 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46956 ... here and call exit if uc_link is NULL. New file.
46957 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46958 __makecontext_ret.S.
46959 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46960 __makecontext_ret to ...
46961 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46962 ... here and call exit if uc_link is NULL. New file.
46963 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46964 __makecontext_ret.S.
46965
08f43f9b
AK
469662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46967
46968 * elf/elf.h (R_390_IRELATIVE): New definition.
46969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46970 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
46971 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46972 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46973 (elf_machine_lazy_rel): Likewise.
46974 * sysdeps/s390/dl-irel.h: New file.
46975 * sysdeps/s390/s390-64/memcpy.S: New asm code.
46976 * sysdeps/s390/s390-64/memset.S: New asm code.
46977 * sysdeps/s390/s390-64/memcmp.S: New asm code.
46978 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46979 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46980 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46981 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46982 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46983 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46984 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46985 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46986 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46987 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46988 * sysdeps/s390/s390-32/memcpy.S: New asm code.
46989 * sysdeps/s390/s390-32/memset.S: New asm code.
46990 * sysdeps/s390/s390-32/memcmp.S: New asm code.
46991
3b05db33
MP
469922012-07-17 Marek Polacek <polacek@redhat.com>
46993
46994 [BZ #14349]
46995 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46996 * sysdeps/s390/s390-64/configure.in: Likewise.
46997 * sysdeps/sparc/configure.in: Likewise.
46998 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46999 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47000 * sysdeps/i386/configure.in: Likewise.
47001 * sysdeps/x86_64/configure.in: Likewise.
47002 * sysdeps/sh/configure.in: Likewise.
47003 * sysdeps/s390/s390-32/configure: Regenerated.
47004 * sysdeps/s390/s390-64/configure: Likewise.
47005 * sysdeps/x86_64/configure: Likewise.
47006 * sysdeps/sh/configure: Likewise.
47007 * sysdeps/powerpc/powerpc64/configure: Likewise.
47008 * sysdeps/powerpc/powerpc32/configure: Likewise.
47009 * sysdeps/sparc/configure: Likwise.
47010 * sysdeps/i386/configure: Likewise.
47011
a66877c6
MP
47012 * elf/dl-open.c: Comment fixes.
47013
cfc82fd8
JM
470142012-07-17 Joseph Myers <joseph@codesourcery.com>
47015
bd29910a
JM
47016 * Makefile [CXX] (check-data): Remove.
47017 [CXX] (c++-types.data): New vpath directive.
47018 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47019 vpath. Do not allow for C++ type data being missing.
47020 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47021 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47022 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47023 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47024 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47025 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47026 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47028 ... here.
47029 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47031 ... here.
47032 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47034 ... here.
47035 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47037 ... here.
47038 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47040 ... here.
47041 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47043 ... here.
47044 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47046 ... here.
47047 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47049
cfc82fd8
JM
47050 * elf/tls-macros.h (TLS_LE): Move architecture-specific
47051 definitions to architecture-specific files.
47052 (TLS_IE): Likewise.
47053 (TLS_LD): Likewise.
47054 (TLS_GD): Likewise.
47055 * sysdeps/i386/tls-macros.h: New file.
47056 * sysdeps/powerpc/tls-macros.h: Likewise.
47057 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47058 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47059 * sysdeps/sh/tls-macros.h: Likewise.
47060 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47061 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47062 * sysdeps/x86_64/tls-macros.h: Likewise.
47063
f7db3170
TS
470642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
47065
07cbfc23
TS
47066 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47067 zero value for regular exit case.
47068
f7db3170
TS
47069 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47070 (__start_context): Preserve zero value for regular exit case.
47071
dc97c227
TS
470722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
47073 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47074
47075 * manual/setjmp.texi (setcontext): Clarify normal process
47076 termination when uc_link is the null pointer.
47077 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47078 exit call.
47079
d0cd7d02
AS
470802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
47081
47082 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47083 preprocessor. Test for each exception mask separately.
47084
dd318934
AJ
470852012-07-16 Andreas Jaeger <aj@suse.de>
47086
47087 * po/ru.po: Update from translation team.
47088
8048311a
JM
470892012-07-15 Joseph Myers <joseph@codesourcery.com>
47090
47091 * conform/data/string.h-data (NULL): Use macro-constant. Require
47092 equal to 0.
47093 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47094 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47095 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47096 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47098
b637d46e
AJ
470992012-07-13 Andreas Jaeger <aj@suse.de>
47100
47101 * po/fr.po: Update from translation team.
47102
541428fe
MP
471032012-07-12 Marek Polacek <polacek@redhat.com>
47104
47105 [BZ #14173]
47106 * math/libm-test.inc (yn_test): Add test for BZ #14173.
47107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47108 loop condition.
47109
ec332e94
JM
471102012-07-12 Joseph Myers <joseph@codesourcery.com>
47111
47112 [BZ #13717]
47113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47114 Change to 2.4.1 where previously 2.4.0.
47115 * sysdeps/unix/sysv/linux/configure: Regenerated.
47116 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47117 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47118 version.
47119 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47120 (__ASSUME_AT_CLKTCK): Remove.
47121 (__ASSUME_AT_PAGESIZE): Likewise.
47122 (__ASSUME_AT_XID): Likewise.
47123 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47124 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47125 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47126 unconditionally.
47127 (HAVE_AUX_PAGESIZE): Likewise.
47128 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47129 [__ASSUME_AT_CLKTCK]: Make code unconditional.
47130 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47131
7b6e99be
JB
471322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
47133
47134 [BZ #14307]
47135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47136 the temporary buffer used to invoke __gethostbyname2_r,
47137 __gethostbyaddr_r and gethostbyname4_r to make room for struct
47138 host_data / struct gaih_addrtuple.
47139 * resolv/nss_dns/dns-host.c (global scope): Move definition of
47140 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47141 header file nss/nsswitch.h.
47142 * nss/nsswitch.h (global scope): Add definition of implementation
47143 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47144 resolv/nss_dns/dns-host.c).
47145
608404eb
AJ
471462012-07-11 Andreas Jaeger <aj@suse.de>
47147
47148 * po/fr.po: Update from translation team.
47149
71220aca
AJ
47150 * po/sv.po: Update from translation team
47151 * po/fr.po: Another update from translation team.
47152
28cfe843
AZ
471532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47154
47155 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47156 for subnormals or multiply small sinh result by itself.
47157 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47159
6b90f981
DM
471602012-07-11 David S. Miller <davem@davemloft.net>
47161
47162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47163
c6825772
AS
471642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
47165
47166 [BZ #14347]
47167 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47168 (INTERNAL_MARK): Shift it here.
47169
7b8e0d49
MP
471702012-07-10 Marek Polacek <polacek@redhat.com>
47171
47172 [BZ #14151]
47173 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
47174 libc_cv_asm_global_directive with .globl.
47175 * configure: Regenerated.
47176 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47177 with .globl.
47178 * sysdeps/i386/configure: Regenerated.
47179 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47180 with .globl.
47181 * sysdeps/x86_64/configure: Regenerated.
47182 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47183 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47184 * elf/tst-unique2mod2.c: Likewise.
47185 * elf/tst-unique2mod1.c: Likewise.
47186 * elf/tst-unique1mod2.c: Likewise.
47187 * elf/tst-unique1mod1.c: Likewise.
47188 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47189 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47192 * sysdeps/mach/sysdep.h: Likewise.
47193 * sysdeps/i386/sysdep.h: Likewise.
47194 * sysdeps/i386/i386-mcount.S: Likewise.
47195 * sysdeps/x86_64/_mcount.S: Likewise.
47196 * sysdeps/x86_64/sysdep.h: Likewise.
47197 * sysdeps/sh/_mcount.S: Likewise.
47198 * sysdeps/sh/sysdep.h: Likewise.
47199 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47200 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47201 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47202 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47203 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47204 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47205 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47206 * locale/localeinfo.h: Likewise.
47207 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47208 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47209
6c55cda3
RM
472102012-07-09 Roland McGrath <roland@hack.frob.com>
47211
47212 [BZ #14336]
47213 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47214 system".
47215 * manual/message.texi (The Uniforum approach): Likewise.
47216 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47217 (glibc iconv Implementation): Likewise.
47218
638a572e
JM
472192012-07-09 Joseph Myers <joseph@codesourcery.com>
47220
47221 [BZ #14337]
47222 * math/s_clog.c (__clog): Avoid scaling a value down where that
47223 could result in underflow.
47224 * math/s_clog10.c (__clog10): Likewise.
47225 * math/s_clog10f.c (__clog10f): Likewise.
47226 * math/s_clog10l.c (__clog10l): Likewise.
47227 * math/s_clogf.c (__clogf): Likewise.
47228 * math/s_clogl.c (__clogl): Likewise.
47229 * math/libm-test.inc (clog_test): Add more tests.
47230 (clog10_test): Likewise.
47231 * sysdeps/i386/fpu/libm-test-ulps: Update.
47232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47233
261f4859
AS
472342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
47235
0abaf3e4
AS
47236 [BZ #14283]
47237 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47238 by 7 not 8 to examine high bit of fractional part.
47239
261f4859
AS
47240 [BZ #14042]
47241 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47242 for call to __mcount_internal.
47243 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47244 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47245 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47246
f17ac40d
JM
472472012-07-06 Joseph Myers <joseph@codesourcery.com>
47248
9ad63c23
JM
47249 [BZ #14154]
47250 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47251 approximation for values within 0x1p-13f of an odd multiple of
47252 pi/4.
47253 * math/libm-test.inc (tan_test): Do not allow spurious underflow
47254 exception. Add more tests.
47255 * sysdeps/i386/fpu/libm-test-ulps: Update.
47256
f17ac40d
JM
47257 [BZ #6778]
47258 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47259 inputs and return -1 for them. Do not check for +Inf in case not
47260 reachable for +Inf.
47261 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47262 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47264 and return -1 for them. Do not check for +Inf in case not
47265 reachable for +Inf.
47266 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47267 define.
47268 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47269 and return -1 for them. Do not check for +Inf in case not
47270 reachable for +Inf.
47271 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
47272 spurious underflow.
47273 * sysdeps/i386/fpu/libm-test-ulps: Update.
47274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47275
fb21f89b
MF
472762012-07-06 Mike Frysinger <vapier@gentoo.org>
47277
47278 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47279
cdfe2c5e
JM
472802012-07-05 Joseph Myers <joseph@codesourcery.com>
47281
47282 [BZ #14157]
47283 [BZ #14331]
47284 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47285 could result in spurious underflow. Scale down values above
47286 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47287 * math/s_csqrtf.c (__csqrtf): Likewise.
47288 * math/s_csqrtl.c (__csqrtl): Likewise.
47289 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
47290 spurious underflow.
47291 * sysdeps/i386/fpu/libm-test-ulps: Update.
47292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47293
70d35b67
AS
472942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
47295
704bc459
AS
47296 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47297 xopen-msg.sed.
47298 * catgets/xopen-msg.awk: New file.
47299 * catgets/xopen-msg.sed: Removed.
47300
70d35b67
AS
47301 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47302 po2text.sed.
47303 * intl/po2test.awk: New file.
47304 * intl/po2test.sed: Removed.
47305
ca61cf32
JM
473062012-07-04 Joseph Myers <joseph@codesourcery.com>
47307
47308 [BZ #14328]
47309 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47310 or multiply small sinh result by itself.
47311 * math/s_ctanf.c (__ctanf): Likewise.
47312 * math/s_ctanh.c (__ctanh): Likewise.
47313 * math/s_ctanhf.c (__ctanhf): Likewise.
47314 * math/s_ctanhl.c (__ctanhl): Likewise.
47315 * math/s_ctanl.c (__ctanl): Likewise.
47316 * math/libm-test.inc (ctan_test_tonearest): New function.
47317 (ctan_test_towardzero): Likewise.
47318 (ctan_test_downward): Likewise.
47319 (ctan_test_upward): Likewise.
47320 (ctanh_test_tonearest): Likewise.
47321 (ctanh_test_towardzero): Likewise.
47322 (ctanh_test_downward): Likewise.
47323 (ctanh_test_upward): Likewise.
47324 (main): Call these new functions.
47325 * sysdeps/i386/fpu/libm-test-ulps: Update.
47326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47327
ca48a46a
MF
473282012-07-03 Mike Frysinger <vapier@gentoo.org>
47329
47330 * .gitignore: Delete /ports entry.
47331
9d63d37d
AJ
473322012-07-03 Andreas Jaeger <aj@suse.de>
47333
47334 * po/bg.po: Update from translation team.
47335 * po/cs.po: Likewise.
47336 * po/de.po: Likewise.
47337 * po/hr.po: Likewise.
47338 * po/nl.pl: Likewise.
47339 * po/pl.po: Likewise.
47340 * po/vi.po: Likewise.
47341
370ca3d2
JM
473422012-07-03 Joseph Myers <joseph@codesourcery.com>
47343
95f5a9a8
JM
47344 * Makeconfig [!+link] (+link-before-libc): New variable.
47345 [!+link] (+link-after-libc): Likewise.
47346 [!+link] (+link-tests): Likewise.
47347 [!+link] (+link): Define in terms of $(+link-before-libc) and
47348 $(+link-after-libc).
47349 [!+link-static] (+link-static-before-libc): New variable.
47350 [!+link-static] (+link-static-after-libc): Likewise.
47351 [!+link-static] (+link-static-tests): Likewise.
47352 [!+link-static] (+link-static): Define in terms of
47353 $(+link-static-before-libc) and $(+link-static-after-libc).
47354 [build-shared] (link-libc-before-gnulib): New variable.
47355 [build-shared] (link-libc-tests): Likewise.
47356 [build-shared] (link-libc): Define in terms of
47357 $(link-libc-before-gnulib).
47358 [!build-shared] (link-libc-tests): New variable.
47359 (link-libc-static-tests): New variable.
47360 [!gnulib] (gnulib-arch): New variable.
47361 [!gnulib] (gnulib-tests): Likewise.
47362 [!gnulib] (static-gnulib-arch): Likewise.
47363 [!gnulib] (static-gnulib-tests): Likewise.
47364 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
47365 Define with "=" instead of ":=".
47366 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
47367 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
47368 * Rules (binaries-all-notests): New variable.
47369 (binaries-all-tests): Likewise.
47370 (binaries-static-notests): Likewise.
47371 (binaries-static-tests): Likewise.
47372 (binaries-all): Define using $(binaries-all-notests) and
47373 $(binaries-all-tests).
47374 (binaries-static): Define using $(binaries-static-notests) and
47375 $(binaries-static-tests).
47376 (binaries-shared-tests): New variable.
47377 (binaries-shared-notests): Likewise.
47378 (binaries-shared): Remove variable.
47379 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47380 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47381 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47382 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47383 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47384 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47385 * elf/Makefile (sln-modules): New variable.
47386 (extra-objs): Add $(sln-modules:=.o).
47387 (ldconfig-modules): Add static-stubs.
47388 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47389 * elf/static-stubs.c: New file.
47390
7a845b2c
JM
47391 [BZ #14283]
47392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47393 by 7 not 8 to examine high bit of fractional part. Use volatile
47394 variables when splitting into final array of floats if
47395 __FLT_EVAL_METHOD__ != 0.
47396 * math/libm-test.inc (cos_test): Add another test.
47397 (sin_test): Likewise.
47398 * sysdeps/i386/fpu/libm-test-ulps: Update.
47399
e2283f38
JM
47400 [BZ #14273]
47401 * math/libm-test.inc (cosh_test): Add more tests.
47402
370ca3d2
JM
47403 * version.h (RELEASE): Set to "development".
47404 (VERSION): Set to "2.16.90".
47405
ee9247c3
CD
474062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
47407
47408 * NEWS: Update copyright. Remove last-updated date.
47409 Mention math library bug fixes and timezone data changes.
47410 * README: Mention GNU/Hurd, x32, and HPPA support status.
47411
4648c381
TS
474122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
47413
47414 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47415
aac78a43
AJ
474162012-06-27 Andreas Jaeger <aj@suse.de>
47417
47418 * manual/contrib.texi (Contributors): Add Samuel Thibault.
47419
ed3dbfad
AJ
474202012-06-25 Andreas Jaeger <aj@suse.de>
47421
47422 * sysdeps/s390/fpu/libm-test-ulps: Update.
47423
4d0ee855
AS
474242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
47425 Thomas Schwinge <thomas@codesourcery.com>
47426
47427 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47428 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47430 fanotify_mark.
47431
af1bce34
TS
474322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
47433
a9fa33ba
TS
47434 * sysdeps/mach/start.c: Remove file.
47435 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47436 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47437 * sysdeps/sh/init-first.c: Likewise.
47438
58f902b8
TS
47439 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47440 registers for frame unwinding purposes, add CFI directives.
47441 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47443 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47444 Likewise.
47445
1518f58b
TS
47446 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47447 __fortify_fail returning.
47448 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47449
db9b5059
TS
47450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47451 sysdeps/sh/____longjmp_chk.S.
47452 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47453 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47454 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47455 (gen-as-const-headers): Append sigaltstack-offsets.sym.
47456
967705fe
TS
47457 * sysdeps/sh/abort-instr.h: New file.
47458 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47459 process in case exit returns.
47460
a9def8c4
TS
47461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47462 initialize the GOT register before use.
47463
2a649725
TS
47464 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47465 calculation of ARGC > 4.
47466
af1bce34
TS
47467 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47468 meaningful names to some local labels.
47469
d230f50a
KK
474702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47471 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47472
47473 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47474 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47475 (__arch_compare_and_exchange_val_16_acq): Likewise.
47476 (__arch_compare_and_exchange_val_32_acq): Likewise.
47477 (atomic_exchange_and_add): Fix gUSA sequence.
47478 (atomic_add): Likewise.
47479 (atomic_add_negative): Likewise.
47480 (atomic_add_zero): Likewise.
47481 (atomic_bit_test_set): Likewise.
47482
0479b305
AS
474832012-06-22 Andreas Schwab <schwab@redhat.com>
47484
47485 [BZ #13579]
47486 * include/link.h (struct link_map): Add l_free_initfini.
47487 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47488 l_initfini.
47489 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47490 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47491 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47492 set.
47493
0e3933b9
CD
474942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
47495
47496 * configure.in: Use AC_LANG_SOURCE.
47497 * configure: Regenerate.
47498
4248b1b1
RM
474992012-06-22 Roland McGrath <roland@hack.frob.com>
47500
47501 * configure.in (libc_cv_localstatedir): New substituted variable.
47502 * configure: Regenerated.
47503 * config.make.in (localstatedir): New variable, substituted from
47504 libc_cv_localstatedir.
47505 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47506 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47507 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47508 * sysdeps/gnu/configure: Regenerated.
47509
006dd861
JL
475102012-06-21 Jeff Law <law@redhat.com>
47511
47512 [BZ #14277]
47513 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47514 free. Simplify list management for _LIBC case.
47515
79662d42
JM
475162012-06-21 Joseph Myers <joseph@codesourcery.com>
47517
b7abb4bf
JM
47518 [BZ #14273]
47519 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47520 Clear sign bit of 64-bit integer value before comparing against
47521 overflow value.
47522
79662d42
JM
47523 * sysdeps/mach/configure: Regenerated.
47524
1f150908
L
475252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
47526
47527 [BZ #14278]
47528 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47529
28363bbf
JL
475302012-06-21 Jeff Law <law@redhat.com>
47531
47532 [BZ #13882]
47533 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
47534 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 47535 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
47536 * elf/dl-open.c (dl_open_worker): Likewise.
47537
09615db4
CD
475382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
47539
47540 * scripts/list-sources.sh: Scan PORTS for translations.
47541 * po/libc.pot: Regenerated.
47542
2174c6dd
AJ
475432012-06-21 Andreas Jaeger <aj@suse.de>
47544
47545 [BZ #12194]
47546 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47547 warning.
47548 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47549 * bits/byteswap-16.h (__bswap_16): Likewise.
47550 * bits/byteswap.h (__bswap_constant_16): Likewise.
47551
3ee947b1
L
475522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
47553
47554 [BZ #14117]
a2f34833
L
47555 * sysdeps/i386/fpu_control.h: Removed.
47556 * sysdeps/x86_64/fpu_control.h: Moved to ...
47557 * sysdeps/x86/fpu_control.h: Here.
47558
3ee947b1
L
47559 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47560 (_FPU_SETCW): Likewise.
47561
ed1825f8
L
475622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
47563
25f1282a
L
47564 [BZ #14117]
47565 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47566 * sysdeps/x86/fpu/bits/mathinline.h: This.
47567 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47568
ed1825f8
L
47569 [BZ #14050]
47570 [BZ #14117]
47571 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47572 functions if __x86_64__ is defined.
47573
36d54b74
CLT
475742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
47575
47576 * string/endian.h: Add !__ASSEMBLER__ condition for including
47577 conversion interfaces.
47578
10285c21
JM
475792012-06-15 Joseph Myers <joseph@codesourcery.com>
47580
47581 [BZ #14241]
47582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47583 of ABS(x) in calculating zero to negative powers other than odd
47584 integers.
47585 * math/libm-test.inc (pow_test): Add more tests.
47586
06c5abbd
AJ
475872012-06-15 Andreas Jaeger <aj@suse.de>
47588
47589 * manual/contrib.texi (Contributors): Update entry of Liubov
47590 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47591 Machado Filho.
47592
a3aeac40
CH
475932012-06-15 Cyril Hrubis <metan@ucw.cz>
47594
47595 * string/string.h: Add __wur to GNU version of strerror_r.
47596
49bdf4c1
L
475972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
47598
47599 [BZ #14229]
47600 * string/Makefile (tests): Add tst-strtok_r.
47601 * string/tst-strtok_r.c: New file.
47602 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47603 RAX_LP/RDX_LP on SAVE_PTR.
47604
834f9b8d
RM
476052012-06-14 Roland McGrath <roland@hack.frob.com>
47606
47607 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47608
75fa1921
JM
476092012-06-14 Joseph Myers <joseph@codesourcery.com>
47610
47611 * libm_test.inc (csqrt_test): Allow more spurious underflow
47612 exceptions.
47613 (j0_test): Likewise.
47614 (j1_test): Likewise.
47615 (y0_test): Likewise.
47616 (y1_test): Likewise.
47617
771766df
CD
476182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
47619
47620 * po/Makefile (libc.pot): Use UTF-8 charset.
47621
ceb9e56b
PP
476222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
47623
47624 [BZ #14210]
47625 Suppress sign-conversion warning from FD_SET.
47626 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47627 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47628 not unsigned long int.
47629 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47630
ddb28975
L
476312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
47632
47633 [BZ #14050]
47634 [BZ #14117]
47635 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47636 __extern_always_inline instead of __extern_inline.
47637 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47638 (__signbit): Likewise.
47639 (__signbitl): Support C++ namespace.
47640 (lrintf): New inline function.
47641 (lrint): Likewise.
47642 (llrintf): Likewise.
47643 (llrint): Likewise.
47644 (fmaxf): Likewise.
47645 (fmax): Likewise.
47646 (fminf): Likewise.
47647 (fmin): Likewise.
47648 (rint): Likewise.
47649 (rintf): Likewise.
47650 (ceil): Likewise.
47651 (ceilf): Likewise.
47652 (floor): Likewise.
47653 (floorf): Likewise.
47654 (nearbyint): Likewise.
47655 (nearbyintf): Likewise.
47656
d7b4fb26
TS
476572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
47658
47659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47660 non-default versions.
47661
eb55f5c2
RM
476622012-06-11 Roland McGrath <roland@hack.frob.com>
47663
47664 [BZ #14218]
47665 * manual/argp.texi (Argp): Reword argp_parse description slightly.
47666
366af02c
TS
476672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
47668
99ff6e5c
TS
47669 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47670 (FE_UPWARD, FE_DOWNWARD): Don't define.
47671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47673
366af02c
TS
47674 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47675 reading it.
47676 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47678
793ea851
KK
476792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47680
47681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47683 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47684 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47685
a728a38f
L
476862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
47687
47688 [BZ #14117]
c08010c7
L
47689 * sysdeps/i386/fpu/bits/fenv.h: Removed.
47690 * sysdeps/i386/fpu/Implies: New file.
47691 * sysdeps/x86_64/fpu/Implies: Likewise.
47692 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47693 * sysdeps/x86/fpu/bits/fenv.h: This.
47694
a728a38f
L
47695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47696 __SSE_MATH__.
47697
6e230d11
SP
476982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47699
47700 [BZ #14134]
47701 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47702 character 0xffff that matches the last element of the
47703 conversion table.
47704
1b671feb
AZ
477052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47706
47707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47708 fmodl commit.
47709
6043738b
AZ
477102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47711
47712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47713 values higher than 25.6283.
47714
34ae0b32
AZ
477152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47716
47717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47718 subnormal exponent extraction and add some __builtin_expect.
47719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47720 Fix for subnormal mantissa calculation.
47721
1214ec8f
MF
477222012-06-04 Mike Frysinger <vapier@gentoo.org>
47723
47724 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47725 cpu2 is -1 and errno is not ENOSYS.
47726
f3d1f93c
L
477272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
47728
47729 [BZ #14117]
0e4a3cd7
L
47730 * sysdeps/i386/i486/bits/string.h: Renamed to ...
47731 * sysdeps/x86/bits/string.h: This.
47732 * sysdeps/x86_64/bits/string.h: Removed.
47733
6704c645
L
47734 * sysdeps/i386/i486/bits/string.h: Define inline functions only
47735 if not compiling for x86-64, but compiling for >= i486.
47736
48495318
L
47737 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47738 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47739
14adcbfc
L
47740 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47741 New macro from Linux kernel 3.4.0.
47742 (FP_XSTATE_MAGIC2): Likewise.
47743 (FP_XSTATE_MAGIC2_SIZE): Likewise.
47744 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47745 (struct _fpx_sw_bytes): New struct.
47746 (struct _xsave_hdr): Likewise.
47747 (struct _ymmh_state): Likewise.
47748 (struct _xstate): Likewise.
47749
68e408ab
L
47750 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47751 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47753 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47754 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47755 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47756
f3d1f93c
L
47757 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47758 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47759 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47760 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47761 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47762 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47763
d9dc34cd
TMQMF
477642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47765
47766 [BZ #13743]
47767 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47768 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47769 (sysdep_headers): Include sys/platform/ppc.h.
47770 * sysdeps/powerpc/test-gettimebase.c: Test for
47771 __ppc_get_timebase() to catch future ISA opcode/insn changes.
47772 * manual/Makefile (appendices): Include platform.texi.
47773 * manual/contrib.texi (Contributors): Update @node pointers.
47774 * manual/maint.texi (Maintenance): Likewise.
47775 (Platform): New node.
47776 * manual/platform.texi: New file. Document the new features.
47777
4af3879c
SP
477782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47779 Jakub Jelinek <jakub@redhat.com>
47780
47781 [BZ #14188]
47782 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47783 where __builtin_expect is unavailable.
47784
2fd6ff13
DM
477852012-06-03 David S. Miller <davem@davemloft.net>
47786
47787 * stdlib/longlong.h: Updated from GCC.
47788
173f7220
AS
477892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
47790
47791 [BZ #14042]
47792 * sysdeps/powerpc/powerpc32/mcount.c: New file.
47793 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47794 __mcount_internal.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47796 (GLIBC_2.16): Likewise.
47797
f34a1c6f
L
477982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47799
47800 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47801
88a4576f
JM
478022012-06-01 Joseph Myers <joseph@codesourcery.com>
47803
ea32bcdd
JM
47804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47805 (default-abi): New variable.
47806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47807 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47808 variable.
47809 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47810 Likewise.
47811 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47812 Likewise.
47813 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47814 Likewise.
47815
88a4576f
JM
47816 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47817 definition. Document in comment.
47818
402fe938
DM
478192012-06-01 David S. Miller <davem@davemloft.net>
47820
47821 * stdlib/longlong.h: Updated from GCC.
47822
3553723f
L
478232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47824
47825 [BZ #14117]
3bd872c4
L
47826 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47827 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47828 sys/debugreg.h sys/io.h here.
47829 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47830 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47831 sys/io.h.
47832 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47833 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47834 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47835 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47836 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47837 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47838
3553723f
L
47839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47840 Define only if __x86_64__ is defined.
47841
4842e4fe
JM
478422012-06-01 Joseph Myers <joseph@codesourcery.com>
47843
c5bfe3d5
JM
47844 [BZ #14048]
47845 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47846 Use int64_t for variable i.
47847 * math/libm-test.inc (fmod_test): Add more tests.
47848
4842e4fe
JM
47849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47850 z computation is not scheduled after fetestexcept.
47851 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47852 Use math_force_eval instead of asm to ensure calculation scheduled
47853 before exception test.
47854 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47855 Ensure a1 + u.d computation is not scheduled after fetestexcept.
47856
efb73488
AJ
478572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
47858
47859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47860 computation is not scheduled after fetestexcept.
47861
29bcce7c
L
478622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47863
47864 [BZ #14117]
47865 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47866 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47867
73a68f94
AZ
478682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47869
47870 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47871 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47872
67b6df78
L
478732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
47874
edf2933a 47875 [BZ #14117]
ebc64a18
L
47876 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47877 <bits/wordsize.h>.
47878 (__WCHAR_MIN): Support __WORDSIZE == 64.
47879 (__WCHAR_MAX): Likewise.
47880
edf2933a
L
47881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47883
57c6cf40
L
47884 [BZ #14183]
47885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47886 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47887
67b6df78 47888 [BZ #14117]
8eb6281e
L
47889 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47890 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47891
aac639f4
L
47892 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47894
67b6df78
L
47895 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47896 Defined to 1 if __x86_64__ isn't defined.
47897 (_STAT_VER_LINUX_OLD): New.
47898 (st_atime): Remove duplicate.
47899 (st_mtime): Likewise.
47900 (st_ctime): Likewise.
47901
1c2cfe81
DM
479022012-05-31 David S. Miller <davem@davemloft.net>
47903
47904 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47905 entries.
47906
5be8418c
AS
479072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
47908
e7725326
AS
47909 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47910 gen-libm-test.pl.
47911
5be8418c
AS
47912 [BZ #14132]
47913 * elf/dl-reloc.c: Include <_itoa.h>.
47914 (_dl_reloc_bad_type): Remove use of INTUSE.
47915 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47916 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47917 * stdio-common/psiginfo.c (psiginfo): Likewise.
47918 * stdio-common/psignal.c (psignal): Likewise.
47919 * string/strsignal.c (strsignal): Likewise.
47920 * include/signal.h (_sys_siglist): Declare hidden proto.
47921 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
47922 INTVARDEF with libc_hidden_data_def.
47923 * stdio-common/itoa-udigits.c: Likewise.
47924 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47925 (_itoa_lower_digits_internal): Remove declaration.
47926 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47927 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47928 (_sys_sigabbrev_internal): Remove aliases.
47929 (_sys_siglist): Define hidden alias.
47930
507352f1
MT
479312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
47932
47933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47934 bits/sysctl.h.
47935
42bbb1c3
L
479362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
47937
47938 [BZ #14117]
6bd784b6
L
47939 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47940 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47941
8bca20f0
L
47942 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47943 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47944 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47945 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47947 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47948
f9e890a9
L
47949 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47951 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47952
471101a1
L
47953 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47954 with __addr.
47955 (insw): Likewise.
47956 (insl): Likewise.
47957 (outsb): Likewise.
47958 (outsw): Likewise.
47959 (outsl): Likewise.
47960
6451c862
L
47961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47964
a254b8c9
L
47965 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47966 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47968 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47969 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47970 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47971
b8dfdd92
L
47972 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47973 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47974
578cd270
L
47975 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47976 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47977
de662f5f
L
47978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47981
25653439
L
47982 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47983 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47984 to ...
47985 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47986
6bad24a0
L
47987 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47988 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47989 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47990
42bbb1c3
L
47991 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47992 for x86-64.
47993 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47994
2d10d547
JM
479952012-05-31 Joseph Myers <joseph@codesourcery.com>
47996
47997 * math/math.h (M_El): Use two more decimal places.
47998 (M_LOG2El): Likewise.
47999 (M_LOG10El): Likewise.
48000 (M_LN2l): Likewise.
48001 (M_LN10l): Likewise.
48002 (M_PIl): Likewise.
48003 (M_PI_2l): Likewise.
48004 (M_PI_4l): Likewise.
48005 (M_1_PIl): Likewise.
48006 (M_2_PIl): Likewise.
48007 (M_2_SQRTPIl): Likewise.
48008 (M_SQRT2l): Likewise.
48009 (M_SQRT1_2l): Likewise.
48010
f230c29b
DM
480112012-05-31 David S. Miller <davem@davemloft.net>
48012
48013 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48014 values between float registers.
48015 * sysdeps/sparc/sparc64/memset.S: Likewise.
48016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48017
fed806c3
MF
480182012-05-31 Mike Frysinger <vapier@gentoo.org>
48019
48020 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48021 -D_FORTIFY_SOURCE=1.
48022 (CPPFLAGS-tst-longjmp_chk.c): Define.
48023 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48024 (CPPFLAGS-tst-longjmp_chk2.c): Define.
48025 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48026 CFLAGS-tst-wchar-h.c.
48027
30917259
MP
480282012-05-31 Marek Polacek <polacek@redhat.com>
48029
48030 [BZ #14132]
48031 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48032 __endmntent_internal): Remove declaration.
48033 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48034 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48035 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48036
1c58d5dc
DM
480372012-05-30 David S. Miller <davem@davemloft.net>
48038
48039 * sysdeps/sparc/sparc32/soft-fp/q_util.c
48040 (___Q_simulate_exceptions): Use real FP ops rather than writing
48041 into the %fsr.
48042 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48043 Likewise.
48044
7dc00e0d
L
480452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48046
48047 [BZ #14117]
0bd53985
L
48048 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48049 * sysdeps/x86/bits/xtitypes.h: This.
48050
3a257e66
L
48051 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48052 * sysdeps/x86/bits/wordsize.h: This.
48053
62f62904
L
48054 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48055 * sysdeps/x86/bits/huge_vall.h: This.
48056
404fe9d9
L
48057 * sysdeps/i386/bits/select.h: Removed.
48058 * sysdeps/x86_64/bits/select.h: Renamed to ...
48059 * sysdeps/x86/bits/select.h: This.
48060
d48d0446
L
48061 * sysdeps/i386/bits/setjmp.h: Removed.
48062 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48063 * sysdeps/x86/bits/setjmp.h: This.
48064
7dc00e0d
L
48065 * sysdeps/i386/bits/mathdef.h: Removed.
48066 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48067 * sysdeps/x86/bits/mathdef.h: This.
48068
03277f8f
AS
480692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
48070
48071 [BZ #14132]
48072 * include/sys/socket.h (__connect_internal)
48073 (__libc_sa_len_internal): Remove declaration.
48074 (__connect, __libc_sa_len): Declare hidden_proto.
48075 (SA_LEN): Remove use of INTUSE.
48076 * socket/connect.c: Add libc_hidden_def.
48077 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48078 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48079 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48080 alias.
48081 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48083 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48084 of adding _internal alias.
48085
13764867
L
480862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48087
48088 [BZ #14117]
6bd97696
L
48089 * sysdeps/i386/bits/link.h: Removed.
48090 * sysdeps/i386/bits/linkmap.h: Likewise.
48091 * sysdeps/x86_64/bits/link.h: Renamed to ...
48092 * sysdeps/x86/bits/link.h: This.
48093 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48094 * sysdeps/x86/bits/linkmap.h: This.
48095
f726f0bb
L
48096 * sysdeps/i386/bits/endian.h: Removed.
48097 * sysdeps/x86_64/bits/endian.h: Renamed to ...
48098 * sysdeps/x86/bits/endian.h: This.
48099
13764867
L
48100 * sysdeps/i386/bits/byteswap.h: Removed.
48101 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48102 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48103 * sysdeps/x86/bits/byteswap.h: This.
48104 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48105 * sysdeps/x86/bits/byteswap-16.h: This.
48106 * sysdeps/i386/Implies: Add x86.
48107 * sysdeps/x86_64/Implies: Likewise.
48108
ae251b0b
DM
481092012-05-30 David S. Miller <davem@davemloft.net>
48110
48111 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48112 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48114 (FP_TRAPPING_EXCEPTIONS): Define.
48115 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48116 (FP_TRAPPING_EXCEPTIONS): Define.
48117 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48118 subnormals only when inexact has been signalled or underflow
48119 exceptions are enabled.
48120 (_FP_PACK_CANONICAL): Likewise.
48121
d5c90867
L
481222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48123
48124 [BZ #14183]
48125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48126 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48127
63f1549e
RH
481282012-05-30 Richard Henderson <rth@twiddle.net>
48129
8d8f2279
RH
48130 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48131 with #ifndef NOT_IN_libc.
48132
63f1549e
RH
48133 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
48134 marked to avoid plt entry.
48135
0ab0291b
L
481362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48137
48138 [BZ #14112]
48139 * Makeconfig (default-abi): New macro.
48140 (abi-includes): Likewise.
48141 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
48142 $(abi-$(default-abi)-lib-soname) for soname if defined.
48143 ($(common-objpfx)gnu/lib-names.stmp): Generate from
48144 abi-variants.
48145 * Makefile (installed-stubs): Likewise.
48146 * include/stubs-biarch.h: Removed.
48147 * scripts/lib-names.awk: Only handle one library at a time.
48148 * scripts/soversions.awk: Remove WORDSIZE support.
48149 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48150 entries.
48151 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48152 Removed.
48153 (syscall-list-default-condition): Likewise.
48154 (syscall-list-default-condition): Likewise.
48155 (syscall-list-includes): Likewise.
48156 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48157 syscall-list-* with abi-*. Handle undefined abi-variants.
48158 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48159 * sysdeps/unix/sysv/linux/i386/Implies: New file.
48160 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48161 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48162 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48163 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48164 Removed.
48165 (syscall-list-32-options): Likewise.
48166 (syscall-list-32-condition): Likewise.
48167 (syscall-list-64-options): Likewise.
48168 (syscall-list-64-condition): Likewise.
48169 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48170 macro.
48171 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48172 Renamed to ...
48173 (abi-*): This.
48174 (abi-64-ld-soname): New macro.
48175 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48176 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48177 Renamed to ...
48178 (abi-*): This.
48179 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48180 * sysdeps/x86_64/x32/shlib-versions: Likewise.
48181
4da0431d
JM
481822012-05-30 Joseph Myers <joseph@codesourcery.com>
48183
3a85279c
JM
48184 * sysdeps/unix/sysv/linux/kernel-features.h
48185 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48186 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48187 include <kernel-features.h>.
48188 [!__NR_ftruncate64]: Remove conditional code.
48189 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48190 [__NR_ftruncate64]: Make code unconditional.
48191 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48192 * sysdeps/unix/sysv/linux/truncate64.c: Do not
48193 include <kernel-features.h>.
48194 [!__NR_ftruncate64]: Remove conditional code.
48195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48196 [__NR_ftruncate64]: Make code unconditional.
48197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48199 include <kernel-features.h>.
48200 [!__NR_ftruncate64]: Remove conditional code.
48201 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48202 [__NR_ftruncate64]: Make code unconditional.
48203 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48205 include <kernel-features.h>.
48206 [!__NR_ftruncate64]: Remove conditional code.
48207 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48208 [__NR_ftruncate64]: Make code unconditional.
48209 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48210
4da0431d
JM
48211 * configure.in (libc_cv_fpie): Weaken to a compile test using
48212 LIBC_TRY_CC_OPTION.
48213 * configure: Regenerated.
48214
11ef492c
AK
482152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48216
48217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48221 Refreshed.
48222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48228 Refreshed.
48229
d66ef399
DM
482302012-05-27 David S. Miller <davem@davemloft.net>
48231
48232 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48233 (___Q_zero): New.
48234 (__Q_simulate_exceptions): Return void. Change to simulate
48235 exceptions by writing into the %fsr.
48236 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48237 (__Qp_handle_exceptions): Likewise.
48238 (numbers): Delete.
48239 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48240 __Qp_handle_exceptions.
48241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48242 __Qp_handle_exceptions.
48243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48244 as unused and give dummy FP_RND_NEAREST initializer.
48245 (FP_INHIBIT_RESULTS): Define.
48246 (___Q_simulate_exceptions): Update declaration.
48247 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48248 formatting.
48249 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48250 as unused and give dummy FP_RND_NEAREST initializer.
48251 (__Qp_handle_exceptions): Update declaration.
48252 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48253 formatting.
48254
04fb54b5
TS
482552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
48256
48257 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48258 the temporary FPU control word.
48259 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48260 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48261 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48262 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48264 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48265 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48266 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48267 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48268 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48270
3f99608f
KK
482712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48272
48273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48274 fields.
48275
65a4de4e
CLT
482762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
48277
48278 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48279 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48280 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48281 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48282 Likewise.
48283 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48284 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48285 Likewise.
48286
15749d40
UD
482872012-05-27 Ulrich Drepper <drepper@gmail.com>
48288
48289 * po/h.po: Update from translation team.
48290
25dbcb27
AS
482912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
48292
3d3f8e55
AS
48293 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48294
25dbcb27
AS
48295 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48296 handling of denormals.
48297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48298 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48299 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48300 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48304 Likewise.
48305
7ad47a80 483062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
48307
48308 [BZ #14152]
48309 * math/libm-test.inc (fma_test): Don't always expect underflow
48310 exception.
48311
9c6ea9fa
SP
483122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48313
48314 [BZ #12416]
48315 * elf/tst-execstack.c: Include stackinfo.h.
48316 (do_test): Adjust test case to ensure that pthread_getattr_np
48317 behaviour remains the same after marking stack executable.
48318
a8239222
JM
483192012-05-25 Joseph Myers <joseph@codesourcery.com>
48320
48321 * sysdeps/unix/sysv/linux/kernel-features.h
48322 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48323 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48324 kernel-features.h.
48325 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48326 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48327 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48328 kernel-features.h.
48329 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48330 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48331
918b5606
L
483322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
48333
48334 * configure.in: Define the default includes to being none.
48335 * configure: Regenerated.
48336
3a097cc7
RM
483372012-05-25 Roland McGrath <roland@hack.frob.com>
48338
8422c9a5
RM
48339 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48340 * sysdeps/x86_64/setjmp.S: Likewise.
48341 * sysdeps/i386/bsd-setjmp.S: Likewise.
48342 * sysdeps/i386/bsd-_setjmp.S: Likewise.
48343 * sysdeps/i386/setjmp.S: Likewise.
48344 * sysdeps/i386/__longjmp.S: Likewise.
48345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48346 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48347
3a097cc7
RM
48348 * include/stap-probe.h: New file.
48349 * configure.in: Handle --enable-systemtap.
48350 * configure: Regenerated.
48351 * config.h.in (USE_STAP_PROBE): New #undef.
48352 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48353 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48354 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48355
21708942
JM
483562012-05-25 Joseph Myers <joseph@codesourcery.com>
48357
48358 [BZ #13717]
48359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48360 to 2.4.0 where earlier.
48361 * sysdeps/unix/sysv/linux/configure: Regenerated.
48362 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48363 <kernel-features.h>.
48364 [__ASSUME_32BITUIDS]: Make code unconditional.
48365 [!__ASSUME_32BITUIDS]: Remove conditional code.
48366 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48367 <kernel-features.h>.
48368 [__ASSUME_32BITUIDS]: Make code unconditional.
48369 [!__ASSUME_32BITUIDS]: Remove conditional code.
48370 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48371 [__ASSUME_32BITUIDS]: Make code unconditional.
48372 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48373 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48374 <kernel-features.h>.
48375 [__ASSUME_32BITUIDS]: Make code unconditional.
48376 [!__ASSUME_32BITUIDS]: Remove conditional code.
48377 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48378 <kernel-features.h>.
48379 [__ASSUME_32BITUIDS]: Make code unconditional.
48380 [!__ASSUME_32BITUIDS]: Remove conditional code.
48381 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48382 <kernel-features.h>.
48383 [__ASSUME_32BITUIDS]: Make code unconditional.
48384 [!__ASSUME_32BITUIDS]: Remove conditional code.
48385 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48386 <kernel-features.h>.
48387 [__ASSUME_32BITUIDS]: Make code unconditional.
48388 [!__ASSUME_32BITUIDS]: Remove conditional code.
48389 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48390 <kernel-features.h>.
48391 [__ASSUME_32BITUIDS]: Make code unconditional.
48392 [!__ASSUME_32BITUIDS]: Remove conditional code.
48393 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48394 <kernel-features.h>.
48395 [__ASSUME_32BITUIDS]: Make code unconditional.
48396 [!__ASSUME_32BITUIDS]: Remove conditional code.
48397 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48398 <kernel-features.h>.
48399 [__ASSUME_32BITUIDS]: Make code unconditional.
48400 [!__ASSUME_32BITUIDS]: Remove conditional code.
48401 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48402 <kernel-features.h>.
48403 [__ASSUME_32BITUIDS]: Make code unconditional.
48404 [!__ASSUME_32BITUIDS]: Remove conditional code.
48405 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48406 <kernel-features.h>.
48407 [__ASSUME_32BITUIDS]: Make code unconditional.
48408 [!__ASSUME_32BITUIDS]: Remove conditional code.
48409 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48410 <kernel-features.h>.
48411 [__ASSUME_32BITUIDS]: Make code unconditional.
48412 [!__ASSUME_32BITUIDS]: Remove conditional code.
48413 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48414 <kernel-features.h>.
48415 [__NR_setresgid] (__setresgid): Do not declare.
48416 [__ASSUME_32BITUIDS]: Make code unconditional.
48417 [!__ASSUME_32BITUIDS]: Remove conditional code.
48418 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48419 <kernel-features.h>.
48420 [__NR_setresuid] (__setresuid): Do not declare.
48421 [__ASSUME_32BITUIDS]: Make code unconditional.
48422 [!__ASSUME_32BITUIDS]: Remove conditional code.
48423 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48424 <kernel-features.h>.
48425 [__ASSUME_32BITUIDS]: Make code unconditional.
48426 [!__ASSUME_32BITUIDS]: Remove conditional code.
48427 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48428 <kernel-features.h>.
48429 [__ASSUME_32BITUIDS]: Make code unconditional.
48430 [!__ASSUME_32BITUIDS]: Remove conditional code.
48431 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48432 <kernel-features.h>.
48433 [__ASSUME_32BITUIDS]: Make code unconditional.
48434 [!__ASSUME_32BITUIDS]: Remove conditional code.
48435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48436 <kernel-features.h>.
48437 [__ASSUME_32BITUIDS]: Make code unconditional.
48438 [!__ASSUME_32BITUIDS]: Remove conditional code.
48439 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48440 <kernel-features.h>.
48441 [__ASSUME_32BITUIDS]: Make code unconditional.
48442 [!__ASSUME_32BITUIDS]: Remove conditional code.
48443 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48444 <kernel-features.h>.
48445 [__ASSUME_32BITUIDS]: Make code unconditional.
48446 [!__ASSUME_32BITUIDS]: Remove conditional code.
48447 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48448 <kernel-features.h>.
48449 [__ASSUME_32BITUIDS]: Make code unconditional.
48450 [!__ASSUME_32BITUIDS]: Remove conditional code.
48451 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48452 <kernel-features.h>.
48453 [__ASSUME_32BITUIDS]: Make code unconditional.
48454 [!__ASSUME_32BITUIDS]: Remove conditional code.
48455 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48456 <kernel-features.h>.
48457 [__ASSUME_32BITUIDS]: Make code unconditional.
48458 [!__ASSUME_32BITUIDS]: Remove conditional code.
48459 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48460 <kernel-features.h>.
48461 [__ASSUME_32BITUIDS]: Make code unconditional.
48462 [!__ASSUME_32BITUIDS]: Remove conditional code.
48463 * sysdeps/unix/sysv/linux/kernel-features.h
48464 (__ASSUME_SETRESUID_SYSCALL): Remove.
48465 (__ASSUME_SETRESGID_SYSCALL): Likewise.
48466 (__ASSUME_32BITUIDS): Likewise.
48467 (__ASSUME_LDT_WORKS): Likewise.
48468 (__ASSUME_O_DIRECTORY): Likewise.
48469 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48470 architecture but not kernel version.
48471 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48472 (__ASSUME_MMAP2_SYSCALL): Likewise.
48473 (__ASSUME_STAT64_SYSCALL): Likewise.
48474 (__ASSUME_IPC64): Likewise.
48475 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48476 <kernel-features.h>.
48477 [__ASSUME_32BITUIDS]: Make code unconditional.
48478 [!__ASSUME_32BITUIDS]: Remove conditional code.
48479 * sysdeps/unix/sysv/linux/opendir.c: Do not include
48480 <kernel-features.h>.
48481 [__ASSUME_O_DIRECTORY]: Make code unconditional.
48482 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48483 132096]: Remove conditional code.
48484 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48485 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48486 <kernel-features.h>.
48487 [__ASSUME_32BITUIDS]: Make code unconditional.
48488 [!__ASSUME_32BITUIDS]: Remove conditional code.
48489 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48490 <kernel-features.h>.
48491 [__ASSUME_32BITUIDS]: Make code unconditional.
48492 [!__ASSUME_32BITUIDS]: Remove conditional code.
48493 * sysdeps/unix/sysv/linux/setegid.c: Do not include
48494 <kernel-features.h>.
48495 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48496 unconditional.
48497 (__setresgid): Do not declare.
48498 [__ASSUME_32BITUIDS]: Make code unconditional.
48499 [!__ASSUME_32BITUIDS]: Remove conditional code.
48500 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48501 <kernel-features.h>.
48502 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48503 unconditional.
48504 (__setresuid): Do not declare.
48505 [__ASSUME_32BITUIDS]: Make code unconditional.
48506 [!__ASSUME_32BITUIDS]: Remove conditional code.
48507 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48508 <kernel-features.h>.
48509 [__ASSUME_32BITUIDS]: Make code unconditional.
48510 [!__ASSUME_32BITUIDS]: Remove conditional code.
48511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48512 <kernel-features.h>.
48513 [__ASSUME_32BITUIDS]: Make code unconditional.
48514 [!__ASSUME_32BITUIDS]: Remove conditional code.
48515
a386f1cc
RH
485162012-05-25 Richard Henderson <rth@twiddle.net>
48517
48518 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48519 dl_hwcap to ifunc resolver.
48520 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48521 elf_ifunc_invoke.
48522 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48523 dl_hwcap to ifunc resolver.
48524 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48525
b6550497
JM
485262012-05-24 Joseph Myers <joseph@codesourcery.com>
48527
48528 [BZ #14153]
48529 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48530 for |x| <= 2**-26, not 2**-57.
48531 * math/libm-test.inc (acos_test): Do not allow spurious underflow
48532 exception.
48533
b0bc23a1
JL
485342012-05-24 Jeff Law <law@redhat.com>
48535
48536 * stdio-common/Makefile (tests): Add bug25.
48537 * stdio-common/bug25.c: New test.
48538
347c92e9
L
485392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
48540
48541 [BZ #13576]
48542 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48543 multiple of MALLOC_ALIGNMENT in size.
48544 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48545
6bcc8b3f
JM
485462012-05-24 Joseph Myers <joseph@codesourcery.com>
48547
48548 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48549 Require >= 256.
48550 (FILENAME_MAX): Use macro-int-constant.
48551 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
48552 (_IOFBF): Use macro-int-constant.
48553 (_IOLBF): Likewise.
48554 (_IONBF): Likewise.
48555 (SEEK_CUR): Likewise.
48556 (SEEK_END): Likewise.
48557 (SEEK_SET): Likewise.
48558 (TMP_MAX): Likewise.
48559 (EOF): Use macro-int-constant. Require < 0.
48560 (NULL): Use macro-constant. Require == 0.
48561 (stdin): Require type to be FILE *.
48562 (stdout): Likewise.
48563 (stderr): Likewise.
48564 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48565 macro-int-constant.
48566 (EXIT_SUCCESS): Likewise.
48567 (NULL): Use macro-constant. Require == 0.
48568 (RAND_MAX): Use macro-int-constant.
48569 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48570 [C99-based standards] (strtof): Require function.
48571 [C99-based standards] (strtold): Likewise.
48572 [C99-based standards] (strtoll): Likewise.
48573 [C99-based standards] (strtoull): Likewise.
48574 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48575 [ISO || ISO99 || ISO11] (limits.h): Likewise.
48576 [ISO || ISO99 || ISO11] (math.h): Likewise.
48577 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48578 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48580
d18ea0c5
AS
485812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
48582
48583 [BZ #14132]
56d25bb8
AS
48584 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48585 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48586 * intl/dgettext.c (DCGETTEXT): Likewise.
48587 * intl/gettext.c (DCGETTEXT): Likewise.
48588 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48589 * posix/regex_internal.h (gettext): Likewise.
48590 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48591 Remove declaration.
48592 * include/argz.h (__argz_count_internal)
48593 (__argz_stringify_internal): Remove declaration.
48594 (__argz_count, __argz_stringify): Declare hidden proto.
48595 * intl/dcgettext.c: Remove use of INTDEF.
48596 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48597 * string/argz-stringify.c: Likewise.
48598 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48599 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48600 Declare hidden proto.
d18ea0c5
AS
48601 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48602 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48603 Declare hidden proto.
48604 * include/stdio.h (__asprintf_internal): Don't declare.
48605 (__asprintf): Don't define as macro. Declare hidden proto.
48606 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48607 (__fsetlocking): Declare hidden proto.
48608 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48609 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48610 hidden proto.
48611 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48612 (_IO_setlinebuf): Remove use of INTUSE.
48613 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48614 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48615 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48616 Remove declaration.
48617 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48618 (_IO_do_flush): Remove use of INTUSE.
48619 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48620 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48621 (_IO_adjust_column, _IO_least_wmarker)
48622 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48623 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48624 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48625 (_IO_default_doallocate, _IO_wdefault_doallocate)
48626 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48627 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48628 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48629 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48630 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48631 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48632 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48633 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48634 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48635 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48636 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48637 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48638 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48639 proto.
48640 (_IO_flush_all_internal, _IO_adjust_column_internal)
48641 (_IO_default_uflow_internal, _IO_default_finish_internal)
48642 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48643 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48644 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48645 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48646 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48647 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48648 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48649 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48650 (_IO_file_close_internal, _IO_file_close_it_internal)
48651 (_IO_file_underflow_internal, _IO_file_overflow_internal)
48652 (_IO_file_init_internal, _IO_file_attach_internal)
48653 (_IO_file_fopen_internal, _IO_file_read_internal)
48654 (_IO_file_sync_internal, _IO_file_seek_internal)
48655 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48656 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48657 (_IO_str_underflow_internal, _IO_str_overflow_internal)
48658 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48659 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48660 (_IO_list_all_internal, _IO_link_in_internal)
48661 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48662 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48663 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48664 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48665 (_IO_do_write_internal, _IO_padn_internal)
48666 (_IO_getline_info_internal, _IO_getline_internal)
48667 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48668 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48669 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48670 (_IO_vfscanf_internal, _IO_vfprintf_internal)
48671 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48672 (_IO_init_internal, _IO_un_link_internal): Don't declare.
48673 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48674 with libc_hidden_ver, remove use of INTUSE.
48675 * libio/genops.c: Likewise.
48676 * libio/freopen.c: Likewise.
48677 * libio/freopen64.c: Likewise.
48678 * libio/iofclose.c: Likewise.
48679 * libio/iofdopen.c: Likewise.
48680 * libio/iofflush.c: Likewise.
48681 * libio/iofflush_u.c: Likewise.
48682 * libio/iofgets.c: Likewise.
48683 * libio/iofgets_u.c: Likewise.
48684 * libio/iofopen.c: Likewise.
48685 * libio/iofopncook.c: Likewise.
48686 * libio/iofread.c: Likewise.
48687 * libio/iofread_u.c: Likewise.
48688 * libio/ioftell.c: Likewise.
48689 * libio/iofwrite.c: Likewise.
48690 * libio/iogetline.c: Likewise.
48691 * libio/iogets.c: Likewise.
48692 * libio/iogetwline.c: Likewise.
48693 * libio/iopadn.c: Likewise.
48694 * libio/iopopen.c: Likewise.
48695 * libio/ioseekoff.c: Likewise.
48696 * libio/ioseekpos.c: Likewise.
48697 * libio/iosetbuffer.c: Likewise.
48698 * libio/iosetvbuf.c: Likewise.
48699 * libio/ioungetc.c: Likewise.
48700 * libio/ioungetwc.c: Likewise.
48701 * libio/iovdprintf.c: Likewise.
48702 * libio/iovsprintf.c: Likewise.
48703 * libio/iovsscanf.c: Likewise.
48704 * libio/memstream.c: Likewise.
48705 * libio/obprintf.c: Likewise.
48706 * libio/oldfileops.c: Likewise.
48707 * libio/oldiofclose.c: Likewise.
48708 * libio/oldiofdopen.c: Likewise.
48709 * libio/oldiofopen.c: Likewise.
48710 * libio/oldiopopen.c: Likewise.
48711 * libio/oldstdfiles.c: Likewise.
48712 * libio/putc.c: Likewise.
48713 * libio/setbuf.c: Likewise.
48714 * libio/setlinebuf.c: Likewise.
48715 * libio/stdfiles.c: Likewise.
48716 * libio/strops.c: Likewise.
48717 * libio/vasprintf.c: Likewise.
48718 * libio/vscanf.c: Likewise.
48719 * libio/vsnprintf.c: Likewise.
48720 * libio/vswprintf.c: Likewise.
48721 * libio/wfiledoalloc.c: Likewise.
48722 * libio/wfileops.c: Likewise.
48723 * libio/wgenops.c: Likewise.
48724 * libio/wmemstream.c: Likewise.
48725 * libio/wstrops.c: Likewise.
48726 * libio/__fpurge.c: Likewise.
48727 * libio/__fsetlocking.c: Likewise.
48728 * assert/assert.c: Likewise.
48729 * debug/fgets_chk.c: Likewise.
48730 * debug/fgets_u_chk.c: Likewise.
48731 * debug/fread_chk.c: Likewise.
48732 * debug/fread_u_chk.c: Likewise.
48733 * debug/gets_chk.c: Likewise.
48734 * debug/obprintf_chk.c: Likewise.
48735 * debug/vasprintf_chk.c: Likewise.
48736 * debug/vdprintf_chk.c: Likewise.
48737 * debug/vsnprintf_chk.c: Likewise.
48738 * debug/vsprintf_chk.c: Likewise.
48739 * malloc/mtrace.c: Likewise.
48740 * misc/error.c: Likewise.
48741 * misc/syslog.c: Likewise.
48742 * stdio-common/asprintf.c: Likewise.
48743 * stdio-common/fxprintf.c: Likewise.
48744 * stdio-common/getw.c: Likewise.
48745 * stdio-common/isoc99_fscanf.c: Likewise.
48746 * stdio-common/isoc99_scanf.c: Likewise.
48747 * stdio-common/isoc99_vfscanf.c: Likewise.
48748 * stdio-common/isoc99_vscanf.c: Likewise.
48749 * stdio-common/isoc99_vsscanf.c: Likewise.
48750 * stdio-common/printf-prs.c: Likewise.
48751 * stdio-common/printf_fp.c: Likewise.
48752 * stdio-common/printf_fphex.c: Likewise.
48753 * stdio-common/printf_size.c: Likewise.
48754 * stdio-common/putw.c: Likewise.
48755 * stdio-common/scanf.c: Likewise.
48756 * stdio-common/sprintf.c: Likewise.
48757 * stdio-common/tmpfile.c: Likewise.
48758 * stdio-common/vfprintf.c: Likewise.
48759 * stdio-common/vfscanf.c: Likewise.
48760 * stdlib/strfmon_l.c: Likewise.
48761 * sunrpc/openchild.c: Likewise.
48762 * sunrpc/xdr_stdio.c: Likewise.
48763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48764 * sysdeps/mach/hurd/tmpfile.c: Likewise.
48765
d6c33fda
RM
487662012-05-24 Roland McGrath <roland@hack.frob.com>
48767
c1487492
RM
48768 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48769
48770 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48771 in the third column, to generate for the shared library an IFUNC
48772 that uses _dl_vdso_vsym.
48773 * Makerules (COMPILE.c, compile-stdin.c): New variables.
48774 * Makeconfig (object-suffixes-noshared): New variable.
48775
48776 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48777 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48778 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48779 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48780
d6c33fda
RM
48781 [BZ #14132]
48782 * include/sys/time.h (__gettimeofday): Remove macro.
48783 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48784 * time/gettimeofday.c (__gettimeofday): Remove #undef.
48785 Remove INTDEF.
48786 (__gettimeofday): Add libc_hidden_def.
48787 (gettimeofday): Add libc_hidden_weak.
48788 * sysdeps/mach/gettimeofday.c: Likewise.
48789 * sysdeps/posix/gettimeofday.c: Likewise.
48790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48791 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48793 (__gettimeofday_internal): Remove strong_alias.
48794 (__gettimeofday): Add libc_hidden_def.
48795 (gettimeofday): Add libc_hidden_weak.
48796 * sysdeps/unix/syscalls.list (gettimeofday):
48797 Remove __gettimeofday_internal alias.
48798
b5a2bbe6
L
487992012-05-24 Daniel Jacobowitz <drow@false.org>
48800 H.J. Lu <hongjiu.lu@intel.com>
48801
48802 [BZ #12495]
48803 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48804 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48805 (largebin_index_32_big): New.
48806 (largebin_index): Use it for 16-byte alignment.
48807 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
48808 correction with front_misalign.
48809
cfba4fda
L
488102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
48811
7f907421
L
48812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48814 Likewise.
48815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48816 Likewise.
48817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48818 Likewise.
48819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48820 Likewise.
48821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48822 Likewise.
48823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48824 Likewise.
48825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48826 Likewise.
48827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48828 Likewise.
48829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48830 Likewise.
48831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48832 Likewise.
48833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48834 Likewise.
48835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48836 Likewise.
48837
cfba4fda
L
48838 * scripts/data/c++-types-x32-linux-gnu.data: New file.
48839 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48840
80bad0cc
JM
488412012-05-24 Joseph Myers <joseph@codesourcery.com>
48842
7a25eb06
JM
48843 [BZ #10846]
48844 [BZ #14036]
48845 * math/libm-test.inc (exp_test): Add test from bug 14036.
48846 (pow_test): Add test from bug 10846.
48847
795405f9
JM
48848 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48849 and other flags.
48850 (special_function): Do not include flags in test name.
48851 (parse_args): Likewise.
48852 * sysdeps/i386/fpu/libm-test-ulps: Update.
48853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48854 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48855 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48857
80bad0cc
JM
48858 * math/gen-libm-test.pl (%beautify): Add entries for underflow
48859 exceptions.
48860 * math/libm-test.inc ("Philosophy"): Update comment about
48861 exception testing.
48862 (UNDERFLOW_EXCEPTION): New macro.
48863 (UNDERFLOW_EXCEPTION_OK): Likewise.
48864 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48865 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48866 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48867 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48868 (INVALID_EXCEPTION_OK): Update value.
48869 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48870 (OVERFLOW_EXCEPTION_OK): Likewise.
48871 (IGNORE_ZERO_INF_SIGN): Likewise.
48872 (test_exceptions): Handle underflow exceptions.
48873 (acos_test): Update for underflow exception expectations.
48874 (cexp_test): Likewise.
48875 (clog_test): Likewise.
48876 (clog10_test): Likewise.
48877 (csqrt_test): Likewise.
48878 (ctan_test): Likewise.
48879 (ctanh_test): Likewise.
48880 (exp_test): Likewise.
48881 (exp10_test): Likewise.
48882 (exp2_test): Likewise.
48883 (expm1_test): Likewise.
48884 (fma_test): Likewise.
48885 (j0_test): Likewise.
48886 (jn_test): Likewise.
48887 (nexttoward_test): Likewise.
48888 (pow_test): Likewise.
48889 (scalbn_test): Likewise.
48890 (scalbln_test): Likewise.
48891 (tan_test): Likewise.
48892 (y1_test): Likewise.
48893 * sysdeps/i386/fpu/libm-test-ulps: Update.
48894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48895
9e0e3d0b
DM
488962012-05-23 David S. Miller <davem@davemloft.net>
48897
48898 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48899 (__libc_sigaction): Remove unused local variables.
48900
ccd0a08f
L
489012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48902
48903 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48904
62bdf9a6
PE
489052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
48906
f8591f80
PE
48907 mktime: avoid signed integer overflow
48908 * time/mktime.c (__mktime_internal): Do not mishandle the case
48909 where diff == INT_MIN.
48910
94c7d826
PE
48911 mktime: simplify computation of average
48912 * time/mktime.c (ranged_convert): Use new time_t_avg function
48913 instead of rolling our own (probably-slower) code.
48914
ce73d683
PE
48915 mktime: do not assume signed right shift propagates sign bit
48916 * time/mktime.c (isdst_differ): New static function.
48917 (__mktime_internal): No need to normalize tm_isdst now.
48918 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48919 tm_isdst values.
48920
72a22e59
PE
48921 mktime: merge another wrapv change from gnulib
48922 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48923 from some compilers.
48924
68605433
PE
48925 mktime: remove incorrect attempt at unusual arithmetics
48926 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48927 The code didn't really work on such machines anyway.
48928 (TYPE_MINIMUM): Assume two's complement.
48929 (twos_complement_arithmetic): Verify that long_int and time_t
48930 are two's complement (or unsigned, in the latter case).
48931
03cf7fe3
PE
48932 mktime: check signed shifts on long_int and time_t, too
48933 * time/mktime.c (SHR): Check that shifts work as desired
48934 on the types long_int and time_t too, as SHR is used on
48935 such types.
48936
f04dfbc2
PE
48937 mktime: do not assume 'long' is wide enough
48938 * time/mktime.c (verify): Move decl up.
48939 (long_int): New type.
48940 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48941 to remove assumption in the code that 'long' is wide enough to
48942 store year values. This assumption is not true on x32 and on
48943 some non-glibc platforms.
48944
62bdf9a6
PE
48945 mktime: merge wrapv change from gnulib
48946 * time/mktime.c (WRAPV): New macro.
48947 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48948 (guess_time_tm, __mktime_internal): Do not assume that signed
48949 integer overflow wraps around; modern compilers generate code
48950 where this assumption is no longer valid.
48951
5e292e4f
L
489522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48953
48954 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48955 Replace "jmp L(pseudo_end)" with "ret".
48956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48957 Likewise.
48958
8caf8c87
AJ
489592012-05-23 Andreas Jaeger <aj@suse.de>
48960
48961 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48962 * sysdeps/unix/sysv/linux/poll.c: Remove file.
48963
1a09dc56
AJ
489642012-05-23 Andreas Jaeger <aj@suse.de>
48965 Maximilian Attems <max@stro.at>
48966
48967 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48968 New macros.
48969
1c87aba0
L
489702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48971
48972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48973 code so that pseudo_end is just ret and the stack pointer is
48974 correct also for static library in error case.
48975
40e45bd5
JM
489762012-05-23 Joseph Myers <joseph@codesourcery.com>
48977
c2670533
JM
48978 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48979 move to syscalls.list.
48980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48984
40e45bd5
JM
48985 * manual/install.texi (Running make install): Do not mention Linux
48986 kernel version for which pt_chown is not needed.
48987 (Linux): Do not mention problems with nscd with 2.0 kernels.
48988 * INSTALL: Regenerated.
48989
be08eda5
AJ
489902012-05-23 Andreas Jaeger <aj@suse.de>
48991
48992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48993 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48994 macro.
48995 * sysdeps/unix/sysv/linux/s390/bits/mman.h
48996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48997 * sysdeps/unix/sysv/linux/sh/bits/mman.h
48998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48999 * sysdeps/unix/sysv/linux/i386/bits/mman.h
49000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49003 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49005 * sysdeps/unix/sysv/linux/bits/in.h
49006 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49007
a6a056bb
RM
490082012-05-22 Roland McGrath <roland@hack.frob.com>
49009
49010 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49011 (PREPARE_VERSION): Just use assert instead, it will be elided
49012 under [NDEBUG] anyway.
49013
c9009328
L
490142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49015
49016 * sysdeps/unix/sysv/linux/Makefile: Include
49017 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 49018 (sysdep_routines): Remove sysctl.
c9009328
L
49019 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49020 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49021 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49022 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49023 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49024
73338355
AJ
490252012-05-22 Andreas Jaeger <aj@suse.de>
49026
49027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49028 that pseudo_end is just ret and the stack pointer is correct also
49029 for static library in error case.
49030
d44638b0
PP
490312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
49032
49033 [BZ #14122]
49034 * nss/nsswitch.c (defconfig_entries): New variable.
49035 (__nss_database_lookup): Don't leak defconfig entries.
49036 (nss_parse_service_list): Don't leak on error paths.
49037 (free_database_entries): New function.
49038 (free_defconfig): New function.
49039 (free_mem): Move common code to free_database_entries.
49040
31a39bd8
L
490412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49042
da0331a8
L
49043 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49044 Add arch_prctl.
49045 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49046
31a39bd8
L
49047 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49048 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49050 New macro.
49051 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49052 (INTERNAL_SYSCALL_TYPES): Likewise.
49053 (LOAD_ARGS_TYPES_[1-6]): Likewise.
49054 (LOAD_REGS_TYPES_[1-6]): Likewise.
49055 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49056 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49057
45470df3
AZ
490582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49059
49060 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49061 copysignl for GLIBC_2_0.
49062 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49063 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49065 logbl for GLIBC_2_0.
49066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49067 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49068
98a61bcb
L
490692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49070
a4f6e481
L
49071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49073
f63d5db6
L
49074 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49075 Use "neg %eax".
49076
98a61bcb
L
49077 * time/mktime.c: Update copyright years.
49078
95770f14
PE
490792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
49080
6226efbd
PE
49081 mktime: merge comment-quoting-style change from gnulib
49082 * time/mktime.c: Quote 'like this' in comments.
49083 The GNU coding standards suggest that we no longer quote `like this',
49084 as "`" and "'" are typically rendered asymmetrically nowadays.
49085 The typical gnulib style is to quote 'like this' when quoting
49086 code, and "like this" when quoting English.
49087
b99e4f78
PE
49088 * time/mktime.c (compile-command): Add "-I.".
49089
643e01e6
PE
49090 mktime: merge mktime-internal.h change from gnulib
49091 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49092
2554247d
PE
49093 mktime: merge time_r change from gnulib
49094 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49095
826dd0ab
PE
49096 mktime: merge DEBUG change from gnulib
49097 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49098 case system <time.h> has a #define.
49099
bd83aabe
PE
49100 mktime: merge <sys/types.h> change from gnulib
49101 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49102 since <time.t> is now guaranteed to define time_t.
49103
95770f14
PE
49104 mktime: merge HAVE_CONFIG_H change from gnulib
49105 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49106
5e1a27a9
L
491072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49108
0e44a77e
L
49109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49110 Use "neg %eax".
49111
5e1a27a9
L
49112 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49113 __rlim_t cast.
49114 (struct rusage): Use anonymous union to pad each field to
49115 __syscall_slong_t.
49116
46259bec
DM
491172012-05-21 David S. Miller <davem@davemloft.net>
49118
49119 * Makefules (o-iterator): Remove .s cases.
49120 (compile-command.s): Delete.
49121 (COMPILE.s): Delete.
49122 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49123
59f0c22e
JM
491242012-05-21 Joseph Myers <joseph@codesourcery.com>
49125
49126 * configure.in (libc_cv_predef_stack_protector): Only consider
49127 "foobar" and "__stack_chk_fail" lines in libc_undefs.
49128 * configure: Regenerated.
49129
20c07380
L
491302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49131
bbb3154b
L
49132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49133 New macro. Use R*LP on int and pointer.
49134 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
49135 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49136 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
49137 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49138
20c07380
L
49139 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49140 [__WORDSIZE_TIME64_COMPAT32] instead of
49141 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49142 (struct utmp): Likewise.
49143 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49144 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49145 Renamed to ...
49146 (__WORDSIZE_TIME64_COMPAT32): This.
49147 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49148 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49149 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49150 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49151 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49152 (__WORDSIZE_TIME64_COMPAT32): New macro.
49153
d8d1017e
AJ
491542012-05-21 Andreas Jaeger <aj@suse.de>
49155
49156 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49157 only if [SHARED]. Add prototype for __wcschr_ia32.
49158
6c7fb145
RM
491592012-05-21 Roland McGrath <roland@hack.frob.com>
49160
49161 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49162 of %rbp unmolested in the jmp_buf while mangling the low bits.
49163 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49164 unmolested high bits of %rbp while demangling the low bits.
49165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49166
66274218
AJ
491672012-05-21 Andreas Jaeger <aj@suse.de>
49168
07c58f8f
AJ
49169 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49170 * sunrpc/svc_simple.c: Use it for registerrpc.
49171 * sunrpc/xcrypt.c: Use it for passwd2des.
49172
66274218
AJ
49173 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49174
61f65140
L
491752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49176
49177 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49178 Don't define if [__SYSCALL_WORDSIZE != 32].
49179 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49180 New macro.
49181
5fefb436
AJ
491822012-05-21 Bruno Haible <bruno@clisp.org>
49183 Andreas Jaeger <aj@suse.de>
49184
49185 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49186 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49187 inptr and inend for must_buffer_ch.
49188 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49189 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49190 * stdio-common/Makefile (tests): Remove bug15.
49191 (bug15-ENV): Remove macro.
49192 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49193 anymore.
49194
d8e272ab
AJ
491952012-05-19 Andreas Jaeger <aj@suse.de>
49196 Roland McGrath <roland@hack.frob.com>
49197
49198 * manual/contrib.texi: Completely rewritten. It contains now an
49199 alphabetical list of contributors and their contributions.
49200
4a56a162
RH
492012012-05-21 Richard Henderson <rth@twiddle.net>
49202
49203 * misc/getauxval.c (__getauxval): Use unsigned long int.
49204 * misc/sys/auxv.h: Include <sys/cdefs.h>.
49205 (getauxval): Use unsigned long int.
49206
d024d23c
L
492072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49208
49209 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49210
cbc00a03
RM
492112012-05-21 Roland McGrath <roland@hack.frob.com>
49212
49213 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49214 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49215 __alignof__ (long double).
49216
478143fa
AZ
492172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49218
49219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49220
c7683a6d
RH
492212012-05-20 Richard Henderson <rth@twiddle.net>
49222
49223 * misc/getauxval.c: New file.
49224 * misc/sys/auxv.h: New file.
49225 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49226 (routines): Add getauxval.
49227 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49229 * elf/dl-sysdep.c (_dl_auxv): Remove.
49230 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49231 * elf/dl-support.c (_dl_auxv): New variable.
49232 (_dl_aux_init): Initialize it.
49233 * manual/startup.texi (Auxiliary Vector): New node.
49234 * sysdeps/generic/bits/hwcap.h: New file.
49235 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49236 * sysdeps/powerpc/sysdep.h: ... here. Include it.
49237 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49238 * sysdeps/sparc/sysdep.h: ... here. Include it.
49239 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
49241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49242 Update.
c7683a6d
RH
49243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49251
a6f1845d
AZ
492522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49253
49254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49255
cbcbe830
DM
492562012-05-19 David S. Miller <davem@davemloft.net>
49257
49258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49259
e0b16cc2
JM
492602012-05-19 Joseph Myers <joseph@codesourcery.com>
49261
49262 [BZ #14123]
49263 * math/s_ccosh.c: Include <float.h>
49264 (__ccosh): Avoid internal overflow calculating sinh and cosh
49265 values before multiplying by sin and cos values.
49266 * math/s_ccoshf.c: Likewise.
49267 * math/s_ccoshl.c: Likewise.
49268 * math/s_csin.c: Likewise.
49269 * math/s_csinf.c: Likewise.
49270 * math/s_csinl.c: Likewise.
49271 * math/s_csinh.c: Likewise.
49272 * math/s_csinhf.c: Likewise.
49273 * math/s_csinhl.c: Likewise.
49274 * math/libm-test.inc (ccos_test): Add more tests.
49275 (ccosh_test): Likewise.
49276 (csin_test): Likewise.
49277 (csinh_test): Likewise.
49278 * sysdeps/i386/fpu/libm-test-ulps: Update.
49279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49280
6ad13e08
L
492812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
49282
f66f0ce8
L
49283 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49284 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49285
6ad13e08
L
49286 * sysdeps/x86_64/x32/_itoa.h: Add comment.
49287
b1d072a7
JM
492882012-05-19 Joseph Myers <joseph@codesourcery.com>
49289
49290 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49291 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49292 * sysdeps/powerpc/soft-fp/Versions: Likewise.
49293 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49294 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49295 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49296 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49297 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49298 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49299 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49300 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49301 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49302 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49303 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49304 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49305 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49306 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49307 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49308 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49309 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49310 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49311 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49312 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49313 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49314 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49315 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49316 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49317 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49318 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49319 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49320 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49321
9eae47cb
AJ
493222012-05-18 Andreas Jaeger <aj@suse.de>
49323
49324 * csu/.gitignore: Delete.
49325
bb07f69f
L
493262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49327
49328 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49329 (timex): Use __syscall_slong_t.
49330
e6bdb741
AJ
493312012-05-18 Andreas Jaeger <aj@suse.de>
49332 Carlos O'Donell <carlos_odonell@mentor.com>
49333
49334 * manual/install.texi (Configuring and compiling): Update
49335 description about files modified in the source directory.
d6c33fda 49336 * INSTALL: Regenerated.
e6bdb741 49337
1b74487e
L
493382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49339
49340 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49341 value. Use "or" to set return value to -1.
49342 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49343 negate return value.
49344
a88b64b9
TMQMF
493452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49346
57f41c40
AS
49347 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49348 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
49349 failure if the compiler has Graphite support disabled.
49350 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49351 Likewise.
57f41c40
AS
49352 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49353 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
49354 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49355 Likewise.
49356
3707636e
L
493572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49358
610b8622
L
49359 * sysdeps/x86_64/x32/_itoa.h: New file.
49360
7cd195df
L
49361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49362 getdents system call only if kernel and user dirents have the
49363 same d_ino and d_off.
49364
94b07d20
L
49365 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49366 LLONG_MAX != LONG_MAX.
49367 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49368 (_fitoa_word): Likewise.
49369
18298070
L
49370 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49371 years.
49372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49373 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49375
553c7ea4
L
49376 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49377 include <bits/wordsize.h>. Check __x86_64__ instead of
49378 __WORDSIZE.
49379 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49380 if __x86_64__ is defined. Use anonymous union on fpstate.
49381
3707636e
L
49382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49383 anonymous union.
49384
b53ef01a
AS
493852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
49386
37fb1dc0
AS
49387 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49388 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49389 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49390 Refer to _rtld_local_ro instead of _rtld_global_ro.
49391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49392 Likewise.
49393 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49394 Likewise.
49395 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49396 Likewise.
49397 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49398 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49399 of _rtld_global, and rtld_progname instead of _dl_argv[0].
49400
2d02fd07 49401 [BZ #10882]
b53ef01a
AS
49402 * sysdeps/powerpc/powerpc32/dl-machine.c
49403 (__elf_machine_runtime_setup) [PROF]: Don't reference
49404 _dl_prof_resolve.
49405
7a185db2
AJ
494062012-05-18 Andreas Jaeger <aj@suse.de>
49407
49408 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49409 function only available for GCCs before 3.4 since GCC 3.4
49410 introduced a builtin.
49411 (lrint): Likewise.
49412 (llrintf): Likewise.
49413 (llrint): Likewise.
49414 (fmaxf): Likewise.
49415 (fmax): Likewise.
49416 (fminf): Likewise.
49417 (fmin): Likewise.
49418 (rint): Likewise.
49419 (rintf): Likewise.
49420 (nearbyint): Likewise.
49421 (nearbyintf): Likewise.
49422 (ceil): Likewise.
49423 (ceilf): Likewise.
49424 (floor): Likewise.
49425 (floorf): Likewise.
49426
3e5aef87
L
494272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49428
428bd707
L
49429 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49430 on both fields and cast pointer to __syscall_ulong_t.
49431
3e5aef87
L
49432 * bits/types.h (__fsword_t): New type.
49433 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49434 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49436 (__FSWORD_T_TYPE): Likewise.
49437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49438 (__FSWORD_T_TYPE): Likewise.
49439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49440 (__FSWORD_T_TYPE): Likewise.
49441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49442 (__FSWORD_T_TYPE): Likewise.
49443 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49444 __SWORD_TYPE with __fsword_t.
49445 (statfs64): Likewise.
49446
1ba7c3dc
DM
494472012-05-17 David S. Miller <davem@davemloft.net>
49448
49449 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49450
59910343
AJ
494512012-05-17 Andreas Jaeger <aj@suse.de>
49452
49453 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49454 warning.
49455
2e4c1e9e
L
494562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49457
49458 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49459
de7f5ce7
AJ
494602012-05-17 Andreas Jaeger <aj@suse.de>
49461
49462 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49463 when it is used.
49464
286abc3d
CM
494652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
49466
49467 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49468
477cc68e
L
494692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49470
49471 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49472 * sysdeps/x86_64/tst-mallocalign1.c: New file.
49473
1a0994f5
CD
494742012-05-17 Andreas Jaeger <aj@suse.de>
49475 Carlos O'Donell <carlos_odonell@mentor.com>
49476
49477 [BZ #14059]
49478 * sysdeps/x86_64/multiarch/init-arch.h
49479 (bit_YMM_Usable): Rename to...
49480 (bit_AVX_Usable): ... this.
49481 (bit_FMA4_Usable): New macro.
49482 (bit_XMM_state): New macro.
49483 (bit_YMM_state): New macro.
49484 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49485 [__ASSEMBLER__] (index_AVX_Usable): ... this.
49486 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49487 (CPUID_OSXSAVE): New macro.
49488 (CPUID_AVX): New macro.
49489 (CPUID_FMA4): New macro.
49490 (index_YMM_Usable): Rename to...
49491 (index_AVX_Usable): ... this.
49492 (HAS_AVX): Use HAS_ARCH_FEATURE.
49493 (HAS_FMA4): Likewise.
49494 (HAS_YMM_USABLE): Remove.
49495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49496 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49497 are present.
49498 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49499 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49500 * sysdeps/x86_64/multiarch/Makefile: Likewise.
49501 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49502 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49503
0af797de
CM
495042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
49505
49506 * math/libm-test.c: Support platforms without multiple rounding modes.
49507 * math/bug-nextafter.c: Support platforms without FP exceptions.
49508 * math/bug-nexttoward.c: Likewise.
49509 * math/test-fenv.c: Likewise.
49510 * math/test-misc.c: Likewise.
49511 * stdlib/bug-getcontext.c: Likewise.
49512
e39745ff
AJ
495132012-05-17 Andreas Jaeger <aj@suse.de>
49514
49515 * manual/examples/search.c (critter_cmp): Change signature to
49516 avoid warnings.
49517 * manual/string.texi (Collation Functions): Likewise.
49518
48970aba
L
495192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49520
49521 * bits/types.h: Fold copyright years.
49522 * bits/typesizes.h: Likewise.
49523 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49527 * time/time.h: Likewise.
49528
bedee953
PP
495292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
49530
49531 [BZ #208]
49532 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49533 in instead of returning them. Return void.
49534 (__libc_mallinfo): Accumulate over all arenas.
49535 (__malloc_stats): Adjust for change in int_mallinfo interface.
49536
61653dfb
RM
495372012-05-16 Roland McGrath <roland@hack.frob.com>
49538
30b99d79
RM
49539 [BZ #10375]
49540 * configure.in (NM): Add AC_CHECK_TOOL for it.
49541 (libc_extra_cflags): New substituted variable.
49542 Check for -fstack-protector being used implicitly.
49543 * configure: Regenerated.
49544 * config.make.in (config-extra-cflags): New variable,
49545 gets @libc_extra_cflags@.
49546 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49547
61653dfb
RM
49548 [BZ #10375]
49549 * configure.in: Check for _FORTIFY_SOURCE being predefined.
49550 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49551 * configure: Regenerated.
49552 * config.make.in (CPPUNDEFS): New substituted variable.
49553 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49554 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49555 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49556
661768bb
L
495572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49558
49559 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49560 (mq_attr): Use __syscall_slong_t.
49561
d4261567
L
495622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49563
49564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49565 Check __x86_64__ instead of __WORDSIZE.
49566 (_STAT_VER_LINUX): Likewise.
49567 (stat): Check __x86_64__ instead of __WORDSIZE. Use
49568 __syscall_ulong_t and __syscall_slong_t.
49569 (stat64): Likewise.
49570
cf3ff365
L
495712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49572
49573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49574
76cf3e4d
L
495752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49576
49577 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49578
a637753a
L
495792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49580
49581 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49582 __syscall_ulong_t.
49583
d5e05119
L
49584 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49585 include <bits/wordsize.h>. Check __x86_64__ instead of
49586 __WORDSIZE.
49587 (greg_t): Use "__extension__ long long int" if __x86_64__ is
49588 defined.
49589 (mcontext_t): Replace "unsigned long" with "unsigned long long".
49590
f62ee380
L
49591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49592 include <bits/wordsize.h>. Check __x86_64__ instead of
49593 __WORDSIZE.
49594 (user_regs_struct): Use "__extension__ unsigned long long"
49595 instead of "unsigned long" if __x86_64__ is defined.
49596 (user): Likewise. Pad after pointer field if __ILP32__ is
49597 defined.
49598
4e124ced
JM
495992012-05-16 Joseph Myers <joseph@codesourcery.com>
49600
6a3951a0
JM
49601 * configure.in (makeinfo): Require version 4.5 or later. Allow
49602 versions 5 to 9.
49603 * configure: Regenerated.
49604 * manual/install.texi (texinfo): Increase version requirement to
49605 4.5 or later.
49606 * INSTALL: Regenerated.
49607
4e124ced
JM
49608 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49609
953ca31a
L
496102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49611
49612 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49613
617aca05
L
49614 * sysdeps/x86_64/x32/ffs.c: New file.
49615
5762f7ae
L
49616 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49617 __syscall_ulong_t.
49618 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49619 defined. Use __syscall_ulong_t.
49620 (shminfo): Use __syscall_ulong_t.
49621 (shm_info): Likewise.
49622
a26b6856
L
49623 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49624 __syscall_ulong_t.
49625
cb2b9ef7
L
49626 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49627 <bits/wordsize.h>.
49628 (msgqnum_t): Use __syscall_ulong_t.
49629 (msglen_t): Likewise.
49630 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
49631 __syscall_ulong_t.
49632
34683bb0
L
49633 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49634 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49635
84a68786
L
49636 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49637
48baa5f1
L
49638 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49639 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49640
180be88b
L
49641 * sysvipc/sys/msg.h (msgbuf): Replace long int with
49642 __syscall_slong_t.
49643
5e90c8ad
L
49644 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49645 include <bits/wordsize.h>. Check __x86_64__ instead of
49646 __WORDSIZE.
49647
23dfb58b
L
49648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49649 "unsigned long long int" if __x86_64__ is defined.
49650 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49651
ce5d54b0
L
49652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49654 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49655
13dc9eac
L
49656 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49657 <stdint.h>.
49658 (GET_PC): Cast to uintptr_t first.
49659 (GET_FRAME): Likewise.
49660 (GET_STACK): Likewise.
49661
a7895d15
L
49662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49664 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49665 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49666 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49667 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49668 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49669 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49670 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49671 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49673 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49674 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49677 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49678 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49679 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49681 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49683 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49684 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49685 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49686 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49689 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49690 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49691
656416c9
AS
496922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
49693
5bd66283
AS
49694 * Makerules (+depfiles): Also collect depfiles from .oS in
49695 $(extra-objs).
49696 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49697 .oS, $(libnldbl-routines)).
49698
656416c9
AS
49699 * Makerules (native-compile-mkdep-flags): Define.
49700 * sunrpc/Makefile (extra-objs): Add $(addprefix
49701 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49702 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49703 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
49704 calling $(make-target-directory).
49705
a46f2169
L
497062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49707
49708 * bits/types.h (__snseconds_t): Removed.
49709 * time/time.h (struct timespec): Replace __snseconds_t with
49710 __syscall_slong_t.
49711 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49712 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49713 Likewise.
49714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49715 (__SNSECONDS_T_TYPE): Likewise.
49716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49717 (__SNSECONDS_T_TYPE): Likewise.
49718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49719 (__SNSECONDS_T_TYPE): Likewise.
49720
6af6528b
L
497212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49722
49723 * sysdeps/mach/hurd/bits/typesizes.h
49724 (__SYSCALL_SLONG_TYPE): New macro.
49725 (__SYSCALL_ULONG_TYPE): Likewise.
49726
de986b56
L
497272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49728
49729 * bits/types.h (__syscall_slong_t): New type.
49730 (__syscall_ulong_t): Likewise.
49731
49732 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49733 (__SYSCALL_ULONG_TYPE): Likewise.
49734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49735 (__SYSCALL_SLONG_TYPE): Likewise.
49736 (__SYSCALL_ULONG_TYPE): Likewise.
49737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49738 (__SYSCALL_SLONG_TYPE): Likewise.
49739 (__SYSCALL_ULONG_TYPE): Likewise.
49740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49741 (__SYSCALL_SLONG_TYPE): Likewise.
49742 (__SYSCALL_ULONG_TYPE): Likewise.
49743
85736dc7
L
497442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49745
49746 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49747 Add sigaltstack-offsets.sym.
49748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49749 <sigaltstack-offsets.h>.
49750 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
49751 longjmp_msg pointer.
49752 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
49753 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49754 signal stack.
49755 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49756
cc03b296
JM
497572012-05-15 Joseph Myers <joseph@codesourcery.com>
49758
a9538892
JM
49759 * elf/stackguard-macros.h: Remove file.
49760 * sysdeps/generic/stackguard-macros.h: New file.
49761 * sysdeps/i386/stackguard-macros.h: Likewise.
49762 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49763 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49764 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49765 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49766 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49767 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49768 * sysdeps/x86_64/stackguard-macros.h: Likewise.
49769 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49770 <elf/stackguard-macros.h>.
49771
cc03b296
JM
49772 [BZ #14109]
49773 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49774 __aligned__ in attribute.
49775 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49776 (gregset_t): Likewise.
49777
93171016
L
497782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49779
49780 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49781 * sysdeps/x86_64/64/Implies-after: Here. New file.
49782 * sysdeps/x86_64/x32/Implies-after: New file.
49783
d86813a0
L
497842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49785
49786 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49787 and access return value for _dl_profile_fixup. Use R10_LP to
49788 load frame size.
49789
2953ec75
L
497902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49791
49792 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49793
3b550e9e
L
497942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49795
49796 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49797 * sysdeps/x86_64/x32/sysdep.h: New file.
49798
eda41706
L
497992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49800
49801 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49802 * sysdeps/x86_64/setjmp.S: Likewise.
49803
9ea01d93
AZ
498042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49805
49806 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49807 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49808 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49810 remove unused global constant.
49811
02a91938
CM
498122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
49813
49814 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49815 include of <not-cancel.h>.
49816
6540185f
RM
498172012-05-15 Roland McGrath <roland@hack.frob.com>
49818
49819 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49820
509072a0
AJ
498212012-05-15 Jeff Law <law@redhat.com>
49822 Andreas Jaeger <aj@suse.de>
49823
49824 [BZ #13594]
49825 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49826 out from...
49827 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49828 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49829 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49830 code changing __hst_map_handle.map.
49831
ba75122d
RM
498322012-05-15 Roland McGrath <roland@hack.frob.com>
49833
49834 * configure.in (sysnames): Look for Implies-before and Implies-after
49835 files.
49836 * configure: Regenerated.
49837
890d8bd8
L
498382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49839
49840 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49841 8-byte data alignment with LP_SIZE alignment.
49842
f6ee6623
L
498432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49844
49845 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49846 into R10_LP.
49847
ea2626f6
L
498482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49849
49850 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49851
085f715e
L
498522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49853
49854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49855 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49857 Likewise.
49858 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49859
be8498fc
L
498602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49861
49862 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49863 (stackinfo_sub_sp): Likewise.
49864
70bc83b9
L
498652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49866
49867 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49868 RAX_LP.
49869
9bc0b730
L
498702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49871
49872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49873 into R*_LP.
49874
6d2850e7
L
498752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49876
49877 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49878 sizes into R*_LP.
49879
3cb84561
L
498802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49881
49882 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49883
54e2ed81
L
498842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49885
49886 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49887 into R11_LP and load __x86_64_shared_cache_size_half into
49888 R8_LP.
49889
8a17f349
L
498902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49891
49892 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49893 R8_LP.
49894
777b1eea
AZ
498952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49896
49897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49898 logb for POWER7.
49899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49900 logbf for POWER7.
49901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49902 logbl for POWER7.
49903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49904 powerpc32/power7/fpu/s_logb.c via #include.
49905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49906 powerpc32/power7/fpu/s_logbf.c via #include.
49907 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49908 powerpc32/power7/fpu/s_logbl.c via #include.
49909
d20d4ac2
JM
499102012-05-15 Joseph Myers <joseph@codesourcery.com>
49911
49912 * README.libm: Remove file.
49913
6cdef1ab
L
499142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49915
49916 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49917 count for x32. Use R*_LP and omit operand-size suffix.
49918
0b254d8f
L
499192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49920
49921 * shlib-versions: Move x86_64-.*-linux.* entries to ...
49922 * sysdeps/x86_64/64/shlib-versions: Here. New file.
49923 * sysdeps/x86_64/x32/shlib-versions: New file.
49924
ceb809dc
RM
499252012-05-14 Roland McGrath <roland@hack.frob.com>
49926
49927 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49928 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49929 Use _dl_fatal_printf instead.
49930
37f1abd4
JM
499312012-05-14 Joseph Myers <joseph@codesourcery.com>
49932
49933 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49934 set if not set by the user. Do not allow for being unset.
49935 * sysdeps/unix/sysv/linux/configure: Regenerated.
49936
11de3a33
L
499372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49938
49939 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49940 the `q' suffix from lea and replace .quad with ASM_ADDR.
49941
e02f153a
L
499422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49943
49944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49945 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
49946 instead of $17.
49947 (PTR_DEMANGLE): Likewise.
49948
520ae0fd
L
499492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49950
49951 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49952 (LP_OP): Likewise.
49953 (ASM_ADDR): Likewise.
49954 (RAX_LP): Likewise.
49955 (RBP_LP): Likewise.
49956 (RBX_LP): Likewise.
49957 (RCX_LP): Likewise.
49958 (RDI_LP): Likewise.
49959 (RSI_LP): Likewise.
49960 (RSP_LP): Likewise.
49961 (R8_LP): Likewise.
49962 (R9_LP): Likewise.
49963 (R10_LP): Likewise.
49964 (R10_LP): Likewise.
49965 (R11_LP): Likewise.
49966 (R12_LP): Likewise.
49967 (R13_LP): Likewise.
49968 (R14_LP): Likewise.
49969 (R15_LP): Likewise.
49970
b985be81
L
499712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49972
49973 * sysdeps/x86_64/x32/dl-machine.h: New file.
49974
6a4888ff
AJ
499752012-05-14 Andreas Jaeger <aj@suse.de>
49976
49977 * manual/Makefile (subdir): Remove export of subdir.
49978 (all): Remove target.
49979 (.PHONY): Remove all from list.
49980 (mkinstalldirs): Remove.
49981 (.PHONY): Remove installdirs from list.
49982 ($(inst_infodir)/libc.info): Use make-target-directory.
49983 (installdirs): Remove.
49984 (subdir_%): Remove.
49985 (glibc-targets): Remove.
49986 (lib): Remove.
49987 (stubs): Remove.
49988 ($(objpfx)stubs ../po/manual.pot): Remove.
49989 ($(objpfx)stamp%): Remove.
49990 (make-target-directory): Remove.
49991 (subdir_install): Remove.
49992 (routines): Remove.
49993 (aux): Remove.
49994 (sources): Remove.
49995 (objects): Remove.
49996 (headers): Remove.
49997
49998 [BZ #13750]
49999 * manual/.gitignore: Remove, it's not needed anymore.
50000 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50001 all files in it.
50002 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50003 directory.
50004 (texis): Renamed to $(objpfx)texis.
50005 (texis-path): New, contains path to generated files.
50006 (chapters.%): Use texis-path for complete path, add extra argument
50007 libc-texinfo.sh.
50008 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50009 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50010 (summary,texi, stamp-summary): Use complete path of
50011 files. Generate files in build dir.
50012 (dir-add.texi): Build in build dir.
50013 (libm-err.texi,stamp-libm-err): Likewise.
50014 (version.texi, stamp-version): Likewise.
50015 (.%c.texi): Likewise.
50016 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50017 (mostlyclean): Remove target.
50018 (realclean): Remove target.
50019 (generated): Add new variable with contents from mostlyclean and
50020 realclean, remove entries duplicated in common-mostlyclean, add
50021 stamp-libm-err and stamp-version.
50022 (generated-dirs): Add libc directory.
50023 ($(inst_infodir)/libc.info): Install files from build dir.
50024
50025 * manual/install.texi (Configuring and compiling): Adjust since
50026 the info files are not part of the tar ball anymore.
50027
7ac77294
AJ
500282012-05-14 Andreas Jaeger <aj@suse.de>
50029
50030 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50031 variable.
50032
ffb7875d
JM
500332012-05-14 Joseph Myers <joseph@codesourcery.com>
50034
50035 [BZ #13717]
50036 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50037 to 2.2.0 where earlier.
50038 * sysdeps/unix/sysv/linux/configure: Regenerated.
50039 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50040 Remove conditional code.
50041 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50042 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50043 Remove conditional code.
50044 [!__NR_lchown]: Likewise.
50045 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50046 [__NR_lchown]: Likewise.
50047 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50048 comment referencing __ASSUME_LCHOWN_SYSCALL.
50049 * sysdeps/unix/sysv/linux/i386/sigaction.c
50050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50052 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50053 Remove conditional code.
50054 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50055 (__protocol_available): Remove #if 0 code.
50056 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50057 conditional code.
50058 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50059 * sysdeps/unix/sysv/linux/kernel-features.h
50060 (__ASSUME_GETCWD_SYSCALL): Don't define.
50061 (__ASSUME_REALTIME_SIGNALS): Likewise.
50062 (__ASSUME_PREAD_SYSCALL): Likewise.
50063 (__ASSUME_PWRITE_SYSCALL): Likewise.
50064 (__ASSUME_POLL_SYSCALL): Likewise.
50065 (__ASSUME_LCHOWN_SYSCALL): Likewise.
50066 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50067 non-SPARC.
50068 (__ASSUME_SIOCGIFNAME): Don't define.
50069 (__ASSUME_MSG_NOSIGNAL): Likewise.
50070 (__ASSUME_SENDFILE): Define unconditionally.
50071 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50072 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50073 conditional code.
50074 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50075 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50076 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50077 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50078 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50079 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50080 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50082 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50085 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50091 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50094 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50097 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50105 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50106 Remove conditional code.
50107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50108 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50109 Remove conditional code.
50110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50111 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50112 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50113 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50114 Remove conditional code.
50115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50116 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50117 Remove conditional code.
50118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50119 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50120 Remove conditional code.
50121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50122 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50123 Remove conditional code.
50124 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50125 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50126 Remove conditional code.
50127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50128 * sysdeps/unix/sysv/linux/sh/pwrite64.c
50129 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50131 * sysdeps/unix/sysv/linux/sigaction.c
50132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50134 * sysdeps/unix/sysv/linux/sigpending.c
50135 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50136 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50137 * sysdeps/unix/sysv/linux/sigprocmask.c
50138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50140 * sysdeps/unix/sysv/linux/sigsuspend.c
50141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50143 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50144 (__libc_missing_rt_sigs): Remove.
50145 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50146 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50147 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50148 Remove conditional code.
50149 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50150 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50151 return 1.
50152 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50153 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50154 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50155 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50156
1bfb7291
AJ
501572012-05-14 Andreas Jaeger <aj@suse.de>
50158
caae5a81
AJ
50159 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50160 it's not used in glibc.
50161 (__coshm1): Likewise.
50162 (__acosh1p): Likewise.
50163 (__sgn): Likewise.
50164
1bfb7291
AJ
50165 * manual/string.texi (Copying and Concatenation): Add missing
50166 variable in concat example.
50167 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50168
c044d724
L
501692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50170
144c5467 50171 [BZ #14103]
c044d724
L
50172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50173 __builtin_clzl with __builtin_clzll.
50174
2523c62b
L
501752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50176
50177 [BZ #14104]
50178 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50179 libc_freeres_ptr.
50180
d7bb4c42
LD
501812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50182
50183 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50184 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50185 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50186 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50187
9dc4e1fb
MF
501882012-05-14 Mike Frysinger <vapier@gentoo.org>
50189
50190 * NEWS: Update ia64 info.
50191
c7df0112
AS
501922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
50193
50194 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50195 used as bcopy.
50196
dc70356c
TS
501972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
50198
50199 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50200 * sysdeps/unix/syscalls.list (dup3): Likewise.
50201 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50202 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50203
9fb1a21f
L
502042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
50205
50206 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50207 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50208
4822a2a5
L
502092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
50210
50211 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50212 thread pointer.
50213 (TLS_IE): Use mov/add instead of movq/addq to load thread
50214 pointer.
50215 (TLS_GD_PREFIX): New.
50216 (TLS_GD): Use it.
50217
842b81d6
DM
502182012-05-11 David S. Miller <davem@davemloft.net>
50219
50220 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50221 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50222 (_FPU_SETCW): Likewise.
50223
1cf463cd
L
502242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50225
50226 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50227 is 32-byte aligned.
50228
60cc4a18
AS
502292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
50230
50231 [BZ #11837]
50232 * iconvdata/gb18030.c: Update tables.
50233 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
50234 characters specially.
50235 (BODY for TO_LOOP): Add encoding of missing ranges.
50236
febb44a4
TS
502372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
50238
50239 [BZ #13673]
50240 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50241 * sysdeps/mach/hurd/dup3.c: Likewise.
50242 * sysdeps/mach/hurd/readlinkat.c: Likewise.
50243 * sysdeps/powerpc/memmove.c:: Likewise.
50244
0a10fb9e
L
502452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50246
50247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50248 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50249
df8a552f
L
502502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50251
50252 * elf/elf.h (R_X86_64_RELATIVE64): New.
50253 (R_X86_64_NUM): Updated.
50254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50255 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
50256 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50257 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50258 tst-quad1pie tst-quad2pie
50259 (modules-names): Add tst-quadmod1 tst-quadmod2.
50260 ($(objpfx)tst-quad1): New dependency.
50261 ($(objpfx)tst-quad2): Likewise.
50262 ($(objpfx)tst-quad1pie): Likewise.
50263 ($(objpfx)tst-quad2pie): Likewise.
50264 * sysdeps/x86_64/tst-quad1.c: New file.
50265 * sysdeps/x86_64/tst-quad1pie.c: New file.
50266 * sysdeps/x86_64/tst-quad2.c: Likewise.
50267 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50268 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50269 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50270 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50271 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50272
f34d6f84
ST
502732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50274
f42d41d1
ST
50275 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50276 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50277 * streams/stropts.h (t_scalar_t): Define type.
50278
3c3571fc
ST
50279 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50280 (_PATH_PRESERVE): Set to "/var/lib".
50281 (_PATH_RWHODIR): Set to "/var/spool/rwho".
50282
61f06bd3
ST
50283 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50284 instead of int.
50285
918d4d71
ST
50286 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50287 if __dir_mkfile succeeded.
50288
f34d6f84
ST
50289 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50290 checking for _hurd_dtablesize. Unlock it right after having
50291 finished _hurd_dtable allocation.
50292
10589b4a
TS
502932012-05-10 Thomas Schwinge <thomas@schwinge.name>
50294
674cdbc7
TS
50295 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50296 * sysdeps/mach/hurd/configure: Regenerated.
50297 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50298 special-casing to...
50299 * sysdeps/gnu/configure.in: ... this new file.
50300 * sysdeps/unix/sysv/linux/configure: Regenerated.
50301 * sysdeps/gnu/configure: New generated file.
50302
8e41b99f
TS
50303 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50304 for Linux: use nsec instead of usec, as well as:
50305 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50306 members of type struct timespec.
50307 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50308 New macros.
50309 (struct stat64): Likewise.
50310 (_STATBUF_ST_NSEC): New macro.
50311 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50312
10589b4a
TS
50313 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50314 __strtoul_internal rather than strtoul.
50315
63643c85
PT
503162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50317
50318 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50319 and reject them.
50320
3faebe6a
ST
503212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50322
50323 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50324 which preserves existing values.
50325 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50326
c6474b07
PT
503272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50328
50329 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50330 TIMEOUT values. Return EINVAL for NFDS values either negative or
50331 greater than FD_SETSIZE.
50332
1043890b
ST
503332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50334
50335 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50336 allocated, call __vm_protect to finish enabling the existing space, and
50337 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50338 allocate the remainder.
50339
37ed8b9b
PT
503402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50341
50342 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50343 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
50344
db653660
ST
503452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50346
37ed8b9b
PT
50347 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50348 sysdeps/mach/hurd/readlink.c.
b29d4053 50349
db653660
ST
50350 * posix/tst-sysconf.c (posix_options): Only use
50351 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50352 _POSIX_SYNCHRONIZED_IO when they are defined
50353 * sysdeps/mach/hurd/bits/posix_opt.h:
50354 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50355 (_XOPEN_REALTIME): Undefine macro.
50356 (_XOPEN_REALTIME_THREADS): Undefine macro.
50357 (_XOPEN_SHM): Undefine macro.
50358 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50359 macro to -1.
50360 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50361 macro to -1.
50362 (_POSIX_ASYNC_IO): Undefine macro.
50363 (_POSIX_PRIORITIZED_IO): Undefine macro.
50364 (_POSIX_SPIN_LOCKS): Define macro to -1.
50365
ee16e894
ST
50366 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50367 SA_NODEFER, SA_RESETHAND.
50368 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50369 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50370 F_DUPFD_CLOEXEC.
50371
6103ae3b
TS
503722012-05-10 Thomas Schwinge <thomas@schwinge.name>
50373
50374 * elf/Makefile (pldd-modules): Define unconditionally.
50375
80b4e5f3
TS
503762012-05-10 Thomas Schwinge <thomas@schwinge.name>
50377
50378 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50379
edadcbd6
ST
503802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50381
50382 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50383 Return ENOENT when name is empty.
50384 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50385
80694780
TS
503862012-05-10 Thomas Schwinge <thomas@schwinge.name>
50387
1792c087
TS
50388 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50389
80694780
TS
50390 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50391
6b645f0d
ST
503922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50393
80694780
TS
50394 Fix mlock in all cases except non-readable pages.
50395 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50396 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 50397
6b645f0d
ST
50398 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50399 (__mkdir): When path is `/', just fail with EEXIST.
50400 * sysdeps/mach/hurd/mkdirat.c: Likewise.
50401
e468f8a3
TS
504022012-05-10 Thomas Schwinge <thomas@schwinge.name>
50403
50404 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50405 <sys/uio.h> (for writev).
50406 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50407 and <sys/param.h> (for MIN).
50408
a4186cff
PT
504092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50410
50411 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50412 REQUESTED_TIME. Properly set the remaining time and return EINTR
50413 if interrupted.
50414
510bbf14
TS
504152012-05-10 Thomas Schwinge <thomas@schwinge.name>
50416
50417 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50418 Depend on against $(link-rpcuserlibs).
50419
5d5722e8
ST
504202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50421
a4186cff
PT
50422 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50423 (__libc_stack_end): Do not use attribute_relro.
50424 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50425 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 50426 to libthread-provided value.
a4186cff
PT
50427 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50428 attribute_relro.
5d5722e8 50429
37233df9
TS
504302012-05-10 Thomas Schwinge <thomas@schwinge.name>
50431
be971a2b
TS
50432 [BZ #3748]
50433 * bits/libc-lock.h (__libc_once_get): New macro.
50434 * sysdeps/mach/bits/libc-lock.h: Likewise.
50435 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50437 instead of using implementation details.
50438
37233df9
TS
50439 * libio/fileops.c: Unconditionally include <kernel-features.h>.
50440 * libio/freopen.c: Likewise.
50441 * libio/freopen64.c: Likewise.
50442 * misc/syslog.c: Likewise.
50443 * nscd/connections.c: Likewise.
50444 * nscd/netgroupcache.c: Likewise.
50445 * sysdeps/posix/getcwd.c: Likewise.
50446
38de94a5
RM
504472012-05-10 Roland McGrath <roland@hack.frob.com>
50448
50449 * math/w_ilogbf.c: Add #include <limits.h>.
50450
67530489
ST
504512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50452
a4186cff 50453 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
50454 path instead of returning without unlocking.
50455
67530489
ST
50456 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50457 immediate-write ioctls.
50458 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50459
5aa3a74a
TS
504602012-05-10 Thomas Schwinge <thomas@schwinge.name>
50461
18bad2ae
TS
50462 * sysdeps/mach/hurd/i386/init-first.c (init): Use
50463 __builtin_frame_address instead of making assumptions about the
50464 location of the return address relative to DATA. Force early load of
50465 the return address.
50466 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50467 __builtin_frame_address.
50468
5aa3a74a
TS
50469 dup3 for GNU Hurd.
50470 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50471 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
50472 implement dup3 and do some further code clean-ups.
50473 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50474 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50475
ecd0de9a
ST
504762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50477
cd9fa985
ST
50478 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50479
a4186cff
PT
50480 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50481 HURD_CRITICAL_END around holding _hurd_dtable_lock.
50482 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50483 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50484 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50485 d->port.lock.
802ca5a5 50486
a4186cff
PT
50487 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50488 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
50489 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 50490
bcf55240
TS
504912012-05-10 Thomas Schwinge <thomas@schwinge.name>
50492
6960eb42
TS
50493 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50494 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50495 definitions.
50496
eb43375f
TS
50497 accept4 for GNU Hurd.
50498 * include/sys/socket.h (__libc_accept4): New prototype.
50499 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
50500 to implement __libc_accept4.
50501 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50502 __libc_accept4.
50503 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50504
bcf55240
TS
50505 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50506 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50507 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50508 signal-defines.sym.
50509
6178c55b
ST
505102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50511
a4186cff 50512 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 50513
6f080c2f
TS
505142012-05-10 Thomas Schwinge <thomas@schwinge.name>
50515
50516 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50517 assertion on O_CLOEXEC flag.
50518 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50519 * hurd/intern-fd.c: Likewise.
50520 * hurd/port2fd.c: Likewise.
50521
bcfe3a54
ST
505222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50523
50524 [BZ #3906]
50525 * bits/in.h (IPV6_PKTINFO): Define new macro.
50526 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50527
89c9aa49
AZ
505282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50529
50530 [BZ #13954]
50531 [BZ #13955]
50532 [BZ #13956]
50533 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50535 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50536 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50537 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50538 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50539 * math/libm-test.inc (logb_test) : Additional logb tests.
50540
021db4be
AJ
505412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
50542 Andreas Jaeger <aj@suse.de>
50543
50544 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50545 * configure: Regenerated.
50546 * config.h.in (LINK_OBSOLETE_RPC): New macro.
50547 * config.make.in (link-obsolete-rpc): New substituted variable.
50548 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50549 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50550 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50551 (shared-only-routines): Don't set it under [link-obsolete-rpc],
50552 so that libc.a contains the symbols.
50553 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50554 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50555 * sunrpc/auth_none.c: Likewise.
50556 * sunrpc/auth_unix.c: Likewise.
50557 * sunrpc/authdes_prot.c: Likewise.
50558 * sunrpc/authuxprot.c: Likewise.
50559 * sunrpc/clnt_gen.c: Likewise.
50560 * sunrpc/clnt_perr.c: Likewise.
50561 * sunrpc/clnt_raw.c: Likewise.
50562 * sunrpc/clnt_simp.c: Likewise.
50563 * sunrpc/clnt_tcp.c: Likewise.
50564 * sunrpc/clnt_udp.c: Likewise.
50565 * sunrpc/clnt_unix.c: Likewise.
50566 * sunrpc/des_crypt.c: Likewise.
50567 * sunrpc/des_soft.c: Likewise.
50568 * sunrpc/get_myaddr.c: Likewise.
50569 * sunrpc/key_call.c: Likewise.
50570 * sunrpc/key_prot.c: Likewise.
50571 * sunrpc/netname.c: Likewise.
50572 * sunrpc/pm_getmaps.c: Likewise.
50573 * sunrpc/pm_getport.c: Likewise.
50574 * sunrpc/pmap_clnt.c: Likewise.
50575 * sunrpc/pmap_prot.c: Likewise.
50576 * sunrpc/pmap_prot2.c: Likewise.
50577 * sunrpc/pmap_rmt.c: Likewise.
50578 * sunrpc/publickey.c: Likewise.
50579 * sunrpc/rpc_cmsg.c: Likewise.
50580 * sunrpc/rpc_common.c: Likewise.
50581 * sunrpc/rpc_dtable.c: Likewise.
50582 * sunrpc/rpc_prot.c: Likewise.
50583 * sunrpc/rpc_thread.c: Likewise.
50584 * sunrpc/rtime.c: Likewise.
50585 * sunrpc/svc.c: Likewise.
50586 * sunrpc/svc_auth.c: Likewise.
50587 * sunrpc/svc_raw.c: Likewise.
50588 * sunrpc/svc_run.c: Likewise.
50589 * sunrpc/svc_tcp.c: Likewise.
50590 * sunrpc/svc_udp.c: Likewise.
50591 * sunrpc/svc_unix.c: Likewise.
50592 * sunrpc/svcauth_des.c: Likewise.
50593 * sunrpc/xcrypt.c: Likewise.
50594 * sunrpc/xdr.c: Likewise.
50595 * sunrpc/xdr_array.c: Likewise.
50596 * sunrpc/xdr_float.c: Likewise.
50597 * sunrpc/xdr_intXX_t.c: Likewise.
50598 * sunrpc/xdr_mem.c: Likewise.
50599 * sunrpc/xdr_rec.c: Likewise.
50600 * sunrpc/xdr_ref.c: Likewise.
50601 * sunrpc/xdr_sizeof.c: Likewise.
50602 * sunrpc/xdr_stdio.c: Likewise.
50603
b5c086a2
RM
506042012-05-10 Roland McGrath <roland@hack.frob.com>
50605
50606 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50607 change. Update copyright years.
50608
6d74dd09
JM
506092012-05-10 Joseph Myers <joseph@codesourcery.com>
50610
50611 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50612
28e72501
MK
506132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
50614 Joseph Myers <joseph@codesourcery.com>
50615 Paul Pluzhnikov <ppluzhnikov@google.com>
50616
50617 [BZ #14012]
50618 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50619 requiring rpcgen.
50620 [cross-compiling] (extra-libs): Likewise.
50621 [cross-compiling] (extra-libs-others): Likewise.
50622 [cross-compiling] (librpcsvc-routines): Likewise.
50623 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50624 [cross-compiling] (omit-deps): Likewise.
50625 (sunrpc-CPPFLAGS): New variable.
50626 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50627 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50628 (cross-rpcgen-objs): New variable.
50629 (extra-objs): Append $(cross-rpcgen-objs).
50630 ($(cross-rpcgen-objs)): New rule.
50631 ($(objpfx)cross-rpcgen): Likewise.
50632 (rpcgen-cmd): Define to use $(built-program-file). Expand
50633 comment.
50634 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50635 ($(objpfx)x%.stmp): Likewise.
50636 * sunrpc/proto.h [IS_IN_build] (_): Define.
50637 [IS_IN_build] (_libc_intl_domainname): Likewise.
50638
c8c59454
L
506392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50640
50641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50642 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50643 and R_X86_64_TPOFF64.
50644
6f27cd16
JM
506452012-05-10 Joseph Myers <joseph@codesourcery.com>
50646
50647 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50648 sysdeps/unix/sysv/syscalls.list.
50649 (stime): Likewise.
50650 (utime): Likewise.
50651 * sysdeps/unix/sysv/syscalls.list: Remove file.
50652
02467e1c
PE
506532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
50654
50655 [BZ #3440]
50656 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50657 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50658 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50659 (__LC_IDENTIFICATION): Make these macros useful in #if
50660 expressions, as required by C99.
50661
da392631
AS
506622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
50663
50664 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50665 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
50666 after this.
50667
8115f29b
L
506682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
50669
50670 * stdlib/longlong.h: Updated from GCC.
50671
bdd74070
AJ
506722012-05-09 Andreas Jaeger <aj@suse.de>
50673
edfe0dbe
AJ
50674 * nscd/nscd.c (run_modes): Make named enum, reorder so that
50675 default is first entry.
50676 (run_mode): Set type.
50677 (main): Remove informal message about syslog.
50678 (options): Fix typo.
50679
bcfe3a54
ST
50680 [BZ #14053]
50681 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 50682 to asm.
bcfe3a54
ST
50683 (lrint): Likewise.
50684 (llrintf): Likewise.
50685 (llrint): Likewise.
50686 (rint): Likewise.
50687 (rintf): Likewise.
50688 (nearbyint): Likewise.
50689 (nearbyintf): Likewise.
bdd74070 50690
91d8d69e
AJ
506912012-05-09 Andreas Jaeger <aj@suse.de>
50692 Pedro Alves <palves@redhat.com>
50693
50694 * nscd/nscd.c (run_mode): Use enum.
50695 (main): Cleanup coding style issue.
50696
bb90b80b
AJ
506972012-05-09 Alexandre Oliva <aoliva@redhat.com>
50698 Andreas Jaeger <aj@suse.de>
50699
bcfe3a54
ST
50700 * nscd/nscd.c (go_background): Replaced with...
50701 (run_mode): ... this.
bb90b80b 50702 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
50703 (options): Add -F --foreground.
50704 (main): Implement it.
50705 (parse_opt): Parse it.
bb90b80b 50706
1a4b75a1
AJ
507072012-05-09 Andreas Jaeger <aj@suse.de>
50708
50709 [BZ #14083]
50710 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50711 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50712 -Wconversion warning.
50713 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50714 Likewise.
50715
b1cc2472
JM
507162012-05-09 Joseph Myers <joseph@codesourcery.com>
50717
50718 * conform/data/locale.h-data (NULL): Use macro-constant. Require
50719 == 0.
50720 (LC_ALL): Use macro-int-constant.
50721 (LC_COLLATE): Likewise.
50722 (LC_CTYPE): Likewise.
50723 (LC_MESSAGES): Likewise.
50724 (LC_MONETARY): Likewise.
50725 (LC_NUMERIC): Likewise.
50726 (LC_TIME): Likewise.
50727 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50728 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50730 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50731 Specify type.
50732 [C99-based standards] (float_t): Expect type.
50733 [C99-based standards] (double_t): Expect type.
50734 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
50735 type.
50736 [C99-based standards] (HUGE_VALL): Likewise.
50737 [C99-based standards] (INFINITY): Likewise.
50738 [C99-based standards] (NAN): Likewise.
50739 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50740 [C99-based standards] (FP_NAN): Likewise.
50741 [C99-based standards] (FP_NORMAL): Likewise.
50742 [C99-based standards] (FP_SUBNORMAL): Likewise.
50743 [C99-based standards] (FP_ZERO): Likewise.
50744 [C99-based standards] (FP_FAST_FMA): Use
50745 optional-macro-int-constant. Specify type. Require == 1.
50746 [C99-based standards] (FP_FAST_FMAF): Likewise.
50747 [C99-based standards] (FP_FAST_FMAL): Likewise.
50748 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50749 [C99-based standards] (FP_ILOGBNAN): Likewise.
50750 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50751 Specify type.
50752 [C99-based standards] (MATH_ERREXCEPT): Likewise.
50753 [C99-based standards] (math_errhandling): Specify type.
50754 [ISO99 || ISO11] (signgam): Do not allow.
50755 [non-C99-based standards] (copysignf): Do not allow.
50756 [non-C99-based standards] (exp2f): Likewise.
50757 [non-C99-based standards] (log2f): Likewise.
50758 [non-C99-based standards] (modff): Allow.
50759 [non-C99-based standards] (erff): Do not allow.
50760 [non-C99-based standards] (erfcf): Likewise.
50761 [non-C99-based standards] (gammaf): Likewise.
50762 [non-C99-based standards] (hypotf): Likewise.
50763 [non-C99-based standards] (j0f): Likewise.
50764 [non-C99-based standards] (j1f): Likewise.
50765 [non-C99-based standards] (jnf): Likewise.
50766 [non-C99-based standards] (lgammaf): Likewise.
50767 [non-C99-based standards] (tgammaf): Likewise.
50768 [non-C99-based standards] (y0f): Likewise.
50769 [non-C99-based standards] (y1f): Likewise.
50770 [non-C99-based standards] (ynf): Likewise.
50771 [non-C99-based standards] (isnanf): Likewise.
50772 [non-C99-based standards] (acoshf): Likewise.
50773 [non-C99-based standards] (asinhf): Likewise.
50774 [non-C99-based standards] (atanhf): Likewise.
50775 [non-C99-based standards] (cbrtf): Likewise.
50776 [non-C99-based standards] (expm1f): Likewise.
50777 [non-C99-based standards] (ilogbf): Likewise.
50778 [non-C99-based standards] (log1pf): Likewise.
50779 [non-C99-based standards] (logbf): Likewise.
50780 [non-C99-based standards] (nextafterf): Likewise.
50781 [non-C99-based standards] (remainderf): Likewise.
50782 [non-C99-based standards] (rintf): Likewise.
50783 [non-C99-based standards] (scalbf): Likewise.
50784 [non-C99-based standards] (copysignl): Likewise.
50785 [non-C99-based standards] (exp2l): Likewise.
50786 [non-C99-based standards] (log2l): Likewise.
50787 [non-C99-based standards] (modfl): Allow.
50788 [non-C99-based standards] (erfl): Do not allow.
50789 [non-C99-based standards] (erfcl): Likewise.
50790 [non-C99-based standards] (gammal): Likewise.
50791 [non-C99-based standards] (hypotl): Likewise.
50792 [non-C99-based standards] (j0l): Likewise.
50793 [non-C99-based standards] (j1l): Likewise.
50794 [non-C99-based standards] (jnl): Likewise.
50795 [non-C99-based standards] (lgammal): Likewise.
50796 [non-C99-based standards] (tgammal): Likewise.
50797 [non-C99-based standards] (y0l): Likewise.
50798 [non-C99-based standards] (y1l): Likewise.
50799 [non-C99-based standards] (ynl): Likewise.
50800 [non-C99-based standards] (isnanl): Likewise.
50801 [non-C99-based standards] (acoshl): Likewise.
50802 [non-C99-based standards] (asinhl): Likewise.
50803 [non-C99-based standards] (atanhl): Likewise.
50804 [non-C99-based standards] (cbrtl): Likewise.
50805 [non-C99-based standards] (expm1l): Likewise.
50806 [non-C99-based standards] (ilogbl): Likewise.
50807 [non-C99-based standards] (log1pl): Likewise.
50808 [non-C99-based standards] (logbl): Likewise.
50809 [non-C99-based standards] (nextafterl): Likewise.
50810 [non-C99-based standards] (remainderl): Likewise.
50811 [non-C99-based standards] (rintl): Likewise.
50812 [non-C99-based standards] (scalbl): Likewise.
50813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50814 [non-C99-based standards] (FP_*): Do not allow.
50815 [C99-based standards] (FP_*): Change to
50816 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50817 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50818 allow.
50819 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50820 (SIG_ERR): Likewise.
50821 [X/Open-based standards] (SIG_HOLD): Likewise.
50822 (SIG_IGN): Likewise.
50823 (SIGABRT): Use macro-int-constant. Specify type. Require
50824 positive value.
50825 (SIGFPE): Likewise.
50826 (SIGILL): Likewise.
50827 (SIGINT): Likewise.
50828 (SIGSEGV): Likewise.
50829 (SIGTER): Likewise.
50830 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50831 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50832 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50833 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50834 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50835 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50836 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50837 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50838 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50839 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50840 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50841 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50842 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50843 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50844 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50845 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50846 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50847 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50848 [X/Open-based standards] (SIGTRAP): Likewise.
50849 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50850 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50851 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50852 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50853 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50854 allow.
50855
b9f1922d
IW
508562012-05-08 Ian Wienand <ianw@vmware.com>
50857
50858 [BZ #14080]
50859 * time/tzset.c (__tzset_parse_tz): Update default rules for
50860 daylight time changes in the Energy Policy Act of 2005.
50861
1db86e88
AJ
508622012-05-09 Andreas Jaeger <aj@suse.de>
50863
50864 [BZ #13983]
50865 * elf/ldconfig.c (parse_conf): Change string to make clear that
50866 ldconfig only issued a warning if ld.so.conf does not exist.
50867
dee4a4e3
DM
508682012-05-08 David S. Miller <davem@davemloft.net>
50869
ee0db190
DM
50870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50871 movxtod instead of popping the value on the stack.
50872
dee4a4e3
DM
50873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50874
6a43ec98
CD
508752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
50876
50877 * config.h.in: Add HAVE_ARM_PCS_VFP.
50878
05c2c961
RMG
508792012-05-08 Roland Mc Grath <roland@hack.frob.com>
50880
bcfe3a54
ST
50881 [BZ #13979]
50882 * include/features.h: Warn if user requests __FORTIFY_SOURCE
50883 checking but the checks are disabled for any reason.
05c2c961 50884
4b30f61a
L
508852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
50886
50887 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50888 and ELF64_R_TYPE with ELFW(R_TYPE).
50889
eee2bc67
JM
508902012-05-08 Joseph Myers <joseph@codesourcery.com>
50891
7ea5391a
JM
50892 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50893 (ulimit): Likewise.
50894
eee2bc67
JM
50895 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50896 (settimeofday): Likewise.
50897
abb66a67
MF
508982012-05-08 Mike Frysinger <vapier@gentoo.org>
50899
50900 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
50901 a struct th_u2 inside the union, and move tu_block/tu_code into
50902 a new th_u3 union of tu_block/tu_code inside of that. Move
50903 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
50904 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
50905 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50906 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50907 (th_stuff): Change to th_u1.tu_stuff.
50908 (th_data): Define.
50909 (th_msg): Change to th_u1.th_u2.tu_data.
50910
7f18b530
DM
509112012-05-07 David S. Miller <davem@davemloft.net>
50912
05760585
DM
50913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50914
7f18b530
DM
50915 [BZ #14074]
50916 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50917 (SETUP_PIC_REG): Use it.
50918 (SETUP_PIC_REG_LEAF): Use it.
50919
495fd99f
JM
509202012-05-07 Joseph Myers <joseph@codesourcery.com>
50921
50922 [BZ #13885]
50923 [BZ #13923]
50924 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50925 USE_AS_EXPM1L.
50926 (EXPL_FINITE): Likewise.
50927 (FLDLOG): Likewise.
50928 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50929 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50930 e_expl.S.
50931 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50932 USE_AS_EXPM1L.
50933 (EXPL_FINITE): Likewise.
50934 (FLDLOG): Likewise.
50935 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50936 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50937 e_expl.S.
50938 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
50939 test of -max_value argument for long double.
50940 * sysdeps/i386/fpu/libm-test-ulps: Update.
50941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50942
6693d694
DM
509432012-05-06 David S. Miller <davem@davemloft.net>
50944
50945 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50946 quad soft-float symbols whose references which are compiler
50947 generated.
50948 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50949
6c23e11c
JM
509502012-05-06 Joseph Myers <joseph@codesourcery.com>
50951
d8b82cad
JM
50952 [BZ #13884]
50953 [BZ #13914]
50954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50955 USE_AS_EXP10L.
50956 (EXPL_FINITE): Likewise.
50957 (FLDLOG): Likewise.
50958 (c0): Likewise.
50959 (c1): Likewise.
50960 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50961 Adjust comments for base varying.
50962 (__expl_finite): Change alias to EXPL_FINITE.
50963 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50964 e_expl.S.
50965 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50966 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50967 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50968 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50969 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50970 USE_AS_EXP10L.
50971 (EXPL_FINITE): Likewise.
50972 (FLDLOG): Likewise.
50973 (c0): Likewise.
50974 (c1): Likewise.
50975 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50976 Adjust comments for base varying.
50977 (__expl_finite): Change alias to EXPL_FINITE.
50978 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
50979 tests for bugs.
50980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50981
6c23e11c
JM
50982 [BZ #14064]
50983 * math/libm-test.inc (check_float_internal): Correct ulp
50984 calculation for subnormal expected results.
50985
29ba805c
AJ
509862012-05-06 Andreas Jaeger <aj@suse.de>
50987
50988 * Makeconfig (+math-flags): New, set to -frounding-math.
50989 (+cflags): Add +math-flags so that all of glibc gets compiled with
50990 it.
50991
50992 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50993
7b17aeda
JM
509942012-05-05 Joseph Myers <joseph@codesourcery.com>
50995
5779f134
JM
50996 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50997 Disable one test.
50998
41498f4d
JM
50999 [BZ #13787]
51000 [BZ #13922]
51001 [BZ #14036]
51002 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51003 (__ieee754_expl): Allow for and saturate large arguments.
51004 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51005 (u_threshold): Likewise.
51006 (__exp): Call __ieee754_exp before checking for overflow and
51007 underflow.
51008 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51009 (u_threshold): Likewise.
51010 (__expf): Call __ieee754_expf before checking for overflow and
51011 underflow.
51012 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51013 (u_threshold): Likewise.
51014 (__expl): Call __ieee754_expl before checking for overflow and
51015 underflow.
51016 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51017 (__ieee754_expl): Allow for and saturate large arguments.
51018 * math/libm-test.inc (exp_test): Add another test. Do not allow
51019 missing overflow exception on overflow.
51020 (expm1_test): Do not allow missing overflow exception on overflow.
51021
6698b8bf
JM
51022 * sysdeps/i386/fpu/e_expl.c: Move to ...
51023 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
51024 rather than using inline asm.
51025 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51026 * sysdeps/x86_64/fpu/e_expl.S: Copy from
51027 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51028
7b17aeda
JM
51029 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51030 (nice): Likewise.
51031 (poll): Likewise.
51032 (signal): Likewise.
51033 (time): Likewise.
51034 (times): Likewise.
51035
f7c85819
JM
510362012-05-04 Joseph Myers <joseph@codesourcery.com>
51037
51038 * sysdeps/unix/syscalls.list (adjtime): Add entry from
51039 sysdeps/unix/common/syscalls.list.
51040 (fchmod): Likewise.
51041 (fchown): Likewise.
51042 (ftruncate): Likewise.
51043 (getrusage): Likewise.
51044 (gettimeofday): Likewise.
51045 (setpgid): Likewise.
51046 (setregid): Likewise.
51047 (setreuid): Likewise.
51048 (sigaction): Likewise.
51049 (truncate): Likewise.
51050 (vhangup): Likewise.
51051 * sysdeps/unix/common/syscalls.list: Remove file.
51052 * sysdeps/unix/bsd/Implies: Don't include unix/common.
51053 * sysdeps/unix/sysv/linux/Implies: Likewise.
51054
336270d0
L
510552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
51056
51057 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51059 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51060 Moved to ...
51061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51062 Here.
51063 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51064 to ...
51065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51066 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51067 to ...
51068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51069 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51070 to ...
51071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51072 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51073 to ...
51074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51075 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51076 to ...
51077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51078 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51079 to ...
51080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51081 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51082 to ...
51083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51084 Here.
51085 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51086 to ...
51087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51088 Here.
51089 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51090 to ...
51091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51092 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51093 Moved to ...
51094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51095 Here.
51096 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51097 to ...
51098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51099
d128e450
JM
511002012-05-04 Joseph Myers <joseph@codesourcery.com>
51101
fa8ee516
JM
51102 * sysdeps/unix/common/bits/dirent.h: Remove file.
51103 * sysdeps/unix/common/bits/fcntl.h: Likewise.
51104
d128e450
JM
51105 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51106 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51107 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51108 * sysdeps/unix/bsd/isatty.c: Likewise.
51109 * sysdeps/unix/bsd/tcdrain.c: Likewise.
51110 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51111 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51112
ff8faaf0 511132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 51114
62881be4 51115 [BZ #13563]
31dc8730
AZ
51116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51117 long double comparison inaccuracies.
51118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51120
6fef930c
AS
511212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
51122
51123 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51124 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51125
8f203e6c
JM
511262012-05-04 Joseph Myers <joseph@codesourcery.com>
51127
51128 [BZ #14049]
51129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51130 nonzero digits before rounding a hex value.
51131 * stdlib/tst-strtod.c (tests): Add another test.
51132
5197d9c2
AK
511332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51134
51135 * sysdeps/s390/fpu/libm-test-ulps: Update.
51136
f0c1dedf
AJ
511372012-05-03 Andreas Jaeger <aj@suse.de>
51138
51139 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51140 does not get optimized out.
51141 (malloc_opt_barrier): New.
51142
a65ef2ae 511432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 51144 Roland McGrath <roland@hack.frob.com>
a65ef2ae 51145
2b942cb7 51146 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 51147 intermediate file deletion.
2b942cb7 51148 (generated): Add .symlist files.
a65ef2ae 51149
54b71e02
JM
511502012-05-03 Joseph Myers <joseph@codesourcery.com>
51151
51152 [BZ #13775]
51153 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51154 Redirect under this condition.
51155 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51156 [__USE_GNU] (__dprintf_chk): Not under this condition.
51157 [__USE_GNU] (__vdprintf_chk): Likewise.
51158 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51159 under this condition.
51160 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51161 [__USE_XOPEN2K8] (dprintf): Define under this condition.
51162 [__USE_XOPEN2K8] (vdprintf): Likewise.
51163 [__USE_GNU] (__dprintf_chk): Not under this condition.
51164 [__USE_GNU] (__vdprintf_chk): Likewise.
51165 [__USE_GNU] (dprintf): Likewise.
51166 [__USE_GNU] (vdprintf): Likewise.
51167
d3dfcc41
RM
511682012-05-03 Roland McGrath <roland@hack.frob.com>
51169
51170 * elf/Makefile (common-generated): Set this instead of generated for
51171 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
51172 $(all-built-dso)-derived lists.
51173
7ac30cc5
AJ
511742012-05-03 Andreas Jaeger <aj@suse.de>
51175
0c51e550
AJ
51176 * sysdeps/i386/fpu/libm-test-ulps: Update.
51177
7ac30cc5
AJ
51178 * FAQ: Removed.
51179 * FAQ.in: Likewise.
51180 * scripts/gen-FAQ.pl: Likewise.
51181 * manual/install.texi (Installation): Point to online location of
51182 FAQ.
51183 * Makefile (files-for-dist): Remove FAQ.
51184 (FAQ): Remove.
51185
d4c2917f
AM
511862012-05-02 Allan McRae <allan@archlinux.org>
51187
51188 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51189 (LDFLAGS-reldepmod5.so): Likewise.
51190 (LDFLAGS-reldep6mod1.so): Likewise.
51191 (LDFLAGS-reldep6mod4.so): Likewise.
51192 (LDFLAGS-reldep8mod3.so): Likewise.
51193 (LDFLAGS-unload4mod1.so): Likewise.
51194 (LDFLAGS-unload4mod2.so): Likewise.
51195 (LDFLAGS-tst-initorder): Likewise.
51196 (LDFLAGS-tst-initordera2.so): Likewise.
51197 (LDFLAGS-tst-initordera3.so): Likewise.
51198 (LDFLAGS-tst-initordera4.so): Likewise.
51199 (LDFLAGS-tst-initorderb2.so): Likewise.
51200 (LDFLAGS-noload): Likewise.
51201 (LDFLAGS-next): Likewise.
51202 (LDFLAGS-order2mod1.so): Likewise.
51203 (LDFLAGS-order2mod2.so): Likewise.
51204 (LDFLAGS-tst-initorder2): Likewise.
51205 (LDFLAGS-tst-initorder2a.so): Likewise.
51206 (LDFLAGS-tst-initorder2b.so): Likewise.
51207 (LDFLAGS-tst-initorder2c.so): Likewise.
51208 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51209
d77f993f
DM
512102012-05-02 David S. Miller <davem@davemloft.net>
51211
51212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51213
171a70b4
PP
512142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
51215
51216 [BZ #14055]
51217 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51218
0be196ad
AJ
512192012-05-02 Andreas Jaeger <aj@suse.de>
51220
51221 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51222 since we manipulate rounding mode.
51223 (CPPFLAGS-test-idouble.c): Likewise.
51224 (CPPFLAGS-test-ifloat.c): Likewise.
51225 (CFLAGS-test-ldouble.c): Likewise.
51226 (CFLAGS-test-double.c): Likewise.
51227 (CFLAGS-test-float.c): Likewise.
51228 (CFLAGS-test-misc.c): Likewise.
51229 (CFLAGS-test-test-fenv.c): Likewise.
51230
4f9d04aa
AZ
512312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51232
2b942cb7
RM
51233 [BZ #2550]
51234 [BZ #2570]
51235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51236 comparisons to determine direction to adjust input.
4f9d04aa 51237
82a79e7d
RM
512382012-05-01 Roland McGrath <roland@hack.frob.com>
51239
f5a01ca9
RM
51240 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51241 output to the target.
51242
90fe4186
RM
51243 * scripts/localplt.awk: New file.
51244 * elf/Makefile ($(objpfx)check-localplt): Target removed.
51245 (check-localplt-CFLAGS): Variable removed.
51246 ($(all-built-dso:=.jmprel)): New static pattern rule.
51247 (generated): Add those targets.
51248 (localplt-built-dso): New variable.
51249 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51250
51251 * elf/check-localplt.c: File removed.
51252
82397ed6
RM
51253 * scripts/check-execstack.awk: New file.
51254 * elf/Makefile ($(objpfx)check-execstack): Target removed.
51255 (check-execstack-CFLAGS): Variable removed.
51256 ($(objpfx)check-execstack.h): Target removed.
51257 ($(objpfx)execstack-default): New target.
51258 (generated): Add that instead of check-execstack.h.
51259 ($(all-built-dso:=.phdr)): New static pattern rule.
51260 (generated): Add those targets.
51261 * elf/check-execstack.c: File removed.
51262
82a79e7d
RM
51263 * scripts/check-textrel.awk: New file.
51264 * elf/Makefile ($(objpfx)check-textrel): Target removed.
51265 (check-textrel-CFLAGS): Variable removed.
51266 (all-built-dso): Use := to define.o
51267 ($(all-built-dso:=.dyn)): New static pattern rule.
51268 (generated): Add those targets.
51269 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51270 * config.make.in (READELF): New substituted variable.
51271 * elf/check-textrel.c: File removed.
51272
62fde54f 512732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 51274
615605c9
JM
51275 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51276 allow.
51277 * conform/data/ctype.h-data [C99-based standards] (isblank):
51278 Expect function.
51279 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51280 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51282 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51283 Specify type. Require positive value.
51284 (EILSEQ): Likewise.
51285 (ERANGE): Likewise.
51286 [ISO || POSIX] (EILSEQ): Do not expect.
51287 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51288 Specify type. Require positive value.
51289 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51290 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51291 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51292 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51293 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51294 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51295 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51296 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51297 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51298 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51299 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51300 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51301 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51302 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51303 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51304 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51305 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51306 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51307 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51308 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51309 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51310 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51311 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51312 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51313 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51314 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51315 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51316 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51317 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51318 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51319 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51320 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51321 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51322 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51323 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51324 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51325 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51326 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51327 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51328 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51329 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51330 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51331 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51332 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51333 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51334 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51335 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51336 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51337 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51338 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51339 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51340 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51341 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51342 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51343 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51344 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51345 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51346 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51347 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51348 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51349 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51350 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51351 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51352 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51353 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51354 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51355 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51356 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51357 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51358 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51359 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51360 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51361 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51362 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51363 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51364 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51365 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51366 Require >= 2.
51367 (FLT_ROUNDS): Expect as macro, not constant.
51368 (FLT_MANT_DIG): Use macro-int-constant.
51369 (DBL_MANT_DIG): Likewise.
51370 (LDBL_MANT_DIG): Likewise.
51371 (FLT_DIG): Likewise.
51372 (DBL_DIG): Likewise.
51373 (LDBL_DIG): Likewise.
51374 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
51375 (DBL_MIN_EXP): Likewise.
51376 (LDBL_MIN_EXP): Likewise.
51377 (FLT_MAX_EXP): Use macro-int-constant.
51378 (DBL_MAX_EXP): Likewise.
51379 (LDBL_MAX_EXP): Likewise.
51380 (FLT_MAX_10_EXP): Likewise.
51381 (DBL_MAX_10_EXP): Likewise.
51382 (LDBL_MAX_10_EXP): Likewise.
51383 (FLT_MAX): Use macro-constant.
51384 (DBL_MAX): Likewise.
51385 (LDBL_MAX): Likewise.
51386 (FLT_EPSILON): Use macro-constant. Give upper bound.
51387 (DBL_EPSILON): Likewise.
51388 (LDBL_EPSILON): Likewise.
51389 (FLT_MIN): Likewise.
51390 (DBL_MIN): Likewise.
51391 (LDBL_MIN): Likewise.
51392 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51393 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51394 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51395 [ISO11] (FLT_HAS_SUBNORM): Likewise.
51396 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51397 [ISO11] (DBL_DECIMAL_DIG): Likewise.
51398 [ISO11] (FLT_DECIMAL_DIG): Likewise.
51399 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51400 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51401 [ISO11] (FLT_TRUE_MIN): Likewise.
51402 [ISO11] (LDBL_TRUE_MIN): Likewise.
51403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51404 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51405 (SCHAR_MIN): Use macro-int-constant. Specify type.
51406 (SCHAR_MAX): Likewise.
51407 (UCHAR_MAX): Likewise.
51408 (CHAR_MIN): Likewise.
51409 (CHAR_MAX): Likewise.
51410 (MB_LEN_MAX): Use macro-int-constant.
51411 (SHRT_MIN): Use macro-int-constant. Specify type.
51412 (SHRT_MAX): Likewise.
51413 (USHRT_MAX): Likewise.
51414 (INT_MAX): Likewise.
51415 (INT_MIN): Use macro-int-constant. Specify type. Make upper
51416 bound negative.
51417 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
51418 bound with "U".
51419 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
51420 bound with "L".
51421 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
51422 bound negative. Suffix upper bound with "L".
51423 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
51424 bound with "UL".
51425 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51426 Specify type.
51427 [C99-based standards] (LLONG_MAX): Likewise.
51428 [C99-based standards] (ULLONG_MAX): Likewise.
51429 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
51430 == 0.
51431 [ISO11] (max_align_t): Require type.
51432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51433
c9140a62
JM
51434 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51435 from $CFLAGS, without defining away __attribute__ calls.
51436 (checknamespace): Use $CFLAGS_namespace.
51437
9af0bf29
JM
51438 * conform/conformtest.pl (@keywords): Only include C99 keywords
51439 for standards based on C99 or C11.
51440
343222a2
JM
51441 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51442 Disable tests.
51443 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51444 UNIX98]: Likewise.
51445
661f8cf0
JM
51446 * conform/conformtest.pl: Handle "macro-int-constant" and test for
51447 usability of symbols in #if.
51448
ee74b9cb
JM
51449 * conform/conformtest.pl: If macro or constant types start
51450 "promoted:", expect the symbol to be of the following type
51451 promoted by the integer promotions.
62fde54f 51452
aafc49b3
JM
51453 * conform/conformtest.pl: Parse all "constant" and "macro" lines
51454 in one place. Also handle "macro-constant".
51455
fefdf574
JM
51456 * conform/conformtest.pl: Only accept expected macro values with
51457 "==". Parse all "macro" lines in one place.
51458 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51459
f2d922fe
JM
51460 * conform/conformtest.pl: Handle braced types on "constant" lines
51461 instead of handling "typed-constant".
51462 * conform/data/signal.h-data: Use "constant" instead of
51463 "typed-constant".
51464
d22956c9
JM
51465 * conform/conformtest.pl: Handle "optional-" at start of lines in
51466 one place rather than duplicating several cases. Handle each
51467 format of "macro" line with initial "optional-".
51468
028e2e38
JM
51469 * conform/conformtest.pl: Only accept expected constant or
51470 optional-constant values with "==". Parse all "constant" lines in
51471 one place. Parse all "optional-constant" lines in one place.
51472 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51473 * conform/data/fmtmsg.h-data: Likewise.
51474 * conform/data/netinet/in.h-data: Likewise.
51475 * conform/data/tar.h-data: Likewise.
51476 * conform/data/limits.h-data: Use "==" form on "constant" and
51477 "optional-constant" lines.
51478
1b8f2850
JM
51479 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51480 Use -std=c99 for XOPEN2K.
51481 (@knownproblems): Remove.
51482 (newtoken): Don't check %isknown.
51483
a05a144b
JM
51484 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51485 Do not expect macro.
51486 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51487 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51488 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51489 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51490 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51491 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51492 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51493 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51494 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51495 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51496 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51497 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51498 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51499 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51500 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51501 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51502 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51503 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51504 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51505 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51506 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51507 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51508 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51510 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51511 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51512 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51513 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51514 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51515 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51516 [XPG3] (acosh): Likewise.
51517 [XPG3] (asinh): Likewise.
51518 [XPG3] (atanh): Likewise.
51519 [XPG3] (cbrt): Likewise.
51520 [XPG3] (expm1): Likewise.
51521 [XPG3] (ilogb): Likewise.
51522 [XPG3] (log1p): Likewise.
51523 [XPG3] (logb): Likewise.
51524 [XPG3] (nextafter): Likewise.
51525 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51526 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51527 [XPG3] (remainder): Likewise.
51528 [XPG3] (rint): Likewise.
51529 [XPG3 || XPG4 || UNIX98] (round): Likewise.
51530 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51531 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51532 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51533 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51534 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51535 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51536 [UNIX98 || XOPEN2K] (scalb): Expect.
51537 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51538 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51539 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51540 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51541 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51542 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51543 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51544 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51545 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51546 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51547 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51548 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51549 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51550 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51551 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51552 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51553 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51554 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51555 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51556 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51557 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51558 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51559 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51560 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51561 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51562 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51563 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51564 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51565 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51566 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51567 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51568 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51569 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51570 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51571 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51572 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51573 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51574 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51575 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51576 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51577 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51578 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51579 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51580 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51581 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51582 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51583 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51584 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51585 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51586 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51587 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51588 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51589 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51590 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51591 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51592 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51593 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51594 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51595 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51596 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51597 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51598 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51599 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51600 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51601 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51602 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51603 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51604 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51605 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51606 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51607 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51608 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51609 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51610 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51611 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51612 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51613 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51614 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51615 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51616 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51617 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51618 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51619 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51620 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51621 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51622 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51623 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51624 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51625 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51626 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51627 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51628 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51629 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51630 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51631 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51632 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51633 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51634 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51635 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51636 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51637 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51638 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51639 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51640 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51641 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51642 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51643 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51644 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51645 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51646 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51647 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51648 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51649 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51650 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51651 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51652 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51653 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51654 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51655 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51656 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51657 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51658 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51659 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51660 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51661 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51662 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51663 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51664 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51665 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51666 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51667 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51668 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51669 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51670 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51671 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51672 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51673 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51674
73c5ebe3
JM
51675 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51676 _XOPEN_SOURCE_EXTENDED for XPG4.
51677
39c33b6c
JM
51678 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51679
62fde54f
JM
51680 * Makeconfig (localtime): Remove variable.
51681 (inst_localtime-file): Likewise.
51682
0741d64c
AS
516832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51684
51685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51686 Update.
51687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51688 Update.
51689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51690 Update.
51691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51692 Update.
51693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51694 Update.
51695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51696 Update.
51697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51698 Update.
51699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51700 Update.
51701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51702 Update.
51703
7cb029ee
JM
517042012-05-01 Joseph Myers <joseph@codesourcery.com>
51705
51706 [BZ #2550]
51707 [BZ #2570]
51708 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51709 comparisons to determine direction to adjust input.
51710 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51711 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51713 Likewise.
51714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51715 Likewise.
51716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51717 Likewise.
51718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51720 Likewise.
51721 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51722 Likewise.
51723 * math/libm-test.inc (nexttoward_test): Add more tests.
51724
412bd966
AS
517252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51726
51727 [BZ #14040]
51728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51729 in version GLIBC_2.1, not GLIBC_2.0.
51730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51731 Likewise.
51732
9568c0c2
JM
517332012-04-30 Joseph Myers <joseph@codesourcery.com>
51734
adfbc8ac
JM
51735 [BZ #13942]
51736 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51737 (1 - x) * (1 + x).
51738 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51739 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51740 * math/libm-test.inc (acos_test): Add more tests.
51741 (asin_test): Likewise.
51742 * sysdeps/i386/fpu/libm-test-ulps: Update.
51743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51744
5ba3cc69
JM
51745 [BZ #14034]
51746 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51747 of square root.
51748 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51749 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51750 * math/libm-test.inc (acos_test_tonearest): New function.
51751 (acos_test_towardzero): Likewise.
51752 (acos_test_downward): Likewise.
51753 (acos_test_upward): Likewise.
51754 (asin_test_tonearest): Likewise.
51755 (asin_test_towardzero): Likewise.
51756 (asin_test_downward): Likewise.
51757 (asin_test_upward): Likewise.
51758 (main): Call the new functions.
51759 * sysdeps/i386/fpu/libm-test-ulps: Update.
51760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51761
9568c0c2
JM
51762 [BZ #13884]
51763 [BZ #13924]
51764 * math/e_exp10.c: Include <float.h>.
51765 (__ieee754_exp10): Handle underflow here rather than multiplying
51766 large negative argument by M_LN10.
51767 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51768 of __ieee754_expf.
51769 * math/e_exp10l.c: Include <float.h>.
51770 (__ieee754_exp10l): Handle underflow here rather than multiplying
51771 large negative argument by M_LN10l.
51772 * math/libm-test.inc (exp10_test): Add another test. Do not allow
51773 spurious overflow exception on underflow.
51774
5ac3ea17
MP
517752012-04-29 Marek Polacek <polacek@redhat.com>
51776
51777 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51778 (__fortify_function): New macro.
51779 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51780 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51781 __extern_always_inline.
51782 * libio/bits/stdio2.h: Likewise.
51783 * libio/bits/stdio.h: Likewise.
51784 * string/string.h: Likewise.
51785 * string/bits/string3.h: Likewise.
51786 * include/stdio.h: Likewise.
51787 * stdlib/bits/stdlib.h: Likewise.
51788 * stdlib/stdlib.h: Likewise.
51789 * rt/bits/mqueue2.h: Likewise.
51790 * rt/mqueue.h: Likewise.
51791 * posix/bits/unistd.h: Likewise.
51792 * posix/unistd.h: Likewise.
51793 * io/bits/poll2.h: Likewise.
51794 * io/bits/fcntl2.h: Likewise.
51795 * io/fcntl.h: Likewise.
51796 * io/sys/poll.h: Likewise.
51797 * misc/bits/syslog.h: Likewise.
51798 * misc/bits/syslog-ldbl.h: Likewise.
51799 * misc/sys/syslog.h: Likewise.
51800 * socket/bits/socket2.h: Likewise.
51801 * socket/sys/socket.h: Likewise.
51802 * debug/tst-chk1.c: Likewise.
51803 * wcsmbs/bits/wchar2.h: Likewise.
51804 * wcsmbs/bits/wchar-ldbl.h: Likewise.
51805 * wcsmbs/wchar.h: Likewise.
51806
ecf0ebfb
AJ
518072012-04-29 Andreas Jaeger <aj@suse.de>
51808
51809 * Makerules (tests): Remove enable-check-abi protection.
51810 (check-abi-warn): Remove.
51811 (check-abi-%): Remove check-abi-warn usage.
51812
51813 * configure.in: Remove check-abi configure option.
51814 * configure: Regenerated.
51815 * config.make.in (enable-check-abi): Remove.
51816
6d5c57fa
AS
518172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
51818
24c5d07e 51819 [BZ #14033]
ded5180a
AS
51820 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51821 double functions to double *_finite functions.
51822
7e0d315d
AS
51823 [BZ #13941]
51824 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51825 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51826 LDBL_MIN_EXP.
51827 * stdio-common/Makefile (tests): Add tst-sprintf3.
51828 * stdio-common/tst-sprintf3.c: New file.
51829
6d5c57fa
AS
51830 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51831 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51832
0749ff8b
JM
518332012-04-28 Joseph Myers <joseph@codesourcery.com>
51834
51835 * conform/conformtest.pl: Remove duplicate typed-constant
51836 handling.
51837
8dbd5d7b
DM
518382012-04-28 David S. Miller <davem@davemloft.net>
51839
51840 * Makerules (%.abilist): Add vpath on sysdep_dirs.
51841 (check-abi-%): Remove AWK script prerequisite and explicit
51842 abilist directory.
51843 (check-abi): Rewrite to just diff the symlist with the abilist.
51844 (config-tls, config-abi-config): Delete, no longer used.
51845 (update-abi-%): Remove AWK script and explicit abilist directory.
51846 (update-abi): Rewrite to simply compare and conditionally copy the
51847 symlist and the sysdep abilist file. Remove update-abi-config
51848 checks.
51849 * abilist/ld.abilist: Remove.
51850 * abilist/libBrokenLocale.abilist: Remove.
51851 * abilist/libanl.abilist: Remove.
51852 * abilist/libcrypt.abilist: Remove.
51853 * abilist/libdl.abilist: Remove.
51854 * abilist/librt.abilist: Remove.
51855 * abilist/libthread_db.abilist: Remove.
51856 * abilist/libutil.abilist: Remove.
51857 * scripts/extract-abilist.awk: Remove.
51858 * scripts/merge-abilist.awk: Remove.
51859 * sysdeps/generic/libcidn.abilist: New file.
51860 * sysdeps/generic/libnss_compat.abilist: New file.
51861 * sysdeps/generic/libnss_db.abilist: New file.
51862 * sysdeps/generic/libnss_dns.abilist: New file.
51863 * sysdeps/generic/libnss_files.abilist: New file.
51864 * sysdeps/generic/libnss_hesiod.abilist: New file.
51865 * sysdeps/generic/libnss_nis.abilist: New file.
51866 * sysdeps/generic/libnss_nisplus.abilist: New file.
51867 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51868 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51869 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51870 file.
51871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51872 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51873 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51874 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51875 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51876 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51877 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51878 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51879 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51880 file.
51881 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51882 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51883 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51884 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51885 file.
51886 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51887 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51888 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51889 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51890 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51891 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51892 file.
51893 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51894 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51895 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51896 file.
51897 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51899 New file.
51900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51901 New file.
51902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51903 New file.
51904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51905 New file.
51906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51907 New file.
51908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51909 New file.
51910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51911 New file.
51912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51913 New file.
51914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51915 New file.
51916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51917 New file.
51918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51919 New file.
51920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51921 New file.
51922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51923 New file.
51924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51925 file.
51926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51927 New file.
51928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51929 New file.
51930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51931 file.
51932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51933 New file.
51934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51935 New file.
51936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51937 file.
51938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51939 New file.
51940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51941 New file.
51942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51943 New file.
51944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51945 New file.
51946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51947 New file.
51948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51949 New file.
51950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51952 file.
51953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51954 New file.
51955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51956 file.
51957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51958 file.
51959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51960 file.
51961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51962 file.
51963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51964 file.
51965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51966 New file.
51967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51968 file.
51969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51970 file.
51971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51972 New file.
51973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51974 file.
51975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51977 file.
51978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51979 New file.
51980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51981 file.
51982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51983 file.
51984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51985 file.
51986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51987 file.
51988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51989 file.
51990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51991 New file.
51992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51993 file.
51994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51995 file.
51996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51997 New file.
51998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51999 file.
52000 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52001 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52002 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52003 file.
52004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52005 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52006 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52007 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52008 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52009 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52010 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52011 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52012 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52013 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52016 file.
52017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52018 New file.
52019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52020 file.
52021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52022 file.
52023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52024 file.
52025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52026 file.
52027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52028 file.
52029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52030 New file.
52031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52032 New file.
52033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52034 file.
52035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52036 New file.
52037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52038 file.
52039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52041 file.
52042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52043 New file.
52044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52045 file.
52046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52047 file.
52048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52049 file.
52050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52051 file.
52052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52053 file.
52054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52055 New file.
52056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52057 New file.
52058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52059 file.
52060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52061 New file.
52062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52063 file.
52064
41d73a1b
JM
520652012-04-28 Joseph Myers <joseph@codesourcery.com>
52066
52067 * conform/conformtest.pl: Fix typo in handling typed-constant from
52068 allow-header.
52069
28aeeda4
JM
520702012-04-27 Joseph Myers <joseph@codesourcery.com>
52071
adae8f5e
JM
52072 * README: Cut down references to pre-2.6 Linux kernels and
52073 Linuxthreads. Update lists of configurations in libc and ports
52074 and sort alphabetically. Say "or newer" with Linux kernel version
52075 requirements.
52076
28aeeda4
JM
52077 * config.h.in [IS_IN_build]: Allow compiling without optimization.
52078
a462cb63
RA
520792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52080
52081 [BZ #887]
52082 * math/libm-test.inc (logb_test_downward): New test to expose
52083 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52084 rounding mode.
52085
6ad3493e
JM
520862012-04-27 Joseph Myers <joseph@codesourcery.com>
52087
52088 [BZ #14027]
52089 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52090 to be done.
52091 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52092 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52093
2ce4f015
JM
520942012-04-26 Joseph Myers <joseph@codesourcery.com>
52095
5aeb141a
JM
52096 * sysdeps/unix/i386/brk.S: Remove file.
52097 * sysdeps/unix/i386/dl-brk.S: Likewise.
52098 * sysdeps/unix/i386/pipe.S: Likewise.
52099 * sysdeps/unix/i386/sigreturn.S: Likewise.
52100 * sysdeps/unix/i386/syscall.S: Likewise.
52101 * sysdeps/unix/i386/vfork.S: Likewise.
52102 * sysdeps/unix/i386/wait.S: Likewise.
52103
7143acae
JM
52104 * sysdeps/unix/common/tcsendbrk.c: Move to ...
52105 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52106
2ce4f015
JM
52107 * configure.in (arm*-none*): Do not allow without
52108 --enable-hacker-mode.
52109 (netbsd*): Remove case setting base_os.
52110 (386bsd*): Likewise.
52111 (freebsd*): Likewise.
52112 (bsdi*): Likewise.
52113 (osf*): Likewise.
52114 (sunos*): Likewise.
52115 (ultrix*): Likewise.
52116 (newsos*): Likewise.
52117 (dynix*): Likewise.
52118 (*bsd*): Likewise.
52119 (sysv*): Likewise.
52120 (isc*): Likewise.
52121 (esix*): Likewise.
52122 (sco*): Likewise.
52123 (minix*): Likewise.
52124 (irix4*): Likewise.
52125 (irix6*): Likewise.
52126 (solaris[2-9]*): Likewise.
52127 (none): Likewise.
52128 * configure: Regenerated.
52129
0ac229c8
AZ
521302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52131
52132 [BZ #11521]
52133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52134 overflow or cancellation in calculating denominator.
52135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52136 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52137 down expression to avoid unexpected rounding in newer GCCs.
52138 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52139
33f244f4
DM
521402012-04-26 David S. Miller <davem@davemloft.net>
52141
52142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52143 long-double compat symbols.
52144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52157
cfa1f3e8
DM
521582012-04-25 David S. Miller <davem@davemloft.net>
52159
52160 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52161 HWCAP_* values only after the memory barriers have been defined.
52162 (atomic_full_barrier): Define.
52163 (atomic_read_barrier): Define.
52164 (atomic_write_barrier): Define.
52165
6e236b92
SP
521662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52167
52168 * shlib-versions: Add libgcc_s version information.
52169 * sysdeps/generic/libgcc_s.h: Remove.
52170 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52171 libgcc_s.h.
52172 * sysdeps/gnu/unwind-resume.c: Likewise.
52173 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52174
aab39a09
DM
521752012-04-25 David S. Miller <davem@davemloft.net>
52176
52177 * sysdeps/unix/sparc/brk.S: Delete.
52178 * sysdeps/unix/sparc/dl-brk.S: Delete.
52179 * sysdeps/unix/sparc/pipe.S: Delete.
52180 * sysdeps/unix/sparc/sysdep.S: Delete.
52181 * sysdeps/unix/sparc/sysdep.h: Delete.
52182 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
52183 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52184 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52185 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52186 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
52187 (JUMPTARGET): Remove.
52188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52189 sysdeps/unix/sparc/sysdep.h
52190 (ENTRY, END): Remove.
52191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52192
a3cc4f48
JM
521932012-04-25 Joseph Myers <joseph@codesourcery.com>
52194
2ed8cda2
JM
52195 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52196 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52197 -DIS_IN_build.
52198
35d76d59
JM
52199 * timezone/README: Update upstream location and email address for
52200 tzcode and tzdata.
52201 * timezone/zdump.c: Update from tzcode 2012b.
52202 * timezone/zic.c: Likewise.
52203
a3cc4f48
JM
52204 * configure.in (libc_cv_as_needed): Remove test.
52205 * configure: Regenerated.
52206 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52207 conditional definition.
52208 [$(have-as-needed) != yes] (no-as-needed): Likewise.
52209 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52210 * config.make.in (have-as-needed): Remove variable.
52211
ceab42c3
SP
522122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52213 Paul Pluzhnikov <ppluzhnikov@google.com>
52214
52215 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52216 strings correctly.
52217
3ce2865f
CLT
522182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
52219
52220 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52221 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52222 * sysdeps/sh/strlen.S: Likewise.
52223
f37e0d68
JM
522242012-04-24 Joseph Myers <joseph@codesourcery.com>
52225
ae186e9a
JM
52226 * sysdeps/unix/fork.S: Remove file.
52227 * sysdeps/unix/i386/fork.S: Likewise.
52228 * sysdeps/unix/sparc/fork.S: Likewise.
52229
b96914af
JM
52230 * sysdeps/unix/system.c: Remove file.
52231 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52232
f37e0d68
JM
52233 * sysdeps/unix/getegid.S: Remove file.
52234 * sysdeps/unix/geteuid.S: Likewise.
52235
87ef29ca
RM
522362012-04-24 Roland McGrath <roland@hack.frob.com>
52237
83bcd236
RM
52238 * scripts/check-localplt.awk: New file.
52239 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52240 of diff.
52241 * scripts/data/localplt-generic.data: Add a comment.
52242
87ef29ca
RM
52243 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52244 NODE when __dir_mkfile failed.
52245 * sysdeps/mach/hurd/symlinkat.c: Likewise.
52246 Reported by Ludovic Courtès <ludo@gnu.org>.
52247
e5a6e567
AJ
522482012-04-24 Andreas Jaeger <aj@suse.de>
52249
52250 * Makerules (common-clean): Also remove gen-as-const-headers
52251 files.
52252
c1820385
JM
522532012-04-24 Joseph Myers <joseph@codesourcery.com>
52254
52255 * Makerules (native-compile): Do not change working directory for
52256 build. Use $(OUTPUT_OPTION) in command.
52257 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52258
94e02fc4
AZ
522592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52260
52261 [BZ #13886]
52262 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52263 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52264 * math/libm-test.inc (floor_test): Add more tests.
52265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52266
3a533ca3
JM
522672012-04-24 Joseph Myers <joseph@codesourcery.com>
52268
940ab4b3
JM
52269 * sysdeps/unix/getdents.c: Remove file.
52270 * sysdeps/unix/sysv/getdents.c: Likewise.
52271 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52272
90e037bd
JM
52273 * sysdeps/unix/syscalls.list (madvise): Add syscall from
52274 sysdeps/unix/mman/syscalls.list.
52275 (mmap): Likewise.
52276 (mprotect): Likewise.
52277 (msync): Likewise.
52278 (munmap): Likewise.
52279 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52280 * sysdeps/unix/mman/syscalls.list: Remove.
52281 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52282
3a533ca3
JM
52283 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52284 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52285 * configure: Regenerated.
52286 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52287 $(libgcc_s_suffix).
52288 * config.make.in (libgcc_s_suffix): Remove variable.
52289
1ad743de
JM
522902012-04-23 Joseph Myers <joseph@codesourcery.com>
52291
4ad451e2
JM
52292 * sysdeps/unix/sysv/gethostname.c: Move to ...
52293 * sysdeps/posix/gethostname.c: ... here.
52294
5e37ce39
JM
52295 * sysdeps/unix/execve.S: Remove file.
52296
1ad743de
JM
52297 * sysdeps/unix/_exit.S: Remove file.
52298
4e681b5b
AJ
522992012-04-23 Andreas Jaeger <aj@suse.de>
52300
52301 [BZ #13739]
52302 * manual/Makefile: Remove make dist support, there's no
52303 need for a stand-alone documentation tar ball.
52304 (TEXI2DVI): Define always, it's not in Makeconfig.
52305 (dist): Removed.
52306 (tar-it): Removed.
52307 (edition): Removed.
52308 (glibc-doc-$(edition).tar): Removed
52309 (%.Z): Removed.
52310 (%.gz): Removed.
52311 (%.uu): Removed.
52312 (ETAGS): Remove, it's in Makeconfig.
52313 (move-if-change): Remove, it's in Makeconfig.
52314
38686a03 523152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
52316
52317 [BZ #13970]
52318 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52319 (strtod, strtof, strtold, strtol, strtoul, strtoq)
52320 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52321 (strtod_l, strtof_l, strtold_l): Remove __wur.
52322 It is not necessarily an error to ignore strtol's return value.
52323 One can reliably look at the stored endptr to decide whether
52324 the number had valid syntax.
52325
7c0616fa
AJ
523262012-04-21 Andreas Jaeger <aj@suse.de>
52327
803cb6b7 52328 [BZ #13739]
7c0616fa
AJ
52329 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52330
b0fe253f
JM
523312012-04-21 Joseph Myers <joseph@codesourcery.com>
52332
52333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52334 * sysdeps/unix/sysv/Versions: Remove file.
52335
8280f22d
MT
523362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
52337
52338 [BZ #13927]
52339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52340
75ce411f 523412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
52342
52343 [BZ #7064]
52344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52345 version from __vm86.
52346
097d59fa
JM
523472012-04-20 Joseph Myers <joseph@codesourcery.com>
52348
a90f3bcb
JM
52349 * sysdeps/unix/common/lxstat.c: Remove file.
52350 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52351
edc7ea78
JM
52352 * sysdeps/unix/sysv/Makefile: Remove file.
52353
cb78c221
JM
52354 * sysdeps/unix/sysv/direct.h: Remove file.
52355
efa6a45f
JM
52356 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52357 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52358 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52359 * sysdeps/unix/sysv/bits/signum.h: Likewise.
52360 * sysdeps/unix/sysv/bits/stat.h: Likewise.
52361 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52362 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52363
9c9f2d0c
JM
52364 * sysdeps/unix/sysv/setrlimit.c: Remove file.
52365
4541c83b
JM
52366 * sysdeps/unix/xmknod.c: Remove file.
52367 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52368
f5d153a0
JM
52369 * sysdeps/unix/sysv/settimeofday.c: Remove file.
52370
aa746595
JM
52371 * sysdeps/unix/sysv/i386/time.S: Remove file.
52372
cce5905e
JM
52373 * sysdeps/unix/fxstat.c: Remove file.
52374 * sysdeps/unix/xstat.c: Likewise.
52375 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52376
37fa3841
JM
52377 * sysdeps/unix/sysv/sigaction.c: Remove file.
52378
ff1962a3
JM
52379 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52380 (sysdep_headers): Remove variable.
52381 [termio.h not in sysdep_headers] (generated): Likewise.
52382 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52383 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52384 * sysdeps/unix/sysv/tcdrain.c: Likewise.
52385 * sysdeps/unix/sysv/tcflow.c: Likewise.
52386 * sysdeps/unix/sysv/tcflush.c: Likewise.
52387 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52388 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52389 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52390 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52391 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52392
e7740d31
JM
52393 * sysdeps/unix/siglist.c: Remove file.
52394
ee06f18b
JM
52395 * sysdeps/unix/getppid.S: Remove file.
52396
097d59fa
JM
52397 * sysdeps/unix/mkdir.c: Remove file.
52398 * sysdeps/unix/rmdir.c: Likewise.
52399
ff3d51ec
AS
524002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
52401
52402 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52403 ERR_MAX value.
52404 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52405 errlist-compat value.
52406
50f81fd7
DM
524072012-04-18 David S. Miller <davem@davemloft.net>
52408
52409 * sysdeps/generic/memcopy.h (reg_char): Delete.
52410 * debug/strcat_chk.c: Use char, not reg_char.
52411 * debug/strcpy_chk.c: Likewise.
52412 * debug/strncat_chk.c: Likewise.
52413 * debug/strncpy_chk.c: Likewise.
52414 * string/memchr.c: Likewise.
52415 * string/memrchr.c: Likewise.
52416 * string/rawmemchr.c: Likewise.
52417 * string/strcat.c: Likewise.
52418 * string/strchr.c: Likewise.
52419 * string/strchrnul.c: Likewise.
52420 * string/strcmp.c: Likewise.
52421 * string/strcpy.c: Likewise.
52422 * string/strncat.c: Likewise.
52423 * string/strncmp.c: Likewise.
52424 * string/strncpy.c: Likewise.
52425
8ff41c46
WS
524262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52427
52428 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52429 __builtin_memcopy is called when src and dest ranges are known to not
52430 overlap.
52431
6b652f46
WS
524322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52433
52434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52435 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52436 fwd_align_merge macro call.
52437 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52438 bwd_align_merge macro call.
52439 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52440
b282631e
WS
524412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52442
52443 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52444 bwd_align_merge macros.
52445 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52446 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52448
95aa737c
DM
524492012-04-18 David S. Miller <davem@davemloft.net>
52450
52451 * sysdeps/sparc/sparc64/memcopy.h: Delete.
52452
7a99a614
AJ
524532012-04-18 Andreas Jaeger <aj@suse.de>
52454
52455 [BZ# 6794]
52456 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52457 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52458 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52459
52460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52461 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52462 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52463
52464 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52465 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52466 Adjust for changed ldbl-128 files.
52467
52468 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52469 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52471
e5270c23
DM
524722012-04-17 David S. Miller <davem@davemloft.net>
52473
52474 * sysdeps/sparc/sparc32/memcopy.h: Delete.
52475
fb5e92c9
AS
524762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
52477
52478 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52479 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52480 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52481 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52482 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52483 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52484
76da7265
AZ
524852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52486
52487 [BZ #6794]
52488 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52489 * math/libm-test.inc: Add ilogb errno and exception tests.
52490 * math/w_ilogb.c: New file: ilogb wrapper.
52491 * math/w_ilogbf.c: New file: ilogbf wrapper.
52492 * math/w_ilogbl.c: New file: ilogbl wrapper.
52493 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52494 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52495 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52496 exception being thrown with 0.0 as argument.
52497 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52498 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52499 exception being thrown with 0.0 as argument.
52500 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52501 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52502 exception being thrown with 0.0 as argument.
52503 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52504 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52505 exception being thrown with 0.0 as argument.
52506 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52507 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 52508 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
52509 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52510 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52511 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52512 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52513 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52514 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52515
0396e69d
PB
525162012-04-17 Petr Baudis <pasky@ucw.cz>
52517
52518 * include/sys/uio.h: Change __vector to __iovec to avoid clash
52519 with altivec.
52520
750b5926
MP
525212012-04-16 Marek Polacek <polacek@redhat.com>
52522
52523 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52524
751728a1
MP
525252012-04-16 Marek Polacek <polacek@redhat.com>
52526
52527 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52528 operands of fdivp instruction.
52529
34a27407
L
525302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52531
52532 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52533 * elf/tst-auditmod3b.c: Likewise.
52534 * elf/tst-auditmod4b.c: Likewise.
52535 * elf/tst-auditmod5b.c: Likewise.
52536 * elf/tst-auditmod6b.c: Likewise.
52537 * elf/tst-auditmod6c.c: Likewise.
52538 * elf/tst-auditmod7b.c: Likewise.
52539 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52540 * sysdeps/x86_64/preconfigure.in: Likewise.
52541 * sysdeps/x86_64/preconfigure: Regenerated.
52542
7e73e17d
L
525432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52544
52545 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52546 __ILP32__.
52547
c7a6ab72
AB
525482012-04-13 Antoine Balestrat <merkil33@gmail.com>
52549
52550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52551 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52552
a9e8e0e0
CL
525532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
52554
52555 [BZ #13973]
52556 * locale/iso-639.def: Fix gl language name. Spotted by
52557 Yaron Shahrabani.
52558
ec98af7d
RM
525592012-04-12 Roland McGrath <roland@hack.frob.com>
52560
52561 [BZ #2074]
52562 * libio/libio.h (__io_write_fn): Update comment.
52563
247c3ede
PB
525642012-04-12 Petr Baudis <pasky@ucw.cz>
52565
52566 [BZ #2074]
52567 * stdio.texi (Hook Functions): The user provided writer function
52568 is not allowed to return -1.
52569
55939d6d
DM
525702012-04-11 David S. Miller <davem@davemloft.net>
52571
52572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52573
90020f5a
MF
525742012-04-11 Mike Frysinger <vapier@gentoo.org>
52575
52576 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52577 Add a leading slash to rtkaio.
52578
288f9098
JM
525792012-04-11 Jim Meyering <meyering@redhat.com>
52580
90020f5a
MF
52581 [BZ #11959]
52582 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52583 It is not necessarily an error to ignore fwrite's return
52584 value. One can reliably use ferror to test for errors after
52585 the fact.
288f9098 52586
4be2b570
L
525872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52588
52589 * bits/types.h (__snseconds_t): New type.
52590 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52591
52592 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52594 (__SNSECONDS_T_TYPE): Likewise.
52595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52596 (__SNSECONDS_T_TYPE): Likewise.
52597 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52598 (__SNSECONDS_T_TYPE): Likewise.
52599
288f9098 526002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
52601
52602 [BZ #2636]
52603 * manual/time.texi (Processor Time): Return type of times is
52604 elapsed real time since an arbitrary point in the past.
52605 (CPU Time): Move CLK_TCK from here...
52606 (Processor Time): ...to here. Correct description.
52607 * manual/conf.texi (Constants for Sysconf): Correct description of
52608 _SC_CLK_TCK.
52609
d7dd4413
DM
526102012-04-10 David S. Miller <davem@davemloft.net>
52611
52612 [BZ #13967]
52613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52614 where the is a gap between DT_REL(A) and DT_JMPREL.
52615
b46068fc
L
526162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52617
52618 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52619 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52620 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52621
73d65cc3
SP
526222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52623
52624 * elf/dl-support.c (_dl_inhibit_cache): New variable.
52625 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52626 (dl_main): Handle --inhibit-cache.
52627 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52628 _dl_inhibit_cache.
52629 * elf/dl-load.c (_dl_map_object): Use it.
52630 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52631
bcc8d661
JM
526322012-04-09 Joseph Myers <joseph@codesourcery.com>
52633
8f9a2fae
JM
52634 [BZ #13872]
52635 * sysdeps/i386/fpu/e_powl.S (p78): New object.
52636 (__ieee754_powl): Saturate large exponents rather than testing for
52637 overflow of y*log2(x).
52638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52639 * math/libm-test.inc (pow_test): Do not permit spurious overflow
52640 exceptions.
52641
bcc8d661
JM
52642 [BZ #11521]
52643 * math/s_ctan.c: Include <float.h>.
52644 (__ctan): Avoid internal overflow or cancellation in calculating
52645 denominator.
52646 * math/s_ctanf.c: Likewise.
52647 * math/s_ctanl.c: Likewise.
52648 * math/s_ctanh.c: Likewise.
52649 * math/s_ctanhf.c: Likewise.
52650 * math/s_ctanhl.c: Likewise.
52651 * math/libm-test.inc (ctan_test): Add more tests.
52652 (ctanh_test): Likewise.
52653 * sysdeps/i386/fpu/libm-test-ulps: Update.
52654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52655
823fbbb4
AJ
526562012-04-09 Andreas Jaeger <aj@suse.de>
52657
03879793
AJ
52658 [BZ #6894]
52659 * manual/filesys.texi (Directory Entries): Mention that d_namlen
52660 is an optional BSD extension.
52661
823fbbb4
AJ
52662 [BZ #10254]
52663 * manual/stdio.texi (Opening Streams): Document additional fopen
52664 parameters.
52665
8de131cb
RM
526662012-04-09 Roland McGrath <roland@hack.frob.com>
52667
52668 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52669 %eax without telling the compiler.
52670
c0ed9d7d
CD
526712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
52672
52673 [BZ # 13963]
52674 * manual/install.texi: Use sourceware.org.
52675
c483f6b4
JM
526762012-04-09 Joseph Myers <joseph@codesourcery.com>
52677
d7dd9453
JM
52678 [BZ #13873]
52679 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52680 (__ieee754_pow): Generate overflow and underflow using huge*huge
52681 and tiny*tiny rather than just returning constant infinity or zero
52682 for large exponents.
52683 * math/libm-test.inc (pow_test): Require overflow exceptions for
52684 applicable cases of large exponents.
52685
c483f6b4
JM
52686 [BZ #706]
52687 * sysdeps/i386/fpu/e_pow.S (p10): New object.
52688 (__ieee754_pow): Use iterative multiplication algorithm only for
52689 integer exponents with absolute value below 1024. Check for odd
52690 integer exponents when using algorithm for real exponents.
52691 * math/libm-test.inc (pow_test): Add more tests.
52692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52693
d2de7579
JM
526942012-04-08 Joseph Myers <joseph@codesourcery.com>
52695
52696 [BZ #13705]
52697 * math/libm-test.inc (exp_test): Do not allow overflow exception
52698 on underflow test.
52699
f77f1232
AJ
527002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
52701
52702 [BZ #13705]
52703 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52704 instead of __kernel_standard_f.
52705
3884932b
MF
527062012-04-08 Mike Frysinger <vapier@gentoo.org>
52707
52708 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52709 * sysdeps/x86_64/memset_chk.S: Likewise.
52710
54472e9c
AJ
527112012-04-08 Andreas Jaeger <aj@suse.de>
52712
6ab0fbfc
AJ
52713 [BZ #10153]
52714 * manual/startup.texi (Environment Access): Describe return value
52715 for putenv and setenv.
52716
61efba8c
AJ
52717 [BZ #6895]
52718 * manual/filesys.texi (Directory Entries): Add description for
52719 DT_LNK.
52720
95c3f29a
AJ
52721 [BZ #6890]
52722 * manual/filesys.texi (Directory Entries): Clarify that it's file
52723 system not operating system in the description of DT_UNKNOWN.
52724
54472e9c
AJ
52725 [BZ #6578]
52726 * manual/syslog.texi (closelog): Fix reference, it's openlog.
52727
624254b1
SC
527282012-04-08 Stephen Compall <s11@member.fsf.org>
52729
52730 [BZ #6649]
52731 * manual/llio.texi (Opening and Closing Files): Add cross
52732 reference to explain mode argument.
52733
1e4920e0
MF
527342012-04-07 Mike Frysinger <vapier@gentoo.org>
52735
52736 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52737 * sysdeps/x86_64/memset_chk.S: Likewise.
52738
5ed848f3
DM
527392012-04-07 David S. Miller <davem@davemloft.net>
52740
52741 * elf/elf.h (R_SPARC_WDISP10): Define.
52742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52743 R_SPARC_SIZE32.
52744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52745 R_SPARC_SIZE64 and R_SPARC_H34.
52746
96154cd8
CD
527472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
52748
52749 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52750 conditions and remove no longer applicable assertion.
52751
9904dc47
L
527522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52753
52754 * bits/byteswap.h: Include <features.h>.
52755 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52756 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52757
f8887d0a
L
527582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52759
52760 * bits/byteswap.h (__bswap_16): Removed.
52761 Include <bits/byteswap-16.h> to get __bswap_16.
52762 * sysdeps/i386/bits/byteswap.h: Likewise.
52763 * sysdeps/s390/bits/byteswap.h: Likewise.
52764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52765 * bits/byteswap-16.h: New file.
52766 * sysdeps/i386/bits/byteswap-16.h: Likewise.
52767 * sysdeps/s390/bits/byteswap-16.h: Likewise.
52768 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52769 * string/Makefile (headers): Add bits/byteswap-16.h.
52770
62470f60
PP
527712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52772
52773 [BZ #13895]
52774 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52775 extra indirection.
52776 * nss/Makefile (tests-static, tests): Add tst-nss-static.
52777 * nss/tst-nss-static.c: New.
52778
4dad7bab
RM
527792012-04-06 Robert Millan <rmh@gnu.org>
52780
52781 [BZ #6486]
52782 * manual/llio.texi (File Position Primitive): lseek
52783 refers to WHENCE when it really means OFFSET.
52784
e9142a17
AJ
527852012-04-06 Andreas Jaeger <aj@suse.de>
52786
2c040eff
AJ
52787 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52788 strncmp declarations.
52789
e9142a17
AJ
52790 * abilist/libc.abilist: Add __poll and __ppoll.
52791
ff9f1c5f
DM
527922012-04-05 David S. Miller <davem@davemloft.net>
52793
dcd2ae90
DM
52794 * scripts/check-local-headers.sh: Accept a host triplet in the
52795 path matched by the exclude regexp.
52796
993eb054
DM
52797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52798 definition.
52799 * sysdeps/powerpc/powerpc32/dl-machine.h
52800 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52801 * sysdeps/s390/s390-32/dl-machine.h
52802 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52803 * sysdeps/sparc/sparc32/dl-machine.h
52804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52805 * sysdeps/sparc/sparc64/dl-machine.h
52806 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52807
ff9f1c5f
DM
52808 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52809 lazy binding.
48e2e132 52810 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
52811 undefined symbol errors.
52812
48e2e132 52813 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
52814 DT_NEEDED entries.
52815
e80d6f94
MM
528162012-04-05 Michael Matz <matz@suse.de>
52817
52818 [BZ #13592]
52819 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52820
349fa79f
AJ
528212012-04-05 Andreas Jaeger <aj@suse.de>
52822
52823 [BZ #13908]
52824 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52825 comment.
52826
f402708f
KK
528272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52828
52829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52830 which ROUND is no valid rounding mode.
52831
2ecccfc9
KK
528322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52833
52834 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52835 read again.
52836 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52837
8a53f50f
KK
528382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52839
52840 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52841 an exception using FPU order intentionally.
52842
528432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52844
52845 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52846 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52847 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52848 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52849
d653abb7
SJ
528502012-04-05 Simon Josefsson <simon@josefsson.org>
52851
52852 [BZ #12340]
52853 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52854 EINVAL when BUFLEN is too smal.
52855
c3b1bf7d
TS
528562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
52857
52858 [BZ #13553]
52859 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52860 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52861
b1aa60f3
AJ
528622012-04-03 Andreas Jaeger <aj@suse.de>
52863
c3b1bf7d 52864 [BZ #13938]
67f60a26
AJ
52865 * manual/setjmp.texi (System V contexts): Fix sentence.
52866
b1aa60f3
AJ
52867 [BZ #13926]
52868 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52869 New macro for this case.
52870 [!__GNUC__] (__bswap_64): New inline function for this case.
52871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52872 * bits/byteswap.h: Likewise.
52873 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52874 ull, guard with __GLIBC_HAVE_LONG_LONG.
52875
52876 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52877 __GLIBC_HAVE_LONG_LONG.
52878
52879 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52880 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52881
39c59c35
TMQMF
528822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52883
52884 [BZ #13691]
52885 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52886 inptr and inend, rather than using last_ch.
52887
135ffda8
DM
528882012-04-02 David S. Miller <davem@davemloft.net>
52889
52890 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52891 * stdio-common/printf-parse.h (read_int): Change return type to
52892 'int', return -1 on INT_MAX overflow.
52893 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52894 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
52895 overflows INT_MAX. Check for overflow of in-format-string precision
52896 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
52897 SIZE_MAX not INT_MAX for integer overflow test.
52898 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52899 skip the construct in the format string but do not record anything.
52900 * stdio-common/bug22.c: Adjust to test both width/prevision
52901 INT_MAX overflow as well as total length INT_MAX overflow. Check
52902 explicitly for proper errno values.
52903
228c019e
TS
529042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
52905
302cadd3
TS
52906 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52907 CHAR_MAX.
52908 * string/test-strcmp.c [! WIDE]: Likewise.
52909 * time/tst-mktime2.c: Likewise for INT_MAX.
52910 * string/test-string.h: #include <sys/param.h> for MIN.
52911
228c019e
TS
52912 * csu/init-first.c (__libc_init_first): Call __ctype_init.
52913 * sysdeps/i386/init-first.c (init): Likewise.
52914 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52915 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52916 * sysdeps/sh/init-first.c (init): Likewise.
52917
cfa633f5
UD
529182012-04-01 Ulrich Drepper <drepper@gmail.com>
52919
52920 * po/ru.po: Update from translation team.
d1635ef8 52921 * po/vi.po: Likewise.
cfa633f5 52922
6cd0a5ea
SP
529232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
52924
52925 * resolv/nss_dns/dns-host.c: Merge copyright years.
52926
4b43400f
LD
529272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52928
52929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52930 Optimize memcpy with prefetch if
52931 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
52932 src, dst pointers have unequal 16 byte alignments.
52933
48c41d04
SP
529342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52935
52936 [BZ #13928]
52937 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52938 from a CNAME entry and return the minimum ttl for the query.
52939 (gaih_getanswer_slice): Likewise.
52940
b8dc394d
JL
529412012-03-30 Jeff Law <law@redhat.com>
52942
52943 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52944 due to long keys.
52945 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52946 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52947
2f5a5ed0
JL
52948 * resolv/nss_dns/dns-host.c: Update copyright year.
52949
1d39e359
UD
529502012-03-30 Ulrich Drepper <drepper@gmail.com>
52951
c030f70c 52952 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 52953 requests to save a system call. Fix check that all bytes are sent.
c030f70c 52954
1d39e359
UD
52955 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52956 comments for sendmmsg.
52957
529582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
52959
52960 [BZ #13691]
52961 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52962 with only 1 character between 0x0041 and 0x01b0.
52963 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52964 * wcsmbs/tst-mbsnrtowcs.c: New file.
52965
20fde227
DM
529662012-03-29 David S. Miller <davem@davemloft.net>
52967
52968 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52969 small copies by hand.
52970
984a4237
JL
529712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52972
52973 [BZ #13761]
57f41c40
AS
52974 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52975 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52976 group memberships.
984a4237 52977
18c9d62b
DM
529782012-03-28 David S. Miller <davem@davemloft.net>
52979
88d85d4f
DM
52980 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52981 that branches into memcpy.
52982 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52985 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52987 bits.
52988 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52989 implementation too.
52990 * sysdeps/sparc/mempcpy.S: New file.
52991
e5aa83e1
DM
52992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52993 the IFUNC routine in the libc case.
52994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52995
88570753
DM
52996 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52997 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52998 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52999 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53000 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53001 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53002 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53003 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53004
249d7567
DM
53005 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53006 loop to 256 bytes instead of 64 bytes and fix test signedness.
53007
18c9d62b
DM
53008 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53009 * sysdeps/sparc/sparc32/Makefile: rather than here...
53010 * sysdeps/sparc/sparc64/Makefile: and here.
53011
05f3d1f6
UD
530122012-03-28 Ulrich Drepper <drepper@gmail.com>
53013
53014 * malloc/mallocbug.c: Avoid warnings about unused variables.
53015
86ae07a8
JL
530162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53017
53018 [BZ #13760]
53019 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53020 in the right place. Discard and retry query if response is
53021 larger than input buffer size.
53022
41bf21a1
JM
530232012-03-28 Joseph Myers <joseph@codesourcery.com>
53024
d6270972
JM
53025 [BZ #369]
53026 [BZ #2678]
53027 [BZ #3866]
53028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53029 x for large integer exponent.
53030 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53031 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
53032 sign of result as needed afterwards.
53033 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53034 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53035 result for underflowing pow the same as for overflow.
53036 (__kernel_standard_l): Handle powl overflow and underflow here
53037 rather than calling __kernel_standard.
53038 * math/libm-test.inc (pow_test): Add more tests.
53039
414fca03 53040 [BZ #3868]
41bf21a1
JM
53041 [BZ #13879]
53042 [BZ #13910]
53043 [BZ #13911]
53044 [BZ #13912]
53045 [BZ #13913]
53046 [BZ #13915]
53047 [BZ #13916]
53048 [BZ #13917]
53049 [BZ #13918]
53050 [BZ #13919]
53051 [BZ #13920]
53052 [BZ #13921]
53053 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53054 * sysdeps/ieee754/k_standard.c: Include <float.h>.
53055 (__kernel_standard_l): New function.
53056 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53057 __kernel_standard.
53058 * math/w_acosl.c (__acosl): Likewise.
53059 * math/w_asinl.c (__asinl): Likewise.
53060 * math/w_atan2l.c (__atan2l): Likewise.
53061 * math/w_atanhl.c (__atanhl): Likewise.
53062 * math/w_coshl.c (__coshl): Likewise.
53063 * math/w_exp10l.c (__exp10l): Likewise.
53064 * math/w_exp2l.c (__exp2l): Likewise.
53065 * math/w_fmodl.c (__fmodl): Likewise.
53066 * math/w_hypotl.c (__hypotl): Likewise.
53067 * math/w_j0l.c (__j0l, __y0l): Likewise.
53068 * math/w_j1l.c (__j1l, __y1l): Likewise.
53069 * math/w_jnl.c (__jnl, __ynl): Likewise.
53070 * math/w_lgammal.c (__lgammal): Likewise.
53071 * math/w_log10l.c (__log10l): Likewise.
53072 * math/w_log2l.c (__log2l): Likewise.
53073 * math/w_logl.c (__logl): Likewise.
53074 * math/w_powl.c (__powl): Likewise.
53075 * math/w_remainderl.c (__remainderl): Likewise.
53076 * math/w_scalbl.c (sysv_scalbl): Likewise.
53077 * math/w_sinhl.c (__sinhl): Likewise.
53078 * math/w_sqrtl.c (__sqrtl): Likewise.
53079 * math/w_tgammal.c (__tgammal): Likewise.
53080 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53081 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53082 * math/libm-test.inc (acos_test): Add more tests.
53083 (acosh_test): Likewise.
53084 (asin_test): Likewise.
53085 (atanh_test): Likewise.
53086 (exp_test): Likewise.
53087 (exp10_test): Likewise.
53088 (exp2_test): Likewise.
53089 (expm1_test): Likewise.
53090 (lgamma_test): Likewise.
53091 (log_test): Likewise.
53092 (log10_test): Likewise.
53093 (log1p_test): Likewise.
53094 (log2_test): Likewise.
53095 (pow_test): Do not allow some spurious overflow exceptions.
53096 (sqrt_test): Add more tests.
53097 (tgamma_test): Likewise.
53098 (y0_test): Likewise.
53099 (y1_test): Likewise.
53100 (yn_test): Likewise.
53101
dd62fda6
AB
531022012-03-27 Anton Blanchard <anton@samba.org>
53103
53104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53105 MAP_HUGETLB.
53106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53109
1e3cdfda
AJ
531102012-03-27 David S. Miller <davem@davemloft.net>
53111
b855ab85
DM
53112 * conform/Makefile: Run run-conformtest.sh using $(BASH).
53113
1e3cdfda
AJ
53114 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53115 have-as-vis3 check.
53116
531172012-03-27 Andreas Jaeger <aj@suse.de>
53118
53119 * sysdeps/x86_64/elf/configure.in: Moved to ...
53120 * sysdeps/x86_64/configure.in: ... here.
53121 * sysdeps/x86_64/elf/start.S: Moved to ...
53122 * sysdeps/x86_64/start.S: ... here.
53123 * sysdeps/x86_64/elf/configure: Delete.
53124
53125 * sysdeps/x86_64/configure.in: Merge contents from
53126 sysdeps/i386/configure.in (without i686 check).
53127
53128 * sysdeps/i386/elf/Versions: Merge into ...
53129 * sysdeps/i386/Versions: ... this.
53130 * sysdeps/i386/elf/Versions: Delete file.
53131 * sysdeps/i386/elf/start.S: Moved to ...
53132 * sysdeps/i386/start.S: ...here.
53133 * sysdeps/i386/elf/configure.in: Merge into...
53134 * sysdeps/i386/configure.in: ...here.
53135 * sysdeps/i386/elf/configure.in: Delete file.
53136 * sysdeps/i386/elf/configure: Delete file.
53137
53138 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53139 * debug/backtracesyms.c: ... here.
53140 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53141 * debug/backtracesymsfd.c: ... here.
53142 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53143 * sysdeps/generic/ifunc-sel.h: ... here.
53144
53145 * sysdeps/unix/i386/start.c: Delete file.
53146 * sysdeps/unix/sparc/start.c: Delete file.
53147 * sysdeps/unix/start.c: Delete file.
53148
53149 * sysdeps/sh/elf/configure.in: Moved to ...
53150 * sysdeps/sh/configure.in: ... here.
53151 * sysdeps/sh/elf/start.S: Moved to ...
53152 * sysdeps/sh/start.S: ... here.
53153 * sysdeps/sh/elf/configure: Delete file.
53154
53155 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53156 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53157 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53158 * sysdeps/powerpc/powerpc64/entry.h: ... here.
53159 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53160 * sysdeps/powerpc/powerpc64/start.S: here.
53161 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53162 * sysdeps/powerpc/powerpc64/Makefile: ... this.
53163 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53164 * sysdeps/powerpc/powerpc64/configure.in: ... this.
53165 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53166
53167 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53168 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53169 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53170 * sysdeps/powerpc/powerpc32/start.S: ... here.
53171 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53172 * sysdeps/powerpc/powerpc32/configure.in: ... this.
53173 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53174
53175 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53176 * sysdeps/powerpc/ifunc-sel.h: ... here.
53177 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53178 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53179
53180 * sysdeps/sparc/elf/configure.in: Moved to ...
53181 * sysdeps/sparc/configure.in: ... here.
53182 * sysdeps/sparc/elf/configure: Delete file.
53183 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53184 * sysdeps/sparc/sparc32/start.S: ... here.
53185 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53186 * sysdeps/sparc/sparc64/start.S: ... here.
53187 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53188 * sysdeps/sparc/sparc32/Makefile: ... this.
53189 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53190 * sysdeps/sparc/sparc64/Makefile: ... this.
53191
53192 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53193 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53194 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53195 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53196 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53197 * sysdeps/s390/s390-32/setjmp.S: ... here.
53198 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53199 * sysdeps/s390/s390-32/configure.in: ... here.
53200 * sysdeps/s390/s390-32/elf/configure: Delete file.
53201 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53202 * sysdeps/s390/s390-32/start.S: ... here.
53203
53204 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53205 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53206 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53207 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53208 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53209 * sysdeps/s390/s390-64/setjmp.S: ... here.
53210 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53211 * sysdeps/s390/s390-64/configure.in: ... here
53212 * sysdeps/s390/s390-64/elf/configure: Delete file.
53213 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53214 * sysdeps/s390/s390-64/start.S: ... here.
53215 * sysdeps/s390/s390-64/elf/configure: Delete.
53216
53217 * configure.in: Remove support for elf directories in sysdeps.
53218
53219 * configure: Regenerated.
53220 * sysdeps/i386/configure: Regenerated.
53221 * sysdeps/powerpc/powerpc32/configure: Regenerated.
53222 * sysdeps/powerpc/powerpc64/configure: Regenerated.
53223 * sysdeps/s390/s390-32/configure: Regenerated.
53224 * sysdeps/s390/s390-64/configure: Regenerated.
53225 * sysdeps/sh/configure: Regenerated.
53226 * sysdeps/sparc/configure: Regenerated.
53227 * sysdeps/x86_64/configure: Regenerated.
53228
a3f61311
AS
532292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
53230
c876e002
AS
53231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53232
a3f61311
AS
53233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53234 denormal result into account.
53235
ac4c54f0
RM
532362012-03-25 Roland McGrath <roland@hack.frob.com>
53237
53238 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53239 Reported by Allan McRae <allan@archlinux.org>.
53240
6a9b9c02
JL
532412012-03-23 Jeff Law <law@redhat.com>
53242
53243 * nss/getnssent.c (__nss_getent): Fix typo.
53244
4c42a0c1
DM
532452012-03-23 David S. Miller <davem@davemloft.net>
53246
53247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53248
1532c7ac
L
532492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
53250
53251 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53252 to pad to uint64_t for each field.
53253 (dl_tls_index): Replace unsigned long with uint64_t.
53254
3ff42526
PP
532552012-03-23 Daniel Jacobowitz <dmj@google.com>
53256 Paul Pluzhnikov <ppluzhnikov@google.com>
53257
53258 [BZ #6528]
53259 * grp/Makefile (otherlibs): Don't set it.
53260 * inet/Makefile (otherlibs): Likewise.
53261 * login/Makefile (otherlibs): Likewise.
53262 * nscd/Makefile (otherlibs): Likewise.
53263 * posix/Makefile (otherlibs): Likewise.
53264 * pwd/Makefile (otherlibs): Likewise.
53265 * rt/Makefile (otherlibs): Likewise.
53266 * sunrpc/Makefile (otherlibs): Likewise.
53267 * nss/Makefile (otherlibs): Likewise.
53268 Add libnss_files to routines and static-only-routines.
53269 ($(objpfx)getent): Remove rule.
53270 * resolv/Makefile: Add libnss_dns and libresolv to routines and
53271 static-only-routines.
53272
7c69cd14
JM
532732012-03-22 Joseph Myers <joseph@codesourcery.com>
53274
53275 [BZ #13892]
53276 * math/s_cexp.c: Include <float.h>.
53277 (__cexp): Handle exp result overflowing not necessarily
53278 overflowing both real and imaginary parts of result.
53279 * math/s_cexpf.c: Likewise.
53280 * math/s_cexpl.c: Likewise.
53281 * math/libm-test.inc (cexp_test): Add more tests.
53282 * sysdeps/i386/fpu/libm-test-ulps: Update.
53283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53284
81b035fe
L
532852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53286
53287 * include/link.h (ELFW): New macro.
53288 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53289 Replace ELF64_R_TYPE with ELFW(R_TYPE).
53290
1da7940c
L
532912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53292
53293 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53294 with uint64_t.
53295
b749dbb9
L
532962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53297
53298 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53299 declaration.
53300 (struct La_x32_retval): Likewise.
53301
2ff87f3f
L
533022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53303
53304 * sysdeps/x86_64/preconfigure.in: New file.
53305 * sysdeps/x86_64/preconfigure: New generated file.
53306
c0df8e69
JM
533072012-03-22 Joseph Myers <joseph@codesourcery.com>
53308
48e44791
JM
53309 [BZ #13824]
53310 * math/e_exp2l.c: Include <float.h>.
53311 (__ieee754_exp2l): Handle overflow and underflow cases
53312 separately. Only pass fractional part of argument to
53313 __ieee754_expl.
53314 * math/libm-test.inc (exp2_test): Add more tests.
53315
c0df8e69
JM
53316 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53317 negating x to take absolute value.
53318 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53319 Likewise.
53320 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53321 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53322 Likewise.
53323 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53324 computing low part if x was negated.
53325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53326
c8e43ba7
L
533272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53328
53329 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53330 la_x32_gnu_pltexit.
53331 (pltexit): Cast int_retval to ptrdiff_t.
53332 * elf/tst-auditmod3b.c: Likewise.
53333 * elf/tst-auditmod4b.c: Likewise.
53334 * elf/tst-auditmod5b.c: Likewise.
53335 * elf/tst-auditmod6b.c: Likewise.
53336 * elf/tst-auditmod6c.c: Likewise.
53337 * elf/tst-auditmod7b.c: Likewise.
53338
53339 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53340 and x32_gnu_pltexit.
53341
53342 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53343 __ELF_NATIVE_CLASS.
53344 (La_x32_regs): New macro.
53345 (La_x32_retval): Likewise.
53346 (la_x32_gnu_pltenter): New function prototype.
53347 (la_x32_gnu_pltexit): Likewise.
53348
7998fa78
AS
533492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
53350
dcb33988
AS
53351 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53352 exponent.
53353
233fc563
AS
53354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53355
7998fa78
AS
53356 * configure.in (libc_cv_cc_nofma): Check for option to disable
53357 generation of FMA instructions.
53358 * configure: Regenerate.
53359 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53360 * sysdeps/ieee754/dbl-64/Makefile: New file.
53361 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53362 Remove brandred-fma4.
53363 (CFLAGS-brandred-fma4.c): Remove.
53364 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53365 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53366 define.
53367 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53368 define.
53369
8e95c99a
L
533702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53371
53372 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53373 LLONG_MAX != LONG_MAX.
53374 (_itoa_word): Use _ITOA_WORD_TYPE on value.
53375 (_fitoa_word): Likewise.
53376 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53377 LLONG_MAX != LONG_MAX.
53378 * stdio-common/_itowa.h: Include <_itoa.h>.
53379 (_itowa_word): Use _ITOA_WORD_TYPE on value.
53380 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
53381 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
53382 only if not defined.
53383 (_ITOA_WORD_TYPE): Likewise.
53384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
53385 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53386
6f4db457
DM
533872012-03-21 David S. Miller <davem@davemloft.net>
53388
53389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53390
7785fe5a
L
533912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53392
53393 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53394 of x86_64 when setting libc_cv_slibdir, libdir and
53395 libc_cv_localedir.
53396 * sysdeps/unix/sysv/linux/configure: Regenerated.
53397
4535cd55
JM
533982012-03-21 Joseph Myers <joseph@codesourcery.com>
53399
53400 * manual/lang.texi (Old Varargs): Remove section.
53401 (How Variadic): Update menu.
53402 (va_start): Do not mention varargs.h.
53403
17228132
TS
534042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
53405 Joseph Myers <joseph@codesourcery.com>
53406
53407 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53408 link test.
53409 * configure: Regenerated.
53410
8149f976
TS
534112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
53412
05f3d1f6
UD
53413 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53414 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53415 conformtest.pl
8149f976 53416
1a4ac776
JM
534172012-03-21 Joseph Myers <joseph@codesourcery.com>
53418
be22ce65
JM
53419 * NOTES: Remove.
53420 * Makefile (files-for-dist): Remove NOTES.
53421 (NOTES): Remove rule.
53422 * README: Don't refer to NOTES.
53423 * manual/creature.texi: Don't include macros.texi.
53424 * manual/intro.texi (creature.texi): Remove comment referring to
53425 NOTES.
53426
40b601fb
JM
53427 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53428 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53429 * configure: Regenerated.
53430 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53431 LIBC_TRY_CC_OPTION.
53432 (libc_cv_as_i686): Likewise.
53433 (libc_cv_cc_avx): Likewise.
53434 (libc_cv_cc_sse2avx): Likewise.
53435 (libc_cv_cc_fma4): Likewise.
53436 (libc_cv_cc_novzeroupper): Likewise.
53437 * sysdeps/i386/configure: Regenerated.
53438
1a4ac776
JM
53439 [BZ #13883]
53440 * sysdeps/i386/fpu/s_cexp.S: Remove.
53441 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53442 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53443 * math/libm-test.inc (cexp_test): Add more tests.
53444 * sysdeps/i386/fpu/libm-test-ulps: Update.
53445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53446
a458e7fe
AM
534472012-03-21 Allan McRae <allan@archlinux.org>
53448
53449 * timezone/Makefile: Do not install iso3166.tab and zone.tab
53450
0cb7efc5
JM
534512012-03-21 Joseph Myers <joseph@codesourcery.com>
53452
53453 [BZ #13871]
53454 * math/w_exp2.c: Do not include <float.h>.
53455 (o_threshold, u_threshold): Remove.
53456 (__exp2): Calculate result before checking finiteness and calling
53457 __kernel_standard.
53458 * math/w_exp2f.c: Likewise.
53459 * math/w_exp2l.c: Likewise.
53460 * math/libm-test.inc (exp2_test): Require overflow exception for
53461 1e6 input.
2460d3aa
JM
53462
53463 [BZ #3866]
53464 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53465 range of signed 64-bit integers before using fistpll. Remove
53466 checks for whether integers fit in mantissa bits.
53467 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53468 the range of signed 32-bit integers before using fistpl. Remove
53469 checks for whether integers fit in mantissa bits.
53470 * sysdeps/i386/fpu/e_powl.S (p64): New object.
53471 (__ieee754_powl): Test for y outside the range of signed 64-bit
53472 integers before using fistpll. Reduce 64-bit values to 63-bit
53473 ones as needed.
53474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53475 divide-by-zero is raised for zero to large negative powers.
53476 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53477 (__ieee754_powl): Test for y outside the range of signed 64-bit
53478 integers before using fistpll. Reduce 64-bit values to 63-bit
53479 ones as needed.
53480 * math/libm-test.inc (pow_test): Add more tests.
53481
eb96ffb0
L
534822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53483
53484 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53485 <stdio-common/_itoa.h>.
53486 * debug/segfault.c: Likewise.
53487 * elf/dl-cache.c: Likewise.
53488 * elf/dl-minimal.c: Likewise.
53489 * elf/dl-misc.c: Likewise.
53490 * elf/dl-sysdep.c: Likewise.
53491 * elf/dl-version.c: Likewise.
53492 * elf/rtld.c: Likewise.
53493 * hurd/hurdsock.c: Likewise.
53494 * hurd/lookup-retry.c: Likewise.
53495 * malloc/malloc.c: Likewise.
53496 * malloc/mtrace.c: Likewise.
53497 * nscd/nscd_getgr_r.c: Likewise.
53498 * nscd/nscd_getpw_r.c: Likewise.
53499 * nscd/nscd_getserv_r.c: Likewise.
53500 * posix/getopt_init.c: Likewise.
53501 * posix/wordexp.c: Likewise.
53502 * stdio-common/_itoa.c: Likewise.
53503 * stdio-common/printf_fphex.c: Likewise.
53504 * stdio-common/vfprintf.c: Likewise.
53505 * string/_strerror.c: Likewise.
53506 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53507 * sysdeps/i386/i686/hp-timing.h: Likewise.
53508 * sysdeps/mach/_strerror.c: Likewise.
53509 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53510 * sysdeps/mach/hurd/sethostid.c: Likewise.
53511 * sysdeps/mach/hurd/xmknodat.c: Likewise.
53512 * sysdeps/mach/xpg-strerror.c: Likewise.
53513 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53514 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53515 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53516 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53517 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53518 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53519 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53520 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53521 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53522 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53523 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53524 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53525 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53526 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53527 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53528 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53529 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53530 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53531 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53532 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53533 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53534
53535 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53536
53537 * stdio-common/_itoa.h: Moved to ...
53538 * sysdeps/generic/_itoa.h: Here.
53539
53540 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53541
53542 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53543 instead of "_itoa.h" and "_itowa.h".
53544 * stdio-common/vfprintf.: Likewise.
53545
d1af992d
L
535462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53547
53548 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53549 <bits/wordsize.h>.
53550 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53551 (__signbit): Likwise.
53552 (llrintf): Likwise.
53553 (llrint): Likwise.
53554
114883e0
L
535552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53556
53557 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53558 __WORDSIZE != 64.
53559
c135cc1b
JM
535602012-03-20 Joseph Myers <joseph@codesourcery.com>
53561
53562 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53563 OVERFLOW_EXCEPTION_OK.
53564 * math/libm-test.inc ("Philosophy"): Update comment about
53565 exception testing.
53566 (OVERFLOW_EXCEPTION): Define.
53567 (OVERFLOW_EXCEPTION_OK): Likewise.
53568 (INVALID_EXCEPTION_OK): Renumber.
53569 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53570 (IGNORE_ZERO_INF_SIGN): Likewise.
53571 (test_exceptions): Handle FE_OVERFLOW.
53572 (exp10_test): Expect overflow exceptions.
53573 (exp2_test): Likewise.
53574 (expm1_test): Likewise.
53575 (nextafter_test): Likewise.
53576 (pow_test): Likewise.
53577 (scalbn_test): Likewise.
53578 (scalbln_test): Likewise.
53579
95443d88
L
535802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53581
53582 * sysdeps/x86_64/bits/atomic.h
53583 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53584 64bit integer.
53585 (atomic_exchange_acq): Likewise.
53586 (__arch_exchange_and_add_body): Likewise.
53587 (__arch_add_body): Likewise.
53588 (atomic_add_negative): Likewise.
53589 (atomic_add_zero): Likewise.
53590
490df6c4
L
535912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53592
c2722551 53593 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
53594 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53595
5e52b189
L
535962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53597
53598 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53599 Check __x86_64__ instead of __WORDSIZE.
53600
a9879d4c
L
536012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53602
53603 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53604
5df98260
DM
536052012-03-19 David S. Miller <davem@davemloft.net>
53606
e1497744
DM
53607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53608
5df98260
DM
53609 * sysdeps/sparc/fpu/fenv_private.h: New file.
53610 * sysdeps/sparc/fpu/math_private.h: Use it.
53611 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53612 Remove.
57f41c40 53613 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
53614 (libc_feholdexcept_setroundl): Remove.
53615 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53616 Remove.
53617 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53618 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53619
b4c35121
L
536202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53621
53622 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53623 int64_t instead of long int.
53624 (INSERT_WORDS64): Likwise.
53625
56965fd7
L
536262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53627
53628 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53629 _Unwind_GetCFA return to _Unwind_Ptr first.
53630
83d1aec8
JM
536312012-03-19 Joseph Myers <joseph@codesourcery.com>
53632
1897ad44
JM
53633 [BZ #13629]
53634 * math/s_clog.c: Include <float.h>.
53635 (__clog): Scale large or subnormal inputs.
53636 * math/s_clogf.c: Likewise.
53637 * math/s_clogl.c: Likewise.
53638 * math/s_clog10.c: Include <float.h>.
53639 (M_LOG10_2): Define.
53640 (__clog10): Scale large or subnormal inputs.
53641 * math/s_clog10f.c: Likewise.
53642 * math/s_clog10l.c: Likewise.
53643 * math/libm-test.inc (clog_test): Add more tests.
53644 (clog10_test): Likewise.
53645 * sysdeps/i386/fpu/libm-test-ulps: Update.
53646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53647
7726d6a9
JM
53648 [BZ #11451]
53649 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53650 x and y.
53651 * math/libm-test.inc (atan2_test): Add another test.
53652
83d1aec8
JM
53653 * Makerules (common-objdir-compile): Remove.
53654 * sysdeps/unix/Makefile (config-generated): Do not add
53655 $(unix-generated) to variable.
53656 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53657 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53658 Remove rule.
53659 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53660 Likewise.
53661 [generic bits/local_lim.h] (before-compile): Do not append to
53662 variable.
53663 [generic bits/local_lim.h] (common-generated): Likewise.
53664 [generic sys/param.h] (before-compile): Do not append to variable.
53665 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53666 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53667 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53668 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53669 include.
53670 [generic sys/param.h] (sys/param.h-includes): Remove variable.
53671 [generic sys/param.h] (sys/param.h-includes): Remove rule.
53672 [generic sys/param.h] ($(addprefix
53673 $(common-objpfx),$(sys/param.h-includes))): Likewise.
53674 [generic sys/param.h] (common-generated): Do not append to
53675 variable.
53676 [generic sys/param.h] (sysdep_headers): Likewise.
53677 [generic bits/errno.h] (before-compile): Do not append to
53678 variable.
53679 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53680 rule.
53681 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53682 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53683 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53684 [generic bits/errno.h] (common-generated): Do not append to
53685 variable.
53686 [generic bits/ioctls.h] (before-compile): Do not append to
53687 variable.
53688 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53689 rule.
53690 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53691 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53692 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53693 rule.
53694 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53695 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53696 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53697 [generic bits/ioctls.h] (common-generated): Do not append to
53698 variable.
53699 [generic sys/syscall.h] (syscall.h): Remove variable.
53700 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53701 rule.
53702 [generic sys/syscall.h] (before-compile): Do not append to
53703 variable.
53704 [generic sys/syscall.h] (common-generated): Likewise.
53705 * sysdeps/unix/errnos-tmpl.c: Remove file.
53706 * sysdeps/unix/errnos.awk: Likewise.
53707 * sysdeps/unix/ioctls-tmpl.c: Likewise.
53708 * sysdeps/unix/ioctls.awk: Likewise.
53709 * sysdeps/unix/mk-local_lim.c: Likewise.
53710 * sysdeps/unix/snarf-ioctls: Likewise.
53711
4851a949
RH
537122012-03-19 Richard Henderson <rth@twiddle.net>
53713
bd37f2ee
RH
53714 * sysdeps/i386/fpu/fenv_private.h: New file.
53715 * sysdeps/i386/fpu/math_private.h: Use it.
53716 (math_opt_barrier, math_force_eval): Remove.
53717 (libc_feholdexcept_setround_53bit): Remove.
53718 (libc_feupdateenv_53bit): Remove.
53719 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53720 (math_opt_barrier, math_force_eval): Remove.
53721 (libc_feholdexcept): Remove.
53722 (libc_feholdexcept_setround): Remove.
53723 (libc_fetestexcept, libc_fesetenv): Remove.
53724 (libc_feupdateenv_test): Remove.
53725 (libc_feupdateenv, libc_feholdsetround): Remove.
53726 (libc_feresetround): Remove.
53727
d0adc922
RH
53728 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53729 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53730
0fe0f1f8
RH
53731 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53732 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53733 (libc_feupdateenv_testl): New.
53734 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53735 (libc_feupdateenv_testf): New.
53736 (libc_feupdateenv): Use libc_feupdateenv_test.
53737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53738 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53739
eb92c487
RH
53740 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53741 (libc_feholdsetroundf, libc_feholdsetroundl): New.
53742 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53743 (libc_feresetround_noex): New.
53744 (libc_feresetround_noexf): New.
53745 (libc_feresetround_noexl): New.
53746 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53747 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53748 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53749 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53750 SET_RESTORE_ROUND.
53751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53753 (__cos): Likewise.
53754 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53755 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53756 SET_RESTORE_ROUND_NOEX.
53757 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53758 SET_RESTORE_ROUND_NOEXF.
53759 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53760 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53761 (libc_feholdsetroundf): New.
53762 (libc_feresetround, libc_feresetroundf): New.
53763
7d2e8012
RH
53764 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53765 (libc_feholdexcept_setround_53bit): Convert from macro to function.
53766 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
53767
b4dabbb4
RH
53768 * sysdeps/generic/math_private.h: Include <fenv.h>.
53769 (default_libc_feholdexcept): New.
53770 (default_libc_feholdexcept_setround): New.
53771 (default_libc_fesetenv, default_libc_feupdateenv): New.
53772 (libc_feholdexcept): Only define if undefined.
53773 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53774 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53775 (libc_feholdexcept_setroundl): Likewise.
53776 (libc_feholdexcept_setround_53bit): Likewise.
53777 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53778 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53779 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53780 (libc_feupdateenv_53bit): Likewise.
53781 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53782 (libc_feholdexcept): Convert from macro to inline function.
53783 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53784 (libc_fesetenv, libc_feupdateenv): Likewise.
53785
4851a949
RH
53786 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53787 not previously defined.
53788 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53789 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53790 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53791 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53792 * sysdeps/ieee754/flt-32/math_private.h: New file.
53793 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53794 math_private.h below SET_FLOAT_WORD.
53795 (__isnan, __isinf_ns, __finite): Remove.
53796 (__isnanf, __isinf_nsf, __finitef): Remove.
53797
e79d442e
AS
537982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
53799
53800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53801
90b80344
DM
538022012-03-17 David S. Miller <davem@davemloft.net>
53803
53804 [BZ #6471]
53805 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53806 for 2.16.
53807
edc21804
DM
538082012-03-16 David S. Miller <davem@davemloft.net>
53809
77e927af
DM
53810 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53811 warnings.
53812
374976dd
DM
53813 [BZ #6471]
53814 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53815 properly.
53816 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53817 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53818 sysdep_routines when subdir is sysvipc.
53819 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53820 __getshmlba helper.
53821
edc21804
DM
53822 * sysdeps/sparc/fpu/libm-test/ulps: Update.
53823
473c3ef3
L
538242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53825
53826 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53827 [__LP64__].
53828
eb0f39b6
L
538292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53830
53831 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53832 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53833 (__lround): Renamed to ...
53834 (__llround): This. Replace long int with long long int.
53835 Define lround functions as aliases of llround functions.
53836 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53837
6b6cd74b
L
538382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53839
53840 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53841 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
53842 adresses to uintptr_t. Replace "long int" and "unsigned long
53843 int" with "greg_t" on va_arg.
53844
f1a77b01
L
538452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53846
53847 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53848 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53849
53850 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53851 Move e_machine check before EI_CLASS check. Handle x32
53852 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53853 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53854 SKIP_EM_IA_64 and include
53855 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53856
53857 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53858 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53859 (add_system_dir): New macro.
53860
53861 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53862 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53863
11b90b9f
JM
538642012-03-16 Joseph Myers <joseph@codesourcery.com>
53865
c36e1d23
JM
53866 [BZ #2551]
53867 [BZ #2552]
53868 [BZ #2553]
53869 [BZ #2554]
53870 [BZ #2562]
53871 [BZ #2563]
53872 [BZ #2565]
53873 [BZ #2566]
53874 [BZ #2576]
53875 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53876 (y0): Likewise.
53877 * math/w_j0f.c (j0f): Likewise.
53878 (y0f): Likewise.
53879 * math/w_j0l.c (__j0l): Likewise.
53880 (__y0l): Likewise.
53881 * math/w_j1.c (j1): Likewise.
53882 (y1): Likewise.
53883 * math/w_j1f.c (j1f): Likewise.
53884 (y1f): Likewise.
53885 * math/w_j1l.c (__j1l): Likewise.
53886 (__y1l): Likewise.
53887 * math/w_jn.c (jn): Likewise.
53888 (yn): Likewise.
53889 * math/w_jnf.c (jnf): Likewise.
53890 (ynf): Likewise.
53891 * math/w_jnl.c (__jnl): Likewise.
53892 (__ynl): Likewise.
53893 * math/libm-test.inc (j0_test): Add more tests.
53894 (j1_test): Likewise.
53895 (jn_test): Likewise. Add trailing semicolon to existing test.
53896 (y0_test): Likewise.
53897 (y1_test): Likewise.
53898 * sysdeps/i386/fpu/libm-test-ulps: Update.
53899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53900
11b90b9f
JM
53901 [BZ #13851]
53902 [BZ #13854]
53903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53904 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53905 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53906 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53907 (__tanl): Set errno for infinite argument.
53908 * sysdeps/i386/fpu/mptan.c: Remove.
53909 * sysdeps/i386/fpu/s_tan.S: Likewise.
53910 * sysdeps/i386/fpu/s_tanl.S: Likewise.
53911 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53912 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53913 * math/libm-test.inc (tan_test): Add more tests and enable more
53914 tests for double and long double.
53915 * sysdeps/i386/fpu/libm-test-ulps: Update.
53916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53917
6a1bd2a1
JK
539182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
53919
53920 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53921 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53922
10a803e0
RM
539232012-03-16 Roland McGrath <roland@hack.frob.com>
53924
53925 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53926 * configure.in: Use it for both main tree and add-ons.
53927 * configure: Regenerated.
53928
f196c7f7
L
539292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53930
53931 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53932
8848d99d
JM
539332012-03-16 Joseph Myers <joseph@codesourcery.com>
53934
96cbe7f4
JM
53935 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53936 in comment.
53937
8848d99d
JM
53938 [BZ #13851]
53939 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53940 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53941 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53942 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53943 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53944 infinite argument.
53945 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53947 != 0 for prec == 2.
53948 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53949 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53950 * sysdeps/i386/fpu/s_cosl.S: Likewise.
53951 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53952 * sysdeps/i386/fpu/s_sinl.S: Likewise.
53953 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53954 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53955 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53956 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53957 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53958 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53959 * math/libm-test.inc (cos_test): Add more tests and enable more
53960 tests for long double.
53961 (sin_test): Likewise.
53962 (sincos_test): Likewise.
53963 * sysdeps/i386/fpu/libm-test-ulps: Update.
53964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53965
dd7f4703
DM
539662012-03-16 David S. Miller <davem@davemloft.net>
53967
53968 * sysdeps/sparc/fpu/math_private.h: New file.
53969
006f1daa
DM
539702012-03-15 David S. Miller <davem@davemloft.net>
53971
c0c83bc8
DM
53972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53973 file.
e6a62e18 53974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
53975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53976 file.
e6a62e18
DM
53977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53983 sysdep routines.
53984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53985
88cb87d9
DM
53986 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53987 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53988
006f1daa 53989 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
53990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53991 sparc-ifunc.h
006f1daa 53992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
53993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53994 Likewise.
53995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53996 Likewise.
006f1daa
DM
53997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
54000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54001 Likewise.
006f1daa
DM
54002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
54006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54007 Likewise.
54008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54009 Likewise.
006f1daa
DM
54010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54028 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54030 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54034
11e0098e
AS
540352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
54036
54037 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54038 scaling.
54039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54040
e85b09d0
AJ
540412012-03-15 Andreas Jaeger <aj@suse.de>
54042
54043 [BZ #13852]
54044 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54045 ieee754/flt-32 implementation for sin, cos and sincos.
54046 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54047 * sysdeps/i386/fpu/s_cosf.S: Likewise.
54048 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54049 * sysdeps/i386/fpu/s_sinf.S: Likewise.
54050 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54051 ieee754/flt-32 implementation for tan.
54052
54053 * math/libm-test.inc (cos_test): Enable some large input tests for
54054 float as well
54055 (sin_test): Likewise.
54056 (sincos_test): Likewise.
54057 (tan_test): Add tests for large input.
54058
54059 * sysdeps/i386/fpu/libm-test-ulps: Update.
54060
81c64153
AJ
540612012-03-15 Andreas Jaeger <aj@suse.de>
54062
54063 [BZ #13658]
54064 * math/libm-test.inc (cos_test): Add more test cases.
54065 (sin_test): Likewise.
54066 (sincos_test): Likewise.
54067
7bbfa5c6
AJ
540682012-03-15 Andreas Jaeger <aj@suse.de>
54069
54070 [BZ #13837]
54071 * math/libm-test.inc (cos_test): Add a test case for large input
54072 value.
54073 (sin_test): Likewise.
54074 (sincos_test): Likewise.
54075
57f41c40
AS
540762012-03-15 Andreas Jaeger <aj@suse.de>
54077 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
54078
54079 [BZ #13658]
0671f479 54080 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
54081 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54082 * sysdeps/i386/fpu/branred.c: Likewise.
54083 * sysdeps/i386/fpu/dosincos.c: Likewise.
54084 * sysdeps/i386/fpu/mpa.c: Likewise.
54085 * sysdeps/i386/fpu/s_cos.S: Likewise.
54086 * sysdeps/i386/fpu/s_sin.S: Likewise.
54087 * sysdeps/i386/fpu/s_sincos.S: Likewise.
54088 * sysdeps/i386/fpu/sincos32.c: Likewise.
54089
54090 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54091 Define.
54092 (libc_feupdateenv_53bit): Define.
54093 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54094 Define.
54095 (libc_feupdateenv_53bit): Define.
54096
54097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54098 53 bit (without extend i386 double precision).
54099
54100 * math/libm-test.inc (sincos_test): Add tests for large input.
54101 (sin): Likewise.
54102 (cos): Likewise.
54103
54104 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54105
9cad04ea
AS
541062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
54107
54108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54109
f7062b9a
DM
541102012-03-15 David S. Miller <davem@davemloft.net>
54111
54112 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54113 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54114 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54115 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
54127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54128 file.
f7062b9a 54129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
54130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54131 file.
f7062b9a 54132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
54133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54134 file.
f7062b9a 54135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
54136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54137 file.
f7062b9a
DM
54138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54140 fmin/fmax sysdep routines.
54141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54142
7bd951ff
DM
541432012-03-14 David S. Miller <davem@davemloft.net>
54144
559398ab
DM
54145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
54173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54174 routines.
54175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54176 file.
559398ab 54177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
54178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54179 file.
559398ab 54180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
54181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54182 file.
559398ab 54183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
54184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54185 file.
559398ab 54186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
54187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54188 file.
559398ab 54189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
54190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54191 file.
54192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54193 file.
54194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54195 file.
54196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54197 file.
54198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54199 New file.
54200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54201 file.
54202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54203 file.
559398ab 54204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
54205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54206 file.
559398ab 54207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
54208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54209 file.
559398ab 54210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
54211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54212 file.
559398ab 54213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
54214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54215 VIS3 routines.
559398ab
DM
54216
54217 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54218 New file.
54219
5a1c1e32
DM
54220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54221
eae47a36
DM
54222 * sysdeps/sparc/configure.in: New file.
54223 * sysdeps/sparc/configure: Generate.
54224 * configure.in (libc_cv_sparc_as_vis3): Substitute.
54225 * configure: Regenerate.
54226 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54227 * config.make.in (have-as-vis3): New.
54228 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54229 available use -Av9d instead of -Av9a.
54230 * sysdeps/sparc/sparc64/Makefile: Likewise.
54231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
54232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54233 New file.
54234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54235 file.
54236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54237 New file.
54238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54239 file.
eae47a36
DM
54240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54245
c0c83bc8
DM
54246 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54247 fzeros/fnegs to load 0x80000000 into a float register instead of
54248 using the stack.
7bd951ff
DM
54249 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54250
bd951ccb
JM
542512012-03-14 Joseph Myers <joseph@codesourcery.com>
54252
54253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54254 bits/syscall.h.
54255 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54256 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54257 ($(inst_includedir)/bits/syscall.h): Remove rule.
54258 ($(objpfx)bits/syscall.d): Include instead of
54259 $(objpfx)syscall-list.d.
54260 (generated): Change syscall-list.h and syscall-list.d to
54261 bits/syscall.h and bits/syscall.d.
54262
bb4e6db2
RM
542632012-03-14 Roland McGrath <roland@hack.frob.com>
54264
54265 [BZ #13846]
54266 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54267
aa4a2ae1
JM
542682012-03-14 Joseph Myers <joseph@codesourcery.com>
54269
e456826d
JM
54270 [BZ #13841]
54271 * math/s_csqrt.c: Include <float.h>.
54272 (__csqrt): Scale large or subnormal inputs.
54273 * math/s_csqrtf.c: Likewise.
54274 * math/s_csqrtl.c: Likewise.
54275 * math/libm-test.inc (csqrt_test): Add more tests.
54276 * sysdeps/i386/fpu/libm-test-ulps: Update.
54277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54278
aa4a2ae1
JM
54279 [BZ #13840]
54280 * math/libm-test.inc (hypot_test): Add more tests.
54281
7c10fd35
DM
542822012-03-13 David S. Miller <davem@davemloft.net>
54283
54284 [BZ #13840]
54285 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54286 double-precision for the calculation instead of scaling.
54287
f453b98b
JM
542882012-03-13 Joseph Myers <joseph@codesourcery.com>
54289
54290 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54291 manipulate bits before adding and subtracting TWO52[sx].
54292 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54293 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54294 Likewise.
54295 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54296
09a3453f
DM
542972012-03-13 David S. Miller <davem@davemloft.net>
54298
8e59da90
DM
54299 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54300 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54302 rtld-global-offsets.h
54303 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54304
2a8ab7f2
DM
54305 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54306 large parameters.
54307
10f62770
DM
54308 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54309
5f0bdb18
DM
54310 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54311 'err' in the ifdef scope in which it is actually used.
54312
09a3453f
DM
54313 * nss/nss_db/db-init.c: Include string.h
54314
b4b2eb5e
DM
543152012-03-12 David S. Miller <davem@davemloft.net>
54316
98bb2f1c
DM
54317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54318 masking out of the most significant byte of random value used.
54319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54320 Fix coding style in previous change.
54321
b4b2eb5e
DM
54322 * sysdeps/unix/sysv/linux/kernel-features.h
54323 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54324 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54325 expression.
54326 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54327 later.
54328
6e226b09
DM
543292012-03-11 David S. Miller <davem@davemloft.net>
54330
a1bcbd40
DM
54331 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54332 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54334 for 'resultvar' otherwise things get truncated on 64-bit.
54335
cb9d6174
DM
54336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54337 Fix masking out of the most significant byte of random value used.
54338
6e226b09
DM
54339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54340
058c132d
AS
543412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
54342
54343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54344
2d2cd515
DM
543452012-03-09 David S. Miller <davem@davemloft.net>
54346
54347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54348 variables with appropriate CPP guards.
57f41c40
AS
54349 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54350 from the frame pointer, not the stack pointer. Correct layout
54351 comments. Fix test on resulting framesize and the management of
54352 the outregs buffer for pltexit. Preserve floating point return
54353 values across _dl_call_pltexit call.
2d2cd515
DM
54354 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54355 framesize and the management of the outregs buffer for pltexit.
54356 Preserve floating point return values across _dl_call_pltexit
54357 call.
57f41c40
AS
54358 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54359 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54360 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
54361 (print_exit): Fix format string for return register value.
54362
9a07f9d0
JM
543632012-03-10 Joseph Myers <joseph@codesourcery.com>
54364
54365 * sunrpc/Makefile (others): Add rpcgen.
54366 ($(objpfx)rpcgen): Remove special build rule and dependency on
54367 libc.
54368 * sunrpc/rpcgen.c: New file.
54369
547b5e30
PE
543702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
54371
c524201a
PE
54372 [BZ #13673]
54373 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54374 * stdio-common/bug-vfprintf-nargs.c: Likewise.
54375 * sysdeps/i386/crti.S: Likewise.
54376 * sysdeps/i386/crtn.S: Likewise.
54377 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54378 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54379 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54380 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54381 * sysdeps/sh/crti.S: Likewise.
54382 * sysdeps/sh/crtn.S: Likewise.
54383 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54384
7b6235f2
PE
54385 [BZ #13673]
54386 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54387 with URL.
54388 * locale/programs/locfile-kw.gperf: Likewise.
54389 * locale/programs/charmap-kw.h: Regenerated.
54390 * locale/programs/locfile-kw.h: Likewise.
54391
547b5e30
PE
54392 [BZ #13673]
54393 * intl/plural.y: Replace FSF snail mail address with URL.
54394 * intl/plural.c: Regenerated.
54395
5f0a5dae
RH
543962012-03-09 Richard Henderson <rth@twiddle.net>
54397
54398 * include/math_private.h: Remove file.
54399 * math/math_private.h: Move file ...
54400 * sysdeps/generic/math_private.h: ... here.
54401
b8c03620
RH
54402 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54403 * sysdeps/powerpc/fpu/math_private.h: Likewise.
54404 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54405
4e234f5d 54406 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
54407 and <math_private.h>.
54408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54413 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54416 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54417 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54422 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54423 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54425 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54426 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54427 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54429 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54430 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54432 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54433 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54434 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54438 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54440 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54441 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54442 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54445 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54446 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54448 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54449 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54450 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54451 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54452 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54453 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54454 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54455 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54456 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54457 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54458 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54459 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54460 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54461 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54462 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54465 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54466 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54467 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54468 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54469 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54471 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54472 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54473 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54474 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54475 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54476 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54477 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54479 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54480 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54482 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54488 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54489 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54491 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54494 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54495 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54496 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54499 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54501 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54502 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54503 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54504 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54505 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54506 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54508 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54509 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54510 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54511 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54513 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54514 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54515 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54516 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54517 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54518 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54519 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54520 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54521 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54522 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54527 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54528 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54529 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54530 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54531 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54532 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54533 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54535 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54537 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54538 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54539 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54540 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54541 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54542 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54543 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54544 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54545 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54546 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54547 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54549 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54550 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54551 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54552 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54553 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54554 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54555 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54556 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54557 * sysdeps/ieee754/k_standard.c: Likewise.
54558 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54559 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54561 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54562 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54563 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54564 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54565 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54570 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54571 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54572 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54574 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54575 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54576 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54577 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54578 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54579 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54583 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54584 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54585 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54586 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54588 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54589 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54590 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54591 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54592 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54593 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54594 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54595 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54596 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54597 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54598 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54599 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54600 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54601 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54602 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54603 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54604 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54606 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54607 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54608 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54609 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54610 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54611 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54614 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54615 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54616 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54617 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54618 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54619 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54620 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54624 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54625 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54634 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54635 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54636 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54637 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54638 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54639 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54640 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54642 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54644 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54645 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54646 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54650 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54651 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54653 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54654 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54655 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54656 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54657 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54660 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54661 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54662 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54672 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54673 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54674 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54677 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54679 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54680 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54681 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54683 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54684 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54685 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54686 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54691 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54692 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54695 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54696 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54697 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54698 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54699 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54700 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54701 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54702 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54703 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54704 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54707 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54708 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54709 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54710 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54711 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54712 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54713 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54714 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54715 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54717 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54718 * sysdeps/ieee754/s_lib_version.c: Likewise.
54719 * sysdeps/ieee754/s_matherr.c: Likewise.
54720 * sysdeps/ieee754/s_signgam.c: Likewise.
54721 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54723 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54724 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54725 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54726 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54727 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54728 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54729 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54730 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54731 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54732 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54733 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54734 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54735 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54738 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54739 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 54742
1991fa03
JM
547432012-03-09 Joseph Myers <joseph@codesourcery.com>
54744
54745 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54746 * sunrpc/rpc_main.c: Likewise.
54747 * sunrpc/rpc_svcout.c: Likewise.
54748
60d6f5a6
DM
547492012-03-09 David S. Miller <davem@davemloft.net>
54750
54751 * include/math_private.h: New file.
54752
4962050e
JM
547532012-03-09 Joseph Myers <joseph@codesourcery.com>
54754
02a6f887
JM
54755 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54756 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54757 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54758 from <bits/socket_type.h>.
54759 (enum __socket_type): Don't define here.
54760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54762 bits/socket_type.h.
54763
c6e013c1
JM
54764 [BZ #13566]
54765 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54766 checking __USE_GNU.
54767
4962050e
JM
54768 * Makerules ($(inst_includedir)/%.h): New rule.
54769 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54770 (install-others): Remove variable setting.
54771 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54772
38842f45
RH
547732012-03-08 Richard Henderson <rth@twiddle.net>
54774
67bb6da6
RH
54775 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54776 from macro to inline function; merge with the
54777 !__LIBC_INTERNAL_MATH_INLINES version.
54778 (__ieee754_sqrtf): Likewise.
54779
15194b4b
RH
54780 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54781 to inline function.
54782 (__rintf, __floor, __floorf): Likewise.
54783
64e21ede
RH
54784 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54785 macro to inline function.
54786 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54787
38842f45
RH
54788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54789 not <math/math_private.h>.
54790
c64bf5fe
DM
547912012-03-08 David S. Miller <davem@davemloft.net>
54792
54793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54794 copyright year.
54795 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54796
82d86f28
TS
547972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
54798
54799 * resolv/gai_misc.c (handle_requests): Fix struct timespec
54800 normalization.
54801 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54802 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54803
aea5d727
UD
548042012-03-08 Ulrich Drepper <drepper@gmail.com>
54805
54806 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
54807 be defined individually, they must be defined as a block. Define
54808 S for printing a string instead of hidint the different by using a
54809 macro for adding the 'l'.
54810 * stdio-common/tst-fphex-wide.c: Adjust.
54811
70bca0a3
MP
548122012-03-07 Marek Polacek <polacek@redhat.com>
54813
54814 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54815
65b81130
MP
548162012-03-08 Marek Polacek <polacek@redhat.com>
54817
54818 [BZ #13806]
54819 * stdio-common/Makefile (tests): Add tst-fphex-wide.
54820 * stdio-common/tst-fphex.c: Define a few macros to make the
54821 test reusable. Use them.
54822 * stdio-common/tst-fphex-wide.c: New file.
54823
07037eeb
JM
548242012-03-08 Joseph Myers <joseph@codesourcery.com>
54825
a7a93d50
JM
54826 [BZ #6911]
54827 * manual/macros.texi (gnusystems): New macro.
54828 (nongnusystems): Likewise.
54829 (gnulinuxhurdsystems): Likewise.
54830 (gnuhurdsystems): Likewise..
54831 (gnulinuxsystems): Likewise.
54832 * manual/charset.texi: Use new macros or @theglibc{} to refer to
54833 variants of the GNU system, not "GNU system".
54834 * manual/conf.texi: Likewise.
54835 * manual/errno.texi: Likewise. Update example of errno macro
54836 expansion.
54837 * manual/filesys.texi: Likewise.
54838 (getumask): Document as specific to GNU/Hurd.
54839 * manual/install.texi: Likewise. Reword some references to
54840 GNU/Linux.
54841 * manual/intro.texi: Likewise.
54842 * manual/io.texi: Likewise.
54843 (File Name Portability): Detail which constraints are inapplicable
54844 to all GNU systems and which are only inapplicable to GNU/Hurd.
54845 * manual/job.texi: Likewise.
54846 * manual/llio.texi: Likewise.
54847 (O_NOCTTY): Document as present on GNU/Linux.
54848 * manual/maint.texi: Likewise.
54849 * manual/memory.texi: Likewise.
54850 * manual/pattern.texi: Likewise.
54851 * manual/pipe.texi: Likewise.
54852 * manual/process.texi: Likewise.
54853 * manual/resource.texi: Likewise.
54854 (RUSAGE_CHILDREN): Remove statement about specifying a particular
54855 child on GNU/Hurd.
54856 * manual/setjmp.texi: Likewise.
54857 * manual/signal.texi: Likewise.
54858 * manual/startup.texi: Likewise.
54859 * manual/stdio.texi: Likewise.
54860 * manual/terminal.texi: Likewise.
54861 (ONLCR): Document as POSIX.
54862 (OXTABS): Document availability on GNU/Linux as XTABS.
54863 (ONOEOT): Document availability separately from other bits.
54864 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54865 * manual/time.texi: Likewise.
54866 * manual/users.texi: Likewise.
54867 * INSTALL: Regenerated.
54868 * sysdeps/gnu/errlist.c: Regenerated.
54869
07037eeb
JM
54870 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54871 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54872 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
54873 puts.
54874 * configure: Regenerated.
54875
d1d3431a
JM
548762012-03-07 Joseph Myers <joseph@codesourcery.com>
54877
af6a1e37
JM
54878 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54879 default includes instead of AC_HEADER_CHECK.
54880 * sysdeps/i386/configure: Regenerated.
54881
d1d3431a
JM
54882 [BZ #10716]
54883 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54884 * math/s_cacoshf.c (__cacoshf): Likewise.
54885 * math/s_cacoshl.c (__cacoshl): Likewise.
54886 * math/s_casinh.c (__casinh): Set signs of result from argument.
54887 * math/s_casinhf.c (__casinhf): Likewise.
54888 * math/s_casinhl.c (__casinhl): Likewise.
54889 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54890 (casinh_test): Add more tests.
54891 * sysdeps/i386/fpu/libm-test-ulps: Update.
54892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54893
482ff4da
UD
548942012-03-07 Ulrich Drepper <drepper@gmail.com>
54895
872fda05
UD
54896 * po/zh_TW.po: Update from translation team.
54897
a4300c7a
UD
54898 * login/Makefile (distribute): Remove variable.
54899 * catgets/Makefile: Likewise.
54900 * mach/Makefile: Likewise.
54901 * malloc/Makefile: Likewise.
54902 * misc/Makefile: Likewise.
54903 * iconv/Makefile: Likewise.
54904 * nscd/Makefile: Likewise.
54905 * hurd/Makefile: Likewise.
54906 * manual/Makefile: Likewise.
54907 * locale/Makefile: Likewise.
54908 * intl/Makefile: Likewise.
54909 * conform/Makefile: Likewise.
54910 * nss/Makefile: Likewise.
54911 * time/Makefile: Likewise.
54912 * soft-fp/Makefile: Likewise.
54913 * dirent/Makefile: Likewise.
54914 * gmon/Makefile: Likewise.
54915 * po/Makefile: Likewise.
54916 * rt/Makefile: Likewise.
54917 * socket/Makefile: Likewise.
54918 * math/Makefile: Likewise.
54919 * signal/Makefile: Likewise.
54920 * debug/Makefile: Likewise.
54921 * elf/Makefile: Likewise.
54922 * timezone/Makefile: Likewise.
54923 * stdlib/Makefile: Likewise.
54924 * iconvdata/Makefile: Likewise.
54925 * sunrpc/Makefile: Likewise.
54926 * io/Makefile: Likewise.
54927 * argp/Makefile: Likewise.
54928 * inet/Makefile: Likewise.
54929 * hesiod/Makefile: Likewise.
54930 * grp/Makefile: Likewise.
54931 * csu/Makefile: Likewise.
54932 * wctype/Makefile: Likewise.
54933 * crypt/Makefile: Likewise.
54934 * libio/Makefile: Likewise.
54935 * string/Makefile: Likewise.
54936 * nis/Makefile: Likewise.
54937 * resolv/Makefile: Likewise.
54938 * stdio-common/Makefile: Likewise.
54939 * wcsmbs/Makefile: Likewise.
54940 * dlfcn/Makefile: Likewise.
54941 * posix/Makefile: Likewise.
54942
3b7c4e74 54943 [BZ #6959]
482ff4da
UD
54944 * timezone/Makefile: Don't install timezone files, just the programs
54945 and scripts.
54946
f72ed77d
UD
549472012-03-06 Ulrich Drepper <drepper@gmail.com>
54948
a000466f
UD
54949 * nss/databases.def: Add missing gshadow entry.
54950
f72ed77d
UD
54951 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
54952
a53b7a4e
MP
549532012-03-06 Marek Polacek <polacek@redhat.com>
54954
54955 [BZ #13726]
54956 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54957 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54958 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54959 * stdio-common/tst-long-dbl-fphex.c: New file.
54960
e9258400
DM
549612012-03-06 David S. Miller <davem@davemloft.net>
54962
54963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54964 (set_obp_int): New function.
54965 (get_obp_int): New function.
54966 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
54967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54968 Avoid unused variable warnings on 'val' and use builtin_expect.
54969 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54970 __builtin_expect.
e9258400
DM
54971 (INLINE_CLONE_SYSCALL): Likewise.
54972
3bd2c723
DM
549732012-03-05 David S. Miller <davem@davemloft.net>
54974
54975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54976
bbb78d03
AS
549772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
54978
884c5db4
AS
54979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54980
bbb78d03
AS
54981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54982 only for |x| >= 40.
54983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54984
1c9f702a 549852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
54986
54987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54988 Replace gettimeofday with __vdso_gettimeofday.
54989
7be16f82
RM
54990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54991 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54992 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
54993
54994 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54995 time with __vdso_time.
54996
ed58a00f
JM
549972012-03-05 Joseph Myers <joseph@codesourcery.com>
54998
54999 * manual/lang.texi (size_t): Note types to which size_t may be
55000 equivalent with the GNU C Library, but do not describe when
55001 differences between them are significant.
55002
30ee4ced
AJ
550032012-03-05 Andreas Jaeger <aj@suse.de>
55004
55005 * sysdeps/i386/fpu/libm-test-ulps: Update.
55006
b7cd39e8
JM
550072012-03-05 Joseph Myers <joseph@codesourcery.com>
55008
55009 [BZ #3976]
55010 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55011 (__ieee754_pow): Save and restore rounding mode and use
55012 round-to-nearest for main computations.
55013 * math/libm-test.inc (pow_test_tonearest): New function.
55014 (pow_test_towardzero): Likewise.
55015 (pow_test_downward): Likewise.
55016 (pow_test_upward): Likewise.
55017 (main): Call the new functions.
55018 * sysdeps/i386/fpu/libm-test-ulps: Update.
55019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
55020
55021 [BZ #3976]
55022 * math/libm-test.inc (cosh_test_tonearest): New function.
55023 (cosh_test_towardzero): Likewise.
55024 (cosh_test_downward): Likewise.
55025 (cosh_test_upward): Likewise.
55026 (sinh_test_tonearest): Likewise.
55027 (sinh_test_towardzero): Likewise.
55028 (sinh_test_downward): Likewise.
55029 (sinh_test_upward): Likewise.
55030 (main): Call the new functions.
55031 * sysdeps/i386/fpu/libm-test-ulps: Update.
55032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55033
6c6a98c9
TV
550342012-03-05 Tom de Vries <tom@codesourcery.com>
55035
55036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55037 default stack guard is set in last bytes.
55038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55039
21bb2d2e 550402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 55041
21bb2d2e 55042 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 55043
21bb2d2e
AJ
55044 [BZ #13656]
55045 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55046 possibly allocate from heap instead of stack.
55047 * stdio-common/bug-vfprintf-nargs.c: New file.
55048 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 55049
c6922934
AS
550502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
55051
55052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55053
bc957d53
MP
550542012-03-03 Marek Polacek <polacek@redhat.com>
55055
55056 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55057 * math/math_private.h: Likewise.
55058 * stdlib/tst-strtod.c: Likewise.
55059 * sysdeps/i386/i486/bits/atomic.h: Likewise.
55060 * sysdeps/x86_64/bits/atomic.h: Likewise.
55061
6358490d
DM
550622012-03-02 David S. Miller <davem@davemloft.net>
55063
55064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55068 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55069 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55070 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55071 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55072
01ae168d
RM
550732012-03-02 Roland McGrath <roland@hack.frob.com>
55074
d9a17c07
RM
55075 [BZ #13792]
55076 * manual/examples/README: New file, says the example source files
55077 can be used under GPL>=2.
55078 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55079 line containing just "*/".
55080 * manual/examples/add.c: Add copyright header (GPL>=2).
55081 * manual/examples/argp-ex1.c: Likewise.
55082 * manual/examples/argp-ex2.c: Likewise.
55083 * manual/examples/argp-ex3.c: Likewise.
55084 * manual/examples/argp-ex4.c: Likewise.
55085 * manual/examples/atexit.c: Likewise.
55086 * manual/examples/db.c: Likewise.
55087 * manual/examples/dir.c: Likewise.
55088 * manual/examples/dir2.c: Likewise.
55089 * manual/examples/execinfo.c: Likewise.
55090 * manual/examples/filecli.c: Likewise.
55091 * manual/examples/filesrv.c: Likewise.
55092 * manual/examples/fmtmsgexpl.c: Likewise.
55093 * manual/examples/genpass.c: Likewise.
55094 * manual/examples/inetcli.c: Likewise.
55095 * manual/examples/inetsrv.c: Likewise.
55096 * manual/examples/isockad.c: Likewise.
55097 * manual/examples/longopt.c: Likewise.
55098 * manual/examples/memopen.c: Likewise.
55099 * manual/examples/memstrm.c: Likewise.
55100 * manual/examples/mkfsock.c: Likewise.
55101 * manual/examples/mkisock.c: Likewise.
55102 * manual/examples/mygetpass.c: Likewise.
55103 * manual/examples/pipe.c: Likewise.
55104 * manual/examples/popen.c: Likewise.
55105 * manual/examples/rprintf.c: Likewise.
55106 * manual/examples/search.c: Likewise.
55107 * manual/examples/select.c: Likewise.
55108 * manual/examples/setjmp.c: Likewise.
55109 * manual/examples/sigh1.c: Likewise.
55110 * manual/examples/sigusr.c: Likewise.
55111 * manual/examples/stpcpy.c: Likewise.
55112 * manual/examples/strdupa.c: Likewise.
55113 * manual/examples/strftim.c: Likewise.
55114 * manual/examples/strncat.c: Likewise.
55115 * manual/examples/subopt.c: Likewise.
55116 * manual/examples/swapcontext.c: Likewise.
55117 * manual/examples/termios.c: Likewise.
55118 * manual/examples/testopt.c: Likewise.
55119 * manual/examples/testpass.c: Likewise.
55120 * manual/examples/timeval_subtract.c: Likewise.
55121
01ae168d
RM
55122 [BZ #13792]
55123 * manual/time.texi (Elapsed Time): Move timeval_subtract example
55124 function to ...
55125 * manual/timeval_subtract.c.texi: ... here, new file.
55126
49efa33d
DM
551272012-03-02 David S. Miller <davem@davemloft.net>
55128
55129 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55130
28afd92d
JM
551312012-03-02 Joseph Myers <joseph@codesourcery.com>
55132
804360ed
JM
55133 [BZ #3976]
55134 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55135 (__sin): Save and restore rounding mode and use round-to-nearest
55136 for all computations.
55137 (__cos): Save and restore rounding mode and use round-to-nearest
55138 for all computations.
55139 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55140 <fenv.h>.
55141 (tan): Save and restore rounding mode and use round-to-nearest for
55142 all computations.
55143 * math/libm-test.inc (cos_test_tonearest): New function.
55144 (cos_test_towardzero): Likewise.
55145 (cos_test_downward): Likewise.
55146 (cos_test_upward): Likewise.
55147 (sin_test_tonearest): Likewise.
55148 (sin_test_towardzero): Likewise.
55149 (sin_test_downward): Likewise.
55150 (sin_test_upward): Likewise.
55151 (tan_test_tonearest): Likewise.
55152 (tan_test_towardzero): Likewise.
55153 (tan_test_downward): Likewise.
55154 (tan_test_upward): Likewise.
55155 (main): Call the new functions.
55156 * sysdeps/i386/fpu/libm-test-ulps: Update.
55157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55158
a6d06d7b
JM
55159 [BZ #10135]
55160 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55161 small n, then large n, before computing and testing k+n.
55162 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55164 Likewise.
55165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55166 Likewise.
55167 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55168 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55175 * math/libm-test.inc (scalbn_test): Add more tests.
55176 (scalbln_test): Likewise.
55177
07e12bb3
JM
55178 * manual/filesys.texi (mode_t): Describe constraints on size and
55179 signedness, not exact equivalence to a particular type.
55180 (ino_t): Likewise.
55181 (ino64_t): Likewise.
55182 (dev_t): Likewise.
55183 (nlink_t): Likewise.
55184 (blkcnt_t): Likewise.
55185 (blkcnt64_t): Likewise.
55186 * manual/llio.texi (off_t): Likewise.
55187
28afd92d
JM
55188 [BZ #3976]
55189 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55190 (__ieee754_exp): Save and restore rounding mode and use
55191 round-to-nearest for all computations.
55192 * math/libm-test.inc (exp_test_tonearest): New function.
55193 (exp_test_towardzero): Likewise.
55194 (exp_test_downward): Likewise.
55195 (exp_test_upward): Likewise.
55196 (main): Call the new functions.
55197 * sysdeps/i386/fpu/libm-test-ulps: Update.
55198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55199
b1eeb65d
CD
552002012-03-01 Chris Demetriou <cgd@google.com>
55201
55202 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55203 have predictable order.
55204
53362a4b
DM
552052012-03-01 David S. Miller <davem@davemloft.net>
55206
3c969083
DM
55207 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55208
759707de
DM
55209 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55210 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55211 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55212 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55213
dfdb8ff2
DM
55214 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55215 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55216 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55218 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55219 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55220 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55221 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55222 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55223
ead89f96
DM
55224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55225
7f66bd07
DM
55226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55227 * sysdeps/sparc/fpu/libm-test-ulps: to here.
55228 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55229
53362a4b
DM
55230 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55231 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55232 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55233 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55234 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55236 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55238 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55246 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55247 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55248 * sysdeps/sparc/elf/configure: Regenerated.
55249
7b1902cb
JM
552502012-03-01 Joseph Myers <joseph@codesourcery.com>
55251
bec039bc
JM
55252 * configure.in (AS, LD): Require binutils 2.20 or later.
55253 * configure: Regenerated.
55254 * manual/install.texi (Tools for Compilation): Give binutils 2.20
55255 as required minimum version.
55256 * INSTALL: Regenerated.
55257
7b1902cb
JM
55258 [BZ #2541]
55259 [BZ #4108]
55260 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55261 before squaring exponent.
55262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55263 bottom long double and 27 bits of top long double before squaring
55264 exponent.
55265 * math/libm-test.inc (erfc_test): Add more tests.
55266 * sysdeps/i386/fpu/libm-test-ulps: Update.
55267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55269
f775c276
KT
552702012-03-01 Kai Tietz <ktietz@redhat.com>
55271
55272 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55273 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55274 containing bit-fields.
55275 * soft-fp/extended.h (_FP_UNION_E): Likewise.
55276 * soft-fp/single.h (_FP_UNION_S): Likewise.
55277 * soft-fp/double.h (_FP_UNION_D): Likewise.
55278
5b8a4d4a
JM
552792012-02-29 Joseph Myers <joseph@codesourcery.com>
55280
0bab47b6
JM
55281 [BZ #13786]
55282 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55283 not include ../strcmp.S.
55284 [USE_AS_STRNCASECMP_L]: Likewise.
55285 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55286 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55287 * sysdeps/i386/i686/multiarch/strncase_l-c.c
55288 (__strncasecmp_l_ia32): Define as alias to
55289 __strncasecmp_l_nonascii.
55290
0fcad3e2
JM
55291 [BZ #5794]
55292 * math/libm-test.inc (expm1_test): Add test for bug 5794.
55293 * sysdeps/i386/fpu/libm-test-ulps: Update.
55294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55295
5b8a4d4a
JM
55296 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55298
8fdceb2e
JL
552992012-02-29 Jeff Law <law@redhat.com>
55300
55301 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55302 out of bounds read.
55303
1f393a11
MP
553042012-02-29 Marek Polacek <polacek@redhat.com>
55305
55306 [BZ #13706]
55307 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55308 * elf/Makefile: Add rules to run tst-unused-dep.out.
55309
8847f037
DM
553102012-02-28 David S. Miller <davem@davemloft.net>
55311
55312 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55313 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55316 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55317 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55318
169d7f11
JM
553192012-02-29 Joseph Myers <joseph@codesourcery.com>
55320
55321 * math/libm-test.inc (llround_test): Move one test from
55322 lround_test. Use TEST_f_L in moved test.
55323 (lround_test): Move misplaced test to llround_test. Add testcase
55324 from bug 2561.
55325
39adf059
UD
553262012-02-28 Ulrich Drepper <drepper@gmail.com>
55327
55328 * sysdeps/x86_64/fpu/e_expf.S: New file.
55329 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55330
71b5d1c5
SB
553312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
55332
55333 [BZ #13637]
55334 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55335 of remain_len that may cause incomplete multi-byte character and
55336 false match.
55337 * posix/bug-regex33.c: New file.
55338 * posix/Makefile (tests): Add bug-regex33.
55339
1f77f049
JM
553402012-02-28 Joseph Myers <joseph@codesourcery.com>
55341
55342 * manual/macros.texi: New file.
55343 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55344 * manual/libc.texinfo: Include macros.texi.
55345 * manual/creatute.texi: Likewise.
55346 * manual/install.texi: Likewise.
55347 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55348 @glibcadj{} in references to the GNU C Library.
55349 * manual/charset.texi: Likewise.
55350 * manual/conf.texi: Likewise.
55351 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
55352 when not using those macros.
55353 * manual/creature.texi: Likewise.
55354 * manual/crypt.texi: Likewise.
55355 * manual/errno.texi: Likewise.
55356 * manual/filesys.texi: Likewise.
55357 * manual/header.texi: Likewise.
55358 * manual/install.texi: Likewise.
55359 * manual/intro.texi: Likewise.
55360 * manual/io.texi: Likewise.
55361 * manual/job.texi: Likewise.
55362 * manual/lang.texi: Likewise.
55363 * manual/libc.texiinfo: Likewise.
55364 * manual/llio.texi: Likewise.
55365 * manual/locale.texi: Likewise.
55366 * manual/maint.texi: Likewise.
55367 * manual/math.texi: Likewise.
55368 * manual/memory.texi: Likewise.
55369 * manual/message.texi: Likewise.
55370 * manual/nss.texi: Likewise.
55371 * manual/pattern.texi: Likewise.
55372 * manual/process.texi: Likewise.
55373 * manual/resource.texi: Likewise.
55374 * manual/search.texi: Likewise.
55375 * manual/setjmp.texi: Likewise.
55376 * manual/signal.texi: Likewise.
55377 * manual/socket.texi: Likewise.
55378 * manual/startup.texi: Likewise.
55379 * manual/stdio.texi: Likewise.
55380 * manual/string.texi: Likewise.
55381 * manual/sysinfo.texi: Likewise.
55382 * manual/syslog.texi: Likewise.
55383 * manual/terminal.texi: Likewise.
55384 * manual/time.texi: Likewise.
55385 * manual/users.texi: Likewise.
55386 * INSTALL: Regenerated.
55387 * NOTES: Regenerated.
d40c5d54 55388 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 55389
450bf206
AS
553902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
55391
55392 * include/dirent.h: Include <dirstream.h> before
55393 <dirent/dirent.h>.
55394
741a235b
DM
553952012-02-28 David S. Miller <davem@davemloft.net>
55396
55397 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55398 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55399 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55400 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55401
d6b5aa58
DM
554022012-02-27 David S. Miller <davem@davemloft.net>
55403
1aff59a3
DM
55404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55406 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55407 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55408
d6b5aa58
DM
55409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55410 frame pointer instead of stack pointer relative arg slot.
55411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55414
433f48bf
CD
554152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
55416
55417 [BZ #3992]
55418 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55419
d674b76d
DM
554202012-02-27 David S. Miller <davem@davemloft.net>
55421
55422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55426 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55427 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55428 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55429 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55430
0e7727f7
JM
554312012-02-27 Joseph Myers <joseph@codesourcery.com>
55432
55433 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55434 later. Allow versions 5-9.
43be4ca2 55435 * configure: Regenerated.
0e7727f7
JM
55436 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55437 required minimum version and 4.6 as recommended version. Do not
55438 mention bugs in GCC 2.7 and 2.8.
43be4ca2 55439 * INSTALL: Regenerated.
0e7727f7 55440
a78bc654
DM
554412012-02-27 David S. Miller <davem@davemloft.net>
55442
428d5830
DM
55443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55447 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55448 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55449 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55450 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55451
a78bc654
DM
55452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55453 manipulate bits before adding and subtracting TWO112[sx].
55454 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55455
4579f81c
RM
554562012-02-27 Roland McGrath <roland@hack.frob.com>
55457
36c8acb4
RM
55458 [BZ #13775]
55459 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55460 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55461 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55462 being in POSIX, because they are in 1003.1-2008.
55463
84ad622b
RM
55464 * rt/tst-aio.c: Include <fcntl.h>.
55465 * rt/tst-aio7.c: Likewise.
55466 * rt/tst-aio64.c: Likewise.
55467
4579f81c
RM
55468 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55469
abd923db
JM
554702012-02-27 Joseph Myers <joseph@codesourcery.com>
55471
55472 * manual/install.texi (--with-headers): Describe headers as
55473 interface headers, not private headers.
55474 (Specific advice for GNU/Linux systems): Describe use of headers
55475 from "make headers_install", not private headers from older
55476 kernels.
43be4ca2 55477 * INSTALL: Regenerated.
abd923db
JM
55478 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55479 Change to 2.6.19.
55480 * sysdeps/unix/sysv/linux/configure: Regenerated.
55481
6664049b
JM
55482 * manual/llio.texi (fclean): Remove documentation.
55483
bb8b6697
JM
55484 * manual/Makefile (libc-texi-generated): New variable. Include
55485 version.texi.
55486 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55487 $(libc-texi-generated), not duplicated list of files.
55488 (version.texi, stamp-version): New rules.
55489 (realclean): Remove $(libc-texi-generated), not individual files
55490 from that list. Do not remove dir-add.texinfo.
55491 * manual/libc.texinfo: Comment out uses of edition numbers and
55492 references to printed manual. Remove last-updated dates.
55493 (EDITION): Comment out.
55494 (ISBN): Likewise.
55495 (VERSION, UPDATED): Remove.
55496 (version.texi): Include.
55497
12e5c3b9
AS
554982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
55499
55500 * sysdeps/posix/spawni.c: Include <signal.h>.
55501 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55502 * sysdeps/pthread/aio_fsync.c: Likewise.
55503
4efeffc1 555042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 55505
ba63ba08
UD
55506 * conform/Makefile (tests): Run only when not cross-compiling and
55507 when fast-check is not defined.
55508
d94a4670
UD
55509 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55510 * conform/data/limits.h-data: Fixes for POSIX2008.
55511 * conform/run-conformtest.sh: Run all tests.
55512 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55513 headers.
55514 * include/bits/dlfcn.h: Likewise.
55515 * include/langinfo.h: Likewise.
55516 * include/monetary.h: Likewise.
55517 * include/sys/poll.h: Likewise.
55518
55519 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55520 for __USE_GNU.
55521 * posix/spawn.h: Define __need_sigset_t.
55522 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55523 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55524 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
55525 to get sigevent_t only.
55526 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55527 only for __USE_GNU.
55528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55529 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55530 process_vm_writev only for __USE_GNU.
55531 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
55532
55533 * conform/Makefile: For now ignore errors from run-conformtest.
55534 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
55535 POSIX to avoid namespace pollution. Don't prepend headers.
55536 * conform/data/aio.h-data: Fixes for POSIX testing.
55537 * conform/data/fcntl.h-data: Likewise.
55538 * conform/data/glob.h-data: Likewise.
55539 * conform/data/grp.h-data: Likewise.
55540 * conform/data/pthread.h-data: Likewise.
55541 * conform/data/pwd.h-data: Likewise.
55542 * conform/data/signal.h-data: Likewise.
55543 * conform/data/spawn.h-data: Likewise.
55544 * conform/data/stdio.h-data: Likewise.
55545 * conform/data/stdlib.h-data: Likewise.
55546 * conform/data/stropts.h-data: Likewise.
55547 * conform/data/sys/mman.h-data: Likewise.
55548 * conform/data/sys/stat.h-data: Likewise.
55549 * conform/data/sys/types.h-data: Likewise.
55550 * conform/data/sys/wait.h-data: Likewise.
55551 * conform/data/time.h-data: Likewise.
55552 * conform/data/unistd.h-data: Likewise.
55553 * conform/data/utime.h-data: Likewise.
55554
55555 * io/sys/stat.h: fchmod was always in POSIX.
55556 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55557 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55558 * rt/aio.h: Define __need_timespec before including <time.h>.
55559 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55560 struct. Add forward declaration of pthread_attr_t and use it in
55561 sigevent.
55562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55564 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55565 always remove CLK_TCK definition.
55566
c20105c3
AS
555672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
55568
55569 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55570
7a270350
UD
555712012-02-25 Ulrich Drepper <drepper@gmail.com>
55572
31341567
UD
55573 * conform/run-conformtest.sh: New file.
55574 * conform/Makefile: Run run-conformtest for tests.
55575 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
55576 support.
55577
55578 * conform/data/uchar.h-data: New file.
55579 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55580 * conform/data/arpa/inet.h-data: Likewise.
55581 * conform/data/assert.h-data: Likewise.
55582 * conform/data/complex.h-data: Likewise.
55583 * conform/data/cpio.h-data: Likewise.
55584 * conform/data/ctype.h-data: Likewise.
55585 * conform/data/dirent.h-data: Likewise.
55586 * conform/data/dlfcn.h-data: Likewise.
55587 * conform/data/errno.h-data: Likewise.
55588 * conform/data/fcntl.h-data: Likewise.
55589 * conform/data/float.h-data: Likewise.
55590 * conform/data/fmtmsg.h-data: Likewise.
55591 * conform/data/fnmatch.h-data: Likewise.
55592 * conform/data/ftw.h-data: Likewise.
55593 * conform/data/glob.h-data: Likewise.
55594 * conform/data/grp.h-data: Likewise.
55595 * conform/data/iconv.h-data: Likewise.
55596 * conform/data/inttypes.h-data: Likewise.
55597 * conform/data/langinfo.h-data: Likewise.
55598 * conform/data/libgen.h-data: Likewise.
55599 * conform/data/limits.h-data: Likewise.
55600 * conform/data/locale.h-data: Likewise.
55601 * conform/data/math.h-data: Likewise.
55602 * conform/data/monetary.h-data: Likewise.
55603 * conform/data/mqueue.h-data: Likewise.
55604 * conform/data/ndbm.h-data: Likewise.
55605 * conform/data/net/if.h-data: Likewise.
55606 * conform/data/netdb.h-data: Likewise.
55607 * conform/data/netinet/in.h-data: Likewise.
55608 * conform/data/nl_types.h-data: Likewise.
55609 * conform/data/poll.h-data: Likewise.
55610 * conform/data/pthread.h-data: Likewise.
55611 * conform/data/pwd.h-data: Likewise.
55612 * conform/data/regex.h-data: Likewise.
55613 * conform/data/sched.h-data: Likewise.
55614 * conform/data/search.h-data: Likewise.
55615 * conform/data/semaphore.h-data: Likewise.
55616 * conform/data/setjmp.h-data: Likewise.
55617 * conform/data/signal.h-data: Likewise.
55618 * conform/data/spawn.h-data: Likewise.
55619 * conform/data/stdarg.h-data: Likewise.
55620 * conform/data/stdio.h-data: Likewise.
55621 * conform/data/stdlib.h-data: Likewise.
55622 * conform/data/string.h-data: Likewise.
55623 * conform/data/strings.h-data: Likewise.
55624 * conform/data/stropts.h-data: Likewise.
55625 * conform/data/sys/ipc.h-data: Likewise.
55626 * conform/data/sys/mman.h-data: Likewise.
55627 * conform/data/sys/msg.h-data: Likewise.
55628 * conform/data/sys/resource.h-data: Likewise.
55629 * conform/data/sys/select.h-data: Likewise.
55630 * conform/data/sys/sem.h-data: Likewise.
55631 * conform/data/sys/shm.h-data: Likewise.
55632 * conform/data/sys/socket.h-data: Likewise.
55633 * conform/data/sys/stat.h-data: Likewise.
55634 * conform/data/sys/statvfs.h-data: Likewise.
55635 * conform/data/sys/time.h-data: Likewise.
55636 * conform/data/sys/timeb.h-data: Likewise.
55637 * conform/data/sys/times.h-data: Likewise.
55638 * conform/data/sys/types.h-data: Likewise.
55639 * conform/data/sys/uio.h-data: Likewise.
55640 * conform/data/sys/un.h-data: Likewise.
55641 * conform/data/sys/utsname.h-data: Likewise.
55642 * conform/data/sys/wait.h-data: Likewise.
55643 * conform/data/syslog.h-data: Likewise.
55644 * conform/data/tar.h-data: Likewise.
55645 * conform/data/termios.h-data: Likewise.
55646 * conform/data/utime.h-data: Likewise.
55647 * conform/data/utmpx.h-data: Likewise.
55648 * conform/data/varargs.h-data: Likewise.
55649 * conform/data/wchar.h-data: Likewise.
55650 * conform/data/wctype.h-data: Likewise.
55651 * conform/data/wordexp.h-data: Likewise.
55652
55653 * include/stropts.h: New file.
55654 * include/uchar.h: New file.
55655 * include/aio.h: Changes to allow conformtest.pl to use the headers.
55656 * include/assert.h: Likewise.
55657 * include/ctype.h: Likewise.
55658 * include/dirent.h: Likewise.
55659 * include/dlfcn.h: Likewise.
55660 * include/fcntl.h: Likewise.
55661 * include/fnmatch.h: Likewise.
55662 * include/glob.h: Likewise.
55663 * include/grp.h: Likewise.
55664 * include/libio.h: Likewise.
55665 * include/locale.h: Likewise.
55666 * include/math.h: Likewise.
55667 * include/net/if.h: Likewise.
55668 * include/netdb.h: Likewise.
55669 * include/netinet/in.h: Likewise.
55670 * include/pthread.h: Likewise.
55671 * include/pwd.h: Likewise.
55672 * include/regex.h: Likewise.
55673 * include/sched.h: Likewise.
55674 * include/search.h: Likewise.
55675 * include/setjmp.h: Likewise.
55676 * include/signal.h: Likewise.
55677 * include/stdio.h: Likewise.
55678 * include/stdlib.h: Likewise.
55679 * include/string.h: Likewise.
55680 * include/sys/cdefs.h: Likewise.
55681 * include/sys/mman.h: Likewise.
55682 * include/sys/msg.h: Likewise.
55683 * include/sys/resource.h: Likewise.
55684 * include/sys/select.h: Likewise.
55685 * include/sys/socket.h: Likewise.
55686 * include/sys/stat.h: Likewise.
55687 * include/sys/statvfs.h: Likewise.
55688 * include/sys/time.h: Likewise.
55689 * include/sys/times.h: Likewise.
55690 * include/sys/uio.h: Likewise.
55691 * include/sys/utsname.h: Likewise.
55692 * include/sys/wait.h: Likewise.
55693 * include/termios.h: Likewise.
55694 * include/time.h: Likewise.
55695 * include/ulimit.h: Likewise.
55696 * include/unistd.h: Likewise.
55697 * include/utime.h: Likewise.
55698 * include/wchar.h: Likewise.
55699 * include/wctype.h: Likewise.
55700 * include/wordexp.h: Likewise.
55701
55702 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55703
7a270350
UD
55704 * time/time.h: TIME_UTC must be a macro.
55705 Make timespec_get available for ISO C11 only as well.
55706
7724defc
UD
557072012-02-24 Ulrich Drepper <drepper@gmail.com>
55708
55709 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55710 Reported by Peng Haitao <penght@cn.fujitsu.com>.
55711
6b1d1d46
JM
557122012-02-24 Joseph Myers <joseph@codesourcery.com>
55713
55714 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 55715
0f8bbd69
JM
557162012-02-24 Joseph Myers <joseph@codesourcery.com>
55717
55718 * manual/texinfo.tex: Update to version 2012-01-19.16.
55719
66ab80bc
JM
557202012-02-24 Joseph Myers <joseph@codesourcery.com>
55721
55722 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55723
74981cc5
RM
557242012-02-24 Roland McGrath <roland@hack.frob.com>
55725
ee968201
RM
55726 [BZ #13738]
55727 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55728 * manual/fdl-1.3.texi: New file.
55729 * manual/fdl-1.1.texi: File removed.
55730
74981cc5
RM
55731 [BZ #13738]
55732 * manual/libc.texinfo (FDL_VERSION): New @set.
55733 Use it for mention of FDL in cover text.
55734 (Documentation License): Use it in @include file name.
55735
7bb764bc
JM
557362012-02-22 Joseph Myers <joseph@codesourcery.com>
55737 Roland McGrath <roland@hack.frob.com>
55738
55739 [BZ #5461]
57f41c40
AS
55740 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55741 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
55742 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55743 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
55744 name.
55745 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55746
6cbeae47
JM
557472012-02-22 Joseph Myers <joseph@codesourcery.com>
55748
55749 [BZ #2547]
55750 [BZ #11365]
55751 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55752 manipulate bits before adding and subtracting TWO23[sx].
55753 * math/libm-test.inc (nearbyint_test): Add more tests.
55754
fe45ce09
JM
557552012-02-22 Joseph Myers <joseph@codesourcery.com>
55756
55757 [BZ #2548]
55758 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55759 bits before adding and subtracting TWO23[sx].
55760 * math/libm-test.inc (rint_test): Add more tests.
55761 (rint_test_tonearest): Likewise.
55762 (rint_test_towardzero): Likewise.
55763 (rint_test_downward): Likewise.
55764 (rint_test_upward: Likewise.
55765
ff3b3d82
JM
557662012-02-22 Joseph Myers <joseph@codesourcery.com>
55767
55768 [BZ #10110]
55769 * include/stdc-predef.h: New file. Extracted from features.h.
55770 * include/features.h: Include stdc-predef.h.
55771 * Makefile (headers): Add stdc-predef.h.
55772 * CONFORMANCE (Compiler limitations): Update.
55773
ef0aab35
JM
557742012-02-22 Joseph Myers <joseph@codesourcery.com>
55775
55776 * manual/libc.texinfo (VERSION, UPDATED): Revert.
55777
58639409
DM
557782012-02-21 David S. Miller <davem@davemloft.net>
55779
55780 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55781 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55782
c0e70b25
DM
557832012-02-20 David S. Miller <davem@davemloft.net>
55784
55785 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55786 using a normal save/restore sequence, rather than allocating a
55787 dummy stack frame just to store a frame pointer and restore.
55788 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55789
fb06851d
JM
557902012-02-21 Joseph Myers <joseph@codesourcery.com>
55791
55792 * manual/install.texi: Fix stray word in line-wrapped comment.
55793
7a8b71c3
DM
557942012-02-20 David S. Miller <davem@davemloft.net>
55795
d510c123
DM
55796 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55797 both binutils and gcc support GOTDATA.
55798
0722d7c2
DM
55799 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55800 "rd %pc" in the PIC register setup sequences.
55801
3d2b3019
DM
55802 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55803 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55804 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55805 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55808 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55811 (SYSCALL_ERROR_HANDLER): Likewise.
55812 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55813 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55815 (SYSCALL_ERROR_HANDLER): Likewise.
55816
c80098a9
DM
55817 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55818 (HAVE_GCC_GOTDATA): New.
55819 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55820 relocation support in both binutils and gcc.
55821 * sysdeps/sparc/elf/configure: Regenerate.
55822
3a2545a0
DM
55823 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55824 * sysdeps/sparc/sparc32/elf/configure: Delete.
55825 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55826 * sysdeps/sparc/sparc64/elf/configure: Delete.
55827 * sysdeps/sparc/elf/configure.in: New file.
55828 * sysdeps/sparc/elf/configure: Generate.
55829
7a8b71c3
DM
55830 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55831 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55832 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55833 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55834 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55835
f1e86fca
JM
558362012-02-21 Joseph Myers <joseph@codesourcery.com>
55837
55838 * manual/install.texi: Do not mention specific glibc version
55839 numbers.
55840 * manual/libc.texinfo (VERSION, UPDATED): Update.
55841 (@copying): Use @copyright{} and range of years.
55842
0e7dfaef
JM
558432012-02-21 Joseph Myers <joseph@codesourcery.com>
55844
55845 [BZ #13695]
55846 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55847 [crti.S not in sysdirs] (generated): Do not append.
55848 [crti.S not in sysdirs] (omit-deps): Likewise.
55849 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55850 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55851 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55852 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55853 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55854 Likewise.
55855 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55856 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55857 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55858 * csu/defs.awk: Remove file.
55859 * sysdeps/generic/initfini.c: Likewise.
55860 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55861 variable.
55862 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55863 Likewise.
55864
599af3ca
JM
558652012-02-20 Joseph Myers <joseph@codesourcery.com>
55866
55867 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55868 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55869 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55871 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55872 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55873 <bits/epoll.h>.
55874 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55875 (__EPOLL_PACKED): Define to empty if not defined by
55876 <bits/epoll.h>.
55877 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55879 bits/epoll.h.
55880
0e499750
JM
558812012-02-20 Joseph Myers <joseph@codesourcery.com>
55882
55883 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55884 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55885 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55886 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55887 <bits/timerfd.h>.
55888 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55890 bits/timerfd.h.
55891
5ad91f6e
JM
558922012-02-20 Joseph Myers <joseph@codesourcery.com>
55893
55894 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55895 in C locale.
55896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55897 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55898 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55900
06b99b02
AJ
559012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
55902
55903 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55904 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55905
7638c0fd
AS
559062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
55907
55908 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55909 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55910 defined.
55911 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55912 Likewise.
55913 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55914 entry for 2.16.
55915
92221550
AJ
559162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
55917
55918 * math/w_acos.c: Use non-signaling floating-point comparisons.
55919 * math/w_acosf.c: Likewise.
55920 * math/w_acosh.c: Likewise.
55921 * math/w_acoshf.c: Likewise.
55922 * math/w_acoshl.c: Likewise.
55923 * math/w_acosl.c: Likewise.
55924 * math/w_asin.c: Likewise.
55925 * math/w_asinf.c: Likewise.
55926 * math/w_asinl.c: Likewise.
55927 * math/w_atanh.c: Likewise.
55928 * math/w_atanhf.c: Likewise.
55929 * math/w_atanhl.c: Likewise.
55930 * math/w_exp2.c: Likewise.
55931 * math/w_exp2f.c: Likewise.
55932 * math/w_exp2l.c: Likewise.
55933 * math/w_j0.c: Likewise.
55934 * math/w_j0f.c: Likewise.
55935 * math/w_j0l.c: Likewise.
55936 * math/w_j1.c: Likewise.
55937 * math/w_j1f.c: Likewise.
55938 * math/w_j1l.c: Likewise.
55939 * math/w_jn.c: Likewise.
55940 * math/w_jnf.c: Likewise.
55941 * math/w_log.c: Likewise.
55942 * math/w_log10.c: Likewise.
55943 * math/w_log10f.c: Likewise.
55944 * math/w_log10l.c: Likewise.
55945 * math/w_log2.c: Likewise.
55946 * math/w_log2f.c: Likewise.
55947 * math/w_log2l.c: Likewise.
55948 * math/w_logf.c: Likewise.
55949 * math/w_logl.c: Likewise.
55950 * math/w_sqrt.c: Likewise.
55951 * math/w_sqrtf.c: Likewise.
55952 * math/w_sqrtl.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55955 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55956 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55957 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55958
ebaf36eb
JM
559592012-02-19 Joseph Myers <joseph@codesourcery.com>
55960
55961 [BZ #9739]
55962 * manual/string.texi (strnlen): Use correct parameter name in
55963 equivalent expression.
55964
71c254a6
JM
559652012-02-19 Joseph Myers <joseph@codesourcery.com>
55966
55967 [BZ #11174]
55968 * manual/users.texi (seteuid): Consistently use neweuid for
55969 argument name.
55970
16d2c631
JM
559712012-02-19 Joseph Myers <joseph@codesourcery.com>
55972
55973 [BZ #13704]
55974 * manual/nss.texi (Services in the NSS configuration): Correct
55975 list of services in example configuration file.
55976
cd837b09
NB
559772012-02-19 Nick Bowler <nbowler@draconx.ca>
55978
55979 [BZ #11322]
55980 * manual/arith.texi: Remove statements about negative zero
55981 behaving identically to zero.
55982
02c4bbad
JM
559832012-02-18 Joseph Myers <joseph@codesourcery.com>
55984
55985 [BZ #5993]
55986 * manual/install.texi: Do not document upgrading from libc5.
55987
366842e7
JM
559882012-02-18 Joseph Myers <joseph@codesourcery.com>
55989
55990 [BZ #4596]
55991 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55992
dd54084d
DM
559932012-02-18 David S. Miller <davem@davemloft.net>
55994
55995 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55996 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55997 %o7 across the call.
55998 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55999 instead.
56000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56001 SETUP_PIC_REG_LEAF.
56002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56003 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56004 * sysdeps/sparc/crtn.S: Likewise.
56005
2bcc53a3
UD
560062012-02-17 Ulrich Drepper <drepper@gmail.com>
56007
56008 * aout/Makefile: Remove.
56009
09c093b5
RK
560102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
56011
56012 [BZ #13058]
56013 * manual/examples/argp-ex1.c (main): Format definition in GNU
56014 style.
56015 * manual/examples/argp-ex2.c (main): Likewise.
56016 * manual/examples/argp-ex3.c (main): Likewise.
56017 * manual/examples/argp-ex4.c (main): Likewise.
56018 * manual/examples/longopt.c (main): Use new-style prototype
56019 definition.
56020 * manual/examples/strncat.c (main): Specify return type and use
56021 (void) for arguments.
56022 * manual/examples/subopt.c (main): Use char **argv argument.
56023
2ee633a2
JM
560242012-02-17 Joseph Myers <joseph@codesourcery.com>
56025
56026 [BZ #5077]
56027 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56028 rounding modes.
56029
0520adde
FB
560302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
56031
56032 [BZ #6907]
56033 * manual/string.texi (strchr): Change when strchrnul is
56034 recommended.
56035
3f4081cd
DGM
560362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
56037
56038 [BZ #174]
56039 * manual/locale.texi (setlocale): Document LOCPATH.
56040
d1b10e78
JM
560412012-02-17 Joseph Myers <joseph@codesourcery.com>
56042
56043 [BZ #10210]
56044 * manual/process.texi (execle): Move @dots{} before last argument.
56045
79c6869c
PB
560462012-02-17 Paul Bolle <pebolle@tiscali.nl>
56047
56048 [BZ #12047]
56049 * manual/charset.texi (Generic Charset Conversion): Fix typo
56050 (LC_TYPE -> LC_CTYPE).
56051
cc6e48bc
NB
560522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
56053
56054 [BZ #5805]
56055 * manual/arith.texi (scalbn): Use @var{} on parameter names.
56056 (scalbnf): Likewise.
56057 (scalbnl): Likewise.
56058 (scalbln): Likewise.
56059 (scalblnf): Likewise.
56060 (scalblnl): Likewise.
56061 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56062 (vwarnx): Likewise.
56063 (verr): Likewise.
56064 (verrx): Likewise.
56065 * manual/filesys.texi (telldir): Use braces around return type.
56066 * manual/llio.texi (mmap): Add space after comma.
56067 (mmap64): Likewise.
56068 * manual/math.texi (jn): Use @var{} on parameter names.
56069 (jnf): Likewise.
56070 (jnl): Likewise.
56071 (yn): Likewise.
56072 (ynf): Likewise.
56073 (ynl): Likewise.
56074 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56075 line.
56076 * manual/resource.texi (ulimit): Use @dots{} instead of literal
56077 "...".
56078 (sched_get_priority_min): Remove semicolon on @deftypefun line.
56079 (sched_get_priority_max): Likewise.
56080 * manual/signal.texi (sigvec): Add space after comma.
56081 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56082 names.
56083 (if_indextoname): Likewise.
56084 (if_freenameindex): Likewise.
56085 (sendto): Use ',' instead of '.' in prototype.
56086 * manual/startup.texi (syscall): Use @dots{} instead of literal
56087 "...".
56088 * manual/stdio.texi (__fpending): Separate initial words of
56089 paragraph from @deftypefun line.
56090 * manual/syslog.texi (syslog): Use @dots{} instead of literal
56091 "...".
56092 (vsyslog): Use @var{} on parameter names.
56093 * manual/terminal.texi (stty): Use @var{} on parameter names.
56094 * manual/users.texi (getutmp): Use @var{} on parameter names.
56095 (getutmpx): Likewise.
56096
5b23062f
JM
560972012-02-17 Joseph Myers <joseph@codesourcery.com>
56098
56099 [BZ #6884]
56100 * manual/stdio.texi (fopen): Fix typos in description of
56101 ",ccs=STRING".
56102
8dee4833
AJ
561032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
56104
56105 [BZ #4026]
56106 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56107 get clock_id definition.
56108
9078ce93
TS
561092012-02-17 Thomas Schwinge <thomas@schwinge.name>
56110
56111 [BZ #4822]
56112 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56113 (madvise): Cast every argument to void on its own.
56114
3835c55f
JM
561152012-02-17 Joseph Myers <joseph@codesourcery.com>
56116
56117 [BZ #9902]
56118 * manual/startup.texi (Exit Status): Fix typo.
56119
35c47e37
JM
561202012-02-17 Joseph Myers <joseph@codesourcery.com>
56121
56122 [BZ #10140]
56123 * manual/examples/argp-ex1.c: Include <stdlib.h>.
56124 * manual/examples/argp-ex2.c: Likewise.
56125 * manual/examples/argp-ex3.c: Likewise.
56126
e3b69ca7
RH
561272012-02-16 Richard Henderson <rth@redhat.com>
56128
56129 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56130 * sysdeps/s390/s390-32/initfini.c: Remove.
56131 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56132 * sysdeps/s390/s390-64/initfini.c: Remove.
56133
df83af67
KK
561342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56135
56136 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56137 compiler output for sysdeps/generic/initfini.c.
56138 * sysdeps/sh/elf/initfini.c: Remove file.
56139
f63f3380
DM
561402012-02-16 David S. Miller <davem@davemloft.net>
56141
fb59b3a4
DM
56142 [BZ #11494]
56143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56144
f63f3380
DM
56145 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56146 * sysdeps/sparc/crti.S: New file.
56147 * sysdeps/sparc/crtn.S: New file.
56148 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56149 * sysdeps/sparc/sparc64/Makefile: Likewise.
56150
df6a4a4a
MF
561512012-02-15 Mike Frysinger <vapier@gentoo.org>
56152
6dd8f3dc 56153 [BZ #3335]
df6a4a4a
MF
56154 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56155
1cac7236
RM
561562012-02-15 Roland McGrath <roland@hack.frob.com>
56157
d2c736f8
RM
56158 [BZ #4822]
56159 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56160
1cac7236
RM
56161 * mach/devstream.c (cookie_io_functions_t): Macro removed.
56162 (write, read, close): Likewise.
56163 Patch by Aurelien Jarno <aurelien@aurel32.net>.
56164
8e475601
JM
561652012-02-15 Joseph Myers <joseph@codesourcery.com>
56166
56167 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56168 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56169 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56170 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56171 <bits/signalfd.h>.
56172 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56174 bits/signalfd.h.
56175
ed656b40
MP
561762012-02-14 Marek Polacek <polacek@redhat.com>
56177
56178 * sysdeps/x86_64/crti.S: New file.
56179 * sysdeps/x86_64/crtn.S: New file.
56180 * sysdeps/x86_64/elf/initfini.c: Remove file.
56181
2a979d3a
JM
561822012-02-13 Joseph Myers <joseph@codesourcery.com>
56183
56184 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56185 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56186 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56187 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56188 <bits/inotify.h>.
56189 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56191 bits/inotify.h.
56192
2a418ac3
JM
561932012-02-13 Joseph Myers <joseph@codesourcery.com>
56194
56195 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56196 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56197 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56198 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56199 <bits/eventfd.h>.
56200 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56202 bits/eventfd.h.
56203
fb779be7
TS
562042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
56205
e19e83c5
RM
56206 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56207 __feraiseexcept instead of feraiseexcept.
7c35ffed 56208
fb779be7
TS
56209 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56210 nanosleep invocations.
56211 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56212 strings, and add error checking for a nanosleep invocations.
56213
59ba27a6
PE
562142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
56215
56216 Replace FSF snail mail address with URLs, as per GNU coding standards.
56217 Most of the snail mail addresses were wrong anyway, and omitting
56218 them makes the source code easier to maintain. Almost all of the
56219 changes are to license notices and to locale LC_IDENTIFICATION
56220 addresses, except for this one:
56221 * manual/libc.texinfo: In "Published by", give the FSF's URL,
56222 not its snail mail address.
56223
57b957eb
RH
562242012-02-09 Richard Henderson <rth@twiddle.net>
56225
af850b1c
RH
56226 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56227 of kernel-features.h.
56228
57b957eb
RH
56229 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56230
6b73181a
MP
562312012-02-08 Marek Polacek <polacek@redhat.com>
56232
56233 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56234 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56235 * sysdeps/gnu/_G_config.h: Likewise.
56236 * sysdeps/generic/_G_config.h: Likewise.
56237
26ecc33a
AS
562382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
56239
6c6dbc63
AS
56240 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56241 tests.
56242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56243
e216c012
AS
56244 * sysdeps/powerpc/powerpc32/crti.S: New file.
56245 * sysdeps/powerpc/powerpc32/crtn.S: New file.
56246 * sysdeps/powerpc/powerpc64/crti.S: New file.
56247 * sysdeps/powerpc/powerpc64/crtn.S: New file.
56248
26ecc33a
AS
56249 * Makeconfig (have-initfini): Don't set.
56250 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56251 * configure.in (nopic_initfini): Don't substitute.
56252 * config.h.in (HAVE_INITFINI): Don't #undef.
56253 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56254 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56255
3add8e13
JM
562562012-02-08 Joseph Myers <joseph@codesourcery.com>
56257
56258 Support crti.S and crtn.S provided directly by architectures.
56259 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56260 [crti.S in sysdirs] (omit-deps): Likewise.
56261 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56262 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56263 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56264 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56265 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56266 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56267 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56268 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56269 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56270 compiler output for sysdeps/generic/initfini.c.
56271 * sysdeps/i386/elf/Makefile: Remove file.
56272 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56273
a22f12b4
MP
562742012-02-07 Marek Polacek <polacek@redhat.com>
56275
56276 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56277 * sysdeps/gnu/_G_config.h: Likewise.
56278 * sysdeps/mach/hurd/_G_config.h: Likewise.
56279
148cf100
MP
562802012-02-07 Marek Polacek <polacek@redhat.com>
56281
56282 * math/Makefile (tests): Add tst-CMPLX2.
56283 * math/tst-CMPLX2.c: New file.
56284
cfdc0dd7
AS
562852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
56286
84ba42c4
AS
56287 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56288
cfdc0dd7
AS
56289 * math/libm-test.inc (jn_test): Add missing L suffix.
56290
622c86f4
MP
562912012-02-06 Marek Polacek <polacek@redhat.com>
56292
56293 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56294 * sysdeps/i386/fpu/e_powf.S: Likewise.
56295 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56296 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56297 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56298 * sysdeps/i386/fpu/e_pow.S: Likewise.
56299 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56301 * sysdeps/i386/fpu/s_expm1.S: Likewise.
56302 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56303 * sysdeps/i386/fpu/e_log2.S: Likewise.
56304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56305 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56306 * sysdeps/i386/fpu/e_powl.S: Likewise.
56307 * sysdeps/i386/fpu/s_log1p.S: Likewise.
56308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56309 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56310 * sysdeps/i386/fpu/e_logl.S: Likewise.
56311 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56312 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56313 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56314 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56315 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56316 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56317 * sysdeps/i386/fpu/e_log.S: Likewise.
56318 * sysdeps/i386/fpu/s_cexp.S: Likewise.
56319 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56320 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56321 * sysdeps/i386/fpu/e_logf.S: Likewise.
56322 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56324 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56325 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56326 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56327 * sysdeps/i386/fpu/e_log10.S: Likewise.
56328 * sysdeps/i386/fpu/s_frexp.S: Likewise.
56329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56330 * sysdeps/i386/fpu/s_asinh.S: Likewise.
56331 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56332 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56333 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56334 * sysdeps/i386/asm-syntax.h: Likewise.
56335 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56337 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56338 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56339 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56341 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56342 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56343 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56344 * sysdeps/powerpc/sysdep.h: Likewise.
56345 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56346 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56347
d4a54ac6
JM
563482012-02-06 Joseph Myers <joseph@codesourcery.com>
56349
56350 [BZ #411]
56351 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56352
314054ea
JM
563532012-02-06 Joseph Myers <joseph@codesourcery.com>
56354
56355 * sysdeps/i386/sysdep.h: Include <features.h>.
56356 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56357 version.
56358
d8e0ca50
JM
563592012-02-05 Joseph Myers <joseph@codesourcery.com>
56360
56361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56362 Define.
56363 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56364 LOAD_PIC_REG_STR.
56365
b1da7dd9
JM
563662012-02-03 Joseph Myers <joseph@codesourcery.com>
56367
56368 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56369 (SETUP_PIC_REG): Use GET_PC_THUNK.
56370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56371 macro.
56372
9a1d9254
JM
563732012-02-03 Joseph Myers <joseph@codesourcery.com>
56374
56375 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56376 for non-PIC compilation.
56377 (SETUP_PIC_REG): Add .p2align directive.
56378 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56379 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56380 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56381 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56382 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56384 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56386 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56387 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56388 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56389 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56390 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56391 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56392 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56393 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56394 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56395 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56396 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56397 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56400 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56401 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56406 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56407 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56408 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56409 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56411 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56412 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56413 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56414 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56415 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56416 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56417 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56418 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56419
65dc3b75
JM
564202012-02-03 Joseph Myers <joseph@codesourcery.com>
56421
56422 * math/tst-CMPLX.c: Include <stdio.h>.
56423
d55bf177
JM
564242012-01-31 Joseph Myers <joseph@codesourcery.com>
56425
56426 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56427 float.
56428 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56429 * sysdeps/sparc/bits/mathdef.h: Likewise.
56430
69db4f8f
MP
564312012-01-31 Marek Polacek <polacek@redhat.com>
56432
56433 * libio/libio.h: Don't define _PARAMS.
56434 * locale/programs/config.h: Don't define PARAMS.
56435 * stdlib/strtol_l.c: Likewise.
56436 (__strtol_l): Remove PARAMS from the prototype.
56437
41b81892
UD
564382012-01-31 Ulrich Drepper <drepper@gmail.com>
56439
3b49edc0
UD
56440 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
56441 names. Just use the correct names. Remove unnecessary wrapper
56442 functions.
56443 * malloc/arena.c: Likewise.
56444 * malloc/hooks.c: Likewise.
56445
41b81892
UD
56446 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56447 ARENA_TEST says not to. Simplify test for creation of a new arena.
56448 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56449
27a25b6e
UD
564502012-01-30 Ulrich Drepper <drepper@gmail.com>
56451
56452 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56453 into tail calls.
56454 (update_get_addr): New function.
56455 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56456 GET_ADDR_MODULE parameter.
56457
c8a89e7d
JM
564582012-01-30 Joseph Myers <joseph@codesourcery.com>
56459
56460 * crypt/cert.c: Remove __STDC__ conditionals.
56461 * crypt/crypt-entry.c: Likewise.
56462 * crypt/crypt_util.c: Likewise.
56463 * libio/filedoalloc.c: Likewise.
56464 * libio/fileops.c: Likewise.
56465 * libio/genops.c: Likewise.
56466 * libio/iofclose.c: Likewise.
56467 * libio/iofdopen.c: Likewise.
56468 * libio/iofopen.c: Likewise.
56469 * libio/iofopen64.c: Likewise.
56470 * libio/iogetdelim.c: Likewise.
56471 * libio/iopopen.c: Likewise.
56472 * libio/obprintf.c: Likewise.
56473 * libio/oldfileops.c: Likewise.
56474 * libio/oldiofclose.c: Likewise.
56475 * libio/oldiofdopen.c: Likewise.
56476 * libio/oldiofopen.c: Likewise.
56477 * libio/oldiopopen.c: Likewise.
56478 * libio/wfiledoalloc.c: Likewise.
56479 * libio/wgenops.c: Likewise.
56480 * locale/programs/xmalloc.c: Likewise.
56481 * misc/syslog.c: Likewise.
56482 * stdio-common/xbug.c: Likewise.
56483 * string/memchr.c: Likewise.
56484 * string/memcmp.c: Likewise.
56485 * string/memrchr.c: Likewise.
56486 * string/rawmemchr.c: Likewise.
56487 * sysdeps/posix/getcwd.c: Likewise.
56488 * time/strftime_l.c: Likewise.
56489
3b100462
JM
564902012-01-30 Joseph Myers <joseph@codesourcery.com>
56491
56492 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
56493 * config.make.in (config-cflags-sse2avx): Define.
56494 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56495 Fix typo.
56496
607998af
CM
564972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
56498
56499 * scripts/config.guess: Update from upstream config git repository.
56500 * scripts/config.sub: Likewise.
56501
3601428f
CM
565022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
56503
3ac8b282
CM
56504 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56505 (EM_NUM): Update.
56506 (R_TILEPRO_*, R_TILEGX_*): New macros.
56507
e034841e
CM
56508 * scripts/firstversions.awk: Fix bug in version range handling.
56509
540d7568
CM
56510 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56511
3601428f
CM
56512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56513
463de862
CM
56514 * include/sys/epoll.h: New file.
56515 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56516 libc_hidden_def.
56517
73139a76
UD
565182012-01-28 Ulrich Drepper <drepper@gmail.com>
56519
96bc5b45
UD
56520 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56521 Avoid unnecessary __WORDSIZE == 64 test.
56522 (fmaxf): Use VEX format if possible.
56523 (fmax): Likewise.
56524 (fminf): Likewise.
56525 (fmin): Likewise.
56526
56f6f6a2
UD
56527 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56528 * math/math_private.h: Remove libc_fegetround* and
56529 libc_fesetround*.
56530 * sysdeps/i386/configure.in: Check for -msse2avx.
56531 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56532 also if SSE2AVX is defined.
56533 Remove libc_fegetround* and libc_fesetround*.
56534 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56535 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
56536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56537 of HAS_YMM_USABLE.
56538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56543
73139a76
UD
56544 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56545
d73f93a4
AZ
565462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56547
56548 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56549 size is not set.
56550 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56551
6ee65ed6
UD
565522012-01-27 Ulrich Drepper <drepper@gmail.com>
56553
56554 [BZ #13618]
56555 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56556 relocation.
56557 * Makeconfig (libm): Define.
56558 * elf/Makefile: Add rules to build and run tst-relsort1.
56559 * elf/tst-relsort1.c: New file.
56560 * elf/tst-relsort1mod1.c: New file.
56561 * elf/tst-relsort1mod2.c: New file.
56562
8db21882
JM
565632012-01-27 Joseph Myers <joseph@codesourcery.com>
56564
56565 * math/s_ldexp.c: Remove __STDC__ conditionals.
56566 * math/s_ldexpf.c: Likewise.
56567 * math/s_ldexpl.c: Likewise.
56568 * math/s_nextafter.c: Likewise.
56569 * math/s_nexttowardf.c: Likewise.
56570 * math/s_significand.c: Likewise.
56571 * math/s_significandf.c: Likewise.
56572 * math/s_significandl.c: Likewise.
56573 * math/w_jnl.c: Likewise.
56574 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56575 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56576 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56577 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56578 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56580 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56581 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56582 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56583 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56584 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56586 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56587 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56589 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56591 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56600 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56602 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56603 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56604 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56605 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56606 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56608 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56609 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56610 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56611 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56612 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56613 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56614 * sysdeps/ieee754/k_standard.c: Likewise.
56615 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56616 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56617 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56618 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56619 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56620 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56621 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56622 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56623 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56624 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56625 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56628 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56629 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56631 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56632 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56633 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56634 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56637 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56638 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56639 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56646 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56647 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56648 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56650 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56651 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56653 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56654 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56655 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56657 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56658 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56660 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56661 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56664 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56665 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56668 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56669 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56670 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56671 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56673 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56675 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56676 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56677 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56679 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56680 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56681 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56682 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56683 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56684 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56686 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56687 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56688 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56689 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56690 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56694 * sysdeps/ieee754/s_matherr.c: Likewise.
56695 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56696 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56699
965a54a4
JM
567002012-01-26 Joseph Myers <joseph@codesourcery.com>
56701
56702 * crypt/md5.h: Remove __STDC__ conditionals.
56703 * libio/libioP.h: Likewise.
56704 * locale/programs/config.h: Likewise.
56705 * sysdeps/generic/sysdep.h: Likewise.
56706 * sysdeps/i386/asm-syntax.h: Likewise.
56707 * sysdeps/s390/asm-syntax.h: Likewise.
56708 * sysdeps/unix/sysdep.h: Likewise.
56709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56711
7071ad79
JM
567122012-01-26 Joseph Myers <joseph@codesourcery.com>
56713
56714 * libio/libio.h: Remove __STDC__ conditionals.
56715 * malloc/obstack.h: Likewise.
56716 * math/complex.h: Likewise.
56717 * math/math.h: Likewise.
56718 * sysdeps/generic/_G_config.h: Likewise.
56719 * sysdeps/gnu/_G_config.h: Likewise.
56720 * sysdeps/mach/hurd/_G_config.h: Likewise.
56721 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56722 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56723 * sysdeps/sparc/bits/mathdef.h: Likewise.
56724
afc5ed09
UD
567252012-01-26 Ulrich Drepper <drepper@gmail.com>
56726
56727 [BZ #13583]
56728 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 56729 Clean up HAS_* macros.
afc5ed09 56730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
56731 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56732 possible.
56733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56734 HAS_AVX.
56735 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56736 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56737 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56738 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56739 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 56740
bdb6de1d
JM
567412012-01-25 Joseph Myers <joseph@codesourcery.com>
56742
56743 * elf/tst-unique3.cc (gets): Remove declaration.
56744 * elf/tst-unique3lib.cc (gets): Likewise.
56745 * elf/tst-unique3lib2.cc (gets): Likewise.
56746 * elf/tst-unique4.cc (gets): Likewise.
56747
b15549e6
UD
567482012-01-24 Ulrich Drepper <drepper@gmail.com>
56749
56750 * include/stdio.h: Add C++ protection. Add gets declarations and
56751 definitions.
56752 * debug/tst-chk1.c: Don't declare gets here.
56753 * stdio-common/tst-gets.c: Likewise.
56754
a037381f
JM
567552012-01-24 Joseph Myers <joseph@codesourcery.com>
56756
56757 * posix/glob: Remove directory.
56758
f1d4aa75
JM
567592012-01-24 Joseph Myers <joseph@codesourcery.com>
56760
56761 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56762
81c0c964
PT
567632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
56764
56765 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56766 of the non-standard EPFNOSUPPORT.
56767
0ea698ae
ST
567682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
56769
56770 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56771 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56772 ANYWHERE set to 1 only on KERN_NO_SPACE error.
56773
d220b117
UD
567742012-01-21 Ulrich Drepper <drepper@gmail.com>
56775
56776 * wcsmbs/uchar.h: Test __STDC_VERSION__.
56777
3e1aa84e
UD
567782012-01-20 Ulrich Drepper <drepper@gmail.com>
56779
56780 * nscd/aicache.c (addhstaiX): Do not cache negative results of
56781 transient errors.
56782 * nscd/grpcache.c (cache_addgr): Likewise.
56783 * nscd/hstcache.c (cache_addhst): Likewise.
56784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56785 * nscd/pwdcache.c (cache_addpw): Likewise.
56786 * nscd/servicescache.c (cache_addserv): Likewise.
56787
400aa020
UD
567882012-01-16 Ulrich Drepper <drepper@gmail.com>
56789
d77e7869
UD
56790 * malloc/malloc.c: Various cleanups.
56791 * malloc/hooks.c: Likewise.
56792
400aa020
UD
56793 * stdlib/Makefile (tests): Add bug-fmtmsg1.
56794 * stdlib/bug-fmtmsg1.c: New file.
56795
56796 * stdlib/fmtmsg.c (init): Add missing unlock.
56797 Patch by Peng Haitao <penght@cn.fujitsu.com>.
56798
e0a309cf
MP
567992012-01-12 Marek Polacek <polacek@redhat.com>
56800
56801 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56802 and _GNU_SOURCE.
56803
929d11c7
WS
568042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56805
56806 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56807 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56808 macro to ensure uniqueness of label name.
56809 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56810 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56811
41d0e869
UD
568122012-01-11 Ulrich Drepper <drepper@gmail.com>
56813
0cc5ed3b
UD
56814 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56815
41d0e869
UD
56816 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56817 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56818 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56820
a47a831a
UD
568212012-01-10 Ulrich Drepper <drepper@gmail.com>
56822
daa891c0
UD
56823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56824
56825 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56826 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56827 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56828
e58ef0f2
UD
56829 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56830
a47a831a 56831 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
56832 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56833 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 56834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
56835
56836 * math/bits/math-finite.h: Add ldexp support.
56837
a0bfc9c7
MP
568382012-01-10 Marek Polacek <polacek@redhat.com>
56839
56840 * locale/programs/localedef.h (show_archive_content): Add noreturn
56841 attribute.
56842
d6e97a1d
UD
568432012-01-09 Ulrich Drepper <drepper@gmail.com>
56844
56845 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56846
d5835c26
UD
568472012-01-08 Ulrich Drepper <drepper@gmail.com>
56848
e5f484c6
UD
56849 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56850
d5835c26
UD
56851 * io/Makefile (headers): Add bits/poll2.h.
56852
d1f741e9
WS
568532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
56854
56855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56856 typo #include statement.
56857
ec09c1c4
UD
568582012-01-08 Ulrich Drepper <drepper@gmail.com>
56859
56860 * include/sys/cdefs.h: Define __attribute_alloc_size.
56861 * catgets/gencat.c: Add alloc_size attribute and apply consistently
56862 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56863 * elf/pldd.c: Likewise.
56864 * iconv/iconv_charmap.c: Likewise.
56865 * iconv/iconvconfig.c: Likewise.
56866 * iconv/strtab.c: Likewise.
56867 * locale/programs/locale.c: Likewise.
56868 * locale/programs/localedef.h: Likewise.
56869 * locale/programs/simple-hash.c: Likewise.
56870 * nscd/nscd.h: Likewise.
56871 * nss/makedb.c: Likewise.
56872 * sysdeps/generic/ldconfig.h: Likewise.
56873 * locale/programs/localedef.c: Remove xmalloc prototype.
56874 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56875
20b38e03
PP
568762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56877
56878 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56879 appropriate.
56880
a0da5fe1
UD
568812012-01-08 Ulrich Drepper <drepper@gmail.com>
56882
1d5a644a 56883 * math/Makefile (tests): Add tst-CMPLX.
669704fd 56884 * math/tst-CMPLX.c: New file.
1d5a644a 56885
8784a6db
UD
56886 * math/complex.h (CMPLXL): Fix typo.
56887
d9a216c0
UD
56888 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56889 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56890 GLIBC_2.16.
56891 * debug/tst-chk1.c: Add poll and ppoll tests.
56892 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56893 * include/sys/poll.h: Add hidden proto for ppoll.
56894 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56895 * sysdeps/mach/hurd/ppoll.c: Likewise.
56896 * io/ppoll.c: Likewise.
56897 * debug/poll_chk.c: New file.
56898 * debug/ppoll_chk.c: New file.
56899 * include/bits/poll2.h: New file.
56900 * io/bits/poll2.h: New file.
56901
ac097f5c
UD
56902 [BZ #1350]
56903 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56904
2119dcfa
UD
56905 * configure.in: static is always set to yes. Remove.
56906 * config.make.in: Don't set build-static.
56907 * Makeconfig: Remove use of build-static.
56908 * dlfcn/Makefile: Likewise.
56909 * elf/Makefile: Likewise.
56910 * math/Makefile: Likewise.
56911 * misc/Makefile: Likewise.
56912 * nptl/Makefile: Likewise.
56913 * sysdeps/mach/hurd/Makefile: Likewise.
56914
121766a9
UD
56915 * configure.in: PWD_P is not used anymore.
56916 * config.make.in: Remove PWD_P entry.
56917
51a1d39c 56918 * configure.in: Remove last remnants of RANLIB.
8720d066 56919 No need to check for signed size_t anymore.
215f4bdc
UD
56920 Don't set libc_commonpagesize and libc_relro_required here for Alpha
56921 and IA-64.
3857022a 56922 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
56923 * aclocal.m4: Likewise.
56924
d3ed7225
UD
56925 * wcsmbs/mbrtoc16.c: Implement using towc function.
56926 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56927 * wcsmbs/wcsmbsload.c: Likewise.
56928 * iconv/gconv_simple.c: Likewise.
56929 * iconv/gconv_int.h: Likewise.
56930 * iconv/gconv_builtin.h: Likewise.
56931 * iconv/iconv_prog.c: Remove CHAR16 handling.
56932
56933 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56934
56935 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56936
a0da5fe1
UD
56937 * configure.in: Remove --with-elf and --enable-bounded options.
56938 Dont set base_machine for ia64. More non-ELF conditions removed.
56939 Remove testing and setting of leading underscore information.
56940 * config.make.in (build-bounded): Set to no.
56941 * config.h.in: Remove NO_UNDERSCORES entry.
56942 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
56943 them.
56944 * csu/start.c: Remove !NO_UNDERSCORE code.
56945 * locale/localeinfo.h: Likewise.
56946 * sysdeps/generic/machine-gmon.h: Likewise.
56947 * sysdeps/generic/sysdep.h: Likewise.
56948 * sysdeps/i386/sysdep.h: Likewise.
56949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56950 * sysdeps/mach/sysdep.h: Likewise.
56951 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56952 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56953 * sysdeps/sh/sysdep.h: Likewise.
56954 * sysdeps/sparc/sparc32/alloca.S: Likewise.
56955 * sysdeps/unix/i386/sysdep.S: Likewise.
56956 * sysdeps/unix/sparc/start.c: Likewise.
56957 * sysdeps/unix/sparc/sysdep.S: Likewise.
56958 * sysdeps/unix/sparc/sysdep.h: Likewise.
56959 * sysdeps/unix/start.c: Likewise.
56960 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56961 * sysdeps/x86_64/sysdep.h: Likewise.
56962
df78418a
UD
569632012-01-07 Ulrich Drepper <drepper@gmail.com>
56964
a784e502
UD
56965 [BZ #13553]
56966 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56967 for non-gcc.
56968 * argp/argp-fmtstream.h: Use const instead __const.
56969 * argp/argp.h: Likewise.
56970 * assert/assert.h: Likewise.
56971 * bits/fenv.h: Likewise.
56972 * bits/sched.h: Likewise.
56973 * bits/sigset.h: Likewise.
56974 * bits/sigthread.h: Likewise.
56975 * catgets/nl_types.h: Likewise.
56976 * conform/data/pthread.h-data: Likewise.
56977 * crypt/crypt-private.h: Likewise.
56978 * crypt/crypt.h: Likewise.
56979 * crypt/crypt_util.c: Likewise.
56980 * ctype/ctype.h: Likewise.
56981 * debug/execinfo.h: Likewise.
56982 * debug/mbsnrtowcs_chk.c: Likewise.
56983 * debug/mbsrtowcs_chk.c: Likewise.
56984 * debug/wcsnrtombs_chk.c: Likewise.
56985 * debug/wcsrtombs_chk.c: Likewise.
56986 * debug/wcstombs_chk.c: Likewise.
56987 * dirent/dirent.h: Likewise.
56988 * dlfcn/dlfcn.h: Likewise.
56989 * elf/neededtest4.c: Likewise.
56990 * grp/grp.h: Likewise.
56991 * gshadow/gshadow.h: Likewise.
56992 * iconv/gconv.h: Likewise.
56993 * iconv/gconv_int.h: Likewise.
56994 * iconv/gconv_simple.c: Likewise.
56995 * iconv/iconv.h: Likewise.
56996 * iconv/loop.c: Likewise.
56997 * iconv/skeleton.c: Likewise.
56998 * include/aio.h: Likewise.
56999 * include/aliases.h: Likewise.
57000 * include/argz.h: Likewise.
57001 * include/arpa/inet.h: Likewise.
57002 * include/assert.h: Likewise.
57003 * include/dirent.h: Likewise.
57004 * include/dlfcn.h: Likewise.
57005 * include/execinfo.h: Likewise.
57006 * include/fcntl.h: Likewise.
57007 * include/fenv.h: Likewise.
57008 * include/glob.h: Likewise.
57009 * include/grp.h: Likewise.
57010 * include/libintl.h: Likewise.
57011 * include/mntent.h: Likewise.
57012 * include/netdb.h: Likewise.
57013 * include/pwd.h: Likewise.
57014 * include/rpc/netdb.h: Likewise.
57015 * include/sched.h: Likewise.
57016 * include/search.h: Likewise.
57017 * include/shadow.h: Likewise.
57018 * include/signal.h: Likewise.
57019 * include/stdio.h: Likewise.
57020 * include/stdlib.h: Likewise.
57021 * include/string.h: Likewise.
57022 * include/sys/socket.h: Likewise.
57023 * include/sys/stat.h: Likewise.
57024 * include/sys/statfs.h: Likewise.
57025 * include/sys/statvfs.h: Likewise.
57026 * include/sys/syslog.h: Likewise.
57027 * include/sys/time.h: Likewise.
57028 * include/sys/uio.h: Likewise.
57029 * include/time.h: Likewise.
57030 * include/unistd.h: Likewise.
57031 * include/utmp.h: Likewise.
57032 * include/wchar.h: Likewise.
57033 * include/wctype.h: Likewise.
57034 * inet/aliases.h: Likewise.
57035 * inet/arpa/inet.h: Likewise.
57036 * inet/netinet/ether.h: Likewise.
57037 * inet/netinet/in.h: Likewise.
57038 * intl/libintl.h: Likewise.
57039 * io/bits/fcntl2.h: Likewise.
57040 * io/fcntl.h: Likewise.
57041 * io/ftw.h: Likewise.
57042 * io/sys/poll.h: Likewise.
57043 * io/sys/stat.h: Likewise.
57044 * io/sys/statfs.h: Likewise.
57045 * io/sys/statvfs.h: Likewise.
57046 * io/utime.h: Likewise.
57047 * libio/bits/stdio.h: Likewise.
57048 * libio/bits/stdio2.h: Likewise.
57049 * libio/libio.h: Likewise.
57050 * libio/libioP.h: Likewise.
57051 * libio/stdio.h: Likewise.
57052 * locale/lc-ctype.c: Likewise.
57053 * locale/locale.h: Likewise.
57054 * login/utmp.h: Likewise.
57055 * malloc/arena.c: Likewise.
57056 * malloc/malloc.c: Likewise.
57057 * malloc/malloc.h: Likewise.
57058 * malloc/mcheck.c: Likewise.
57059 * malloc/mtrace.c: Likewise.
57060 * math/bits/mathcalls.h: Likewise.
57061 * math/fenv.h: Likewise.
57062 * math/math_private.h: Likewise.
57063 * misc/bits/error.h: Likewise.
57064 * misc/bits/syslog.h: Likewise.
57065 * misc/err.h: Likewise.
57066 * misc/error.h: Likewise.
57067 * misc/fstab.h: Likewise.
57068 * misc/mntent.h: Likewise.
57069 * misc/regexp.h: Likewise.
57070 * misc/search.h: Likewise.
57071 * misc/sgtty.h: Likewise.
57072 * misc/sys/mman.h: Likewise.
57073 * misc/sys/syslog.h: Likewise.
57074 * misc/sys/uio.h: Likewise.
57075 * misc/sys/xattr.h: Likewise.
57076 * misc/ttyent.h: Likewise.
57077 * nis/rpcsvc/ypclnt.h: Likewise.
57078 * nss/nss.h: Likewise.
57079 * posix/bits/unistd.h: Likewise.
57080 * posix/fnmatch.h: Likewise.
57081 * posix/glob.h: Likewise.
57082 * posix/sched.h: Likewise.
57083 * posix/spawn.h: Likewise.
57084 * posix/sys/wait.h: Likewise.
57085 * posix/unistd.h: Likewise.
57086 * posix/wordexp.h: Likewise.
57087 * pwd/pwd.h: Likewise.
57088 * resolv/netdb.h: Likewise.
57089 * resource/sys/resource.h: Likewise.
57090 * rt/aio.h: Likewise.
57091 * rt/bits/mqueue2.h: Likewise.
57092 * rt/mqueue.h: Likewise.
57093 * shadow/shadow.h: Likewise.
57094 * signal/signal.h: Likewise.
57095 * socket/send.c: Likewise.
57096 * socket/sendto.c: Likewise.
57097 * socket/sys/socket.h: Likewise.
57098 * stdio-common/printf.h: Likewise.
57099 * stdlib/bits/stdlib.h: Likewise.
57100 * stdlib/fmtmsg.h: Likewise.
57101 * stdlib/monetary.h: Likewise.
57102 * stdlib/stdlib.h: Likewise.
57103 * stdlib/ucontext.h: Likewise.
57104 * streams/stropts.h: Likewise.
57105 * string/argz.h: Likewise.
57106 * string/bits/string2.h: Likewise.
57107 * string/string.h: Likewise.
57108 * string/strings.h: Likewise.
57109 * sunrpc/rpc/auth.h: Likewise.
57110 * sunrpc/rpc/auth_des.h: Likewise.
57111 * sunrpc/rpc/clnt.h: Likewise.
57112 * sunrpc/rpc/netdb.h: Likewise.
57113 * sunrpc/rpc/pmap_clnt.h: Likewise.
57114 * sunrpc/rpc/xdr.h: Likewise.
57115 * sysdeps/generic/inttypes.h: Likewise.
57116 * sysdeps/generic/net/if.h: Likewise.
57117 * sysdeps/generic/sys/swap.h: Likewise.
57118 * sysdeps/gnu/net/if.h: Likewise.
57119 * sysdeps/gnu/utmpx.h: Likewise.
57120 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57121 * sysdeps/i386/i486/bits/string.h: Likewise.
57122 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57123 * sysdeps/s390/bits/string.h: Likewise.
57124 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57125 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57126 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57127 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57128 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57129 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57130 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57131 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57132 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57133 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57134 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57135 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57136 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57137 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57138 * sysdeps/unix/sysv/linux/readv.c: Likewise.
57139 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57140 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57142 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57143 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57145 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57146 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57147 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57148 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57149 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57150 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57152 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57154 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57155 * sysvipc/sys/ipc.h: Likewise.
57156 * sysvipc/sys/msg.h: Likewise.
57157 * sysvipc/sys/sem.h: Likewise.
57158 * sysvipc/sys/shm.h: Likewise.
57159 * termios/termios.h: Likewise.
57160 * time/sys/time.h: Likewise.
57161 * time/time.h: Likewise.
57162 * wcsmbs/bits/wchar2.h: Likewise.
57163 * wcsmbs/uchar.h: Likewise.
57164 * wcsmbs/wchar.h: Likewise.
57165 * wctype/wctype.h: Likewise.
57166
0269750c
UD
57167 [BZ #13551]
57168 * Makeconfig: Remove all but ELF support including AIX support.
57169 * Makerules: Likewise.
57170 * config.h.in: Likewise.
57171 * config.make.in: Likewise.
57172 * configure: Likewise.
57173 * configure.in: Likewise.
57174 * csu/Makefile: Likewise.
57175 * csu/version.c: Likewise.
57176 * debug/Makefile: Likewise.
57177 * dlfcn/Makefile: Likewise.
57178 * elf/Makefile: Likewise.
57179 * extra-lib.mk: Likewise.
57180 * iconv/Makefile: Likewise.
57181 * include/libc-symbols.h: Likewise.
57182 * include/shlib-compat.h: Likewise.
57183 * resolv/Makefile: Likewise.
57184 * resolv/res_libc.c: Likewise.
57185 * rt/Makefile: Likewise.
57186 * sysdeps/i386/asm-syntax.h: Likewise.
57187 * sysdeps/i386/sysdep.h: Likewise.
57188 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57189 * sysdeps/mach/sysdep.h: Likewise.
57190 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57191 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57192 * sysdeps/s390/asm-syntax.h: Likewise.
57193 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57195 * sysdeps/sh/sysdep.h: Likewise.
57196 * sysdeps/unix/sparc/sysdep.h: Likewise.
57197 * sysdeps/wordsize-32/divdi3.c: Likewise.
57198 * sysdeps/x86_64/sysdep.h: Likewise.
57199
00bbd29b
UD
57200 * argp/Versions: Remove _argp_unlock_xxx.
57201
57202 [BZ #13559]
57203 * abilist/ld.abilist: Update. Adjust for removal of tls option.
57204 * abilist/libBrokenLocale.abilist: Likewise.
57205 * abilist/libanl.abilist: Likewise.
57206 * abilist/libc.abilist: Likewise.
57207 * abilist/libcrypt.abilist: Likewise.
57208 * abilist/libdl.abilist: Likewise.
57209 * abilist/libm.abilist: Likewise.
57210 * abilist/libnsl.abilist: Likewise.
57211 * abilist/libpthread.abilist: Likewise.
57212 * abilist/libresolv.abilist: Likewise.
57213 * abilist/librt.abilist: Likewise.
57214 * abilist/libthread_db.abilist: Likewise.
57215 * abilist/libutil.abilist: Likewise.
57216 * abilist/libnss_db.abilist: New file.
57217
57218 * scripts/abilist.awk: Add support for indirect functions.
57219
a2693a0e
UD
57220 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57221
3f05895f
UD
57222 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57223
ecb6fb48
UD
57224 * shlib-versions: Remove entries for ports architectures.
57225
664f8cb9
UD
57226 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
57227 files in ports.
57228 * elf/stackguard-macros.h: Remove support for IA-64.
57229 * elf/tst-auditmod1.c: Likewise.
57230 * sysdeps/generic/ldsodefs.h: Likewise.
57231
7ae81d88
UD
57232 * sysdeps/unix/sysv/linux/configure.in: Ports should define
57233 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57234 configure files.
57235
bdeba135
UD
57236 [BZ #13552]
57237 * configure.in: Remove --enable-omitfp support.
57238 * FAQ.in: Adjust.
57239 * config.make.in: Likewise.
57240 * Makeconfig: Likewise.
57241 * manual/install.texi: Likewise.
57242
d75a0a62
UD
57243 In case anyone cares, the IA-64 architecture could move to ports.
57244 * sysdeps/ia64/*: Removed.
57245 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 57246 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 57247
dcc9756b
UD
57248 [BZ #13555]
57249 * configure.in: Remove entries for unsupported architectures.
57250
d3761ebc 57251 [BZ #13533]
9954432e
UD
57252 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57253 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
57254 routines.
57255 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57256 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57257 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
57258 fall back to using wcrtomb.
57259 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57260 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
57261 renaming.
57262 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57263 * wcsmbs/tst-c16c32-1.c: New file.
57264
57265 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57266 local variable.
57267
c3a87236
UD
57268 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57269
28926a1b
UD
57270 * elf/tst-unique3.cc: Add explicit declaration of gets.
57271 * elf/tst-unique3lib.cc: Likewise.
57272 * elf/tst-unique3lib2.cc: Likewise.
57273 * elf/tst-unique4.cc: Likewise.
57274
df78418a
UD
57275 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57276
8ecd6b2a
JM
572772012-01-06 Joseph Myers <joseph@codesourcery.com>
57278
57279 [BZ #13566]
57280 * assert/assert.h (static_assert): Don't define for C++.
57281 * libio/stdio.h (gets): Do declare for C++ <= C++11.
57282 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57283
9f115170
UD
572842012-01-03 Ulrich Drepper <drepper@gmail.com>
57285
5e0d0300
UD
57286 * iconv/loop.c (single loop): Fix assertion in storing of
57287 remaining bytes.
57288
9f115170
UD
57289 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57290
81fb02b0
UD
572912012-01-01 Ulrich Drepper <drepper@gmail.com>
57292
57293 * posix/getconf.c: Update copyright year.
57294 * nss/getent.c: Likewise.
a316c1f6 57295 * nss/makedb.c: Likewise.
81fb02b0
UD
57296 * iconv/iconvconfig.c: Likewise.
57297 * iconv/iconv_prog.c: Likewise.
57298 * elf/ldconfig.c: Likewise.
a316c1f6
UD
57299 * elf/pldd.c: Likewise.
57300 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
57301 * catgets/gencat.c: Likewise.
57302 * csu/version.c: Likewise.
57303 * elf/ldd.bash.in: Likewise.
57304 * elf/sprof.c (print_version): Likewise.
57305 * locale/programs/locale.c: Likewise.
57306 * locale/programs/localedef.c: Likewise.
a316c1f6 57307 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
57308 * nscd/nscd.c (print_version): Likewise.
57309 * debug/xtrace.sh: Likewise.
57310 * malloc/memusage.sh: Likewise.
57311 * malloc/mtrace.pl: Likewise.
57312 * debug/catchsegv.sh: Likewise.
57313
2ba92745
JJ
573142011-12-30 Jakub Jelinek <jakub@redhat.com>
57315
57316 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57317 pure attribute.
57318
dadebdae
UD
573192011-12-24 Ulrich Drepper <drepper@gmail.com>
57320
d3761ebc 57321 [BZ #13533]
db6af3eb
UD
57322 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57323 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57324 transformations.
57325 * iconv/gconv_int.h: Likewise.
57326 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57327 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57328 from libc for GLIBC_2.16.
57329 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57330 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57331 * wcsmbs/uchar.h: Really define mbstate_t.
57332 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57333 * wcsmbs/c16rtomb.c: New file.
57334 * wcsmbs/mbrtoc16.c: New file.
57335 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57336 for C/POSIX locale.
57337 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57338 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57339
dadebdae
UD
57340 * wcsmbs/wchar.h: Add missing __restrict.
57341
67371b56
UD
573422011-12-23 Ulrich Drepper <drepper@gmail.com>
57343
74033a25
UD
57344 [BZ #13532]
57345 * time/Makefile (routines): Add timespec_get.
57346 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57347 * time/time.h: Define TIME_UTC and declare timespec_get. Define
57348 timespec for ISO C11.
57349 * time/timespec_get.c: New file.
57350 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57351 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57352
380d7e87
UD
57353 [BZ #13531]
57354 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57355 * stdlib/stdlib.h: Declare aligned_alloc.
57356 * Versions.def: Add GLIBC_2.16 for libc.
57357 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57358
4e9e7a35
UD
57359 [BZ 13527]
57360 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57361 ISO C11.
57362
380d7e87 57363 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
57364 code.
57365
03a71829
UD
57366 [BZ #13528]
57367 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57368
839e283e
UD
57369 [BZ #13529]
57370 * assert/assert.h (static_assert): Define.
57371
ce5294e2 57372 * version.h: Update for 2.16 development version.
90fa7312 57373
8d44e150 57374 [BZ #13526]
d7809905
UD
57375 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57376 _ISOC11_SOURCE.
57377
c0da14cd
UD
57378 * version.h (RELEASE): Bump for 2.15 release.
57379 * include/features.h (__GLIBC_MINOR__): Bump to 15.
57380
530a3249
MP
57381 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57382 Patch by Marek Polacek <mpolacek@redhat.com>.
57383
67371b56
UD
57384 * bits/byteswap.h: Protect long long constants with __extension__.
57385 * sysdeps/i386/bits/byteswap.h: Likewise.
57386 * sysdeps/ia64/bits/byteswap.h: Likewise.
57387 * sysdeps/s390/bits/byteswap.h: Likewise.
57388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57389
15db4de1
LD
573902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57391
57392 [BZ #13540]
bbe315ea
LD
57393 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57394 destination buffer.
15db4de1
LD
57395 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57396
2b2596b1
MP
573972011-12-23 Marek Polacek <polacek@redhat.com>
57398
57399 * elf/dl-addr.c (determine_info): Add inline keyword.
57400 * elf/tst-auditmod4b.c (check_avx): Likewise.
57401 * elf/tst-auditmod6b.c (check_avx): Likewise.
57402 * elf/tst-auditmod6c.c (check_avx): Likewise.
57403 * elf/tst-auditmod7b.c (check_avx): Likewise.
57404
70c6c246
UD
574052011-12-23 Ulrich Drepper <drepper@gmail.com>
57406
57407 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57408 !__SSE_MATH__.
57409
c044cf14
LD
574102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57411
15db4de1 57412 [BZ #13540]
c044cf14
LD
57413 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57414 processing for last bytes.
57415
6b13d9d9
BH
574162011-08-06 Bruno Haible <bruno@clisp.org>
57417
d455f537
BH
57418 [BZ #13061]
57419 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57420 U+0385, not to U+1FEE.
57421
6b13d9d9
BH
57422 [BZ #13062]
57423 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57424 entry for U+00A5 U+0301.
57425
db910efd
UD
574262011-12-22 Ulrich Drepper <drepper@gmail.com>
57427
27deeafc
UD
57428 [BZ #13166]
57429 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57430 buffer for the output is too small.
57431
aed9d171
UD
57432 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57433 optimization.
57434
db910efd
UD
57435 [BZ #13185]
57436 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57437 SSE flags if possible.
57438
2bd779ae
LD
574392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57440
e7f9dac3 57441 [BZ #13540]
2bd779ae
LD
57442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57443 processing for last bytes.
57444
154bfc16
JM
574452011-12-22 Joseph Myers <joseph@codesourcery.com>
57446
57447 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57448 (syscall-list-default-options, syscall-list-default-condition)
57449 (syscall-list-includes): Define.
57450 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57451 list of ABIs and options and #if conditions for each ABI. Do not
57452 handle common syscalls between ABIs specially.
57453 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57454 Remove.
57455 (syscall-list-variants, syscall-list-32bit-options)
57456 (syscall-list-32bit-condition, syscall-list-64bit-options)
57457 (syscall-list-64bit-condition): Define.
57458 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57459 (syscall-list-variants, syscall-list-32bit-options)
57460 (syscall-list-32bit-condition, syscall-list-64bit-options)
57461 (syscall-list-64bit-condition): Define.
57462 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57463 Remove.
57464 (syscall-list-variants, syscall-list-32bit-options)
57465 (syscall-list-32bit-condition, syscall-list-64bit-options)
57466 (syscall-list-64bit-condition): Define.
57467 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57468 Remove.
57469 (syscall-list-variants, syscall-list-32bit-options)
57470 (syscall-list-32bit-condition, syscall-list-64bit-options)
57471 (syscall-list-64bit-condition): Define.
57472
21eaf3a5
UD
574732011-12-22 Ulrich Drepper <drepper@gmail.com>
57474
16c6f992
UD
57475 * locale/iso-639.def: Add brx entry.
57476
41043168
UD
57477 [BZ #13328]
57478 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57479 Proposed by Mariusz_Cukr <marcukr@op.pl>.
57480
21eaf3a5
UD
57481 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57482 __feraiseexcept_renamed.
57483
e3a851a2
UD
574842011-12-21 Ulrich Drepper <drepper@gmail.com>
57485
4920765e
UD
57486 [BZ #13538]
57487 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57488 EPOLLET with unsigned values.
57489 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57491
e3a851a2
UD
57492 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57493 to large cancellation.
57494 * math/s_cacoshf.c: Likewise.
57495 * math/s_cacoshl.c: Likewise.
57496
b27e24b8
RK
574972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
57498
57499 [BZ #13305]
aebefeee 57500 [BZ #12786]
b27e24b8
RK
57501 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57502 * math/s_cacoshf.c: Likewise.
57503 * math/s_cacoshl.c: Likewise.
57504
ee190f67
UD
575052011-12-21 Ulrich Drepper <drepper@gmail.com>
57506
57507 [BZ #13439]
57508 * iconv/gconv.h: Define __GCONV_SWAP.
57509 * iconvdata/unicode.c: The swap bit must be stored in __flags.
57510 * iconvdata/utf-16.c: Likewise.
57511 * iconvdata/utf-32.c: Likewise.
57512
707f25df
AS
575132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
57514
57515 [BZ #13524]
57516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57517 numerator after shifting it by one limb.
57518
d2daaa1e
RÁE
575192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
57520
57521 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57522 under [__USE_EXTERN_INLINES].
57523
a4647e72
UD
575242011-12-17 Ulrich Drepper <drepper@gmail.com>
57525
57526 [BZ #13446]
57527 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57528
f0b264f1
AZ
575292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57530
57531 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57532 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57533 optimized code.
57534 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57535 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57536 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57537 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57538 for strncasecmp/strncasecmp_l compilation.
57539 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57540 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57541
8ef4f244
MP
575422011-12-08 Marek Polacek <mpolacek@redhat.com>
57543
57544 [BZ #13484]
57545 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57546 of __asm__.
57547
97ac2654
UD
575482011-12-17 Ulrich Drepper <drepper@gmail.com>
57549
57550 [BZ #13506]
57551 * time/tzfile.c (__tzfile_read): Check values from file header.
57552
91d2a845
WS
575532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
57554
57555 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57556 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57557 * powerpc/powerpc32/dl-start.S: Likewise.
57558 * powerpc/powerpc32/elf/start.S: Likewise.
57559 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57560 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57561 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57562 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57563 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57564 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57565 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57566 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57567 * powerpc/powerpc32/fpu/s_round.S: Likewise.
57568 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57569 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57570 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57571 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57572 * powerpc/powerpc32/memset.S: Likewise.
57573 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57574 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57575 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57576 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57577 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57578 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57579 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57580 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57581 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57582 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57583 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57584 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57585 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57586
a1267ba1
AZ
575872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57588
57589 * math/libm-test.inc: Added more nearbyint tests.
57590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57591 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57594
ad8ac1bd
RL
575952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
57596
57597 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57598 FD_CLOEXEC.
57599
1d3e4b61
UD
576002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57601
57602 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57603 Add wcscpy-ssse3 wcscpy-c.
57604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57605 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57606 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57607 * sysdeps/x86_64/wcschr.S: New file.
57608 * sysdeps/x86_64/wcsrchr.S: New file.
57609 * string/test-strcmp.c: Remove checking of wcscmp function for
57610 wrong alignments.
57611 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57612 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57613 wcsrchr-sse2 wcsrchr-c.
57614 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57615 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57616 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57617 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57618 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57619 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57620 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57621 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57623 * wcsmbc/wcschr.c (WCSCHR): New macro.
57624
5b330a2d
UD
576252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57626
57627 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57628 * wcsmbs/test-wcsrchr.c: New file.
57629 * string/test-strrchr.c: Add wcsrchr support.
57630 (WIDE): New macro.
57631 * wcsmbs/test-wcscpy.c: New file.
57632 * string/test-strcpy.c: Add wcscpy support.
57633 (WIDE): New macro.
26428b7c 57634
f039c043
UD
576352011-12-10 Ulrich Drepper <drepper@gmail.com>
57636
57637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57638 the inner loop.
57639
850fb039
AS
576402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
57641
57642 [BZ #13472]
57643 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57644
4efbd5cb
UD
576452011-12-04 Ulrich Drepper <drepper@gmail.com>
57646
52ff5dd0 57647 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 57648 Minor optimizations.
52ff5dd0 57649
4efbd5cb
UD
57650 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57651 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57652 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57653
8a426e12
UD
576542011-12-03 Ulrich Drepper <drepper@gmail.com>
57655
aff2453d
UD
57656 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57657 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57658 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57659 for gcc to avoid warnings.
57660 * inet/Makefile (tests): Add tst-checks.
57661 * inet/tst-checks.c: New file.
57662
57663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57664 warning.
57665
57666 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57667 __wmemcmp_sse2.
57668
57669 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57670 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57671
8a426e12
UD
57672 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57673
9bea3473
UD
576742011-12-02 Ulrich Drepper <drepper@gmail.com>
57675
3a965496
UD
57676 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57677 problem.
57678
9bea3473
UD
57679 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57680
f101631b
UD
576812011-11-29 Joseph Myers <joseph@codesourcery.com>
57682
57683 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57684 conditional on GCC version.
57685 (__arch_compare_and_exchange_val_8_acq)
57686 (__arch_compare_and_exchange_val_16_acq)
57687 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57688 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57689 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57690
a98275aa
UD
576912011-12-02 Joseph Myers <joseph@codesourcery.com>
57692
57693 * sysdeps/sh/backtrace.c: New file.
57694
d4cc29a2
AS
576952011-12-02 Andreas Schwab <schwab@redhat.com>
57696
57697 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
57698 parenthesis.
57699
6257af2d
AS
577002011-12-01 Andreas Schwab <schwab@redhat.com>
57701
57702 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57703 falling back to utime.
57704
b5f44c1a
AS
577052011-11-30 Andreas Schwab <schwab@redhat.com>
57706
57707 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57708 expectations for float.
57709
f3a6cc0a
AS
577102011-11-29 Andreas Schwab <schwab@redhat.com>
57711
57712 * locale/weight.h (findidx): Add parameter len.
57713 * locale/weightwc.h (findidx): Likewise.
57714 * posix/fnmatch_loop.c (FCT): Adjust caller.
57715 * posix/regcomp.c (build_equiv_class): Likewise.
57716 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57717 * posix/regexec.c (check_node_accept_bytes): Likewise.
57718 * string/strcoll_l.c (STRCOLL): Likewise.
57719 * string/strxfrm_l.c (STRXFRM): Likewise.
57720
9d65ea3a
UD
577212011-11-17 Ulrich Drepper <drepper@gmail.com>
57722
57723 * Makefile.in: Remove CVSOPT handling.
57724 * configure.in: Remove use of AC_REVISION.
57725 * iconvdata/Makefile (distribute): No need to filter out CVS.
57726 * scripts/list-sources.sh: Remove CVS, subversion and monotone
57727 handling.
57728
5583a086
AS
577292011-11-16 Andreas Schwab <schwab@redhat.com>
57730
57731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57732 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57733 [USE_AS_STRNCASECMP_L]: Likewise.
57734 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57735 NO_TLS_DIRECT_SEG_REFS.
57736 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57737 Fix argument offsets for non-PIC.
57738 [USE_AS_STRNCASECMP_L]: Likewise.
57739 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57740 NO_TLS_DIRECT_SEG_REFS.
57741
d62a8200
UD
577422011-11-15 Ulrich Drepper <drepper@gmail.com>
57743
9d65ea3a 57744 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
57745 O_CLOEXEC.
57746 * locale/loadlocale.c (_nl_load_locale): Likewise.
57747
09f93bd3
AS
577482011-11-15 Andreas Schwab <schwab@redhat.com>
57749
446514f9
AS
57750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57751 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57753 (SYSCALL_GETTIME): Set errno on error.
57754
09f93bd3
AS
57755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57756 count references to noai6ai_cached.
57757
312be3f9
UD
577582011-11-15 Ulrich Drepper <drepper@gmail.com>
57759
57760 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57761
57762 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57763 FD_CLOEXEC for /proc/self/maps.
57764
57765 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57766 FD_CLOEXEC for /proc/meminfo.
57767
57768 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57769 gai.conf.
57770
57771 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
57772 FD_CLOEXEC for given file.
57773
57774 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57775
57776 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57777 FD_CLOEXEC for /etc/hosts.
57778 (_gethtent): Likewise.
57779
57780 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57781
57782 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57783 cancellation and set FD_CLOEXEC for /etc/netgroup.
57784
57785 * nss/nss_files/files-key.c (search): Don't allow cancellation when
57786 reading /etc/publickey.
57787
57788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57789 allow cancellation when reading /etc/group.
57790
57791 * nss/nss_files/files-alias.c (internal_setent): Don't allow
57792 cancellation.
57793 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
57794
57795 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57796 when using data file.
57797
57798 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57799
57800 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57801 (write_nis_obj): Use "c" and "e" in fopen.
57802
57803 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57804
57805 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57806
57807 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57808
57809 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57810
57811 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57812 locale.alias.
57813
57814 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57815
57816 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57817
57818 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57819
57820 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57821 file parsing and set FD_CLOEXEC.
57822
82af0fa8
UD
578232011-11-14 Ulrich Drepper <drepper@gmail.com>
57824
57825 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57826
a5fb313c
AS
578272011-11-14 Andreas Schwab <schwab@redhat.com>
57828
57829 * malloc/arena.c (arena_get2): Don't call reused_arena when
57830 _int_new_arena failed.
57831
6abf3465
UD
578322011-11-14 Ulrich Drepper <drepper@gmail.com>
57833
57834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57835 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57836 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57839 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57840 to compile strcasecmp and strncasecmp.
57841 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57842 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57843
57844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57845
76e3966e
UD
578462011-11-13 Ulrich Drepper <drepper@gmail.com>
57847
57848 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57849 locale-defines.sym to gen-as-const-headers.
57850 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57851 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57853 to compile strcasecmp and strncasecmp.
57854 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57855 strcasecmp_l and strncasecmp_l.
57856 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57857 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57858 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57859 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57860 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57861 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57862 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57863 * sysdeps/i386/i686/multiarch/strncase.S: New file.
57864 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57865 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57866 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57867
ab26144e
UD
578682011-11-12 Ulrich Drepper <drepper@gmail.com>
57869
7edb22ef
UD
57870 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57871 result of SYSDEP_GETTIME_CPU to retval.
57872 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57873 parameter list to macro. Remove trailing semicolon. Adjust users.
57874
9694fc44
UD
57875 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57876 variable.
57877
8ad89ef8
UD
57878 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57879 mantissa words.
57880 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57881
0c822ef9
UD
57882 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57883 from unused variable.
57884
874e0564
UD
57885 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57886 DWARF definitions.
57887 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57888 for assembling.
57889
3a2edc79
UD
57890 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57891 over namespaces.
57892
f3c2577f
UD
57893 * sunrpc/rpc_prot.c (rejected): Fix case value.
57894
294ce126
UD
57895 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57896 unsigned long long int to avoid warnings in shift.
57897
5e2b63c6
UD
57898 * posix/regex_internal.c (re_string_reconstruct): Actually use result
57899 of use of trans.
57900 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57901 variable tmp.
57902
e7f4b08e
UD
57903 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57904 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57905 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57906
ab26144e
UD
57907 * nis/nis_table.c (nis_list): Use variable of correct type for
57908 result of __follow_path call.
57909
8a6d5255
AZ
579102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57911
57912 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57913 of math functions ceil, trunc, floor, round, and sqrt, when
57914 avaliable on the platform.
57915 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57916 name clash.
57917 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57919 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57920
aaddc98c
MP
579212011-10-30 Marek Polacek <mpolacek@redhat.com>
57922
57923 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57924 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57925
95b7042b
RM
579262011-11-11 Roland McGrath <roland@hack.frob.com>
57927
57928 * include/unistd.h: Fix __readlink return type.
57929 Reported by Chris Metcalf <cmetcalf@tilera.com>.
57930
57769839
UD
579312011-11-11 Ulrich Drepper <drepper@gmail.com>
57932
57933 * stdlib/ucontext.h: Undo last change for makecontext.
57934
edc5984d
AS
579352011-11-11 Andreas Schwab <schwab@redhat.com>
57936
98591e58
AS
57937 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57938
edc5984d
AS
57939 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57940 * setjmp/setjmp.h: Mark functions as non-leaf.
57941 * setjmp/bits/setjmp2.h: Likewise.
57942 * stdlib/ucontext.h: Likewise.
57943
77cdc054
AS
579442011-11-10 Andreas Schwab <schwab@redhat.com>
57945
57946 * malloc/arena.c (_int_new_arena): Don't increment narenas.
57947 (reused_arena): Don't check arena limit.
57948 (arena_get2): Atomically check arena limit.
57949
fe72eebd
UD
579502011-11-08 Ulrich Drepper <drepper@gmail.com>
57951
5f078c32
UD
57952 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57953 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57954
fe72eebd
UD
57955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57956 instructions.
57957
ae1bc2fa
AS
579582011-11-07 Andreas Schwab <schwab@redhat.com>
57959
7583a88d
AS
57960 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57961 handler when locking.
57962
ae1bc2fa
AS
57963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57964 Fix size of allocated buffer.
57965
10fb0bfa
AS
579662011-11-04 Andreas Schwab <schwab@redhat.com>
57967
998832a4
AS
57968 [BZ #10103]
57969 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57970 declarations for long double functions.
57971 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57972
10fb0bfa
AS
57973 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57974
3d7ba52b
AS
579752011-11-03 Andreas Schwab <schwab@redhat.com>
57976
a9ae54a1
AS
57977 * nscd/nscd.c (main): Don't start AVC thread until credentials are
57978 installed.
57979
3d7ba52b
AS
57980 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57981 is disabled.
57982
bc8db248
ST
579832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
57984
57985 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57986
45b96dd6
AS
579872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
57988
647776f6
AS
57989 * include/alloca.h (stackinfo_alloca_round): Define.
57990 (extend_alloca): Use it.
57991 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57992 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57993 here.
57994
d91a8b93
AS
57995 * scripts/check-local-headers.sh: Ignore libaudit.h.
57996
45b96dd6
AS
57997 * nscd/Makefile (extra-objs): Make recursively expanded.
57998
432d41ce
UD
579992011-11-01 Ulrich Drepper <drepper@gmail.com>
58000
34372fc6
UD
58001 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58003
fadb59f8
UD
58004 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58005 * posix/tst-rfc3484-2.c: Likewise.
58006 * posix/tst-rfc3484-3.c: Likewise.
58007
78239589
UD
58008 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58009 process_vm_writev.
58010 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58011 process_vm_writev.
58012 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58013 process_vm_writev from libc using GLIBC_2.15 version.
58014
432d41ce
UD
58015 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58016
02f9c6cf
PP
580172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
58018
58019 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58020 stack usage.
58021
3a2c0242
UD
580222011-10-31 Ulrich Drepper <drepper@gmail.com>
58023
f4ec4833
UD
58024 [BZ #13367]
58025 * nss/getent.c (initgroups_keys): Show error message in case no group
58026 names are given.
58027
3a2c0242
UD
58028 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58029 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58030 __bump_nl_timestamp.
58031 * nscd/connections (nscd_init): When host database is served open
58032 netlink socket and request notification about configuration changes.
58033 (main_loop_poll): Track netlink file descriptor and bump timestamp
58034 in case data becomes available.
58035 (main_loop_epoll): Likewise.
58036 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58037 (database_pers_head): Add extra_data fileds.
58038 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58039 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58040 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58041 Adjust caller.
58042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58043 in6ai data, call __free_in6ai.
58044 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58045 Add -DHAVE_NETLINK.
58046 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
58047 interface information. Reuse previous data if netlink timestamp
58048 is not changed.
58049 (__bump_nl_timestamp): New function.
58050 (__free_in6ai): New function.
58051
636064eb
UD
580522011-10-30 Ulrich Drepper <drepper@gmail.com>
58053
58054 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58055 close_not_cancel_no_status here.
58056 (__check_pf): Reorganize code a bit to not call close twice if OOM.
58057
9beb2334
UD
580582011-10-29 Ulrich Drepper <drepper@gmail.com>
58059
6ef76f3b
UD
58060 [BZ #13276]
58061 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58062 return value.
58063
0ffc4f3e 58064 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
58065 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58066 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58067
cb95113e
UD
580682011-07-03 Andreas Jaeger <aj@suse.de>
58069
58070 [BZ #10709]
58071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58072 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58073 * math/libm-test.inc (sin_test): Add test case.
58074
a1b560ff
UD
580752011-10-29 Ulrich Drepper <drepper@gmail.com>
58076
c9aaface
UD
58077 [BZ #13337]
58078 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58079 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58080
d272e7f1
UD
58081 * elf/chroot_canon.c (chroot_canon): Cleanups.
58082
1bc33071
UD
58083 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58084
1760874d
TJ
58085 [BZ #13335]
58086 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58088
51d91b18
UD
58089 * string/test-strchr.c: Make usable for strchrnul testing.
58090 * string/test-strchrnul.c: New file.
58091 * string/Makefile (strop-tests): Add strchrnul.
58092
a1b560ff 58093 * po/it.po: Update from translation team.
b611fb81 58094 * po/es.po: Likewise.
a1b560ff 58095
a5b81e1f
UD
580962011-10-28 Ulrich Drepper <drepper@gmail.com>
58097
fd52bc6d
UD
58098 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58099 the three constants needed as parameters. Drop the others.
58100 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58101 __m128i_strloadu_tolower.
52e4b9eb
UD
58102 Create and initialize variable zero and use it in all the places
58103 where _mm_setzero_si128 was used.
fd52bc6d 58104
a5b81e1f
UD
58105 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58106 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58107 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58109 anymore.
58110 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58111 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58112 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58113 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58114 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58115 __mpranred, __mptan.
58116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58120 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58121 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58122 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58123 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58124 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58125
b4343346
AS
581262011-10-28 Andreas Schwab <schwab@redhat.com>
58127
0c92d8a8
AS
58128 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58129 redefine if SHARED.
58130 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58131
b4343346
AS
58132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58133 wide char related routines to wcsmbs subdir.
58134
3871f58f
AS
581352011-10-27 Andreas Schwab <schwab@redhat.com>
58136
58137 [BZ #13344]
58138 * misc/sys/cdefs.h (__THROWNL): Define.
58139 * posix/unistd.h: Use __THREADNL instead of __THREAD
58140 for memory synchronization functions.
58141
94d44d9f
RM
581422011-10-26 Roland McGrath <roland@hack.frob.com>
58143
21b64b15 58144 [BZ #13349]
94d44d9f
RM
58145 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58146 doesn't exist.
58147 * manual/stdio.texi (Obstack Streams): Node removed.
58148
f6ce9294
AS
581492011-10-26 Andreas Schwab <schwab@redhat.com>
58150
80479147
AS
58151 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58154
f6ce9294
AS
58155 * math/math_private.h (math_force_eval): Allow non-addressable
58156 arguments.
58157 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58158
618280a1
UD
581592011-10-25 Ulrich Drepper <drepper@gmail.com>
58160
e0016b11
UD
58161 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58162 file is not needed.
58163
58164 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58165 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58171 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58172 Add AVX variants.
58173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58178 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58179 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58180 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58181 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58182 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58183 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58184 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58185 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58186 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58187 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58188 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58189 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58190 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58191 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58192
58193 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58194 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
58195
618280a1
UD
58196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58197 place. Use VEX encoding when compiling for AVX.
58198
37822576
AS
581992011-10-25 Andreas Schwab <schwab@redhat.com>
58200
1f1e1947
AS
58201 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58202 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58203
37822576
AS
58204 * string/test-strchr.c (do_test): Don't generate NUL bytes.
58205
31ea014d
UD
582062011-10-25 Ulrich Drepper <drepper@gmail.com>
58207
d7826aa1 58208 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 58209 useless if() expression.
d7826aa1
UD
58210 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58211 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58212 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58214 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58215 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58216 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58217 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58224 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58225 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58227 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58228 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58229
31ea014d
UD
58230 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58231
16437fec
AS
582322011-10-25 Andreas Schwab <schwab@redhat.com>
58233
58234 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58235 condition.
58236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58237
31d3cc00
UD
582382011-10-25 Ulrich Drepper <drepper@gmail.com>
58239
58240 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58241 .text section. Avoid duplicate constants.
58242 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58250 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58251 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58252 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58253 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58254 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58255 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58256 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58259 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58262 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58263 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58264 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58266 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58267 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58268 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58270 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58271 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58272 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58273 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58274 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58275 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58276 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58277 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58278 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58280 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58281 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58282 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58283 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58284 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58285 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58286 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58287
58985aa9
UD
582882011-10-24 Ulrich Drepper <drepper@gmail.com>
58289
202c9deb
UD
58290 * sysdeps/x86_64/dla.h: Move to ...
58291 * sysdeps/x86_64/fpu/dla.h: ...here.
58292 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58293 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 58294
af968f62
UD
58295 * config.make.in: Add have-mfma4 entry.
58296 * configure.in: Substitute libc_cv_cc_fma4.
58297 * math/Makefile (dbl-only-routines): Add sincostab.
58298 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58299 Use __sincostab not sincos.
58300 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58301 name is a macro.
58302 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
58306 using __copysign.
58307 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
58308 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
58309 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58310 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58311 and __inv.
58312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58313 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58314 __copysign.
58315 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
58316 define aliases when function name is a macro.
58317 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58318 sysdeps/ieee754/dbl-64/sincos.tbl.
58319 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58320 fma4-enabled routines.
58321 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58322 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58323 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58324 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58325 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58328 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58330 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58331 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58333 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58334 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58335 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58336 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58337 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58338 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58339 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58340 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58341 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58342 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58343 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58344 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58346 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58348 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58349 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58350 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58351
58985aa9
UD
58352 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58353 rename.
58354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58362
a201fbcf
AS
583632011-10-24 Andreas Schwab <schwab@redhat.com>
58364
58365 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58366
fc2ee42a
LD
583672011-10-23 Ulrich Drepper <drepper@gmail.com>
58368
bb3129bd
UD
58369 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58370
0275fff8
UD
58371 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58372 prediction.
58373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58374
2fa2ae85
UD
58375 * string/strnlen.c: Don't define STRNLEN, reverse logic.
58376 Remove unused variable magic_bits.
58377 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58378
fc2ee42a
LD
58379 * string/strnlen.c: Define and use STRNLEN macro.
58380 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58381 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58383 * wcsmbs/wcslen.c: Define and use WCSLEN.
58384 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58385 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58386 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58387 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58388 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58389 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58390 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58391
ce7dd29f
LD
583922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58393
58394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58395 strnlen-sse2-no-bsf.
58396 Rename strlen-no-bsf to strlen-sse2-no-bsf.
58397 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58398 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58399 Add strnlen support.
58400 (USE_AS_STRNLEN): New macro.
58401 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58403 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58404 * sysdeps/x86_64/wcslen.S: New file.
58405
979c70a3
MZ
584062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
58407
58408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58409 XMM-moves are used for copying on small sizes.
58410
2d09f82f
LD
584112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58412
58413 * wcsmbs/Makefile (strop-tests): Add wcschr.
58414 * wcsmbs/test-wcschr.c: New file.
58415 * string/test-strchr.c: Update.
58416 Add wcschr support.
58417 (WIDE): New macro.
58418
619fccca
LD
584192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58420
2d09f82f 58421 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
58422 * wcsmbs/test-wcslen.c: New file.
58423 * string/test-strlen.c: Update.
58424 Add wcslen support.
58425 (WIDE): New macro.
58426
09f699ea
UD
584272011-10-23 Ulrich Drepper <drepper@gmail.com>
58428
58429 * po/it.po: Update from translation team.
58430
95584d3b
LD
584312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58432
58433 * sysdeps/x86_64/wcscmp.S: Update.
58434 Fix wrong comparison semantics.
58435 wcscmp shall use signed comparison not unsigned.
58436 Don't use substraction to avoid overflow bug.
58437 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58438 * wcsmbc/wcscmp.c: Likewise.
58439 * string/test-strcmp.c: Likewise.
58440 Add new tests to check cases with negative values.
58441
c8b3296b
UD
584422011-10-23 Ulrich Drepper <drepper@gmail.com>
58443
58444 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58445 * sysdeps/x86_64/dla.h: ...here. New file.
58446 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58455
246ad57a
AS
584562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
58457
58458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58459 __ynl_finite aliases.
58460
a1a87169
UD
584612011-10-22 Ulrich Drepper <drepper@gmail.com>
58462
0d355eb7
UD
58463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58464
a1a87169
UD
58465 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58466 define DLA_FMA.
58467 [DLA_FMA] (EMULV): Use DLA_FMA.
58468 [DLA_FMA] (MUL12): Use EMULV.
58469 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58470 that are not needed.
58471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58478
ee2aafe0
AS
584792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
58480
58481 * math/s_nan.c: Undef __nan.
58482 * math/s_nanf.c: Undef __nanf.
58483 * math/s_nanl.c: Undef __nanl.
58484 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58485 "math_private.h".
58486
bc62c2fb
UD
584872011-10-22 Ulrich Drepper <drepper@gmail.com>
58488
77425c63
UD
58489 * math/s_catan.c: Add branch predictions.
58490 * math/s_catanf.c: Likewise.
58491 * math/s_catanh.c: Likewise.
58492 * math/s_catanhf.c: Likewise.
58493 * math/s_catanhl.c: Likewise.
58494 * math/s_catanl.c: Likewise.
58495 * math/s_cexp.c: Likewise.
58496 * math/s_cexpf.c: Likewise.
58497 * math/s_cexpl.c: Likewise.
58498 * math/s_clog.c: Likewise.
58499 * math/s_clog10.c: Likewise.
58500 * math/s_clog10f.c: Likewise.
58501 * math/s_clog10l.c: Likewise.
58502 * math/s_clogf.c: Likewise.
58503 * math/s_clogl.c: Likewise.
58504 * math/s_csqrt.c: Likewise.
58505 * math/s_csqrtf.c: Likewise.
58506 * math/s_csqrtl.c: Likewise.
58507 * math/s_ctanf.c: Likewise.
58508 * math/s_ctanh.c: Likewise.
58509 * math/s_ctanhf.c: Likewise.
58510 * math/s_ctanhl.c: Likewise.
58511 * math/s_ctanl.c: Likewise.
58512
bc62c2fb
UD
58513 * math/math_private.h: Define __nan, __nanf, __nanl.
58514 * math/s_cacosh.c: Include <math_private.h>.
58515 * math/s_cacoshl.c: Likewise.
58516 * math/s_casinh.c: Likewise.
58517 * math/s_casinhf.c: Likewise.
58518 * math/s_casinhl.c: Likewise.
58519 * math/s_ccos.c: Rely entire on ccosh.
58520 * math/s_ccosf.c: Rely entire on ccoshf.
58521 * math/s_ccosl.c: Rely entirely on ccoshl.
58522 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
58523 Remove tests for FE_INVALID.
58524 * math/s_ccoshf.c: Likewise.
58525 * math/s_ccoshl.c: Likewise.
58526 * math/s_csin.c: Likewise.
58527 * math/s_csinf.c: Likewise.
58528 * math/s_csinh.c Likewise.
58529 * math/s_csinhf.c: Likewise.
58530 * math/s_csinhl.c: Likewise.
58531 * math/s_csinl.c: Likewise.
58532 * math/s_ctan.c: Likewise.
58533 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58534 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58536
8ec250a4
UD
585372011-10-21 Ulrich Drepper <drepper@gmail.com>
58538
c196fed8
UD
58539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58540 compilation problems.
58541
8ec250a4
UD
58542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58543 __builtin_expect.
58544
8d4f46c6
UD
585452011-10-20 Ulrich Drepper <drepper@gmail.com>
58546
ed72b654
UD
58547 * sysdeps/i386/configure.in: Test for -mfma4 option.
58548 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58549 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58550 COMMON_CPUID_INDEX_80000001.
58551 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58552 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58553 use it if FMA3 is not supported.
58554 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58555
8d4f46c6
UD
58556 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58557 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58558
d45c60c2
AS
585592011-10-20 Andreas Schwab <schwab@redhat.com>
58560
58561 [BZ #12892]
58562 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58563 it would create a cycle with a link time dependency.
58564
d9a4d2ab
UD
585652011-10-19 Ulrich Drepper <drepper@gmail.com>
58566
855d1560
UD
58567 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58568 instruction.
58569 * string/Makefile (strop-tests): Add rawmemchr.
58570 * string/test-rawmemchr.c: New file.
58571
d9a4d2ab
UD
58572 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
58574 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
58575 when compiling str{,n}casecmp and when AVX is available. Hook up
58576 new optimized code in initializers.
58577
8f3b1ffe
AS
585782011-10-19 Andreas Schwab <schwab@redhat.com>
58579
58580 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58581 __feraiseexcept instead of feraiseexcept.
58582
d38f1dba
UD
585832011-10-18 Ulrich Drepper <drepper@gmail.com>
58584
d9a8d0ab
UD
58585 * math/math_private.h: Define defaults for libc_fetestexcept and
58586 libc_feupdateenv.
58587 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58588 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58589 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58591 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58592 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58593 libc_fetestexcept and libc_feupdateenv.
58594
4855e3dd
UD
58595 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58596 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58597 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58598 * sysdeps/x86_64/fpu/math_private.h: Define special version of
58599 libc_feholdexcept_setround.
58600
581d30e3
UD
58601 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58602 Add s_nearbyint-c and s_nearbyintf-c.
58603 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58604 nearbyintf inlines.
58605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58606 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58608 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58609
d38f1dba
UD
58610 * math/math_private.h: Define defaults for libc_fegetround,
58611 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58612 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58613 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58615 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58616 standard functions.
58617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58618 Remove comments and hacks for old compiler versions.
58619 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58620 libc_fegetround, libc_fesetround, libc_feholdexcept, and
58621 libc_feholdexceptl.
58622
caa6c9d8
AS
586232011-10-18 Andreas Schwab <schwab@redhat.com>
58624
58625 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
58626 (__feraiseexcept_renamed): Add __NTH.
58627 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
58628 namespace violations.
58629
97c066e6
UD
586302011-10-17 Ulrich Drepper <drepper@gmail.com>
58631
99ce7b04
UD
58632 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58633
1004d182
UD
58634 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58635
228a984d
UD
58636 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58637 recently added interfaces.
58638 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58639
c8553a6a
UD
58640 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58641 about macro parameter expansion.
58642
ed22dcf6
UD
58643 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58644 __NO_MATH_INLINES is defined. Cleanups.
58645
58646 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58647 and __floorf is target has SSE4.1.
58648 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58649 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58650 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58651 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58652
b171c137
UD
58653 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58654 name.
58655 (floorf): Likewise.
58656
97c066e6
UD
58657 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58658
629f62ef
AS
586592011-10-17 Andreas Schwab <schwab@redhat.com>
58660
49a43d80
AS
58661 * misc/sys/cdefs.h: Fix last change.
58662
629f62ef
AS
58663 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58664 database lookup.
58665
e453f6cd
UD
586662011-10-16 Ulrich Drepper <drepper@gmail.com>
58667
aa78043a
UD
58668 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58669
ad0f5cad
UD
58670 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58673 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58676 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58677 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58678 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58679 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58680 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58681 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58682 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58683 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58684 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58685 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58686 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58687 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58688 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58689 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58690 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58691 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58692
58693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58694 ceil, ceilf, floor, floorf.
58695
58696 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58697 Perform IRELATIVE relocations last.
58698
e453f6cd
UD
58699 * elf/do-rel.h: Add another parameter nrelative, replacing the
58700 local variable with the same name. Change name of the function
58701 to end in Rel or Rela (uppercase).
58702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58703 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
58704 elf_dynamic_do_##reloc function.
58705
fd5bdc09
UD
587062011-10-15 Ulrich Drepper <drepper@gmail.com>
58707
79b195b5
UD
58708 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58709 is sufficient, at least on modern CPUs.
58710
d4a28569
UD
58711 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58712
b61099b5
UD
58713 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58715
bcf01e6d
UD
58716 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58717 __expl_finite.
58718 * math/bits/math-finite.h: Add entries for exp.
58719 * math/e_expl.c: Add __*_finite alias.
58720 * sysdeps/i386/fpu/e_exp.S: Likewise.
58721 * sysdeps/i386/fpu/e_expf.S: Likewise.
58722 * sysdeps/i386/fpu/e_expl.c: Likewise.
58723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58724 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58725 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58727 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58728 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58729 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58730
ba1a0d59
UD
58731 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58732 is sufficient, at least on modern CPUs.
58733
fd5bdc09
UD
58734 * ctype/ctype-info.c (__ctype_init): Define.
58735 * include/ctype.h (__ctype_init): Declare.
58736 (__ctype_b_loc): The variable is always initialized.
58737 (__ctype_toupper_loc): Likewise.
58738 (__ctype_tolower_loc): Likewise.
58739 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58740 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58741
7872cfb0
AS
587422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
58743
b468825a
AS
58744 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58745
7872cfb0
AS
58746 * configure.in: Also look in $cxxmachine/include for C++ system
58747 headers.
58748
be13f7bf
LD
587492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58750
58751 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58752 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58753 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58754 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
58755 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58756 (USE_AS_WMEMCMP): New macro.
58757 Fixing indents.
58758 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58759 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58760 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58761 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58763 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58764 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58765 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58766 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58767 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58769 (USE_AS_WMEMCMP): New macro.
58770 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58771 * sysdeps/string/test-memcmp.c: Update.
58772 Fix simple_wmemcmp.
58773 Add new tests.
58774 * wcsmbs/wmemcmp.c: Update.
58775 (WMEMCMP): New macro.
58776 Fix overflow bug.
58777
556a2007
AJ
587782011-10-12 Andreas Jaeger <aj@suse.de>
58779
58780 [BZ #13268]
58781 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58782
538faaa7
UD
587832011-10-15 Ulrich Drepper <drepper@gmail.com>
58784
ab6737ff
UD
58785 * libio/iofwide.c (do_length): Avoid warning.
58786
538faaa7
UD
58787 * ctype/ctype.h (__isctype_f): Add missing __THROW.
58788
396a21b1
UD
587892011-10-14 Ulrich Drepper <drepper@gmail.com>
58790
cdf2901f
UD
58791 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58792
38ad40ce
UD
58793 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58794 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58795 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58796 * sysdeps/i386/i686/fpu/e_log.S: New file.
58797 * sysdeps/i386/i686/fpu/e_logf.S: New file.
58798 * sysdeps/i386/i686/fpu/e_logl.S: New file.
58799
396a21b1
UD
58800 * ctype/ctype.h: Add support for inlined isXXX functions when
58801 compiling C++ code.
58802
6b1f68c9
AS
588032011-10-14 Andreas Schwab <schwab@redhat.com>
58804
349290c0
AS
58805 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58806
6b1f68c9
AS
58807 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58808
f2282d42
RM
588092011-10-13 Roland McGrath <roland@hack.frob.com>
58810
58811 [BZ #13291]
58812 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58813
5298ffa8
AS
588142011-10-13 Andreas Schwab <schwab@redhat.com>
58815
714fad23
AS
58816 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58817 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58818 feraiseexcept.
58819
81dcc7fb
AS
58820 * sysdeps/x86_64/memrchr.S: Check for zero size.
58821
5298ffa8
AS
58822 * string/stratcliff.c: Add memrchr tests.
58823
951fbcec
LD
588242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58825
58826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58827 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58828 rawmemchr-sse2 rawmemchr-sse2-bsf.
58829 * sysdeps/i386/i686/multiarch/memchr.S: New file.
58830 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58831 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58832 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58833 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58834 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58835 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58836 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58838 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58839 * string/memrchr.c (MEMRCHR): New macro.
58840
0ac5ae23
UD
588412011-10-12 Ulrich Drepper <drepper@gmail.com>
58842
58843 Add integration with gcc's -ffinite-math-only and optimize wrapper
58844 functions in libm.
58845 * Versions.def: Define GLIBC_2.15 version for libm.
58846 * math/Makefile (headers): Add bits/math-finite.h.
58847 * math/bits/math-finite.h: New file.
58848 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58849 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58850 * math/e_acoshl.c: Add __*_finite alias.
58851 * math/e_acosl.c: Likewise.
58852 * math/e_asinl.c: Likewise.
58853 * math/e_atan2l.c: Likewise.
58854 * math/e_atanhl.c: Likewise.
58855 * math/e_coshl.c: Likewise.
58856 * math/e_exp10.c: Likewise.
58857 * math/e_exp10f.c: Likewise.
58858 * math/e_exp10l.c: Likewise.
58859 * math/e_exp2l.c: Likewise.
58860 * math/e_fmodl.c: Likewise.
58861 * math/e_gammal_r.c: Likewise.
58862 * math/e_hypotl.c: Likewise.
58863 * math/e_j0l.c: Likewise.
58864 * math/e_j1l.c: Likewise.
58865 * math/e_jnl.c: Likewise.
58866 * math/e_lgammal_r.c: Likewise.
58867 * math/e_log10l.c: Likewise.
58868 * math/e_log2l.c: Likewise.
58869 * math/e_logl.c: Likewise.
58870 * math/e_powl.c: Likewise.
58871 * math/e_sinhl.c: Likewise.
58872 * math/e_sqrtl.c: Likewise.
58873 * math/e_scalb.c: Completely rewritten and optimized.
58874 * math/e_scalbf.c: Likewise.
58875 * math/e_scalbl.c: Likewise.
58876 * math/w_acos.c: Likewise.
58877 * math/w_acosf.c: Likewise.
58878 * math/w_acosl.c: Likewise.
58879 * math/w_acosh.c: Likewise.
58880 * math/w_acoshf.c: Likewise.
58881 * math/w_acoshl.c: Likewise.
58882 * math/w_asin.c: Likewise.
58883 * math/w_asinf.c: Likewise.
58884 * math/w_asinl.c: Likewise.
58885 * math/w_atan2.c: Likewise.
58886 * math/w_atan2f.c: Likewise.
58887 * math/w_atan2l.c: Likewise.
58888 * math/w_atanh.c: Likewise.
58889 * math/w_atanhf.c: Likewise.
58890 * math/w_atanhl.c: Likewise.
58891 * math/w_exp10.c: Likewise.
58892 * math/w_exp10f.c: Likewise.
58893 * math/w_exp10l.c: Likewise.
58894 * math/w_fmod.c: Likewise.
58895 * math/w_fmodf.c: Likewise.
58896 * math/w_fmodl.c: Likewise.
58897 * math/w_j0.c: Likewise.
58898 * math/w_j0f.c: Likewise.
58899 * math/w_j0l.c: Likewise.
58900 * math/w_j1.c: Likewise.
58901 * math/w_j1f.c: Likewise.
58902 * math/w_j1l.c: Likewise.
58903 * math/w_jn.c: Likewise.
58904 * math/w_jnf.c: Likewise.
58905 * math/w_log.c: Likewise.
58906 * math/w_logf.c: Likewise.
58907 * math/w_logl.c: Likewise.
58908 * math/w_log10.c: Likewise.
58909 * math/w_log10f.c: Likewise.
58910 * math/w_log10l.c: Likewise.
58911 * math/w_log2.c: Likewise.
58912 * math/w_log2f.c: Likewise.
58913 * math/w_log2l.c: Likewise.
58914 * math/w_pow.c: Likewise.
58915 * math/w_powf.c: Likewise.
58916 * math/w_powl.c: Likewise.
58917 * math/w_remainder.c: Likewise.
58918 * math/w_remainderf.c: Likewise.
58919 * math/w_remainderl.c: Likewise.
58920 * math/w_scalb.c: Likewise.
58921 * math/w_scalbf.c: Likewise.
58922 * math/w_scalbl.c: Likewise.
58923 * math/w_sqrt.c: Likewise.
58924 * math/w_sqrtf.c: Likewise.
58925 * math/w_sqrtl.c: Likewise.
58926 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58927 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
58928 used.
58929 * math/math_private.h: Declare __kernel_standard_f.
58930 * math/w_cosh.c: Remove cruft and optimize a bit.
58931 * math/w_coshf.c: Likewise.
58932 * math/w_coshl.c: Likewise.
58933 * math/w_exp2.c: Likewise.
58934 * math/w_exp2f.c: Likewise.
58935 * math/w_exp2l.c: Likewise.
58936 * math/w_hypot.c: Likewise.
58937 * math/w_hypotf.c: Likewise.
58938 * math/w_hypotl.c: Likewise.
58939 * math/w_lgamma.c: Likewise.
58940 * math/w_lgamma_r.c: Likewise.
58941 * math/w_lgammaf.c: Likewise.
58942 * math/w_lgammaf_r.c: Likewise.
58943 * math/w_lgammal.c: Likewise.
58944 * math/w_lgammal_r.c: Likewise.
58945 * math/w_sinh.c: Likewise.
58946 * math/w_sinhf.c: Likewise.
58947 * math/w_sinhl.c: Likewise.
58948 * math/w_tgamma.c: Likewise.
58949 * math/w_tgammaf.c: Likewise.
58950 * math/w_tgammal.c: Likewise.
58951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58953 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58954 Minor optimizations. Pretty printing. Remove cruft.
58955 * sysdeps/i386/fpu/e_acosf.S: Likewise.
58956 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58959 * sysdeps/i386/fpu/e_acosl.c: Likewise.
58960 * sysdeps/i386/fpu/e_asin.S: Likewise.
58961 * sysdeps/i386/fpu/e_asinf.S: Likewise.
58962 * sysdeps/i386/fpu/e_atan2.S: Likewise.
58963 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58964 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58965 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58966 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58968 * sysdeps/i386/fpu/e_exp10.S: Likewise.
58969 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58970 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58971 * sysdeps/i386/fpu/e_exp2.S: Likewise.
58972 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58973 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58974 * sysdeps/i386/fpu/e_fmod.S: Likewise.
58975 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58976 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58977 * sysdeps/i386/fpu/e_hypot.S: Likewise.
58978 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58979 * sysdeps/i386/fpu/e_log.S: Likewise.
58980 * sysdeps/i386/fpu/e_log10.S: Likewise.
58981 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58983 * sysdeps/i386/fpu/e_log2.S: Likewise.
58984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58985 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58986 * sysdeps/i386/fpu/e_logf.S: Likewise.
58987 * sysdeps/i386/fpu/e_logl.S: Likewise.
58988 * sysdeps/i386/fpu/e_pow.S: Likewise.
58989 * sysdeps/i386/fpu/e_powf.S: Likewise.
58990 * sysdeps/i386/fpu/e_powl.S: Likewise.
58991 * sysdeps/i386/fpu/e_remainder.S: Likewise.
58992 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58993 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58994 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58995 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58996 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58997 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58998 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58999 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59000 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59001 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59003 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59004 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59005 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59006 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59007 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59008 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59009 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59010 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59011 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59013 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59014 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59017 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59021 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59024 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59025 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59026 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59027 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59028 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59029 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59030 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59031 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59033 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59034 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59035 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59036 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59037 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59038 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59039 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59040 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59041 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59042 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59043 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59045 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59046 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59047 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59048 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59049 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59050 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59051 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59052 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59053 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59054 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59055 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59056 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59057 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59058 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59059 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59060 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59069 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59082 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59083 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59084 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59087 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59088 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59089 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59091 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59092 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59093 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59097 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59098 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59099 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59100 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59101 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59102 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59103 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59104 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59105 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59106 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59108 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59109 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59110 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
59111 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59112 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59113 (__isnanf): Likewise.
59114 (__isinf_ns): Likewise.
59115 (__isinf_nsf): Likewise.
59116 (__finite): Likewise.
59117 (__finitef): Likewise.
59118 (__ieee754_sqrt): Define as macro.
59119 (__ieee754_sqrtf): Define as macro.
59120 (__ieee754_sqrtl): Define as macro.
59121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59122 inlined copy.
59123 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59124 __FINITE_MATH_ONLY__ consistent.
59125 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59126
12cc2fcd
AS
591272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
59128
a843a204
AS
59129 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59130 of rawmemchr.
59131
12cc2fcd
AS
59132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59133
c853acd5
UD
591342011-10-09 Ulrich Drepper <drepper@gmail.com>
59135
59136 * po/ja.po: Update from translation team.
59137
c658d255
RM
591382011-10-08 Roland McGrath <roland@hack.frob.com>
59139
110946e4
RM
59140 * locale/programs/locarchive.c (prepare_address_space): New function.
59141 (create_archive, enlarge_archive, open_archive): Use it.
59142
50604220
RM
59143 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59144 inside [SHARED], where it is used.
59145
c658d255
RM
59146 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59147
59148 * nss/getent.c (netgroup_keys): Remove unused variable.
59149 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59150
6a621eb7
UD
591512011-10-08 Ulrich Drepper <drepper@gmail.com>
59152
7edb55ce
UD
59153 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59156 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59158 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59159 * math/Makefile (libm-calls): Add s_isinf_ns.
59160 * math/divtc3.c: Use __isinf_nsl instead of isinf.
59161 * math/multc3.c: Likewise.
59162 * math/s_casin.c: Likewise.
59163 * math/s_casinf.c: Likewise.
59164 * math/s_casinl.c: Likewise.
59165 * math/s_ccos.c: Likewise.
59166 * math/s_ccosf.c: Likewise.
59167 * math/s_ccosl.c: Likewise.
59168 * math/s_ctan.c: Likewise.
59169 * math/s_ctanf.c: Likewise.
59170 * math/s_ctanh.c: Likewise.
59171 * math/s_ctanhf.c: Likewise.
59172 * math/s_ctanhl.c: Likewise.
59173 * math/s_ctanl.c: Likewise.
59174 * math/w_fmod.c: Likewise.
59175 * math/w_fmodf.c: Likewise.
59176 * math/w_fmodl.c: Likewise.
59177 * math/w_remainder.c: Likewise.
59178 * math/w_remainderf.c: Likewise.
59179 * math/w_remainderl.c: Likewise.
59180 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59181 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59182 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59184 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59185 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59186 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59187 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59188
187da0ae
UD
59189 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59190 of the number.
59191 * stdio-common/printf_fphex.c: Likewise.
59192 * stdio-common/printf_size.c: Likewise.
59193
9277c064
UD
59194 * math/e_exp10.c: Include math_private.h using <...> not "...".
59195 * math/e_exp10f.c: Likewise.
59196 * math/e_exp10l.c: Likewise.
59197 * math/e_exp2l.c: Likewise.
59198 * math/e_j0l.c: Likewise.
59199 * math/e_j1l.c: Likewise.
59200 * math/e_jnl.c: Likewise.
59201 * math/e_lgammal_r.c: Likewise.
59202 * math/e_rem_pio2l.c: Likewise.
59203 * math/e_scalb.c: Likewise.
59204 * math/e_scalbf.c: Likewise.
59205 * math/e_scalbl.c: Likewise.
59206 * math/k_cosl.c: Likewise.
59207 * math/k_sinl.c: Likewise.
59208 * math/k_tanl.c: Likewise.
59209 * math/s_cacoshf.c: Likewise.
59210 * math/s_catan.c: Likewise.
59211 * math/s_catanf.c: Likewise.
59212 * math/s_catanh.c: Likewise.
59213 * math/s_catanhf.c: Likewise.
59214 * math/s_catanhl.c: Likewise.
59215 * math/s_catanl.c: Likewise.
59216 * math/s_ccosh.c: Likewise.
59217 * math/s_ccoshf.c: Likewise.
59218 * math/s_ccoshl.c: Likewise.
59219 * math/s_cexp.c: Likewise.
59220 * math/s_cexpf.c: Likewise.
59221 * math/s_cexpl.c: Likewise.
59222 * math/s_clog.c: Likewise.
59223 * math/s_clog10.c: Likewise.
59224 * math/s_clog10f.c: Likewise.
59225 * math/s_clog10l.c: Likewise.
59226 * math/s_clogf.c: Likewise.
59227 * math/s_clogl.c: Likewise.
59228 * math/s_csin.c: Likewise.
59229 * math/s_csinf.c: Likewise.
59230 * math/s_csinh.c: Likewise.
59231 * math/s_csinhf.c: Likewise.
59232 * math/s_csinhl.c: Likewise.
59233 * math/s_csinl.c: Likewise.
59234 * math/s_csqrt.c: Likewise.
59235 * math/s_csqrtf.c: Likewise.
59236 * math/s_csqrtl.c: Likewise.
59237 * math/s_ctan.c: Likewise.
59238 * math/s_ctanf.c: Likewise.
59239 * math/s_ctanh.c: Likewise.
59240 * math/s_ctanhf.c: Likewise.
59241 * math/s_ctanhl.c: Likewise.
59242 * math/s_ctanl.c: Likewise.
59243 * math/s_ldexp.c: Likewise.
59244 * math/s_ldexpf.c: Likewise.
59245 * math/s_ldexpl.c: Likewise.
59246 * math/s_significand.c: Likewise.
59247 * math/s_significandf.c: Likewise.
59248 * math/s_significandl.c: Likewise.
59249 * math/w_acos.c: Likewise.
59250 * math/w_acosf.c: Likewise.
59251 * math/w_acosh.c: Likewise.
59252 * math/w_acoshf.c: Likewise.
59253 * math/w_acoshl.c: Likewise.
59254 * math/w_acosl.c: Likewise.
59255 * math/w_asin.c: Likewise.
59256 * math/w_asinf.c: Likewise.
59257 * math/w_asinl.c: Likewise.
59258 * math/w_atan2.c: Likewise.
59259 * math/w_atan2f.c: Likewise.
59260 * math/w_atan2l.c: Likewise.
59261 * math/w_atanh.c: Likewise.
59262 * math/w_atanhf.c: Likewise.
59263 * math/w_atanhl.c: Likewise.
59264 * math/w_cosh.c: Likewise.
59265 * math/w_coshf.c: Likewise.
59266 * math/w_coshl.c: Likewise.
59267 * math/w_dremf.c: Likewise.
59268 * math/w_exp10.c: Likewise.
59269 * math/w_exp10f.c: Likewise.
59270 * math/w_exp10l.c: Likewise.
59271 * math/w_exp2.c: Likewise.
59272 * math/w_exp2f.c: Likewise.
59273 * math/w_fmod.c: Likewise.
59274 * math/w_fmodf.c: Likewise.
59275 * math/w_fmodl.c: Likewise.
59276 * math/w_hypot.c: Likewise.
59277 * math/w_hypotf.c: Likewise.
59278 * math/w_hypotl.c: Likewise.
59279 * math/w_j0.c: Likewise.
59280 * math/w_j0f.c: Likewise.
59281 * math/w_j0l.c: Likewise.
59282 * math/w_j1.c: Likewise.
59283 * math/w_j1f.c: Likewise.
59284 * math/w_j1l.c: Likewise.
59285 * math/w_jn.c: Likewise.
59286 * math/w_jnf.c: Likewise.
59287 * math/w_jnl.c: Likewise.
59288 * math/w_lgamma.c: Likewise.
59289 * math/w_lgamma_r.c: Likewise.
59290 * math/w_lgammaf.c: Likewise.
59291 * math/w_lgammaf_r.c: Likewise.
59292 * math/w_lgammal.c: Likewise.
59293 * math/w_lgammal_r.c: Likewise.
59294 * math/w_log.c: Likewise.
59295 * math/w_log10.c: Likewise.
59296 * math/w_log10f.c: Likewise.
59297 * math/w_log10l.c: Likewise.
59298 * math/w_log2.c: Likewise.
59299 * math/w_log2f.c: Likewise.
59300 * math/w_log2l.c: Likewise.
59301 * math/w_logf.c: Likewise.
59302 * math/w_logl.c: Likewise.
59303 * math/w_pow.c: Likewise.
59304 * math/w_powf.c: Likewise.
59305 * math/w_powl.c: Likewise.
59306 * math/w_remainder.c: Likewise.
59307 * math/w_remainderf.c: Likewise.
59308 * math/w_remainderl.c: Likewise.
59309 * math/w_scalb.c: Likewise.
59310 * math/w_scalbf.c: Likewise.
59311 * math/w_scalbl.c: Likewise.
59312 * math/w_sinh.c: Likewise.
59313 * math/w_sinhf.c: Likewise.
59314 * math/w_sinhl.c: Likewise.
59315 * math/w_sqrt.c: Likewise.
59316 * math/w_sqrtf.c: Likewise.
59317 * math/w_sqrtl.c: Likewise.
59318 * math/w_tgamma.c: Likewise.
59319 * math/w_tgammaf.c: Likewise.
59320 * math/w_tgammal.c: Likewise.
59321
6a621eb7
UD
59322 * po/ja.po: Update from translation team.
59323
bf582445
AJ
593242011-09-29 Andreas Jaeger <aj@suse.de>
59325
f9efbf3a
AJ
59326 [BZ #13179]
59327 * sunrpc/netname.c (netname2host): Fix logic.
59328
bf582445
AJ
59329 [BZ #6779]
59330 [BZ #6783]
59331 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59332 correctly.
59333 * math/w_remainder.c (__remainder): Likewise.
59334 * math/w_remainderf.c (__remainderf): Likewise.
59335 * math/libm-test.inc (remainder_test): Add test cases.
59336
48693bea
AK
593372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59338
59339 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
59340 sdiv_qrnnd.
59341
42622229
LD
593422011-10-07 Ulrich Drepper <drepper@gmail.com>
59343
59344 * string/test-memcmp.c: Avoid unncessary #defines.
59345 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59346
093ecf92
LD
593472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59348
59349 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59350 Use new sse2 version for core i3 - i7 as it's faster
59351 than sse42 version.
59352 (bit_Prefer_PMINUB_for_stringop): New.
59353 * sysdeps/x86_64/rawmemchr.S: Update.
59354 Replace with faster SSE2 version.
59355 * sysdeps/x86_64/memrchr.S: New file.
59356 * sysdeps/x86_64/memchr.S: Update.
59357 Replace with faster SSE2 version.
59358
fde56e5c
MP
593592011-09-12 Marek Polacek <mpolacek@redhat.com>
59360
59361 * elf/dl-load.c (lose): Add cast to avoid warning.
59362
21fd49a9
UD
593632011-10-07 Ulrich Drepper <drepper@gmail.com>
59364
5a06e643
UD
59365 * po/ca.po: Update from translation team.
59366
684ae515
UD
59367 * inet/getnetgrent_r.c: Hook up nscd.
59368 * nscd/Makefile (routines): Add nscd_netgroup.
59369 (nscd-modules): Add netgroupcache.
59370 (CFLAGS-netgroupcache.c): Define.
59371 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59372 (cache_search): Add const to second parameter.
59373 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59374 INNETGR.
59375 (dbs): Add netgrdb entry.
59376 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59377 (verify_persistent_db): Handle netgrdb.
59378 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59379 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59380 GETFDNETGR.
59381 (netgroup_response_header): Define.
59382 (innetgroup_response_header): Define.
59383 (datahead): Add netgroup_response_header and innetgroup_response_header
59384 elements.
59385 * nscd/nscd.conf: Add entries for netgroup cache.
59386 * nscd/nscd.h (dbtype): Add netgrdb.
59387 (_PATH_NSCD_NETGROUP_DB): Define.
59388 (netgroup_iov_disabled): Declare.
59389 (xmalloc, xcalloc, xrealloc): Move declarations here.
59390 (cache_search): Adjust prototype.
59391 Add netgroup-related prototypes.
59392 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59393 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59394 (__nscd_innetgr): Declare.
59395 * nscd/selinux.c (perms): Use access_vector_t as element type and
59396 add netgroup-related initializers.
59397 * nscd/netgroupcache.c: New file.
59398 * nscd/nscd_netgroup.c: New file.
59399 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59400 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59401 For four parameters use innetgr.
59402 * nss/nss_files/files-init.c: Add definition and callback for netgr.
59403 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59404 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59405 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59406
21fd49a9
UD
59407 * nscd/connections.c (register_traced_file): Don't register file
59408 for disabled databases.
59409
054c0457
UD
594102011-10-06 Ulrich Drepper <drepper@gmail.com>
59411
32b63198
UD
59412 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59413
054c0457
UD
59414 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59415 from tree and freeing node.
59416
64031225
JO
594172011-09-25 Jiri Olsa <jolsa@redhat.com>
59418
59419 * nss/nsswitch.c (__nss_database_lookup): Handle
59420 nss_parse_service_list out of memory case.
59421
0490345c
JO
594222011-09-15 Jiri Olsa <jolsa@redhat.com>
59423
59424 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59425 out of memory case.
59426
3a62d00d
AS
594272011-10-04 Andreas Schwab <schwab@redhat.com>
59428
59429 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59430 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59431 pass it down.
59432 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59433 elf_machine_rela, elf_machine_lazy_rel.
59434 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59435 (ELF_DYNAMIC_DO_REL): Likewise.
59436 (ELF_DYNAMIC_DO_RELA): Likewise.
59437 (ELF_DYNAMIC_RELOCATE): Likewise.
59438 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59439 to ELF_DYNAMIC_DO_REL.
59440 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59441 (dl_main): In trace mode always set __RTLD_NOIFUNC.
59442 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59443 elf_machine_rela.
59444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59445 skip_ifunc, don't call ifunc function if non-zero.
59446 (elf_machine_rela): Likewise.
59447 (elf_machine_lazy_rel): Likewise.
59448 (elf_machine_lazy_rela): Likewise.
59449 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59450 (elf_machine_lazy_rel): Likewise.
59451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59452 Likewise.
59453 (elf_machine_lazy_rel): Likewise.
59454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59455 Likewise.
59456 (elf_machine_lazy_rel): Likewise.
59457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59458 (elf_machine_lazy_rel): Likewise.
59459 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59460 (elf_machine_lazy_rel): Likewise.
59461 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59462 (elf_machine_lazy_rel): Likewise.
59463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59464 (elf_machine_lazy_rel): Likewise.
59465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59466 (elf_machine_lazy_rel): Likewise.
59467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59468 (elf_machine_lazy_rel): Likewise.
59469
68577918
UD
594702011-09-28 Ulrich Drepper <drepper@gmail.com>
59471
59472 * nss/nss_files/files-init.c (_nss_files_init): Use static
59473 initialization for all the *_traced_file variables.
59474
68822d74
AS
594752011-09-28 Andreas Schwab <schwab@redhat.com>
59476
59477 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59478
2056100b
RM
594792011-09-27 Roland McGrath <roland@hack.frob.com>
59480
59481 [BZ #13226]
59482 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59483
32c76b63
AS
594842011-09-27 Andreas Schwab <schwab@redhat.com>
59485
59486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59487 Reread the line before reparsing it.
59488
bf972c9d
AS
594892011-09-26 Andreas Schwab <schwab@redhat.com>
59490
59491 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59492
e057a1b5
JM
594932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
59494 Maxim Kuvyrkov <maxim@codesourcery.com>
59495 Joseph Myers <joseph@codesourcery.com>
59496
59497 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59498 if needed for __stack_chk_guard.
59499
bc7e1c36
RM
595002011-09-19 Roland McGrath <roland@hack.frob.com>
59501
ecb1482f
RM
59502 * sysdeps/posix/spawni.c (script_execute): Always define it.
59503 It will be optimized away if unused.
59504 (maybe_script_execute): New function.
59505 (__spawni): Call it.
59506
bc7e1c36
RM
59507 * Makerules: Don't include tls.make.
59508 (config-tls): Always set to thread.
59509 * tls.make.c: File removed.
59510
1c3b002b
MF
595112011-09-19 Mike Frysinger <vapier@gentoo.org>
59512
59513 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59514 * config.make.in (CPPFLAGS-config): New substituted variable.
59515
2840865d
UD
595162011-09-15 Ulrich Drepper <drepper@gmail.com>
59517
88738eb6
UD
59518 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59519
cbf645a6 59520 [BZ #13192]
2840865d
UD
59521 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59522 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59523
b402e91a
RM
595242011-09-15 Roland McGrath <roland@hack.frob.com>
59525
59526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59527 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59529 (CALL_FAIL): Likewise.
59530 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59531 (CALL_FAIL): Macro removed.
59532 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59533
4c1a1f71
UD
595342011-09-15 Ulrich Drepper <drepper@gmail.com>
59535
59536 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59537 for __FINITE_MATH_ONLY__ == 1.
59538
edc121be
AS
595392011-09-15 Andreas Schwab <schwab@redhat.com>
59540
59541 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59542 __ieee754_sqrt instead of sqrt.
59543 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59544 __ieee754_sqrtf instead of sqrtf.
59545 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59546 __floorf instead of floorf.
59547 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59548 __floorf, __truncf instead of floorf, truncf.
59549
cd205654
UD
595502011-09-14 Ulrich Drepper <drepper@gmail.com>
59551
ee4d0315
UD
59552 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59553
cd205654
UD
59554 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59555 __extern_always_inline.
59556 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59557 32-bit.
59558
48b67d71
AS
595592011-09-14 Andreas Schwab <schwab@redhat.com>
59560
59561 * elf/rtld.c (dl_main): Also relocate in dependency order when
59562 doing symbol dependency testing.
59563
1ae12c75
AS
595642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
59565
59566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59567 Always define `refsym'.
59568
995a80df
AS
595692011-09-13 Andreas Schwab <schwab@redhat.com>
59570
e529793b
AS
59571 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59572 (__FD_ELT): Renamed from __FDELT.
59573 * misc/bits/select2.h (__FD_ELT): Likewise.
59574 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59575 __FD_MASK instead of __FDELT, __FDMASK.
59576 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59577 Likewise.
59578 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59579 Likewise.
59580
52d4fef8
AS
59581 * elf/Makefile (gen-ldd): Fix pattern.
59582
995a80df
AS
59583 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59584 (init_tls): Likewise.
59585
8682f8b0
UD
595862011-09-12 Ulrich Drepper <drepper@gmail.com>
59587
59588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59589
de82006d
AS
595902011-09-12 Andreas Schwab <schwab@redhat.com>
59591
a7c8e6a1
AS
59592 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59593 `struct cmsghdr *' instead of `void *'.
59594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59595 Likewise.
59596
0f31fe77
AS
595972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
59598
59599 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59600 if non-absolute.
59601 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59602 ldd_rewrite_script.
0f31fe77 59603
32b4c839
UD
596042011-09-11 Ulrich Drepper <drepper@gmail.com>
59605
83cd1420
UD
59606 * configure.in: Remove --with-tls option.
59607 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59608 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59609 out in case it is missing.
59610 * sysdeps/ia64/elf/configure.in: Likewise.
59611 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59612 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59613 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59614 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59615 * sysdeps/sh/elf/configure.in: Likewise.
59616 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59617 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59618 * sysdeps/x86_64/elf/configure.in: Likewise.
59619 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59620 * sysdeps/mach/hurd/tls.h: Likewise.
59621
633f745d
UD
59622 [BZ #13067]
59623 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59624
f318beb8
UD
59625 [BZ #13090]
59626 * configure.in: Fix use of AC_INIT.
59627
32b4c839
UD
59628 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59629
3ce1f295
UD
596302011-09-10 Ulrich Drepper <drepper@gmail.com>
59631
bb016596
UD
59632 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59633 __set_errno.
8e58439c
UD
59634 * malloc/hooks.c: Likewise.
59635
aebae053 59636 [BZ #11929]
02d46fc4
UD
59637 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
59638 variables statically.
59639 (narenas): Initialize.
59640 (list_lock): Initialize.
bb016596
UD
59641 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
59642 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
59643 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59644 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
59645 Add initializers to main_arena and mp_.
59646 (malloc_state): Remove pagesize member. Change all users to use
59647 GLRO(dl_pagesize).
59648
59649 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59650 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
59651 is always initialized.
59652
22a89187
UD
59653 * malloc/malloc.c: Removed unused configurations and dead code.
59654 * malloc/arena.c: Likewise.
59655 * malloc/hooks.c: Likewise.
02d46fc4 59656 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 59657
d063d164
UD
59658 * include/tls.h: Removed. USE___THREAD must always be defined.
59659 * bits/libc-tsd.h: Don't handle !USE___THREAD.
59660 * elf/dl-libc.c: Likewise.
59661 * elf/dl-tsd.c: Likewise.
59662 * include/errno.h: Likewise.
59663 * include/netdb.h: Likewise.
59664 * include/resolv.h: Likewise.
59665 * inet/herrno-loc.c: Likewise.
59666 * inet/herrno.c: Likewise.
59667 * malloc/arena.c: Likewise.
59668 * malloc/hooks.c: Likewise.
59669 * malloc/malloc.c: Likewise.
59670 * resolv/res-state.c: Likewise.
59671 * resolv/res_libc.c: Likewise.
59672 * sysdeps/i386/dl-machine.h: Likewise.
59673 * sysdeps/ia64/dl-machine.h: Likewise.
59674 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59675 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59676 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59677 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59678 * sysdeps/sh/dl-machine.h: Likewise.
59679 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59680 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59681 * sysdeps/unix/i386/sysdep.S: Likewise.
59682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59683 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59688 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59692 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59693 * sysdeps/x86_64/dl-machine.h: Likewise.
59694 * tls.make.c: Likewise.
59695
3ce1f295
UD
59696 * configure.in: Remove --with-__thread option. Make tests for
59697 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59698 tls_model attribute fail if no support is available. Remove
59699 USE_IN_LIBIO.
59700 * Makeconfig: Adjust for dropped configure option. All features are
59701 now mandatory.
59702 * Makerules: Likewise.
59703 * Versions.def: Likewise.
59704 * argp/argp-fmtstream.c: Likewise.
59705 * argp/argp-fmtstream.h: Likewise.
59706 * argp/argp-help.c: Likewise.
59707 * assert/assert.c: Likewise.
59708 * config.h.in: Likewise.
59709 * config.make.in: Likewise.
59710 * configure: Likewise.
59711 * configure.in: Likewise.
59712 * csu/Versions: Likewise.
59713 * csu/init.c: Likewise.
59714 * elf/tst-audit2.c: Likewise.
59715 * elf/tst-tls10.c: Likewise.
59716 * elf/tst-tls10.h: Likewise.
59717 * elf/tst-tls11.c: Likewise.
59718 * elf/tst-tls12.c: Likewise.
59719 * elf/tst-tls14.c: Likewise.
59720 * elf/tst-tlsmod11.c: Likewise.
59721 * elf/tst-tlsmod12.c: Likewise.
59722 * elf/tst-tlsmod13.c: Likewise.
59723 * elf/tst-tlsmod13a.c: Likewise.
59724 * elf/tst-tlsmod14a.c: Likewise.
59725 * elf/tst-tlsmod15b.c: Likewise.
59726 * elf/tst-tlsmod16a.c: Likewise.
59727 * elf/tst-tlsmod16b.c: Likewise.
59728 * elf/tst-tlsmod7.c: Likewise.
59729 * elf/tst-tlsmod8.c: Likewise.
59730 * elf/tst-tlsmod9.c: Likewise.
59731 * gmon/gmon.c: Likewise.
59732 * grp/fgetgrent_r.c: Likewise.
59733 * grp/putgrent.c: Likewise.
59734 * hurd/fopenport.c: Likewise.
59735 * include/libc-symbols.h: Likewise.
59736 * include/tls.h: Likewise.
59737 * intl/gettextP.h: Likewise.
59738 * intl/loadinfo.h: Likewise.
59739 * locale/global-locale.c: Likewise.
59740 * locale/localeinfo.h: Likewise.
59741 * mach/devstream.c: Likewise.
59742 * malloc/arena.c: Likewise.
59743 * malloc/set-freeres.c: Likewise.
59744 * misc/err.c: Likewise.
59745 * misc/getttyent.c: Likewise.
59746 * misc/mntent_r.c: Likewise.
59747 * posix/getopt.c: Likewise.
59748 * posix/wordexp.c: Likewise.
59749 * pwd/fgetpwent_r.c: Likewise.
59750 * resolv/Versions: Likewise.
59751 * resolv/res_hconf.c: Likewise.
59752 * shadow/fgetspent_r.c: Likewise.
59753 * shadow/putspent.c: Likewise.
59754 * stdio-common/printf_fphex.c: Likewise.
59755 * stdio-common/tmpfile.c: Likewise.
59756 * stdlib/abort.c: Likewise.
59757 * stdlib/fmtmsg.c: Likewise.
59758 * sunrpc/auth_unix.c: Likewise.
59759 * sunrpc/clnt_perr.c: Likewise.
59760 * sunrpc/clnt_tcp.c: Likewise.
59761 * sunrpc/clnt_udp.c: Likewise.
59762 * sunrpc/clnt_unix.c: Likewise.
59763 * sunrpc/openchild.c: Likewise.
59764 * sunrpc/svc_simple.c: Likewise.
59765 * sunrpc/svc_tcp.c: Likewise.
59766 * sunrpc/svc_udp.c: Likewise.
59767 * sunrpc/svc_unix.c: Likewise.
59768 * sunrpc/xdr.c: Likewise.
59769 * sunrpc/xdr_array.c: Likewise.
59770 * sunrpc/xdr_rec.c: Likewise.
59771 * sunrpc/xdr_ref.c: Likewise.
59772 * sunrpc/xdr_stdio.c: Likewise.
59773
1248c1c4
PB
597742011-09-09 Ulrich Drepper <drepper@gmail.com>
59775
59776 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59777
597782011-07-03 Andreas Jaeger <aj@suse.de>
59779
59780 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59781 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59782 regenerate with gen-libm-tests.pl.
59783
597842010-05-12 Petr Baudis <pasky@suse.cz>
59785
59786 [BZ #11589]
59787 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59788 around j0() zero points by switching to j1().
59789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59790 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59793
f22e1074
UD
597942011-09-09 Ulrich Drepper <drepper@gmail.com>
59795
f19009c1
UD
59796 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59797 instead of 0.
59798 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 59799 instead of 0.
f19009c1
UD
59800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59801 Patch in part by Pavel Roskin <proski@gnu.org>.
59802
3f8cc204
UD
59803 [BZ #13138]
59804 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59805 realloc.
59806 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
59807 Free memory block if necessary.
59808
f22e1074
UD
59809 [BZ #12847]
59810 * libio/genops.c (INTDEF): For string streams the _lock pointer can
59811 be NULL. Don't lock in this case.
59812
0a2349f9
RM
598132011-09-09 Roland McGrath <roland@hack.frob.com>
59814
59815 * elf/elf.h (ELFOSABI_GNU): New macro.
59816 (ELFOSABI_LINUX): Define to that.
59817
f3cdd467
DZ
598182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
59819
59820 * string/strncat.c (strncat): Undef the symbol in case it has been
59821 defined in bits/string.h.
59822
74718d13
UD
598232011-09-09 Ulrich Drepper <drepper@gmail.com>
59824
633e9e0f
UD
59825 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59826
0a2349f9 59827 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
59828 link map.
59829
f9924780
AJ
598302011-08-17 Andreas Jaeger <aj@suse.de>
59831
59832 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59833
7f5517aa
PP
598342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
59835 Ian Lance Taylor <iant@google.com>
59836
59837 * math/libm-test.inc (lround_test): New testcase.
59838 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59839
762011fe
UD
598402011-09-08 Ulrich Drepper <drepper@gmail.com>
59841
92963737
UD
59842 * Makefile: Remove support for automatic cvs check-ins.
59843 * Makerules: Likewise.
59844 * config.make.in: Likewise.
59845 * configure.in: Likewise.
59846 * intl/Makefile: Likewise.
59847 * locale/Makefile: Likewise.
59848 * po/Makefile: Likewise.
59849 * posix/Makefile: Likewise.
59850 * sysdeps/gnu/Makefile: Likewise.
59851 * sysdeps/mach/hurd/Makefile: Likewise.
59852 * sysdeps/sparc/sparc32/Makefile: Likewise.
59853
b0727fd8
JS
59854 [BZ #13118]
59855 * posix/Makefile (bug-regex32-ENV): Define.
59856 Patch by John Stanley <jpsinthemix@verizon.net>.
59857
a0f33f99
UD
59858 * misc/Makefile (headers): Add bits/select2.h.
59859 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59860 * misc/bits/select2.h: New file.
59861 * include/bits/select2.h: New file.
59862 * debug/Makefile (routines): Add fdelt_chk.
59863 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59864 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59865 FD_ISSET.
59866 * debug/fdelt_chk.c: New file.
59867
762011fe
UD
59868 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
59869 * wcsmbs/test-wmemcmp.c: Likewise.
59870 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 59871 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
59872
598732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59874
59875 * string/Makefile (strop-tests): Add memcmp.
59876 * string/test-wmemcmp.c: New file.
59877 * string/test-memcmp.c: Add wmemcmp support.
59878
7f513ec8
RM
598792011-09-08 Roland McGrath <roland@hack.frob.com>
59880
0442afb4
RM
59881 [BZ #13153]
59882 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59883 2011-07-19 change.
59884
7f513ec8
RM
59885 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59886 garbage value in a __mach_port_mod_refs call in the cases of the
59887 task-self and thread-self ports.
59888
a12b2239
ST
598892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59890
59891 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59892
610f9ab4
AS
598932011-09-08 Andreas Schwab <schwab@redhat.com>
59894
7f513ec8 59895 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 59896
48882a1a
LD
598972011-09-07 Ulrich Drepper <drepper@gmail.com>
59898
b49865be
UD
59899 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59900
fdc86bc9
UD
59901 * elf/dl-libc.c (dlerror_run): Pass back error code from
59902 dl_catch_error.
59903
c966526a
UD
59904 [BZ #13123]
59905 * elf/dl-load.c (lose): Free l_origin if it is valid.
59906
48882a1a
LD
59907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59908 names.
59909 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59910 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59911 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59912 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59913 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59914 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59915
77a2a8b4
AZ
599162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59917
59918 * sysdeps/powerpc/fpu/e_hypot.c: New file.
59919 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59920 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59921 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59922 * sysdeps/powerpc/fpu/k_cosf.c: New file.
59923 * sysdeps/powerpc/fpu/k_sinf.c: New file.
59924 * sysdeps/powerpc/fpu/s_cosf.c: New file.
59925 * sysdeps/powerpc/fpu/s_sinf.c: New file.
59926 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59927 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59928
24f579d8
AM
599292011-08-15 Alan Modra <amodra@gmail.com>
59930
59931 [BZ #13092]
59932 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59933 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59934 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
59935 ppc_mcount to static-only-routines.
59936 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59937 __mcount_internal.
59938 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59939 __mcount_internal with usual JUMPTARGET. Remove useless nop.
59940
3d4837df
UD
599412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
59942
59943 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59944 for finite and infinity parameters.
59945
22700377
WS
599462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59947
59948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59949 and add nop instructions for throughput optimization.
59950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59951
5025581e
WS
599522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
59953
59954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59955 aligned copy for power7 with vector-scalar instructions.
59956 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59957
08a300c9
L
599582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
59959
59960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59961 AVX check.
59962
59178ef9
AS
599632011-09-07 Andreas Schwab <schwab@redhat.com>
59964
59965 [BZ #13144]
59966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59967 last change.
59968
e38ba7ab
UD
599692011-09-07 Ulrich Drepper <drepper@gmail.com>
59970
59971 * sysdeps/unix/sysv/linux/x86_64/init-first.c
59972 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59973 syscall wrapper around clock_gettime in __vdso_clock_gettime.
59974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59975 clock_gettime.
59976
d53a73ac
UD
599772011-09-06 Ulrich Drepper <drepper@gmail.com>
59978
fc8bffcc
UD
59979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59980 Forgot to demangle the pointer.
59981
ceaa0c5d
UD
59982 * sysdeps/i386/sysdep.h: Define atom_text_section.
59983 * sysdeps/x86_64/sysdep.h: Likewise.
59984 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59985 section with atom_text_section.
59986 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59988 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59990 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59991
a77d3c17
UD
59992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59994 already be defined. Change to take two parameters and don't assign
59995 result to variable. Adjust all users.
59996 Define INTERNAL_GETTIME if not already defined.
59997 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59998 call.
59999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60000 HAVE_CLOCK_GETTIME_VSYSCALL.
60001 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60002
d53a73ac
UD
60003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60004 gettimeofday vsyscall, just use time.
60005
a8f84144
AS
600062011-09-06 Andreas Schwab <schwab@redhat.com>
60007
60008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60009 <errno.h>.
60010
ef606249
UD
600112011-09-06 Ulrich Drepper <drepper@gmail.com>
60012
60013 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60014 syscall on x86-64.
60015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60016 syscall.
60017 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60019 syscall if possible.
60020
6585cb60
UD
600212011-09-05 Ulrich Drepper <drepper@gmail.com>
60022
60023 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60024 e_ident. Don't pass to find_mapsXX.
60025 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60026
a5f524e4
LD
600272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60028
60029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60030 strchr-sse2-no-bsf strrchr-sse2-no-bsf
60031 * sysdeps/x86_64/multiarch/strchr.S: Update.
60032 Check bit_slow_BSF bit.
60033 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60035 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60036
554881ef
UD
600372011-09-05 Ulrich Drepper <drepper@gmail.com>
60038
d96de963
UD
60039 [BZ #13134]
60040 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60041 before glibc 2.15.
60042 (tryshell): Define.
60043 (__spawni): Change last parameter to be flag. Test
60044 SPAWN_XFLAGS_USE_PATH flag to use path or not.
60045 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60046 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60047 * posix/spawni.c: Likewise.
60048 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60049 * posix/spawnp.c: Likewise. Change normal version to use
60050 SPAWN_XFLAGS_USE_PATH.
60051 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60052 SPAWN_XFLAGS_TRY_SHELL.
60053
d48e5868
UD
60054 [BZ #13150]
60055 * posix/glob.h: Remove gcc 1.x support.
60056
554881ef
UD
60057 [BZ #13068]
60058 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60059
693fb948
LD
600602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60061
60062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60063 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60064 strrchr-sse2-bsf
60065 * sysdeps/i386/i686/multiarch/strchr.S: New file.
60066 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60067 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60068 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60069 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60070 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60071
1b48c537
UD
600722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60073
49d42c37
UD
60074 * sysdeps/x86_64/wcscmp.S: New file.
60075
1b48c537
UD
60076 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60077 wcscmp-c wcscmp-sse2
60078 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60079 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60080 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60081 * wcsmbs/wcscmp.c: Allow renaming.
60082
15c95c5d
DM
600832011-09-05 David S. Miller <davem@davemloft.net>
60084
60085 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60086 stack slot, rather than the struct return pointer slot.
60087 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60088 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60090 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60091
2f0ad8f3
UD
600922011-09-05 Ulrich Drepper <drepper@gmail.com>
60093
d88ae418
UD
60094 * po/ja.po: Update from translation team.
60095
2f0ad8f3
UD
60096 [BZ #13144]
60097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60098 kernel in 64-bit binaries.
60099
5f4318d1
DM
601002011-09-01 David S. Miller <davem@davemloft.net>
60101
60102 * elf/elf.h (HWCAP_SPARC_*): Move to..
60103 * sysdeps/sparc/sysdep.h: this new file and add new values.
60104 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60105 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60106 _DL_HWCAP_COUNT to 24.
60107 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60108 entries.
60109 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60110 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60111 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60113 instead of magic constants.
60114 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60115
3ba57516
DM
601162011-08-31 David S. Miller <davem@davemloft.net>
60117
60118 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60120 Reimplement to do errno handling inline.
60121 (SYSCALL_ERROR_HANDLER): New macro.
60122 (__SYSCALL_STRING): Do not do errno handling in asm.
60123 (__CLONE_SYSCALL_STRING): Delete.
60124 (__INTERNAL_SYSCALL_STRING): Delete.
60125 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60126 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60127 (PSEUDO): Reimplement to do errno handling inline.
60128 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60129 (SYSCALL_ERROR_HANDLER): New macro.
60130 (__SYSCALL_STRING): Do not do errno handling in asm.
60131 (__CLONE_SYSCALL_STRING): Delete.
60132 (__INTERNAL_SYSCALL_STRING): Delete.
60133 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60134 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60135 i386.
60136 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60137 (inline_syscall*): Add 'err' argument.
60138 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60139 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60140 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60141 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60142
60143 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60144 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60145
2bc17433
AS
601462011-08-30 Andreas Schwab <schwab@redhat.com>
60147
60148 * elf/rtld.c (dl_main): Relocate objects in dependency order.
60149
fbeb5f4d
JO
601502011-08-29 Jiri Olsa <jolsa@redhat.com>
60151
60152 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60153 directive.
60154
ad69cc26
DM
601552011-08-24 David S. Miller <davem@davemloft.net>
60156
60157 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60158
39dd69df
AS
601592011-08-24 Andreas Schwab <schwab@redhat.com>
60160
60161 * elf/Makefile: Add rules to build and run unload8 test.
60162 * elf/unload8.c: New file.
60163 * elf/unload8mod1.c: New file.
60164 * elf/unload8mod1x.c: New file.
60165 * elf/unload8mod2.c: New file.
60166 * elf/unload8mod3.c: New file.
60167
60168 * elf/dl-close.c (_dl_close_worker): Reset private search list if
60169 it wasn't used.
60170
2c0b250a
DM
601712011-08-23 David S. Miller <davem@davemloft.net>
60172
60173 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60174 subtract stack bias.
60175 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60176 %sp not %fp in calculations.
60177 (_JMPBUF_UNWINDS_ADJ): Likewise.
60178
22044b48
DM
60179 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60180 (aio_suspend): Call it to force an exception region around the
60181 AIO_MISC_WAIT() invocation.
60182
2cae4995
AS
601832011-08-23 Andreas Schwab <schwab@redhat.com>
60184
60185 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60186 backslash.
60187
873a772e
AJ
601882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
60189
60190 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60191 protection macro.
60192 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60193 and <dl-machine.h>.
60194 (Elf64_FuncDesc): Remove.
60195
25ad0df1
DM
601962011-08-22 David S. Miller <davem@davemloft.net>
60197
60198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60199 sigaltstack check, add missing cfi directives.
60200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60201 missing cfi directives, and sigaltstack handling.
60202
e888bcbe
AS
602032011-08-16 Andreas Schwab <schwab@redhat.com>
60204
60205 [BZ #11724]
60206 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60207 object is seen twice.
60208 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60209
60210 * elf/Makefile (distribute): Add tst-initorder2.c.
60211 (tests): Add tst-initorder2.
60212 (modules-names): Add tst-initorder2a tst-initorder2b
60213 tst-initorder2c tst-initorder2d. Add rules to build them.
60214 ($(objpfx)tst-initorder2.out): New rule.
60215 * elf/tst-initorder2.c: New file.
60216 * elf/tst-initorder2.exp: New file.
60217
87162f46
AS
602182011-08-22 Andreas Schwab <schwab@redhat.com>
60219
70538b7f
AS
60220 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60221
f55ffe58
AS
60222 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60223 dependencies back to end of function.
60224
87162f46
AS
60225 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60226 $(elfobjdir)/ld.so.
60227
91b392a4
UD
602282011-08-21 Ulrich Drepper <drepper@gmail.com>
60229
60230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60231 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60233 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60234 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60235 of __vdso_gettimeofday.
60236 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60237 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
60238 attribute_hidden.
60239 (_libc_vdso_platform_setup): Remove initialization of
60240 __vdso_gettimeofday and __vdso_time.
60241
5c43483f
UD
602422011-08-20 Ulrich Drepper <drepper@gmail.com>
60243
775a77e7
UD
60244 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60245 and fgetc_unlocked.
60246 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60247 getc_unlocked.
89f447ed 60248
49c74ba9
UD
60249 * elf/dl-open.c (add_to_global): Report additions to the global scope
60250 for LD_DEBUG=scopes.
60251 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 60252 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 60253
5c43483f
UD
60254 [BZ #13114]
60255 * stdio-common/Makefile (tests): Add bug24.
60256 * stdio-common/bug24.c: New file.
60257
a101b025
AJ
602582011-08-19 Andreas Jaeger <aj@suse.de>
60259
60260 [BZ #13114]
60261 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60262 non-existant file when using close-on-exec mode.
60263
c88f1766
UD
602642011-08-20 Ulrich Drepper <drepper@gmail.com>
60265
0276a718
UD
60266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60267 the very first instruction.
60268
c88f1766
UD
60269 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60270 the CFI state in the end.
60271 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60272 inclusion of dl-trampoline.h.
60273 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60274
51ccffa0
AS
602752011-08-19 Andreas Schwab <schwab@redhat.com>
60276
94d7165f
AS
60277 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60278 expectations for long double.
60279
51ccffa0
AS
60280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60281 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60282
fd708658 602832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
60284
60285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60286 artificual limit depends upon the system page size.
60287
44f0a71e
UD
602882011-08-17 Ulrich Drepper <drepper@gmail.com>
60289
60290 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60291 * resolv/Makefile: Define CFLAGS-libresolv.
60292
8de79a24
AS
602932011-08-17 Andreas Schwab <schwab@redhat.com>
60294
60295 * nss/makedb.c (compute_tables): Make variables used in nested
60296 function static.
60297
27724598
UD
602982011-08-17 Ulrich Drepper <drepper@gmail.com>
60299
c5305d88
UD
60300 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60301 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60302 if buffer was too small.
60303
27724598
UD
60304 * elf/pldd.c (main): Attach to all threads in the process.
60305 Rewrite /proc handling to use *at functions.
60306
076fe015
UD
603072011-08-16 Ulrich Drepper <drepper@gmail.com>
60308
174baab3
UD
60309 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60310 specifies first scope to show.
60311 (dl_open_worker): Update callers. Move printing scope of new
60312 object to before the relocation.
44f0a71e 60313 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
60314 * sysdeps/generic/ldsodefs.h: Update declaration.
60315
076fe015
UD
60316 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60317 string for the scope number.
60318
a60df2c3
UD
603192011-08-14 Ulrich Drepper <drepper@gmail.com>
60320
60321 * nscd/servicescache.c (cache_addserv): Make sure written is always
60322 initialized.
60323
5e4287d1
RM
603242011-08-14 Roland McGrath <roland@hack.frob.com>
60325
85ae0589
RM
60326 * sysdeps/i386/i486/bits/atomic.h
60327 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60328 statement expression, so as to suppress "set but not used" warning.
60329 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60330
69f63097
RM
60331 * string/strncat.c (STRNCAT): Use prototype definition.
60332
675456ef
RM
60333 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60334 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60335 -Iprograms here.
60336 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60337 (localedef-modules): Add localedef.
60338 (locale-modules): Add locale.
60339
5e4287d1
RM
60340 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60341 * elf/rtld.c (dl_main): Invert order of assignment in last change,
60342 to avoid a warning.
60343
9c96ff23
DM
603442011-08-14 David S. Miller <davem@davemloft.net>
60345
60346 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60347 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60348
f9ddf089
UD
603492011-08-13 Ulrich Drepper <drepper@gmail.com>
60350
44f0a71e 60351 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
60352 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60353 * elf/rtld.c (dl_main): Set l_name of vDSO.
60354 Call _dl_show_scope when DL_DEBUG_SCOPES.
60355 (process_dl_debug): Recognize scopes flag and also set it for all.
60356 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60357 Declare _dl_show_scope.
60358
1dc27704
UD
60359 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60360 (do_dlopen): Pass caller_dlopen to dl_open.
60361 (__libc_dlopen_mode): Initialize caller_dlopen.
60362
f9ddf089
UD
60363 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60364 of libc. Make tolower call locale-independent. Optimize a bit by
60365 using isdigit instead of isalnum.
60366 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60367
9ac533d3
UD
603682011-08-12 Ulrich Drepper <drepper@gmail.com>
60369
60370 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60371 was a dependency or dynamically loaded.
60372
89edf2e9
UD
603732011-08-11 Ulrich Drepper <drepper@gmail.com>
60374
8e999d29
UD
60375 * intl/l10nflist.c: Allow architecture-specific pop function.
60376 * sysdeps/x86_64/l10nflist.c: New file.
60377
89edf2e9
UD
60378 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60379 classification.
60380
14d96785
AS
603812011-08-10 Andreas Schwab <schwab@redhat.com>
60382
60383 * include/dirent.h: Add libc_hidden_proto for scandirat and
60384 scandirat64. Don't declare __scandirat64.
60385 * dirent/scandirat.c: Add libc_hidden_def.
60386 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60387 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60388
6761ac04
DM
603892011-08-10 David S. Miller <davem@davemloft.net>
60390
60391 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60392 enum.
60393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60396
c55fbd1e
UD
603972011-08-09 Ulrich Drepper <drepper@gmail.com>
60398
60399 * Versions.def [libc]: Add GLIBC_2.15.
60400 * dirent/Makefile (routines): Add scandirat and scandirat64.
60401 * dirent/Versions [libc]: Export scandirat and scandirat64 for
60402 GLIBC_2.15.
60403 * dirent/dirent.h: Declare scandirat and scandirat64.
60404 * dirent/scandirat.c: New file.
60405 * dirent/scandirat64.c: New file.
60406 * sysdeps/wordsize-64/scandirat.c: New file.
60407 * sysdeps/wordsize-64/scandirat64.c: New file.
60408 * dirent/opendir.c: Define opendirat.
60409 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
60410 using scandirat.
60411 * dirent/scandir64.c: Adjust for scandir.c change.
60412 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
60413 __scandirat64, and __scandir_cancel_handler.
60414 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
60415 additional parameter and use openat instead of open (outside of ld.so).
60416 Add new __opendir as wrapper around __opendirat.
60417 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60418 here without requiring old scandirat implementation.
60419
879165f2
UD
604202011-08-08 Ulrich Drepper <drepper@gmail.com>
60421
60422 * dirent/scandir.c (cancel_handler): Renamed to
60423 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
60424 defined. Adjust users.
60425 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60427
cb7e923b
UD
604282011-08-04 Ulrich Drepper <drepper@gmail.com>
60429
16292edd
UD
60430 * string/test-string.h (IMPL): Use __STRING to expand name and then
60431 stringify it.
60432
cb7e923b
UD
60433 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
60434 of cleanups.
60435
cff82933
LD
604362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60437
60438 * string/Makefile: Update.
60439 (strop-tests): Append strncat.
60440 * string/test-wcscmp.c: New file.
60441 New comprehensive test for wcscmp.
60442 * string/test-strcmp.c: Update.
60443 (WIDE): New define.
60444
9be9bfcc
AS
604452011-07-22 Andreas Schwab <schwab@redhat.com>
60446
60447 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60448 line.
60449
2e96f1c7
AS
604502011-07-26 Andreas Schwab <schwab@redhat.com>
60451
60452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60453 encoding to ACE if AI_IDN.
60454
85188888
JJ
604552011-08-01 Jakub Jelinek <jakub@redhat.com>
60456
60457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60458 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60459
5fa16e9b
LD
604602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60461
60462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60463 Fix overflow bug in strncat.
60464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60465
60466 * string/test-strncat.c: Update.
60467 Add new tests for checking overflow bugs.
60468
604692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60470
60471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60472 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60473 * sysdeps/i386/i686/multiarch/strcat.S: New file.
60474 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60475 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60476 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60477 * sysdeps/i386/i686/multiarch/strncat.S: New file.
60478 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60479 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60480
60481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60482 (USE_AS_STRCAT): Define.
60483 Add strcat and strncat support.
60484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60485
8c1a459f
AS
604862011-07-25 Andreas Schwab <schwab@redhat.com>
60487
60488 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60489 __n bigger than INT_MAX+1.
60490 (__strncmp_g): Likewise.
60491
bba33c28
UD
604922011-07-23 Ulrich Drepper <drepper@gmail.com>
60493
798be72d
UD
60494 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60495 * libio/stido.h: Likewise.
60496
8accd4dc
UD
60497 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60498 (AF_NFC): Define.
60499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60500 (AF_NFC): Define.
60501
cbff0d96
UD
60502 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60507
9191c04a
UD
60508 [BZ #13021]
60509 * scripts/test-installation.pl: Don't expect libnss_test1 to be
60510 installed.
60511
bba33c28
UD
60512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60513 typo.
60514 (_dl_x86_64_save_sse): Likewise.
60515
90f139dd
UD
605162011-07-22 Ulrich Drepper <drepper@gmail.com>
60517
1aae088a
UD
60518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60519 OSXSAVE.
60520 (_dl_x86_64_save_sse): Likewise.
60521
8e2045f5
UD
60522 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60523
90f139dd
UD
60524 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60525
1d002f25
AS
605262011-07-21 Andreas Schwab <schwab@redhat.com>
60527
60528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60529 change.
60530 (_dl_x86_64_save_sse): Use correct AVX check.
60531
21137f89
UD
605322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60533
60534 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60535 bug in strncpy/strncat.
60536 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60537
a65c0b7a
UD
605382011-07-21 Ulrich Drepper <drepper@gmail.com>
60539
60540 * string/tester.c (test_strcat): Add tests for different alignments
60541 of source and destination.
60542 (test_strncat): Likewise.
60543
6986b98a
UD
605442011-07-20 Ulrich Drepper <drepper@gmail.com>
60545
90bb2039
UD
60546 [BZ #12852]
60547 * posix/glob.c (glob): Check passed in values before using them in
60548 expressions to avoid some overflows.
60549 (glob_in_dir): Likewise.
60550
5644ef54
UD
60551 [BZ #13007]
60552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60553 check for AVX enablement so that we don't crash with old kernels and
60554 new hardware.
60555 * elf/tst-audit4.c: Add same checks here.
60556 * elf/tst-audit6.c: Likewise.
60557
60558 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 60559
bfc9dc9b
AS
605602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
60561
60562 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60563
702e64bb
UD
605642011-07-20 Ulrich Drepper <drepper@gmail.com>
60565
60566 * po/cs.po: Update from translation team.
60567 * po/bg.po: Likewise.
60568
295e904f
MP
605692011-07-12 Marek Polacek <mpolacek@redhat.com>
60570
60571 * misc/sys/cdefs.h: Add support for const attribute.
60572 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60573 to gnu_dev_{major,minor,makedev} functions.
60574
3ff94596
MP
605752011-07-20 Marek Polacek <mpolacek@redhat.com>
60576
60577 * intl/dcigettext.c (get_output_charset): Add missing bracket.
60578
28b59fca
AS
605792011-07-20 Andreas Schwab <schwab@redhat.com>
60580
60581 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60582 strlen results.
60583
19df733e
AK
605842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60585
60586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60587 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60588 register in order to avoid conflicts with the soft frame pointer
60589 being held in r11 when necessary.
60590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60591 (INTERNAL_VSYSCALL_NCS): Likewise.
60592
c8835729
MP
605932011-07-14 Marek Polacek <mpolacek@redhat.com>
60594
60595 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60596 * elf/dl-fini.c (_dl_fini): Adjust caller.
60597 * elf/dl-close.c (_dl_close_worker): Likewise.
60598 * sysdeps/generic/ldsodefs.h: Adjust declaration.
60599
b902330c
MP
606002011-07-15 Marek Polacek <mpolacek@redhat.com>
60601
8991e135
MP
60602 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60603 "aux_cache->nlibs < 0".
60604
b902330c
MP
60605 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60606 in the reload-count case.
60607
99710781
LD
606082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60609
60610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60611 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60612 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60613 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60614 * sysdeps/x86_64/multiarch/strcat.S: New file.
60615 * sysdeps/x86_64/multiarch/strncat.S: New file.
60616 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60617 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60618 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60619 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60621 (USE_AS_STRCAT): Define.
60622 Add strcat and strncat support.
60623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60624 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60625 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60626 * string/strncat.c: Update.
60627 (USE_AS_STRNCAT): Define.
60628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60629 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60630 and i7.
60631 * sysdeps/x86_64/multiarch/init-arch.h
60632 (bit_Prefer_PMINUB_for_stringop): New.
60633 (index_Prefer_PMINUB_for_stringop): Likewise.
60634 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60635 bit_Prefer_PMINUB_for_stringop.
60636
7dc6bd90
UD
606372011-07-19 Ulrich Drepper <drepper@gmail.com>
60638
60639 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60640 buffer64.
60641 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60642 of casting of buffer.
60643 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60644 buffer32 and buffer64.
60645 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60646 writes instead of casting of buffer.
60647 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60648 buffer32.
60649 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60650 casting of buffer.
60651
e0e72284
AS
606522011-07-19 Andreas Schwab <schwab@redhat.com>
60653
60654 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60655
feb1eb0b
UD
606562011-07-19 Ulrich Drepper <drepper@gmail.com>
60657
60658 * nscd/nscd.c (termination_handler): Don't do anything for a database
60659 if it has not yet been initialized.
60660
298711ff
UD
606612011-07-18 Ulrich Drepper <drepper@gmail.com>
60662
60663 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60664
606652011-07-15 Marek Polacek <mpolacek@redhat.com>
60666
60667 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60668
f9d68389
UD
606692011-07-18 Ulrich Drepper <drepper@gmail.com>
60670
60671 * po/nl.po: Update from translation team.
60672 * po/sv.po: Likewise.
60673
db290cf5
RM
606742011-07-16 Roland McGrath <roland@hack.frob.com>
60675
60676 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60677 now disallowed by GCC.
5c550700 60678
fd5e21c7
RM
60679 * configure.in (use-default-link): Default to yes if a test -shared
60680 link meets our qualifications.
60681 * configure: Regenerated.
60682
5c550700
RM
60683 * config.make.in (output-format): New variable.
60684 * configure.in: Check for ld --print-output-format support.
60685 * configure: Regenerated.
60686 * Makerules ($(common-objpfx)format.lds)
60687 [$(output-format) != unknown]: Just use $(output-format),
60688 instead of the linker-script munging.
60689
9fa2c032
RM
606902011-07-14 Roland McGrath <roland@hack.frob.com>
60691
a6928d51
RM
60692 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60693 of $(common-objpfx)shlib.lds.
60694 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60695
661607b3
RM
60696 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60697 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60698
9fa2c032
RM
60699 * configure.in (-z relro check): Adjust test code to add a large
60700 writable data section after it.
60701 * configure: Regenerated.
60702
defe9061
RM
607032011-07-11 Roland McGrath <roland@hack.frob.com>
60704
60705 * configure.in (-z relro check): Fix test code to make the variable
60706 truly const.
60707 * configure: Regenerated.
60708
319b9ad4
UD
607092011-07-11 Ulrich Drepper <drepper@gmail.com>
60710
60711 * nscd/nscd.h (struct traced_file): Define.
60712 (struct database_dyn): Remove inotify_descr, reset_res, and filename
60713 elements. Add traced_files.
60714 (inotify_fd): Declare.
60715 (register_traced_file): Declare.
60716 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60717 (inotify_fd): Export.
60718 (resolv_conf_descr): Remove.
60719 (nscd_init): Move inotify descriptor creation to main.
60720 Don't register files for notification here.
60721 (register_traced_file): New function.
60722 (invalidate_cache): Don't use reset_res to determine whether to call
60723 res_init, go through the list of registered files.
60724 (main_loop_poll): The inotify descriptors are now stored in the
60725 structures for the traced files.
60726 (main_loop_epoll): Likewise
60727 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
60728 to __nss_disable_nscd.
60729 * nscd/cache.c (prune_cache): There is no single inotify descriptor
60730 for a database anymore. Check the records for all the registered
60731 files instead.
60732 * nss/Makefile (libnss_files-routines): Add files-init.
60733 (libnss_db-routines): Add db-init.
60734 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60735 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60736 * nss/nss_db/db-init.c: New file.
60737 * nss/nss_files/files-init.c: New file.
60738 * nss/nsswitch.c (nss_load_library): New function. Broken out of
60739 __nss_lookup_function.
60740 (__nss_lookup_function): Call nss_load_library.
60741 (nss_load_all_libraries): New function.
60742 (__nss_disable_nscd): Take parameter with callback function for files
60743 to register. Set is_nscd. Load all the DSOs for the NSS modules
60744 used for the cached services.
60745 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60746 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60747 options for features to all the files in nscd.
60748
60749 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60750
23bee3e8
RM
607512011-07-10 Roland McGrath <roland@hack.frob.com>
60752
60753 * csu/elf-init.c (__libc_csu_init): Comment typo.
60754
46a5b7f0
UD
607552011-07-09 Ulrich Drepper <drepper@gmail.com>
60756
60757 * po/pl.po: Update from translation team.
60758 * po/ja.po: Likewise.
60759 * po/ru.po: Likewise.
60760 * po/ko.po: Likewise.
60761 * po/fr.po: Likewise.
60762
d30cf5bb
RM
607632011-07-09 Roland McGrath <roland@hack.frob.com>
60764
113ddea4
RM
60765 * configure.in (.ctors/.dtors header and trailer check):
60766 Use an empirical test on a built program.
60767 * configure: Regenerated.
60768
574920b4
RM
60769 * configure.in (-z relro check): Use an empirical test on a built DSO.
60770 Detect, but do not require, on ia64.
60771 * configure: Regenerated.
60772
d30cf5bb
RM
60773 * configure.in (READELF): Find it with AC_CHECK_TOOL.
60774 Update tests that use readelf to use $READELF instead.
60775 * configure: Regenerated.
60776
8538fdb3
UD
607772011-07-08 Ulrich Drepper <drepper@gmail.com>
60778
60779 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60780 if the result is not used.
60781
04d08991
AJ
607822011-07-05 Andreas Jaeger <aj@suse.de>
60783
60784 [BZ#9696]
60785 * stdlib/tst-strtod.c: Add testcase.
60786
de283087
AD
607872011-07-07 Ulrich Drepper <drepper@gmail.com>
60788
4e5f31c8 60789 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 60790 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
60791 The latter has a higher limit. Take additional parameter to pass to
60792 the new function.
60793 (__pathconf): Pass file to __statfs_link_max.
60794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60795 __statfs_link_max.
60796 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60797 __statfs_link_max.
60798
de283087
AD
60799 [BZ #12868]
60800 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60802 Handle Lustre.
60803 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60804 (__statfs_filesize_max): Likewise.
60805 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60806
c75fa153
AJ
608072011-07-05 Andreas Jaeger <aj@suse.de>
60808
60809 * resolv/res_comp.c (dn_skipname): Remove unused variable.
60810
1a544854
UD
608112011-07-06 Marek Polacek <mpolacek@redhat.com>
60812
60813 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60814 `status' variable.
60815 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60816 Likewise.
60817
6f0eec67
UD
608182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
60819
60820 * Makefile (strop-tests): Add strncat.
60821 * string/test-strncat.c: New file.
60822
aae30307
UD
608232011-06-30 Marek Polacek <mpolacek@redhat.com>
60824
60825 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60826
c0cfb5eb
UD
608272011-06-21 Andreas Jaeger <aj@suse.de>
60828
60829 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60830 Copy rule from iconvdata/Makefile.
60831
01636b21
UD
608322011-07-06 Ulrich Drepper <drepper@gmail.com>
60833
60834 [BZ #12922]
60835 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60836 but no long options are defined, just return 'W'.
60837
9895c8bc
UD
608382011-06-22 Marek Polacek <mpolacek@redhat.com>
60839
60840 [BZ #9696]
60841 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60842
5d4cf042
UD
608432011-07-06 Ulrich Drepper <drepper@gmail.com>
60844
60845 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60846 netgroups to read.
960e5535 60847 (innetgr): Likewise.
5d4cf042 60848
751eb97e
RM
608492011-07-05 Roland McGrath <roland@hack.frob.com>
60850
60851 * config.make.in (install_root): Default to $(DESTDIR).
60852
f15f1e45
UD
608532011-07-05 Ulrich Drepper <drepper@gmail.com>
60854
60855 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60856
4e34ac6a
RM
608572011-07-02 Roland McGrath <roland@hack.frob.com>
60858
5e9b6af4
RM
60859 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60860
84f9ea0f
RM
60861 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60862 containing directory rather than embedding absolute directory names.
60863
ea5ee9f7
RM
60864 * scripts/check-local-headers.sh: Rewritten using awk.
60865 Match by word, not by line. Print error messages for matches.
60866 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60867
1b74661a
RM
60868 * Makerules [shlib-lds-flags empty]:
60869 ($(common-objpfx)libc_pic.opts): New target.
60870 ($(common-objpfx)libc_pic.os.clean): New target.
60871 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60872
60873 * config.make.in (OBJCOPY): New variable.
60874 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60875 * configure: Regenerated.
60876
f781ef40
RM
60877 * config.make.in (use-default-link): New variable.
60878 * configure.in (use_default_link): Grok --with-default-link to set it.
60879 * configure: Regenerated.
60880 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60881 (shlib-lds, shlib-lds-flags): Define to empty.
60882
2d4fa81e
RM
60883 * Makerules (shlib-lds): New variable.
60884 (shlib-lds-flags): New variable.
60885 (build-shlib, build-moduile, build-module-asneeded): Use it.
60886 ($(common-objpfx)libc.so): Use $(shlib-lds).
60887 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60888 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60889
31fffa6b
RM
60890 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60891 DT_FLAGS/DT_FLAGS_1 with zero flags.
60892
4e34ac6a
RM
60893 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60894 linker script munging.
60895
fcfc776b
UD
608962011-07-02 Ulrich Drepper <drepper@gmail.com>
60897
60898 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60899 as 128-bit value.
60900 * crypt/sha512.c (sha512_process_block): Perform total addition using
60901 128-bit if possible.
60902 (__sha512_finish_ctx): Likewise.
60903 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60904 as 64-bit value.
60905 * crypt/sha256.c (SWAP64): Define.
60906 (sha256_process_block): Perform total addition using 64-bit if
60907 possible.
60908 (__sha256_finish_ctx): Likewise.
60909
99231d9a
UD
609102011-07-01 Ulrich Drepper <drepper@gmail.com>
60911
60912 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
60913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60914 * nscd/hstcache.c (cache_addhst): Likewise.
60915 * nscd/grpcache.c (cache_addgr): Likewise.
60916 * nscd/aicache.c (addhstaiX): Likewise
60917 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60918
445b4a53
TK
609192011-07-01 Thorsten Kukuk <kukuk@suse.de>
60920
60921 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60923 * nscd/hstcache.c (cache_addhst): Likewise.
60924 * nscd/grpcache.c (cache_addgr): Likewise.
60925 * nscd/aicache.c (addhstaiX): Likewise
60926
6d4d8e8e
AS
609272011-07-01 Andreas Schwab <schwab@redhat.com>
60928
60929 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60930 domain only when needed.
60931
89f654c5
AS
609322011-06-30 Andreas Schwab <schwab@redhat.com>
60933
60934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60935 is always restored.
60936
cf3b23ff
UD
609372011-06-29 Ulrich Drepper <drepper@gmail.com>
60938
60939 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60940 are re-adding the entry.
60941 * nscd/servicescache.c (cache_addserv): Likewise.
60942
751626f9
AJ
609432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
60944
60945 * sysdeps/generic/dl-irel.h: fix protection against multiple
60946 inclusions.
60947 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60948
9113ea1f
UD
609492011-06-28 Ulrich Drepper <drepper@gmail.com>
60950
5c0b8d90
UD
60951 [BZ #12935]
60952 * malloc/memusage.sh: Fix quoting in message.
60953 * debug/xtrace.sh: Likewise.
60954
9113ea1f
UD
60955 * configure.in: Remove support for --experimental-malloc option, make
60956 it the default.
60957 * config.make.in: Likewise.
60958 * malloc/Makefile: Likewise.
60959
a4172181
AS
609602011-06-27 Andreas Schwab <schwab@redhat.com>
60961
60962 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60963 two-byte characters.
60964
78a7eee7
RM
609652011-06-27 Roland McGrath <roland@hack.frob.com>
60966
62bede13
RM
60967 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60968 AC_CACHE_CHECK invocation.
60969 * configure: Regenerated.
60970
78a7eee7
RM
60971 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60972
5ce33a62
UD
609732011-06-27 Ulrich Drepper <drepper@gmail.com>
60974
034807a9
UD
60975 [BZ #12350]
60976 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
60977 bit from old_res_options.
60978
4902da17
UD
60979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60980
5ce33a62
UD
60981 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60982 value type for setfct.
60983
c2344f56
L
609842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
60985
60986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60987 __gettimeofday instead of gettimeofday.
60988
68468076
UD
609892011-06-26 Ulrich Drepper <drepper@gmail.com>
60990
60991 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60992
acb0d739
L
609932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
60994
60995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60996
60997 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60998 info.
60999
8912479f
L
610002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
61001
61002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61003 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61004 strcpy-sse2-unaligned strncpy-sse2-unaligned
61005 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61006 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61007 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61008 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61009 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61012 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61013 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61014 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61015 (STRCPY): Support SSE2 and SSSE3 versions.
61016
d5495a11
UD
610172011-06-24 Ulrich Drepper <drepper@gmail.com>
61018
61019 [BZ #12874]
61020 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61021 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61022 kernels which artificially limit size of requests.
61023
0b1cbaae
L
610242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
61025
61026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61027 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61028 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61029 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61030 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61031 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61032 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61033 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61036 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61037 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61038 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61039 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61040 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61042 Enable unaligned load optimization for Intel Core i3, i5 and i7
61043 processors.
61044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61045 Define.
61046 (index_Fast_Unaligned_Load): Define.
61047 (HAS_FAST_UNALIGNED_LOAD): Define.
61048
07f494a0
MP
610492011-06-23 Marek Polacek <mpolacek@redhat.com>
61050
61051 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61052
fa3fc0fe
UD
610532011-06-22 Ulrich Drepper <drepper@gmail.com>
61054
61055 [BZ #12907]
61056 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61057 until it is clear that the information is realy needed.
61058 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61059
e12df166
AS
610602011-06-22 Andreas Schwab <schwab@redhat.com>
61061
61062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61063
852eb34d
UD
610642011-06-22 Ulrich Drepper <drepper@gmail.com>
61065
84e2a551
UD
61066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61067 /sys/devices/system/cpu/online if it is usable.
61068
852eb34d
UD
61069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61070 reading the information from the /proc filesystem to once a second.
61071
6e502e19
UD
610722011-06-21 Andreas Jaeger <aj@suse.de>
61073
61074 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61075 NULL after inclusion of kernel headers.
61076
75d39ff2
UD
610772011-06-21 Ulrich Drepper <drepper@gmail.com>
61078
51f9aa6a
UD
61079 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61080 calls to internal_setent.
61081
c0244a9d
UD
61082 [BZ #12885]
61083 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61084 addresses using gethostbyname4_r ignore IPv4 addresses.
61085
c5e3c2ae
UD
61086 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61087 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
61088
75d39ff2
UD
61089 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61090
42675c6f
DM
610912011-06-20 David S. Miller <davem@davemloft.net>
61092
61093 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61094 inclusions.
61095 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61096
61097 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61098 (elf_irel): Use it.
61099 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61100 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61101 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61102 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61103 * sysdeps/x86_64/dl-irel.h: Likewise.
61104
61105 * elf/dl-runtime.c: Use elf_ifunc_invoke.
61106 * elf/dl-sym.c: Likewise.
61107
57912a71
UD
611082011-06-15 Ulrich Drepper <drepper@gmail.com>
61109
61110 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
61111 need to dereference resplen2.
61112
ee22793d
AS
611132011-06-14 Andreas Schwab <schwab@redhat.com>
61114
61115 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61116
a9e836b0
UD
611172011-06-15 Ulrich Drepper <drepper@gmail.com>
61118
77fb9117
UD
61119 * Makeconfig: Define vardbdir and inst_vardbdir.
61120 * nss/Makefile: Add rules to install db-Makefile.
61121
40c1b22c
UD
61122 * nss/nss_db/db-XXX.c: Cleanup.
61123
9f2da732
UD
61124 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61125 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61126 GLIBC_PRIVATE.
61127 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61128 * nss/makedb.c: Implement -g option to specify that value strings
61129 are generated and should not be added to table iterated over for
61130 get*ent calls.
61131 * nss/nss_db/db-initgroups.c: New file.
61132
82e9a1f7
UD
61133 * nss/getent.c: Add support for initgroups lookups through getgrouplist
61134 interface.
61135
c41af17e
UD
61136 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61137 (internal_getgrouplist): Adjust to name change.
61138 Update use_initgroups_entry if this is not the first call.
61139 * nss/databases.def: Add initgroups entry.
61140
a9e836b0
UD
61141 * nss/makedb.c (compute_tables): Check result of multiple hash table
61142 sizes to minimize maximum chain length.
61143
2666d441
UD
611442011-06-14 Ulrich Drepper <drepper@gmail.com>
61145
61146 * Versions.def: Add entry for libnss_db.
61147 * shlib-versions: Likewise.
61148 * nss/Makefile: Add rules to build libnss_db.
61149 * nss/Versions: Add libnss_db information. Organize libnss_files
61150 entries better.
61151 * nss/db-Makefile: Add gshadow support. Change rules for the new
61152 makedb progra. Some minor improvements to generate smaller files.
61153 * nss/nss_db/nss_db.h: Move NSS database header data structures to
61154 here from...
61155 * nss/makedb.c: ...here.
61156 Improve database format to be smaller and require less memory at
61157 runtime.
61158 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
61159 db anymore.
61160 * nss/nss_db/db-netgrp.c: Likewise.
61161 * nss/nss_db/db-open.c: Likewise.
61162 * nss/nss_files/flies-XXX.x: Adjust comments.
61163 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61164 * nss/nss_files/files-grp.c: Likewise.
61165 * nss/nss_files/files-hosts.c: Likewise.
61166 * nss/nss_files/files-network.c: Likewise.
61167 * nss/nss_files/files-proto.c: Likewise.
61168 * nss/nss_files/files-pwd.c: Likewise.
61169 * nss/nss_files/files-rpc.c: Likewise.
61170 * nss/nss_files/files-service.c: Likewise.
61171 * nss/nss_files/files-sgrp.c: Likewise.
61172 * nss/nss_files/files-spwd.c: Likewise.
61173 * nss/nss_db/db-alias.c: Removed.
61174 * nss/nss_db/dummy-db.h: Removed.
61175
9ee76b5a
UD
611762011-06-02 Ulrich Drepper <drepper@gmail.com>
61177
61178 * nss/makedb.c: Rewritten to not use database library.
61179 * nss/Makefile: Update to build new makedb program.
61180
c71ca1f8
AJ
611812011-06-14 Andreas Jaeger <aj@suse.de>
61182
61183 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61184 memset declaration.
61185
3154bfb8
UD
611862011-06-10 Andreas Schwab <schwab@redhat.com>
61187
61188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61189 tmpbuf.
61190
b350afab
RM
611912011-06-10 Roland McGrath <roland@hack.frob.com>
61192
decd4e50
RM
61193 * Makerules (shlib.lds): Fail if the linker script comes out empty.
61194 * elf/Makefile ($(objpfx)ld.so): Likewise.
61195
5615eaf2
RM
61196 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61197 Don't list ld.so twice in dependencies.
61198
61199 * posix/bug-regex31.c: Include <stdlib.h>.
61200
61201 * nscd/hstcache.c (cache_addhst): Remove unused variable.
61202
61203 * nis/nss_compat/compat-spwd.c
61204 (getspent_next_nss_netgr): Remove unused variable.
61205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61206
61207 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61208 nonmembers" output to use the right array.
61209
61210 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61211
61212 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61213
61214 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61215 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61216 * catgets/gencat.c (read_input_file): Likewise.
61217 * locale/programs/locarchive.c (enlarge_archive): Likewise.
61218
61219 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61220 variable definition inside #if's controlling its use.
61221
61222 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61223
61224 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61225
61226 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61227
61228 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61229 unreachable code.
61230
61231 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61232
b68e08db
RM
61233 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61234 * configure: Regenerated.
61235
b350afab
RM
61236 * Makerules: Revert last change.
61237 * elf/Makefile: Likewise.
61238
28368601
RM
612392011-06-09 Roland McGrath <roland@hack.frob.com>
61240
61241 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61242 * elf/Makefile ($(objpfx)librtld.os): Likewise.
61243 (reloc-link): Likewise.
61244
11988f8f
UD
612452011-06-09 Ulrich Drepper <drepper@gmail.com>
61246
61247 * elf/Makefile: Add rules to build pldd.
61248 * elf/pldd.c: New file.
61249 * elf/pldd-xx.c: New file.
61250
e80fab37
UD
612512011-06-07 Ulrich Drepper <drepper@gmail.com>
61252
61253 * version.h: Update for 2.15 development version.
61254
9b849836
DM
612552011-06-07 David S. Miller <davem@davemloft.net>
61256
61257 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61258 ifuncs.
61259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61260 elf_machine_lazy_rel): Likewise.
61261 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61263 elf_machine_lazy_rel): Likewise.
61264 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61265 dl_hwcap via passed in argument.
61266 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61267 Likewise.
61268
5a31b283
AK
612692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61270
61271 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
61272
069e52f8
RM
612732011-06-06 Roland McGrath <roland@hack.frob.com>
61274
61275 [BZ #12849]
61276 * manual/fdl-1.1.texi: New file, verbatim from:
61277 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61278 * manual/lgpl-2.1.texi: New file, verbatim from:
61279 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61280 * manual/Makefile (licenses): New variable, list those new file names.
61281 (texis): Use it.
61282 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61283
61284 * manual/fdl.texi: File removed.
61285 * manual/lesser.texi: File removed.
61286 * manual/libc.texinfo (Copying, Documentation License):
61287 Use new @include file names, put @appendix directive before @include.
61288
f16846a5
JJ
612892011-06-04 Jakub Jelinek <jakub@redhat.com>
61290
61291 [BZ #12841]
61292 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61293 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61294 (mq_open): Add __NTH.
61295
3d29045b
L
612962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
61297
61298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61299 Assume Intel Core i3/i5/i7 processor if AVX is available.
61300
8c297311
UD
613012011-05-31 Ulrich Drepper <drepper@gmail.com>
61302
61303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61304 typo.
61305
c8fc0c91
UD
613062011-05-31 Andreas Schwab <schwab@redhat.com>
61307
61308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61309 memory. Use alloca_account. Fix memory leak when retrying.
61310
5b27a807
UD
613112011-05-31 Ulrich Drepper <drepper@gmail.com>
61312
356f8bc6
UD
61313 * version.h (RELEASE): Bump for 2.14 release.
61314 * include/features.h (__GLIBC_MINOR__): Bump to 14.
61315
5b27a807
UD
61316 * config.make.in (RANLIB): Remove entry.
61317
01f16ab0
UD
613182011-05-30 Ulrich Drepper <drepper@gmail.com>
61319
41fce8bd
UD
61320 * po/Makefile (po-sed-cmd): Add ksh to extensions.
61321 (libc.pot): Work around missing support for .ksh extension in xgettext.
61322
4769ae77
UD
61323 [BZ #12684]
61324 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61325 if both request failed.
61326 (send_dg): In case of server errors clear resplen or *resplen2.
61327
6b1e7d19
UD
61328 [BZ #12454]
61329 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61330 when there are multiple maps.
61331 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61332 (_dl_fini): Remove test here.
61333
01f16ab0
UD
61334 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61335
b1ebd700
UD
613362011-05-29 Ulrich Drepper <drepper@gmail.com>
61337
7ae22829
UD
61338 [BZ #12350]
61339 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61340 bit from old_res_options.
61341 (gaih_inet): Likewise.
61342
553149f6 61343 [BZ #11099]
18a84741 61344 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
61345 as signed.
61346
652ffab1
UD
61347 * resolv/res_init.c (res_setoptions): Make the code more compact.
61348
16985fd0
UD
61349 [BZ #11558]
61350 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61351 set RES_USEVC.
61352
0464f746
UD
61353 [BZ #11634]
61354 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61355
7d17596c
UD
61356 * malloc/malloc.h: Mark malloc hook variables as deprecated.
61357
cf6bbbd7
UD
61358 [BZ #11781]
61359 * malloc/malloc.h: Declare malloc hook variables as volatile.
61360
13f1ab36
UD
61361 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61362 in last patch.
61363
b1ebd700
UD
61364 [BZ #11799]
61365 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 61366 raise in the comment.
80e2212d
UD
61367 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61369 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 61370
ce67228d
UD
613712011-05-28 Ulrich Drepper <drepper@gmail.com>
61372
8887a920
UD
61373 [BZ #12811]
61374 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61375 grow the buffers more if it already has to be sufficient.
61376 (build_wcs_upper_buffer): Likewise.
61377 * posix/regexec.c (check_matching): Likewise.
61378 (clean_state_log_if_needed): Likewise.
61379 (extend_buffers): Don't enlarge buffers beyond size of the input
61380 buffer.
61381 Patches mostly by Emil Wojak <emil@wojak.eu>.
61382 * posix/bug-regex32.c: New file.
61383 * posix/Makefile (tests): Add bug-regex32.
61384
4f031072
UD
61385 * locale/findlocale.c (_nl_find_locale): Return right away if
61386 _nl_explode_name failed.
61387 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61388
d0478f0c
UD
61389 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61390
de81b246
UD
61391 * debug/xtrace.sh: Unify messages.
61392 * malloc/memusage.sh: Likewise.
61393
c738465a
UD
61394 [BZ #12813]
61395 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61396 time symbol from vDSO. Substitute with vsyscall if not available.
61397 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61398 __vdso_time.
61399
f1f929d7
UD
61400 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61401 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61402 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61403 Add sendmmsg and internal_sendmmsg.
61404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61405 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61407
ce67228d
UD
61408 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61409 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61411
e57420c6
UD
614122011-05-27 Ulrich Drepper <drepper@gmail.com>
61413
a8509ca5
UD
61414 [BZ #12813]
61415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61416 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
61417 available.
61418 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61419 __vdso_getcpu.
61420
e57420c6
UD
61421 [BZ #12814]
61422 * iconvdata/Makefile (tests): Add bug-iconv9.
61423 * iconvdata/bug-iconv9.c: New file.
61424
4d07db15
AS
614252011-05-27 Andreas Schwab <schwab@redhat.com>
61426
61427 [BZ #12814]
61428 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61429
ea486f69
JJ
614302011-05-25 Jakub Jelinek <jakub@redhat.com>
61431
61432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61433 (struct user_regs_struct): Change intcs field back to cs.
61434
6f038433
UD
614352011-05-25 Ulrich Drepper <drepper@gmail.com>
61436
61437 * po/ja.po: Update from translation team.
61438
67f86a25
UD
614392011-05-23 Ulrich Drepper <drepper@gmail.com>
61440
61441 [BZ #12795]
61442 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61443 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61444
def7fbd6
AS
614452011-05-20 Andreas Schwab <schwab@redhat.com>
61446
61447 * stdlib/longlong.h: Update from GCC.
61448
f50ef8f1
AS
614492011-05-23 Andreas Schwab <schwab@redhat.com>
61450
61451 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61452 parameter name.
61453 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61454 Add parameter name.
61455 (__sysconf): Pass it down.
61456
de7ce8f1
UD
614572011-05-22 Ulrich Drepper <drepper@gmail.com>
61458
f2962a71
UD
61459 [BZ #12671]
61460 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61461 some situations.
61462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61463 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61464 add in in __libc_use_alloca calls. Adjust callers.
61465 (glob): Use malloc in some situations.
61466
de7ce8f1
UD
61467 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61468 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61469 pltexit.
61470
aec84f53
UD
614712011-05-21 Ulrich Drepper <drepper@gmail.com>
61472
05bb4a68
UD
61473 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61474 and CLOCK_BOOTTIME_ALARM.
61475
7ea72f99
UD
61476 [BZ #12782]
61477 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61478 is returned.
61479
7e4afad5
UD
61480 * string/_strerror.c (__strerror_r): Print negative errors as signed
61481 numbers.
61482
8e211fec
UD
61483 [BZ #12777]
61484 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61485 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61486 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61487
f7d82dc9
UD
61488 * configure.in: Fix typo in redirection and correct removal of test
61489 files in two cases.
61490
cc9e536d
UD
61491 [BZ #12788]
61492 * locale/setlocale.c (new_composite_name): Fix test to check for
61493 identical name of all categories.
61494
aec84f53
UD
61495 [BZ #12792]
61496 * libio/filedoalloc.c (local_isatty): New function.
61497 (_IO_file_doallocate): Use local_isatty.
61498 * stdio-common/perror.c (perror): In case a new stream is used
61499 forward the stream error.
61500 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61501 error flag.
61502
78e64fdc
RT
615032011-05-20 Ulrich Drepper <drepper@gmail.com>
61504
34a9094f
UD
61505 [BZ #11869]
61506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61507 alloca.
61508 * include/alloca.h (extend_alloca_account): Define.
61509
78e64fdc
RT
61510 [BZ #11857]
61511 * posix/regex.h: Fix comments with documentation of user-accessible
61512 fields after compilation and describe correct free'ing of pattern
61513 after re_compile_pattern.
61514 Patch by Reuben Thomas <rrt@sc3d.org>.
61515
457bddfc
RA
615162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
61517
61518 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61519 and -mno-altivec to prevent the compiler from using Altivec and/or
61520 VSX instructions when the corresponding registers are not available.
61521
a4527b51
AS
615222011-05-19 Andreas Schwab <schwab@redhat.com>
61523
61524 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61525
ed690b2f
UD
615262011-05-19 Ulrich Drepper <drepper@gmail.com>
61527
61528 * libio/freopen.c (freopen): Use __dup2, not dup2.
61529 * libio/freopen64.c (freopen64): Likewise.
61530
8db73634
L
615312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
61532
61533 [BZ #12775]
61534 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61535 * math/Makefile (tests): Add test-powl.
61536 (CFLAGS-test-powl.c): Define.
61537 * math/test-powl.c: New file.
61538
0a197a9d
L
615392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
61540
61541 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61542
ee30c380
UD
615432011-05-17 Ulrich Drepper <drepper@gmail.com>
61544
61545 [BZ #11837]
61546 * iconvdata/gb18030.c: Update to GB18020-2005.
61547
6ce75379
UD
615482011-05-16 Ulrich Drepper <drepper@gmail.com>
61549
a4b89fd8
AR
61550 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61551 RE_SYNTAX_POSIX_AWK): Update to match recent development.
61552 Patch by Aharon Robbins <arnold@skeeve.com>.
61553
ea389b12
UD
61554 [BZ #11892]
61555 * stdlib/putenv.c (putenv): Don't always create copy of the variable
61556 on the stack.
61557
68a3f91f
UD
61558 [BZ #11895]
61559 * misc/pselect.c (__pselect): Handle timeout value errors hidden
61560 through underflows.
61561
15cc7dd1
UD
61562 [BZ #12766]
61563 * misc/error.c (error_at_line): Ensure file_name and old_file_name
61564 point to strings before performing equality test for error_one_per_line
61565 mode.
61566
f3799213
UD
61567 [BZ #11697]
61568 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61569
d79a9c94
UD
61570 [BZ #11820]
61571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61572 (struct user_fpregs_struct): Avoid __uint*_t types.
61573
56e5eb46
UD
61574 [BZ #6420]
61575 * malloc/mtrace.c (tr_where): Add additional parameter to point to
61576 symbol info. Use it instead of calling _dl_addr locally.
61577 (lock_and_info): New function.
61578 (tr_freehook): Call lock_and_info and pass symbol info as additional
61579 parameter to tr_where.
61580 (tr_mallochook): Likewise.
61581 (tr_reallochook): Likewise.
61582 (tr_memalignhook): Likewise.
61583
6ce75379
UD
61584 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
61585 used and couldn't be at all thread-safe.
61586
f8a3b5bf
UD
615872011-05-15 Ulrich Drepper <drepper@gmail.com>
61588
94b7cc37
UD
61589 * libio/freopen.c (freopen): Don't close old file descriptor
61590 before the new one is opened. Instead dup the new file descriptor
61591 to the old one after the new stream is created.
61592 * libio/freopen64.c (freopen64): Likewise.
61593 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61594 * libio/fileops.c (_IO_new_file_close_it): Handle new
61595 _IO_FLAGS2_NOCLOSE flag.
61596 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61597 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61598 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61599 _IO_FLAGS2_NOCLOSE flag.
61600 * include/unistd.h: Add hidden_proto for dup3.
61601 Define __have_dup3.
61602 * io/dup3.c: Define hidden symbol.
61603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61604
bd25564e
UD
61605 [BZ #7101]
61606 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61607 when an incomplete long option is used.
61608 * posix/tst-getopt_long1.c: New file.
61609 * posix/Makefile (tests): Add tst-getopt_long1.
61610
c84cfef4
UD
61611 [BZ #10138]
61612 * scripts/config.guess: Update from autoconf-2.68.
61613 * scripts/config.sub: Likewise.
61614
3b85df27
UD
61615 [BZ #10157]
61616 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61617 tests into ...
61618 (has_cpuclock): ...this. New function.
61619 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61620 macro here based on has_cpuclock code.
61621
15a856b1
UD
61622 [BZ #10149]
61623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61624 First byte (not low byte) is now always NUL.
61625 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61626
05f399e6
UD
61627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61628 Use non-cancelable interfaces.
61629
10a52685 61630 [BZ #9809]
94ecc67d
UD
61631 * locale/iso-639.def: Add entry for Sorani.
61632
f8a3b5bf
UD
61633 [BZ #11901]
61634 * include/stdlib.h: Move include protection to the right place.
61635 Define abort_msg_s. Declare __abort_msg with it.
61636 * stdlib/abort.c (__abort_msg): Adjust type.
61637 * assert/assert.c (__assert_fail_base): New function. Majority
61638 of code from __assert_fail. Allocate memory for __abort_msg with
61639 mmap.
61640 (__assert_fail): Now call __assert_fail_base.
61641 * assert/assert-perr.c: Remove bulk of implementation. Use
61642 __assert_fail_base.
61643 * include/assert.hL Declare __assert_fail_base.
61644 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61645 mmap.
61646 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61647
1af4e298
UD
616482011-05-14 Ulrich Drepper <drepper@gmail.com>
61649
f8a3b5bf 61650 [BZ #11952]
d26dfc60
MG
61651 [BZ #12453]
61652 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61653 until all modules are registered in the DTV.
61654 * elf/Makefile: Add rules to build and run tst-tls19.
61655 * elf/tst-tls19.c: New file.
61656 * elf/tst-tls19mod1.c: New file.
61657 * elf/tst-tls19mod2.c: New file.
61658 * elf/tst-tls19mod3.c: New file.
61659 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61660
2fc54d6f
UD
61661 [BZ #12083]
61662 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61663 correctly.
61664
98d76b46
UD
61665 [BZ #12601]
61666 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61667 two-byte sequence errors.
61668 * iconvdata/Makefile (tests): Add bug-iconv8.
61669 * iconvdata/bug-iconv8.c: New file.
61670
da3c19ef
UD
61671 [BZ #12626]
61672 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61673 buf2 definition.
61674
ca408c15
UD
61675 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61676
d6f67f7d
UD
61677 [BZ #12432]
61678 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61679 (dummy_getcfa): New function.
61680 (init): Get _Unwind_GetCFA address, use dummy if not found.
61681 (backtrace_helper): In recursion check, also check whether CFA changes.
61682 (__backtrace): Completely initialize arg.
61683
1af4e298 61684 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
61685 storing incomplete byte sequence in state object. Avoid testing for
61686 guaranteed too small input if we know there is enough data available.
1af4e298 61687
da62f81b
AS
616882011-05-11 Andreas Schwab <schwab@redhat.com>
61689
61690 * Makeconfig (+link-pie): Indent.
61691 * Rules (binaries-pie): Define if $(have-fpie) and
61692 $(build-shared).
61693 (binaries-shared): Also filter out $(binaries-pie).
61694 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61695 * nscd/Makefile (others-pie): Add nscd.
61696 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61697 ($(objpfx)nscd): Remove command override.
61698 * login/Makefile (others-pie): Add pt_chown.
61699 ($(objpfx)pt_chown): Remove command override.
61700 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61701 remove command overrides.
61702
fcabc0f8
UD
617032011-05-13 Ulrich Drepper <drepper@gmail.com>
61704
20030ae6
UD
61705 * libio/tst_putwc.c: Fix error messages.
61706
fcabc0f8
UD
61707 [BZ #12724]
61708 * libio/fileops.c (_IO_new_file_close_it): Always flush when
61709 currently writing and seek to current position when not.
61710 * libio/Makefile (tests): Add bug-fclose1.
61711 * libio/bug-fclose1.c: New file.
61712
320a5dc0
PB
617132011-05-12 Ulrich Drepper <drepper@gmail.com>
61714
61715 [BZ #12511]
61716 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61717 don't set DF_1_NODELETE here.
61718 (do_lookup_x): When entering new entry test for copy relocation
61719 and if necessary set DF_1_NODELETE flag.
61720 * elf/tst-unique4.cc: New file.
61721 * elf/tst-unique4.h: New file.
61722 * elf/tst-unique4lib.cc: New file.
61723 * elf/Makefile: Add rules to build and run tst-unique4.
61724 Patch by Piotr Bury <pbury@goahead.com>.
61725
22836f52
UD
617262011-05-11 Ulrich Drepper <drepper@gmail.com>
61727
f574184a
UD
61728 [BZ #12052]
61729 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61730
e1fb097f
UD
61731 [BZ #12625]
61732 * misc/mntent_r.c (addmntent): Flush the stream after the output
61733
22836f52
UD
61734 [BZ #12393]
61735 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61736 (is_trusted_path_normalize): Skip initial colon. Append slash
61737 to empty buffer. Duplicate is_trusted_path code but allow
61738 constructed patch to be prefix.
61739 (is_dst): Allow $ORIGIN followed by /.
61740 (_dl_dst_substitute): Correct clearing of check_for_trusted.
61741 Correct testing of result of is_trusted_path_normalize
61742 (decompose_rpath): Fix warning.
61743
7b3b0b2a
UD
617442011-05-10 Ulrich Drepper <drepper@gmail.com>
61745
61746 [BZ #11257]
61747 * grp/initgroups.c (internal_getgrouplist): When we found the service
61748 list through the initgroups entry in nsswitch.conf do not always
61749 continue on a successful lookup. Don't always use the
eac80ce2 61750 __nss_group_database value if it is set.
7b3b0b2a
UD
61751 * nss/nsswitch.conf (initgroups): Change action for successful db
61752 lookup to continue for compatibility.
61753
2a81eaa5
UD
617542011-05-09 Ulrich Drepper <drepper@gmail.com>
61755
be97a69e
UD
61756 [BZ #11532]
61757 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61758 and CP774 modules.
61759 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61760 and CP774 modules.
61761 * iconvdata/tst-tables.sh: Likewise.
61762 * iconvdata/cp770.c: New file.
61763 * iconvdata/cp771.c: New file.
61764 * iconvdata/cp772.c: New file.
61765 * iconvdata/cp773.c: New file.
61766 * iconvdata/cp774.c: New file.
61767 * iconvdata/testdata/CP770: New file.
61768 * iconvdata/testdata/CP770..UTF8: New file.
61769 * iconvdata/testdata/CP771: New file.
61770 * iconvdata/testdata/CP771..UTF8: New file.
61771 * iconvdata/testdata/CP772: New file.
61772 * iconvdata/testdata/CP772..UTF8: New file.
61773 * iconvdata/testdata/CP773: New file.
61774 * iconvdata/testdata/CP773..UTF8: New file.
61775 * iconvdata/testdata/CP774: New file.
61776 * iconvdata/testdata/CP774..UTF8: New file.
61777
61778 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61779 END CHARMAP line.
61780 * iconvdata/gen-8bit-gap.sh: Likewise.
61781 * iconvdata/gen-8bit.sh: Likewise.
61782
c1e9e399
UD
61783 * locale/iso-639.def: Add ary entry.
61784
24c55fb3 61785 [BZ #11258]
96b4b1b0
UD
61786 * locale/C-translit.h.in: Add U20A1 transliteration.
61787
bdc2f971
KB
61788 [BZ #12178]
61789 * locale/iso-639.def: Add wae entry.
61790 Patch by Kevin Bortis <bortis@translate-wae.ch>.
61791
2952b117
UD
61792 [BZ #12545]
61793 * locale/programs/localedef.c (construct_output_path): Use ssize_t
61794 for n.
61795
2a81eaa5
UD
61796 [BZ #12711]
61797 * locale/C-translit.h.in: Add entry for U20B9.
61798 Patch by pravin.d.s@gmail.com.
61799
28377d1b
UD
618002011-05-08 Ulrich Drepper <drepper@gmail.com>
61801
7fb90fb8
UD
61802 [BZ #12713]
61803 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61804 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
61805 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
61806 in rtld. Use *stat64.
7fb90fb8 61807 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 61808 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 61809 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
61810 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61811 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61812 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61813 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61814 __fstatat64 macros.
7fb90fb8
UD
61815 * include/dirent.h: Add libc_hidden_proto for rewinddir.
61816 * dirent/rewinddir.c: Add libc_hidden_def.
61817 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 61818 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 61819
28377d1b
UD
61820 * include/dirent.h (__alloc_dir): Add flags parameter.
61821 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61822 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61823 __alloc_dir.
61824 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
61825 from fdopendir if O_CLOEXEC is already set.
61826
66bdbaa4
AM
618272011-03-15 Alan Modra <amodra@gmail.com>
61828
61829 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61830 l_tls_firstbyte_offset non-zero. Save padding offset in
61831 l_tls_firstbyte_offset for later use.
61832 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61833 freeing static tls block.
61834
95721191
JN
618352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
61836
61837 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61838 where #ifdef was intended. The intent is to prevent ARG_MAX from
61839 being defined by the kernel headers.
61840
f87dfb1f
UD
618412011-05-07 Ulrich Drepper <drepper@gmail.com>
61842
61843 [BZ #12734]
61844 * resolv/resolv.h: Define RES_NOTLDQUERY.
61845 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61846 no-tld-query and set RES_NOTLDQUERY.
61847 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61848 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61849 modern BIND to search name as TLD unless forbidden.
61850
47c3cd7a
UD
618512011-05-07 Petr Baudis <pasky@suse.cz>
61852 Ulrich Drepper <drepper@gmail.com>
61853
61854 [BZ #12393]
61855 * elf/dl-load.c (fillin_rpath): Move trusted path check...
61856 (is_trusted_path): ...to here.
c1e9ea35 61857 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 61858 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 61859 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 61860
8a35c912
PP
618612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61862
61863 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61864 __BEGIN/__END_DECLS.
61865
acd41f47
UD
618662011-05-06 Ulrich Drepper <drepper@gmail.com>
61867
61868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61869 NSS_STATUS_NOTFOUND if no record was found.
61870
597df647
AS
618712011-05-05 Andreas Schwab <schwab@redhat.com>
61872
61873 * sunrpc/Makefile (headers): Add rpc/netdb.h.
61874 (headers-not-in-tirpc): Remove rpc/netdb.h
61875 * resolv/netdb.h: Revert last change.
61876
b9af1301
PP
618772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
61878
61879 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61880 circular dependency between libgcc.a and libc.a.
61881
4e34d5f5
AS
618822011-05-05 Andreas Schwab <schwab@redhat.com>
61883
61884 * resolv/netdb.h: Don't include <rpc/netdb.h>.
61885 * nis/Makefile: Don't install rpcsvc/*.
61886 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61887 instead of <rpc/types.h>.
61888 (MAXHOSTNAMELEN): Define.
61889
00ee369c
AS
618902011-05-03 Andreas Schwab <schwab@redhat.com>
61891
61892 * elf/ldconfig.c (add_dir): Don't crash on empty path.
61893
0b592a30
MB
618942011-04-28 Maciej Babinski <mbabinski@google.com>
61895
61896 [BZ #12714]
61897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61898 gethostbyname4_r when IPv6 results are possible.
61899
6e04cbbe
UD
619002011-05-02 Ulrich Drepper <drepper@gmail.com>
61901
61902 [BZ #12723]
61903 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61904 _PC_PIPE_BUF handling.
61905
e4ecafe0
BH
619062011-04-30 Bruno Haible <bruno@clisp.org>
61907
61908 [BZ #12717]
61909 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61910 * resolv/netdb.h (getnameinfo): Change type of flags parameter
61911 to 'int'.
61912 * inet/getnameinfo.c (getnameinfo): Likewise.
61913
125ee683
UD
619142011-04-29 Ulrich Drepper <drepper@gmail.com>
61915
61916 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61917 to groups setting in database lookup.
61918 * nss/nsswitch.conf: Add initgroups entry.
61919
b722481a
EB
619202011-04-22 Ulrich Drepper <drepper@gmail.com>
61921
61922 [BZ #12685]
61923 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61924 mode string.
61925 Patch by Eric Blake <eblake@redhat.com>.
61926
4df46dbd
L
619272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
61928
61929 * sunrpc/Makefile (need-export-routines): Add svc_run.
61930 (routines): Remove svc_run.
61931 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61932 * sunrpc/clnt_perr.c (clnt_perrno): Export.
61933 * sunrpc/svc_run.c (svc_run): Likewise.
61934 * sunrpc/svc_udp.c (svcudp_create): Likewise.
61935
e84142d2
UD
619362011-04-21 Ulrich Drepper <drepper@gmail.com>
61937
61938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61939 problem in reallocation in last patch.
61940
877175d8
UD
619412011-04-20 Ulrich Drepper <drepper@gmail.com>
61942
61943 * sunrpc/Makefile: Move inclusion of Rules.
61944
ab8eed78
UD
619452011-04-19 Ulrich Drepper <drepper@gmail.com>
61946
61947 * nss/nss_files/files-initgroups.c: New file.
61948 * nss/Makefile (libnss_files-routines): Add files-initgroups.
61949 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61950 _nss_files_initgroups_dyn.
61951
e3d8f584
RS
619522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
61953
61954 * elf/elf.h (R_ARM_IRELATIVE): Define.
61955
af190f45
UD
619562011-04-19 Ulrich Drepper <drepper@gmail.com>
61957
61958 * po/ru.po: Update from translation team.
61959
53cf59ef
UD
619602011-04-17 Ulrich Drepper <drepper@gmail.com>
61961
61962 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61963 dependencies.
61964
4c559bcd
MF
619652011-02-06 Mike Frysinger <vapier@gentoo.org>
61966
61967 [BZ #12653]
61968 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61969 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61973
4420675c
AS
619742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
61975
61976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61977 differing bytes.
61978 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61981
75ea32ab
UD
619822011-04-17 Ulrich Drepper <drepper@gmail.com>
61983
61984 [BZ #12420]
61985 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61986 storing it.
61987 * stdlib/bug-getcontext.c: New file.
61988 * stdlib/Makefile: Add rules to build and run bug-getcontext.
61989
27390476
AK
619902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61991
61992 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61993 instructions into .machine "z9-109".
61994 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61995 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61996
10442705
AK
619972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61998
61999 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62000 between environment variables and auxiliary vector.
62001
7b57bfe5
UD
620022011-04-16 Ulrich Drepper <drepper@gmail.com>
62003
62004 * Makefile: Add rules to build linkobj/libc.so.
62005 * include/libc-symbols.h: Define libc_hidden_nolink.
62006 * include/rpc/auth.h: Mark functions which are to be hidden.
62007 * include/rpc/auth_des.h: Likewise.
62008 * include/rpc/auth_unix.h: Likewise.
62009 * include/rpc/clnt.h: Likewise.
62010 * include/rpc/des_crypt.h: Likewise.
62011 * include/rpc/key_prot.h: Likewise.
62012 * include/rpc/pmap_clnt.h: Likewise.
62013 * include/rpc/pmap_prot.h: Likewise.
62014 * include/rpc/pmap_rmt.h: Likewise.
62015 * include/rpc/rpc_msg.h: Likewise.
62016 * include/rpc/svc.h: Likewise.
62017 * include/rpc/svc_auth.h: Likewise.
62018 * include/rpc/xdr.h: Likewise.
62019 * nis/Makefile: Link all DSOs against linkobj/libc.so.
62020 * nss/Makefile: Likewise.
62021 * sunrpc/Makefile: Don't install headers. Build library with normal
62022 entry points. Don't build rpcinfo. Link RPC tests appropriately.
62023 * sunrpc/auth_des.c: Hide exported symbols by default, export some
62024 for the compat linking library. Remove use of INTDEF/INTUSE.
62025 * sunrpc/auth_none.c: Likewise.
62026 * sunrpc/auth_unix.c: Likewise.
62027 * sunrpc/authdes_prot.c: Likewise.
62028 * sunrpc/authuxprot.c: Likewise.
62029 * sunrpc/clnt_gen.c: Likewise.
62030 * sunrpc/clnt_perr.c: Likewise.
62031 * sunrpc/clnt_raw.c: Likewise.
62032 * sunrpc/clnt_simp.c: Likewise.
62033 * sunrpc/clnt_tcp.c: Likewise.
62034 * sunrpc/clnt_udp.c: Likewise.
62035 * sunrpc/clnt_unix.c: Likewise.
62036 * sunrpc/des_crypt.c: Likewise.
62037 * sunrpc/des_soft.c: Likewise.
62038 * sunrpc/get_myaddr.c: Likewise.
62039 * sunrpc/key_call.c: Likewise.
62040 * sunrpc/key_prot.c: Likewise.
62041 * sunrpc/netname.c: Likewise.
62042 * sunrpc/pm_getmaps.c: Likewise.
62043 * sunrpc/pm_getport.c: Likewise.
62044 * sunrpc/pmap_clnt.c: Likewise.
62045 * sunrpc/pmap_prot.c: Likewise.
62046 * sunrpc/pmap_prot2.c: Likewise.
62047 * sunrpc/pmap_rmt.c: Likewise.
62048 * sunrpc/publickey.c: Likewise.
62049 * sunrpc/rpc_cmsg.c: Likewise.
62050 * sunrpc/rpc_common.c: Likewise.
62051 * sunrpc/rpc_dtable.c: Likewise.
62052 * sunrpc/rpc_prot.c: Likewise.
62053 * sunrpc/rpc_thread.c: Likewise.
62054 * sunrpc/rtime.c: Likewise.
62055 * sunrpc/svc.c: Likewise.
62056 * sunrpc/svc_auth.c: Likewise.
62057 * sunrpc/svc_authux.c: Likewise.
62058 * sunrpc/svc_raw.c: Likewise.
62059 * sunrpc/svc_run.c: Likewise.
62060 * sunrpc/svc_simple.c: Likewise.
62061 * sunrpc/svc_tcp.c: Likewise.
62062 * sunrpc/svc_udp.c: Likewise.
62063 * sunrpc/svc_unix.c: Likewise.
62064 * sunrpc/svcauth_des.c: Likewise.
62065 * sunrpc/xcrypt.c: Likewise.
62066 * sunrpc/xdr.c: Likewise.
62067 * sunrpc/xdr_array.c: Likewise.
62068 * sunrpc/xdr_float.c: Likewise.
62069 * sunrpc/xdr_intXX_t.c: Likewise.
62070 * sunrpc/xdr_mem.c: Likewise.
62071 * sunrpc/xdr_rec.c: Likewise.
62072 * sunrpc/xdr_ref.c: Likewise.
62073 * sunrpc/xdr_sizeof.c: Likewise.
62074 * sunrpc/xdr_stdio.c: Likewise.
62075
e6c61494
UD
620762011-04-10 Ulrich Drepper <drepper@gmail.com>
62077
62078 [BZ #12650]
62079 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62080 * sysdeps/ia64/dl-tls.h: Likewise.
62081 * sysdeps/powerpc/dl-tls.h: Likewise.
62082 * sysdeps/s390/dl-tls.h: Likewise.
62083 * sysdeps/sh/dl-tls.h: Likewise.
62084 * sysdeps/sparc/dl-tls.h: Likewise.
62085 * sysdeps/x86_64/dl-tls.h: Likewise.
62086 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62087
34fe483e
AS
620882011-03-14 Andreas Schwab <schwab@redhat.com>
62089
62090 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62091 rpath element also skip the following colon.
62092 (expand_dynamic_string_token): Add is_path parameter and pass
62093 down to DL_DST_REQUIRED and _dl_dst_substitute.
62094 (decompose_rpath): Call expand_dynamic_string_token with
62095 non-zero is_path. Ignore empty rpaths.
62096 (_dl_map_object_from_fd): Call expand_dynamic_string_token
62097 with zero is_path.
62098
f12a32e6
AS
620992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
62100
62101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62102 Make cancelable.
62103
38a7d692
UD
621042011-04-09 Ulrich Drepper <drepper@gmail.com>
62105
62106 [BZ #12655]
62107 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62108 Patch by Filipe David Manana <fdmanana@apache.org>.
62109
e451d22b
AS
621102011-04-07 Andreas Schwab <schwab@redhat.com>
62111
62112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62113 Maintain aligned stack.
62114 (CHECK_RSP): Remove unused macro.
62115
dedc7c7b
UD
621162011-04-03 Ulrich Drepper <drepper@gmail.com>
62117
62118 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62120
94521213
UD
621212011-04-02 Ulrich Drepper <drepper@gmail.com>
62122
62123 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62124
8cb700c0 62125 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 62126
0354e355
L
621272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
62128
62129 [BZ #12518]
62130 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62131 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62132 * sysdeps/x86_64/memmove.c: New file.
62133 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62134 (memcpy): Renamed to ...
62135 (__new_memcpy): This.
62136 (memcpy): Provide GLIBC_2_14 memcpy.
62137 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62138 (memcpy): Provide GLIBC_2_2_5 memcpy.
62139
8593482f
UD
621402011-04-01 Ulrich Drepper <drepper@gmail.com>
62141
62142 [BZ #12631]
62143 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62144
81a5726b
AS
621452011-03-30 Andreas Schwab <schwab@redhat.com>
62146
62147 * misc/syncfs.c: New file.
62148 * misc/Makefile (routines): Add syncfs.
62149 * posix/unistd.h: Declare syncfs.
62150 * sysdeps/unix/syscalls.list: Add syncfs.
62151
00e5419f
AS
621522011-04-01 Andreas Schwab <schwab@redhat.com>
62153
62154 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62155 open_by_handle_at.
62156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62161 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62163
748876bf
UD
621642011-04-01 Ulrich Drepper <drepper@gmail.com>
62165
658e451d
UD
62166 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62173
748876bf
UD
62174 * io/Makefile: Compile fallocate.c, fallocate64.c, and
62175 sync_file_range.c with -fexceptions.
62176 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62177 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62178 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62179 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62180 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62181 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
62183 sync_file_range as cancellation point
62184 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
62185 now a wrapper around __call_sync_file_range with cancellation handling.
62186 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62187 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
62188 function name to __call_sync_file_range.
62189 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62190 Add call_sync_file_range.
748876bf 62191
6e63d5e1
AS
621922011-04-01 Andreas Schwab <schwab@redhat.com>
62193
62194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 62195 bits/timex.h.
6e63d5e1 62196
46998f74
UD
621972011-04-01 Ulrich Drepper <drepper@gmail.com>
62198
4c1423ed
UD
62199 * iconv/iconv.h: Fix typo in comment.
62200 * io/fcntl.h: Likewise.
62201 * libio/stdio.h: Likewise.
62202 * posix/spawn.h: Likewise.
62203 * posix/unistd.h: Likewise.
62204 * stdlib/stdlib.h: Likewise.
62205 * time/time.h: Likewise.
62206 * wcsmbs/wchar.h: Likewise.
62207
158648c0
UD
62208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62209 open_by_handle): Add.
62210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62211 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
62212 Augment a few comments.
62213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62218 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62219 open_by_handle.
62220
46998f74
UD
62221 * io/fcntl.h (AT_EMPTY_PATH): Define.
62222
83fe108b
UD
622232011-03-30 Ulrich Drepper <drepper@gmail.com>
62224
62225 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62226 * sysdeps/unix/sysv/linux/bits/time.h: New file.
62227 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62228 to...
62229 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
62230 * Versions.def: Add GLIBC_2.14.
62231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62232 Export.
83fe108b 62233
bb242059
UD
622342011-03-22 Ulrich Drepper <drepper@gmail.com>
62235
62236 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62237 round counter.
62238 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62239
c97a1282
L
622402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
62241
62242 [BZ #12597]
62243 * string/test-strncmp.c (do_page_test): New function.
62244 (check2): Likewise.
62245 (test_main): Call check2.
62246 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62247
2a115601
UD
622482011-03-20 Ulrich Drepper <drepper@gmail.com>
62249
62250 [BZ #12587]
62251 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62252 Handle cache information in CPU leaf 4.
62253 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62254
8126d904
UD
622552011-03-18 Ulrich Drepper <drepper@gmail.com>
62256
042c49c6 62257 [BZ #12583]
8126d904
UD
62258 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62259 character representation.
62260 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62261
ccfe366e
RA
622622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
62263
62264 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62265 END(__isnan) to END(__isnanf) to match function entry point/label
62266 EALIGN(__isnanf,...).
62267
c6e13027
JJ
622682011-03-10 Jakub Jelinek <jakub@redhat.com>
62269
62270 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62271
33f85a3f
UD
622722011-03-10 Ulrich Drepper <drepper@gmail.com>
62273
028478fa
UD
62274 [BZ #12510]
62275 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62276 copy from the symbol referenced in the relocation to initialize the
62277 used variable.
62278 Patch by Piotr Bury <pbury@goahead.com>.
62279 * elf/Makefile: Add rules to build and tst-unique3.
62280 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62281 * elf/tst-unique3.cc: New file.
62282 * elf/tst-unique3.h: New file.
62283 * elf/tst-unique3lib.cc: New file.
62284 * elf/tst-unique3lib2.cc: New file.
62285
33f85a3f
UD
62286 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62287
03592fc7
MF
622882011-03-10 Mike Frysinger <vapier@gentoo.org>
62289
62290 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62291 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
62292 to _start.
03592fc7 62293
6a5ee102
UD
622942011-03-06 Ulrich Drepper <drepper@gmail.com>
62295
62296 * elf/dl-load.c (_dl_map_object): If we are looking for the first
62297 to-be-loaded object along a path to loader is ld.so.
62298
7e4ba49c
HJ
622992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
62300 Ulrich Drepper <drepper@gmail.com>
62301
62302 * sysdeps/x86_64/memset.S: After aligning destination, code
62303 branches to different locations depending on the value of
62304 misalignment, when multiarch is enabled. Fix this.
62305
623062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
62307
62308 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62309 Set _x86_64_preferred_memory_instruction for AMD processsors.
62310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62311 Set bit_Prefer_SSE_for_memop for AMD processors.
62312
13a804de
UD
623132011-03-04 Ulrich Drepper <drepper@gmail.com>
62314
62315 * libio/fmemopen.c (fmemopen): Optimize a bit.
62316
9d25c392
AS
623172011-03-03 Andreas Schwab <schwab@redhat.com>
62318
62319 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62320
a5543c6a
RM
623212011-03-03 Roland McGrath <roland@redhat.com>
62322
62323 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62324
012d35f7
DM
623252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
62326
7e4ba49c 62327 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
62328 __bzero_ultra1 instead of __memset_ultra1.
62329
4bff6e01
AS
623302011-02-23 Andreas Schwab <schwab@redhat.com>
62331 Ulrich Drepper <drepper@gmail.com>
62332
62333 [BZ #12509]
62334 * include/link.h (struct link_map): Add l_orig_initfini.
62335 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62336 returning unsuccessfully.
62337 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62338 close of a file loaded at startup, restore the original l_initfini
62339 list.
62340 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62341 list, store the pointer.
62342 * elf/Makefile ($(objpfx)noload-mem): New rule.
62343 (noload-ENV): Define.
62344 (tests): Add $(objpfx)noload-mem.
62345 * elf/noload.c: Include <memcheck.h>.
62346 (main): Call mtrace. Close all opened handles.
62347
f2092faf
AS
623482011-02-17 Andreas Schwab <schwab@redhat.com>
62349
62350 [BZ #12454]
62351 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62352 dependencies are missing.
62353
6c8a2e88
ST
623542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
62355
f2092faf 62356 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
62357 Hurd needs munmap.
62358 * sysdeps/mach/hurd/ifreq.h: New file.
62359
84a42118
PB
623602011-01-27 Petr Baudis <pasky@suse.cz>
62361 Ulrich Drepper <drepper@gmail.com>
62362
071f805e 62363 [BZ 12445]#
84a42118
PB
62364 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62365 to extend_alloca().
62366 * stdio-common/bug23.c: New file.
62367 * stdio-common/Makefile (tests): Add bug23.
62368
e23fe25b
AS
623692010-09-28 Andreas Schwab <schwab@redhat.com>
62370 Ulrich Drepper <drepper@gmail.com>
62371
62372 [BZ #12489]
62373 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62374 before performing relro protection. At old place add assertion
62375 to make sure nothing changed.
62376
d3f02e10
NS
623772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
62378 Glauber de Oliveira Costa <glommer@gmail.com>
62379
62380 * elf/elf.h: Add new ARM TLS relocs.
62381
d55fd7a5
RA
623822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
62383
62384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62385 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62386 cast from r3.
62387 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
62388 'tests' variable.
62389 * sysdeps/wordsize-64/tst-writev.c: New file.
62390
2206397e
RA
623912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
62392
62393 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62394 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62395 insns in _dl_start to prevent a TOC reference before relocs are
62396 resolved.
62397
e9433893
UD
623982011-02-15 Ulrich Drepper <drepper@gmail.com>
62399
62400 [BZ #12469]
62401 * Makeconfig: Remove RANLIB definition.
62402 * Makerules: Don't use RANLIB.
62403 * aclocal.m4: Remove ranlib test.
62404 * configure.in: No need to check for ranlib.
62405 * elf/rtld-Rules: Don't use RANLIB.
62406
f75286c6
ST
624072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
62408
8e31c82d
ST
62409 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62410 protection macro.
62411 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62412 inclusion protection macro.
62413
f75286c6
ST
62414 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62415 SIGRTMIN and SIGRTMAX and print information in that case only when
62416 SIGRTMIN is defined.
62417
c1d0e639
JJ
624182011-02-11 Jakub Jelinek <jakub@redhat.com>
62419
62420 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62421 arginfo fn returning -1.
62422
62423 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62424 and thousands string is zero terminated.
62425
edf9294e
AS
624262011-02-03 Andreas Schwab <schwab@redhat.com>
62427
62428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62429 sysdeps/unix/sysv/linux/bits/socket.h.
62430
2b7e92df
ST
624312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
62432
edf9294e
AS
62433 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62434 (__CPU_COUNT): Remove old macros.
62435 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62436 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62437 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
62438 (__sched_cpualloc, __sched_cpufree): Add declarations.
62439
a4c7ea7b
UD
624402011-02-05 Ulrich Drepper <drepper@gmail.com>
62441
62442 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62443 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62444 * nscd/aicache.c (addhstaiX): Return timeout of added value.
62445 (readdhstai): Return value of addhstaiX call.
62446 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62447 (addgrbyX): Return value returned by cache_addgr.
62448 (readdgrbyname): Return value returned by addgrbyX.
62449 (readdgrbygid): Likewise.
62450 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62451 (addpwbyX): Return value returned by cache_addpw.
62452 (readdpwbyname): Return value returned by addhstbyX.
62453 (readdpwbyuid): Likewise.
62454 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62455 (addservbyX): Return value returned by cache_addserv.
62456 (readdservbyname): Return value returned by addservbyX:
62457 (readdservbyport): Likewise.
62458 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62459 (addhstbyX): Return value returned by cache_addhst.
62460 (readdhstbyname): Return value returned by addhstbyX.
62461 (readdhstbyaddr): Likewise.
62462 (readdhstbynamev6): Likewise.
62463 (readdhstbyaddrv6): Likewise.
62464 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62465 (readdinitgroups): Return value returned by addinitgroupsX.
62466 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62467 (prune_cache): Keep track of timeout value of re-added entries.
62468 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62469 * nscd/nscd.h: Adjust prototypes of readd* functions.
62470
a0bf67cc
RM
624712011-02-04 Roland McGrath <roland@redhat.com>
62472
62473 * nis/nis_server.c (nis_servstate): Use the right name for 0.
62474 (nis_stats): Likewise.
62475 * nis/nis_modify.c (nis_modify): Likewise.
62476 * nis/nis_remove.c (nis_remove): Likewise.
62477 * nis/nis_add.c (nis_add): Likewise.
62478
62479 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62480
62481 * posix/fnmatch_loop.c: Add some consts.
62482
62483 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62484
435b95eb
L
624852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
62486
62487 [BZ #12460]
62488 * config.make.in (config-cflags-novzeroupper): Define.
62489 * configure.in: Substitute libc_cv_cc_novzeroupper.
62490 * elf/Makefile (AVX-CFLAGS): Define.
62491 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62492 (CFLAGS-tst-auditmod4a.c): Likewise.
62493 (CFLAGS-tst-auditmod4b.c): Likewise.
62494 (CFLAGS-tst-auditmod6b.c): Likewise.
62495 (CFLAGS-tst-auditmod6c.c): Likewise.
62496 (CFLAGS-tst-auditmod7b.c): Likewise.
62497 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62498
8517b15e
UD
624992011-02-02 Ulrich Drepper <drepper@gmail.com>
62500
62501 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62502 function to the callback.
62503 Patch partly by Jiri Olsa <jolsa@redhat.com>.
62504
10a656fe
AS
625052011-02-02 Andreas Schwab <schwab@redhat.com>
62506
62507 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62508 of errno.
62509
968dad0a
UD
625102011-01-19 Ulrich Drepper <drepper@gmail.com>
62511
9f94d2ea 62512 [BZ #11724]
968dad0a
UD
62513 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62514 of constructors.
62515 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62516 of destructors.
62517 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62518
62519 [BZ #11724]
62520 * elf/Makefile: Add rules to build and run new test.
62521 * elf/tst-initorder.c: New file.
62522 * elf/tst-initorder.exp: New file.
62523 * elf/tst-initordera1.c: New file.
62524 * elf/tst-initordera2.c: New file.
62525 * elf/tst-initordera3.c: New file.
62526 * elf/tst-initordera4.c: New file.
62527 * elf/tst-initorderb1.c: New file.
62528 * elf/tst-initorderb2.c: New file.
62529 * elf/tst-order-a1.c: New file.
62530 * elf/tst-order-a2.c: New file.
62531 * elf/tst-order-a3.c: New file.
62532 * elf/tst-order-a4.c: New file.
62533 * elf/tst-order-b1.c: New file.
62534 * elf/tst-order-b2.c: New file.
62535 * elf/tst-order-main.c: New file.
62536 New test case by George Gensure <werkt0@gmail.com>.
62537
86e92359
UD
625382010-10-01 Andreas Schwab <schwab@redhat.com>
62539
62540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62541 decoding ACE if AI_CANONIDN.
62542
5d5732b0
UD
625432011-01-18 Ulrich Drepper <drepper@gmail.com>
62544
62545 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62546
a77e8cbc
UD
625472011-01-17 Ulrich Drepper <drepper@gmail.com>
62548
6392473f
UD
62549 * version.h (RELEASE): Bump for 2.13 release.
62550 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62551
620a0529
UD
62552 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62553
18ba70a5
UD
62554 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62555 MADV_NOHUGEPAGE.
32465c3e
UD
62556 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62562
c0dafcf1
UD
62563 * posix/getconf.c: Update copyright year.
62564 * catgets/gencat.c: Likewise.
62565 * csu/version.c: Likewise.
62566 * debug/catchsegv.sh: Likewise.
62567 * debug/xtrace.sh: Likewise.
62568 * elf/ldconfig.c: Likewise.
62569 * elf/ldd.bash.in: Likewise.
62570 * elf/sprof.c (print_version): Likewise.
62571 * iconv/iconv_prog.c: Likewise.
62572 * iconv/iconvconfig.c: Likewise.
62573 * locale/programs/locale.c: Likewise.
62574 * locale/programs/localedef.c: Likewise.
62575 * malloc/memusage.sh: Likewise.
62576 * malloc/mtrace.pl: Likewise.
62577 * nscd/nscd.c (print_version): Likewise.
62578 * nss/getent.c: Likewise.
62579
a77e8cbc
UD
62580 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62581 PF_CAIF, and PF_ALG.
62582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62583
77e8bddf
AS
625842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
62585
1f20b93a
AS
62586 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62587 (modules-names): Use them.
62588 (ifunc-test-modules, ifunc-pie-tests): Define.
62589 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62590 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62591 (test-extras): Likewise.
62592 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62593 $(compile-command.c).
62594 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62595 (all-built-dso): Define.
62596 (check-textrel.out, check-execstack.out): Depend on it.
62597
77e8bddf
AS
62598 * configure.in: Don't override --enable-multi-arch.
62599
bc425b33
UD
626002011-01-15 Ulrich Drepper <drepper@gmail.com>
62601
62602 [BZ #6812]
62603 * nscd/hstcache.c (tryagain): Define.
62604 (cache_addhst): Return tryagain not notfound for temporary errors.
62605 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62606 failed.
62607
794c3ad3
UD
626082011-01-14 Ulrich Drepper <drepper@gmail.com>
62609
70181fdd
UD
62610 [BZ #10563]
62611 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62612 to make the syscall.
62613 * sysdeps/unix/sysv/linux/setgroups.c: New file.
62614
794c3ad3
UD
62615 [BZ #12378]
62616 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62617 and fall back to matching as normal character if the string ends before
62618 the matching ']' is found. This is what POSIX requires.
62619 * posix/testfnm.c: Adjust test result.
62620 * posix/globtest.sh: Adjust test result. Add new test.
62621 * posix/tst-fnmatch.input: Likewise.
62622 * posix/tst-fnmatch2.c: Add new test.
62623
68dc9497
AS
626242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
62625
62626 * elf/Makefile (check-execstack): Revert last change. Depend on
62627 check-execstack.h.
62628 (check-execstack.h): New target.
62629 (generated): Add check-execstack.h.
62630 * elf/check-execstack.c: Include "check-execstack.h".
62631 (main): Revert last change.
62632 (handle_file): Return zero if GNU_STACK is absent and
62633 DEFAULT_STACK_PERMS doesn't include PF_X.
62634
451f001b
UD
626352011-01-13 Ulrich Drepper <drepper@gmail.com>
62636
cfa28e56
UD
62637 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62638 in child fails because the descriptor is already closed.
8cf8ce17
UD
62639 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62640 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62641 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 62642
1086d70d
UD
62643 [BZ #12397]
62644 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62645 syscall.
62646
451f001b
UD
62647 [BZ #10484]
62648 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62649 temporary buffer used to handle multi lookups locally.
a85b5cb4 62650 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 62651
08769175
UD
626522011-01-12 Ulrich Drepper <drepper@gmail.com>
62653
62654 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62655 loader is ld.so.
62656
5e49c52e
UD
626572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
62658
62659 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62660 alignment for SSE2.
62661
60522a5f
UD
626622011-01-12 Ulrich Drepper <drepper@gmail.com>
62663
62664 [BZ #12394]
62665 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62666 characters. When rounding increased number of integer digits recompute
62667 number of groups.
62668 * stdio-common/tst-grouping.c: New file.
62669 * stdio-common/Makefile: Add rules to build and run tst-grouping.
62670
f257bbd7
UD
626712011-01-09 Ulrich Drepper <drepper@gmail.com>
62672
62673 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62674 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
62675
62676 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62677 void.
62678 * bits/select.h: Likewise.
62679
fa9c15cb
UD
626802011-01-08 Ulrich Drepper <drepper@gmail.com>
62681
62682 * po/ja.po: Update from translation team.
62683
16c2895f
DM
626842011-01-04 David S. Miller <davem@sunset.davemloft.net>
62685
62686 [BZ #11155]
62687 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62688 implementation just like for lxstat, fxstatat, et al.
62689
2543fef2
JM
626902010-12-27 Jim Meyering <meyering@redhat.com>
62691
62692 [BZ #12348]
62693 * posix/regexec.c (build_trtable): Return failure indication upon
62694 calloc failure. Otherwise, re_search_internal could infloop on OOM.
62695
98727dbe
UD
626962010-12-25 Ulrich Drepper <drepper@gmail.com>
62697
5bd6dc5c
UD
62698 [BZ #12201]
62699 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62700 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62701 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62702 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62703
97983464
UD
62704 [BZ #12207]
62705 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62706
98727dbe
UD
62707 [BZ #12204]
62708 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62709 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62710
4a531bb0
L
627112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
62712
62713 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62714 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62715 script has SORT_BY_INIT_PRIORITY.
62716 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62717 NO_CTORS_DTORS_SECTIONS is defined.
62718 * elf/soinit.c: Likewise.
62719 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62720 NO_CTORS_DTORS_SECTIONS is defined.
62721 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62722 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62723 * sysdeps/sh/init-first.c: Likewise.
62724 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62725
07eb4b71
UD
627262010-12-24 Ulrich Drepper <drepper@gmail.com>
62727
62728 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62729 always use the slow path.
62730
30950a5f
RA
627312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
62732
62733 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62734 similar rule which adds the sysdep directories to the header search in
62735 order to pick up the correct platform stackinfo.h.
62736 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62737 perform test if it is, otherwise return successfully without testing.
62738 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62739 DEFAULT_STACK_PERMS define in stackinfo.h.
62740 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62741 defined in stackinfo.h.
62742 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62743 DEFAULT_STACK_PERMS defined in stackinfo.h.
62744 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62745 * sysdeps/ia64/stackinfo.h: Likewise.
62746 * sysdeps/s390/stackinfo.h: Likewise.
62747 * sysdeps/sh/stackinfo.h: Likewise.
62748 * sysdeps/sparc/stackinfo.h: Likewise.
62749 * sysdeps/x86_64/stackinfo.h: Likewise.
62750 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62751 PF_X for powerpc64. Retain PF_X for powerpc32.
62752
db753e2c
UD
627532010-12-19 Ulrich Drepper <drepper@gmail.com>
62754
14b697f7
UD
62755 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62756 accurately.
db753e2c
UD
62757 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62758 GETDENTS_64BIT_ALIGNED.
62759
28300719
UD
627602010-12-14 Ulrich Drepper <dreper@gmail.com>
62761
14b697f7 62762 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 62763
4f197237
AS
627642010-12-10 Andreas Schwab <schwab@redhat.com>
62765
dbb0472f
AS
62766 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62767 _GNU_SOURCE.
62768
4f197237
AS
62769 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62770 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62771 Remove __restrict.
62772 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62773 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62774
fb88ac72
UD
627752010-12-09 Ulrich Drepper <drepper@gmail.com>
62776
62777 [BZ #11655]
62778 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62779 are initialized.
62780
42acbb92
JJ
627812010-12-09 Jakub Jelinek <jakub@redhat.com>
62782
62783 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62784
c038d98d
UD
627852010-12-03 Ulrich Drepper <drepper@gmail.com>
62786
62787 * po/it.po: Update from translation team.
62788
3a4a2499
L
627892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
62790
62791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62792 unused codes.
62793
1e24cf6e
UD
627942010-11-30 Ulrich Drepper <drepper@gmail.com>
62795
62796 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62797
a7690819
AS
627982010-11-24 Andreas Schwab <schwab@redhat.com>
62799
62800 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62801 specially.
62802 (gaih_getanswer_slice): Likewise.
62803
3bf8d1b1
JJ
628042010-10-20 Jakub Jelinek <jakub@redhat.com>
62805
62806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62807
6db52fbb
PB
628082010-05-31 Petr Baudis <pasky@suse.cz>
62809
62810 [BZ #11149]
62811 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62812 silently even in the chroot mode.
62813
eaca7569
UD
628142010-11-22 Ulrich Drepper <drepper@gmail.com>
62815
62816 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62817 last patch a bit. Pretty printing
62818
3056dcdb
UD
628192010-05-31 Petr Baudis <pasky@suse.cz>
62820
62821 [BZ #10085]
62822 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62823 initialization of skip_initgroups_dyn.
62824
cf7c9078
UD
628252010-11-19 Ulrich Drepper <drepper@gmail.com>
62826
62827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62828 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62829
a1fb5e3e
UD
628302010-11-16 Ulrich Drepper <drepper@gmail.com>
62831
62832 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62833
3540d66b
AS
628342010-11-11 Andreas Schwab <schwab@redhat.com>
62835
62836 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62837 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62838 (tst-fnmatch-ENV): Set MALLOC_TRACE.
62839 ($(objpfx)tst-fnmatch-mem): New rule.
62840 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62841 * posix/tst-fnmatch.c (main): Call mtrace.
62842
13b69574
L
628432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
62844
62845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62846 Support Intel processor model 6 and model 0x2c.
62847
da93d214
LM
628482010-11-10 Luis Machado <luisgpm@br.ibm.com>
62849
62850 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62851 signed comparison.
62852
8ca52c6e
L
628532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
62854
62855 [BZ #12205]
62856 * string/test-strncasecmp.c (check_result): New function.
62857 (do_one_test): Use it.
62858 (check1): New function.
62859 (test_main): Use it.
62860 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62861 Support strcasecmp and strncasecmp.
62862
69da074d
UD
628632010-11-08 Ulrich Drepper <drepper@gmail.com>
62864
62865 [BZ #12194]
62866 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62867 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62868
ff02d528
L
628692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
62870
62871 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62872 IFUNC support.
62873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62874 memset-x86-64.
62875 * sysdeps/x86_64/multiarch/bzero.S: New file.
62876 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62877 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62878 * sysdeps/x86_64/multiarch/memset.S: New file.
62879 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62881 Set bit_Prefer_SSE_for_memop for Intel processors.
62882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62883 Define.
62884 (index_Prefer_SSE_for_memop): Define.
62885 (HAS_PREFER_SSE_FOR_MEMOP): Define.
62886
344d0b54
LM
628872010-11-04 Luis Machado <luisgpm@br.ibm.com>
62888
62889 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62891
c0dde15b
UD
628922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
62893
62894 [BZ #12191]
62895 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62896 (__x86_64_raw_data_cache_size_half): Likewise.
62897 (__x86_64_raw_shared_cache_size): Likewise.
62898 (__x86_64_raw_shared_cache_size_half): Likewise.
62899
62900 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62901 (__x86_64_raw_data_cache_size_half): Likewise.
62902 (__x86_64_raw_shared_cache_size): Likewise.
62903 (__x86_64_raw_shared_cache_size_half): Likewise.
62904 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62905 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62906 and __x86_64_raw_shared_cache_size_half. Round
62907 __x86_64_data_cache_size_half, __x86_64_data_cache_size
62908 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62909 to multiple of 256 bytes.
62910
0e516e0e
MS
629112010-11-03 Ulrich Drepper <drepper@gmail.com>
62912
62913 [BZ #12167]
62914 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62915 of inacessible symlinks. Verify result of symlink before returning it.
62916 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62917 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62918
0e012e87
ER
629192010-10-28 Erich Ritz <erichritz@gmail.com>
62920
62921 * math/math.h (isinf): Fix typo in comment.
62922
de0ff7bc
UD
629232010-11-01 Ulrich Drepper <drepper@gmail.com>
62924
62925 * po/da.po: Update from translation team.
62926
fa41c84d
UD
629272010-10-26 Ulrich Drepper <drepper@gmail.com>
62928
62929 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62930 is added to the list.
62931
f0967738
AK
629322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62933 Ulrich Drepper <drepper@gmail.com>
62934
62935 * elf/dl-object.c (_dl_new_object): Don't append the new object to
62936 the global list here. Move code to...
62937 (_dl_add_to_namespace_list): ...here. New function.
62938 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62939 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62940 * elf/dl-load.c (lose): Don't remove the element from the list.
62941 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62942 (_dl_map_object): Likewise.
62943
629442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
62945
62946 [BZ #12159]
62947 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62948 into all bytes of SSE register.
62949 Patch by Richard Li <richardpku@gmail.com>.
62950
f0967738 629512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
62952
62953 [BZ #12140]
62954 * malloc/malloc.c (_int_free): Fill correct number of bytes when
62955 perturbing.
62956
d0b9e94f
MB
629572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
62958
62959 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62960 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62961 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62964 submachine.
62965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62966
8e9f92e9
AS
629672010-10-22 Andreas Schwab <schwab@redhat.com>
62968
62969 * include/dlfcn.h (__RTLD_SECURE): Define.
62970 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
62971 mode & __RTLD_SECURE instead.
62972 (open_path): Rename preloaded parameter to secure.
62973 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62974 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62975 * elf/dl-deps.c (openaux): Likewise.
62976 * elf/rtld.c (struct map_args): Remove is_preloaded.
62977 (map_doit): Don't use it.
62978 (dl_main): Likewise.
62979 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62980 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62981
bc96fbda
AS
629822010-09-09 Andreas Schwab <schwab@redhat.com>
62983
62984 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62985 (sysd-rules-targets): Remove duplicates.
62986 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62987 rtld-%.$o dependency.
62988
22cd1c9b
AS
629892010-10-18 Andreas Schwab <schwab@redhat.com>
62990
62991 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62992 _dl_map_object do it.
62993
18edac48
UD
629942010-10-19 Ulrich Drepper <drepper@gmail.com>
62995
62996 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62997 fast fma builtins, define the macros in the C99 standard.
62998 (FP_FAST_FMAF): Likewise.
62999 (FP_FAST_FMAL): Likewise.
63000 * sysdeps/x86_64/bits/mathdef.h: Likewise.
63001
63002 * bits/mathdef.h: Update copyright year.
63003 * sysdeps/powerpc/bits/mathdef.h: Likewise.
63004
d2050124
MM
630052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
63006
63007 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63008 builtins, define the macros in the C99 standard.
63009 (FP_FAST_FMAF): Likewise.
63010 (FP_FAST_FMAL): Likewise.
63011 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63012 multiply/add.
63013 (FP_FAST_FMAF): Likewise.
63014
475facd1
JJ
630152010-10-15 Jakub Jelinek <jakub@redhat.com>
63016
63017 [BZ #3268]
63018 * math/libm-test.inc (fma_test): Some new testcases.
63019 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63021 y and infinite z. Do multiplication by C already in long double.
63022 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63024 y and infinite z. Do bitwise or of inexact bit into u.d.
63025 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63026 * sysdeps/i386/fpu/s_fmaf.S: Removed.
63027 * sysdeps/i386/fpu/s_fma.S: Removed.
63028 * sysdeps/i386/fpu/s_fmal.S: Removed.
63029
7c08a05c
JJ
630302010-10-16 Jakub Jelinek <jakub@redhat.com>
63031
63032 [BZ #3268]
63033 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63035 computation is not scheduled after fetestexcept. Fix value
63036 of minimum denormal long double.
63037
f3f7372d
JJ
630382010-10-14 Jakub Jelinek <jakub@redhat.com>
63039
63040 [BZ #3268]
63041 * math/libm-test.inc (fma_test): Add some more tests.
63042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63043 correctly.
63044
14d43591
AS
630452010-10-15 Andreas Schwab <schwab@redhat.com>
63046
63047 * scripts/data/localplt-s390-linux-gnu.data: New file.
63048 * scripts/data/localplt-s390x-linux-gnu.data: New file.
63049
5e908464
JJ
630502010-10-13 Jakub Jelinek <jakub@redhat.com>
63051
63052 [BZ #3268]
63053 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63054 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63055 instead of dbl-64.
63056 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63057 inlines.
63058 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63060 if one of x and y is very large and the other is subnormal.
63061 * sysdeps/s390/fpu/s_fmaf.c: New file.
63062 * sysdeps/s390/fpu/s_fma.c: New file.
63063 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63064 * sysdeps/powerpc/fpu/s_fma.S: New file.
63065 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63066 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63067 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63068
630692010-10-12 Jakub Jelinek <jakub@redhat.com>
63070
63071 [BZ #3268]
63072 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63073 fma tests.
63074 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63075 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63076 * sysdeps/i386/i686/multiarch/s_fma.c: Include
63077 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63078 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63079 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63080 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63081
b833d51f
UD
630822010-10-12 Ulrich Drepper <drepper@redhat.com>
63083
63084 [BZ #12078]
63085 * posix/regcomp.c (parse_branch): One more memory leak plugged.
63086 * posix/bug-regex31.input: Add test case.
63087
1751705d
UD
630882010-10-11 Ulrich Drepper <drepper@gmail.com>
63089
e9b9cbf5
UD
63090 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63091 * posix/bug-regex31.input: New file.
63092
63093 [BZ #12078]
63094 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63095 (parse_sub_exp): Fix last change, use postorder.
63096
ef06edbe
UD
63097 * posix/bug-regex31.c: New file.
63098 * posix/Makefile: Add rules to build and run bug-regex31.
63099
a129c80d
UD
63100 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63101
63102 [BZ #12078]
63103 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63104
b76b818e
UD
63105 [BZ #12108]
63106 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63107 to have entries in sys_siglist.
63108
1751705d
UD
63109 [BZ #12093]
63110 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63111 be NULL.
63112
9ff8d36f
JJ
631132010-10-07 Jakub Jelinek <jakub@redhat.com>
63114
63115 [BZ #3268]
63116 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63117 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63119 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63120 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63121 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63122 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63123 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63124 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63125 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63126 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63127 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63128 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63129 * math/ftestexcept.c (fetestexcept): Likewise.
63130 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63131 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63132 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63133 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63134 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63135 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63136 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63137
af325969
UD
631382010-10-11 Ulrich Drepper <drepper@gmail.com>
63139
c579b202 63140 [BZ #12107]
af325969
UD
63141 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63142 newline.
63143
67a67b95
UD
631442010-10-06 Ulrich Drepper <drepper@gmail.com>
63145
63146 * string/bug-strstr1.c: New file.
63147 * string/Makefile: Add rules to build and run bug-strstr1.
63148
5fb308bc
EB
631492010-10-05 Eric Blake <eblake@redhat.com>
63150
63151 [BZ #12092]
63152 * string/str-two-way.h (two_way_long_needle): Always clear memory
63153 when skipping input due to the shift table.
63154
45db99c7
UD
631552010-10-03 Ulrich Drepper <drepper@gmail.com>
63156
3b111893
UD
63157 [BZ #12005]
63158 * malloc/mcheck.c: Handle large requests.
63159
45db99c7
UD
63160 [BZ #12077]
63161 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63162 for strncmp and strncasecmp.
63163 * string/stratcliff.c: Add tests for strcmp and strncmp.
63164 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63165
cf7a1eb8
NI
631662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63167
63168 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63169 __set_fpscr.
63170
6484ba5e
AJ
631712010-09-30 Andreas Jaeger <aj@suse.de>
63172
63173 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63174 (CGROUP_SUPER_MAGIC): Define.
63175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63176 Handle btrfs and cgroup file systems.
63177 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63178 Likewise.
63179
91c42559
LM
631802010-09-27 Luis Machado <luisgpm@br.ibm.com>
63181
63182 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63183 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63184
87a97932
AK
631852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63186
63187 [BZ #12067]
63188 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63189 trying to locate the ELF header.
63190
c21cc9bc
AS
631912010-09-27 Andreas Schwab <schwab@redhat.com>
63192
63193 [BZ #11611]
63194 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63195 Mask out sign-bit copies when constructing f_fsid.
63196
315970f6
PB
631972010-09-24 Petr Baudis <pasky@suse.cz>
63198
63199 * debug/stack_chk_fail_local.c: Add missing licence exception.
63200 * debug/warning-nop.c: Likewise.
63201
1ac7a2c7
JM
632022010-09-15 Joseph Myers <joseph@codesourcery.com>
63203
63204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63205 implementing getdents64 using getdents syscall, set d_type if
63206 __ASSUME_GETDENTS32_D_TYPE.
63207
56801c50
AS
632082010-09-16 Andreas Schwab <schwab@redhat.com>
63209
63210 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63211 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63212
dda51327
UD
632132010-09-21 Ulrich Drepper <drepper@redhat.com>
63214
63215 [BZ #12037]
63216 * posix/unistd.h: Undo change of feature selection for ftruncate from
63217 2010-01-11.
63218
8ffcee4a
UD
632192010-09-20 Ulrich Drepper <drepper@redhat.com>
63220
a545ecd9 63221 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
63222 detection.
63223
e24f0a8b
AS
632242010-09-20 Andreas Schwab <schwab@redhat.com>
63225
63226 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63227 fanotify_mark.
63228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63229
7291c56f
AS
632302010-09-14 Andreas Schwab <schwab@redhat.com>
63231
63232 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63233 variables after CHECK_SP call.
63234 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63235
bc5fb037
AS
632362010-09-13 Andreas Schwab <schwab@redhat.com>
63237 Ulrich Drepper <drepper@redhat.com>
63238
63239 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63240 re-relocationg ld.so.
63241 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63242 _dl_init_paths call.
63243 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
63244 here anymore.
63245
e66e7419
UD
632462010-09-14 Ulrich Drepper <drepper@redhat.com>
63247
63248 * resolv/res_init.c (__res_vinit): Count the default server we added.
63249
c044aa75
CLT
632502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
63251 Ulrich Drepper <drepper@redhat.com>
63252
63253 [BZ #11968]
63254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63255 (____longjmp_chk): Use %ebx for saving value across system call.
63256 Add unwind info.
63257
32cf4069
AS
632582010-09-06 Andreas Schwab <schwab@redhat.com>
63259
63260 * manual/Makefile: Don't mix pattern rules with normal rules.
63261
817328ee
AS
632622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
63263
63264 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63265 operation.
63266 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63267 * libio/iofopncook.c (_IO_cookie_init): Likewise.
63268 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63269 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63271 Likewise.
63272
29fddf61
UD
632732010-09-04 Ulrich Drepper <drepper@redhat.com>
63274
63275 [BZ #11979]
63276 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63277 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63278
0959ffc9
UD
632792010-09-02 Ulrich Drepper <drepper@redhat.com>
63280
63281 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63282 * sysdeps/x86_64/addmul_1.S: Likewise.
63283 * sysdeps/x86_64/lshift.S: Likewise.
63284 * sysdeps/x86_64/mul_1.S: Likewise.
63285 * sysdeps/x86_64/rshift.S: Likewise.
63286 * sysdeps/x86_64/sub_n.S: Likewise.
63287 * sysdeps/x86_64/submul_1.S: Likewise.
63288
ece29840
ST
632892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
63290
0959ffc9
UD
63291 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63292 Define __sched_param instead of SCHED_* and sched_param when
ece29840 63293 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 63294 * bits/sched.h [__need_schedparam]
ece29840 63295 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
63296 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63297 (__defined_schedparam): Define to 1.
ece29840
ST
63298 (__sched_param): New structure, identical to sched_param.
63299 (__need_schedparam): Undefine.
63300
e53a31fe
MF
633012010-08-31 Mike Frysinger <vapier@gentoo.org>
63302
fdc0c10d
MF
63303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63304 (epoll_create1): Declare.
63305
e53a31fe
MF
63306 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63307
a726d796
AS
633082010-08-31 Andreas Schwab <schwab@redhat.com>
63309
63310 [BZ #7066]
63311 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63312 shifting retval into place.
63313
2f3e3dc7
UD
633142010-09-01 Ulrich Drepper <drepper@redhat.com>
63315
f2933da9
UD
63316 * nis/rpcsvc/nis.h: Update copyright notice.
63317 * nis/rpcsvc/nis.x: Likewise.
63318 * nis/rpcsvc/nis_callback.h: Likewise.
63319 * nis/rpcsvc/nis_callback.x: Likewise.
63320 * nis/rpcsvc/nis_object.x: Likewise.
63321 * nis/rpcsvc/nis_tags.h: Likewise.
63322 * nis/rpcsvc/yp.h: Likewise.
63323 * nis/rpcsvc/yp.x: Likewise.
63324 * nis/rpcsvc/ypupd.h: Likewise.
63325 * nis/yp_xdr.c: Likewise.
63326 * nis/ypupdate_xdr.c: Likewise.
63327
2f3e3dc7
UD
63328 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
63329 mainly the body of pmap_getport. Add parameters to specify timeouts.
63330 (pmap_getport): Use __libc_rpc_getport.
63331 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63332 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63333 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63334
f3dcc2f9
AS
633352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
63336
63337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63338 fanotify_mark.
63339
6d34eb5b
RM
633402010-08-27 Roland McGrath <roland@redhat.com>
63341
63342 * sysdeps/i386/i686/multiarch/Makefile
63343 (CFLAGS-varshift.c): New variable.
63344
9ea3de11
UD
633452010-08-27 Ulrich Drepper <drepper@redhat.com>
63346
c96d23fc
UD
63347 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63348 * sysdeps/i386/i686/multiarch/varshift.c: New file.
63349
9ea3de11
UD
63350 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63351
63352 * sysdeps/x86_64/strlen.S: Minimal code improvement.
63353
623aac7f
L
633542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
63355
63356 * sysdeps/x86_64/strlen.S: Unroll the loop.
63357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63358 strlen-sse2 strlen-sse2-bsf.
63359 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63360 __strlen_no_bsf if bit_Slow_BSF is set.
63361 (__strlen_sse42): Removed.
63362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63363 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63364
8b2b7715
RM
633652010-08-25 Roland McGrath <roland@redhat.com>
63366
63367 * sysdeps/x86_64/multiarch/varshift.S: File removed.
63368 * sysdeps/x86_64/multiarch/varshift.c: New file.
63369 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63370 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63371 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63372 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63373
e73015f2
L
633742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
63375
63376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63377 strlen-sse2 strlen-sse2-bsf.
63378 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63379 __strlen_sse2_bsf if bit_Slow_BSF is unset.
63380 (__strlen_sse2): Removed.
63381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63384 bit_Slow_BSF for Atom.
63385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63386 (index_Slow_BSF): Define.
63387 (HAS_SLOW_BSF): Define.
63388
df24a73e
UD
633892010-08-25 Ulrich Drepper <drepper@redhat.com>
63390
63391 [BZ #10851]
63392 * resolv/res_init.c (__res_vinit): When no server address at all
63393 is given default to loopback.
63394
f2ac4868
RM
633952010-08-24 Roland McGrath <roland@redhat.com>
63396
09055553
RM
63397 * configure.in: Remove config-name.h generation.
63398 * configure: Regenerated.
63399 * config-name.in: File removed.
63400 * scripts/config-uname.sh: New file.
63401 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63402 ($(objdir)config-name.h): New target.
63403
f2ac4868
RM
63404 * sunrpc/rpc_parse.h: Avoid nested comment.
63405
73f27d5e
RH
634062010-08-24 Richard Henderson <rth@redhat.com>
63407 Ulrich Drepper <drepper@redhat.com>
63408 H.J. Lu <hongjiu.lu@intel.com>
63409
63410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63412 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63413 Replace _mm_srli_si128 with __m128i_shift_right. Replace
63414 _mm_alignr_epi8 with _mm_loadu_si128.
63415 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63416 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63417 (__m128i_shift_right): Removed.
63418 * sysdeps/i386/i686/multiarch/varshift.h: New file.
63419 * sysdeps/i386/i686/multiarch/varshift.S: New file.
63420 * sysdeps/x86_64/multiarch/varshift.h: New file.
63421 * sysdeps/x86_64/multiarch/varshift.S: New file.
63422
84b9230c
MF
634232010-08-21 Mike Frysinger <vapier@gentoo.org>
63424
63425 * configure.in: Move assembler checks to before sysdep dir checking.
63426
9bbd0ddc
PB
634272010-08-20 Petr Baudis <pasky@suse.cz>
63428
63429 * LICENSES: Sync the sunrpc license.
63430
9da4bb31
UD
634312010-08-19 Ulrich Drepper <drepper@redhat.com>
63432
a7ab6ec8
UD
63433 * sunrpc/auth_des.c: Update copyright notice once again.
63434 * sunrpc/auth_none.c: Likewise.
63435 * sunrpc/auth_unix.c: Likewise.
63436 * sunrpc/authdes_prot.c: Likewise.
63437 * sunrpc/authuxprot.c: Likewise.
63438 * sunrpc/bindrsvprt.c: Likewise.
63439 * sunrpc/clnt_gen.c: Likewise.
63440 * sunrpc/clnt_perr.c: Likewise.
63441 * sunrpc/clnt_raw.c: Likewise.
63442 * sunrpc/clnt_simp.c: Likewise.
63443 * sunrpc/clnt_tcp.c: Likewise.
63444 * sunrpc/clnt_udp.c: Likewise.
63445 * sunrpc/clnt_unix.c: Likewise.
63446 * sunrpc/des_crypt.c: Likewise.
63447 * sunrpc/des_soft.c: Likewise.
63448 * sunrpc/get_myaddr.c: Likewise.
63449 * sunrpc/getrpcport.c: Likewise.
63450 * sunrpc/key_call.c: Likewise.
63451 * sunrpc/key_prot.c: Likewise.
63452 * sunrpc/openchild.c: Likewise.
63453 * sunrpc/pm_getmaps.c: Likewise.
63454 * sunrpc/pm_getport.c: Likewise.
63455 * sunrpc/pmap_clnt.c: Likewise.
63456 * sunrpc/pmap_prot.c: Likewise.
63457 * sunrpc/pmap_prot2.c: Likewise.
63458 * sunrpc/pmap_rmt.c: Likewise.
63459 * sunrpc/rpc/auth.h: Likewise.
63460 * sunrpc/rpc/auth_unix.h: Likewise.
63461 * sunrpc/rpc/clnt.h: Likewise.
63462 * sunrpc/rpc/des_crypt.h: Likewise.
63463 * sunrpc/rpc/key_prot.h: Likewise.
63464 * sunrpc/rpc/netdb.h: Likewise.
63465 * sunrpc/rpc/pmap_clnt.h: Likewise.
63466 * sunrpc/rpc/pmap_prot.h: Likewise.
63467 * sunrpc/rpc/pmap_rmt.h: Likewise.
63468 * sunrpc/rpc/rpc.h: Likewise.
63469 * sunrpc/rpc/rpc_des.h: Likewise.
63470 * sunrpc/rpc/rpc_msg.h: Likewise.
63471 * sunrpc/rpc/svc.h: Likewise.
63472 * sunrpc/rpc/svc_auth.h: Likewise.
63473 * sunrpc/rpc/types.h: Likewise.
63474 * sunrpc/rpc/xdr.h: Likewise.
63475 * sunrpc/rpc_clntout.c: Likewise.
63476 * sunrpc/rpc_cmsg.c: Likewise.
63477 * sunrpc/rpc_common.c: Likewise.
63478 * sunrpc/rpc_cout.c: Likewise.
63479 * sunrpc/rpc_dtable.c: Likewise.
63480 * sunrpc/rpc_hout.c: Likewise.
63481 * sunrpc/rpc_main.c: Likewise.
63482 * sunrpc/rpc_parse.c: Likewise.
63483 * sunrpc/rpc_parse.h: Likewise.
63484 * sunrpc/rpc_prot.c: Likewise.
63485 * sunrpc/rpc_sample.c: Likewise.
63486 * sunrpc/rpc_scan.c: Likewise.
63487 * sunrpc/rpc_scan.h: Likewise.
63488 * sunrpc/rpc_svcout.c: Likewise.
63489 * sunrpc/rpc_tblout.c: Likewise.
63490 * sunrpc/rpc_util.c: Likewise.
63491 * sunrpc/rpc_util.h: Likewise.
63492 * sunrpc/rpcinfo.c: Likewise.
63493 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63494 * sunrpc/rpcsvc/key_prot.x: Likewise.
63495 * sunrpc/rpcsvc/klm_prot.x: Likewise.
63496 * sunrpc/rpcsvc/mount.x: Likewise.
63497 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63498 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63499 * sunrpc/rpcsvc/rex.x: Likewise.
63500 * sunrpc/rpcsvc/rstat.x: Likewise.
63501 * sunrpc/rpcsvc/rusers.x: Likewise.
63502 * sunrpc/rpcsvc/sm_inter.x: Likewise.
63503 * sunrpc/rpcsvc/spray.x: Likewise.
63504 * sunrpc/rpcsvc/yppasswd.x: Likewise.
63505 * sunrpc/rtime.c: Likewise.
63506 * sunrpc/svc.c: Likewise.
63507 * sunrpc/svc_auth.c: Likewise.
63508 * sunrpc/svc_authux.c: Likewise.
63509 * sunrpc/svc_raw.c: Likewise.
63510 * sunrpc/svc_run.c: Likewise.
63511 * sunrpc/svc_simple.c: Likewise.
63512 * sunrpc/svc_tcp.c: Likewise.
63513 * sunrpc/svc_udp.c: Likewise.
63514 * sunrpc/svc_unix.c: Likewise.
63515 * sunrpc/svcauth_des.c: Likewise.
63516 * sunrpc/xcrypt.c: Likewise.
63517 * sunrpc/xdr.c: Likewise.
63518 * sunrpc/xdr_array.c: Likewise.
63519 * sunrpc/xdr_float.c: Likewise.
63520 * sunrpc/xdr_mem.c: Likewise.
63521 * sunrpc/xdr_rec.c: Likewise.
63522 * sunrpc/xdr_ref.c: Likewise.
63523 * sunrpc/xdr_sizeof.c: Likewise.
63524 * sunrpc/xdr_stdio.c: Likewise.
63525
9da4bb31
UD
63526 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63527 handling.
63528
bdaa77bc
AS
635292010-08-19 Andreas Schwab <schwab@redhat.com>
63530
63531 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63532
fe2f79db
LM
635332010-08-19 Luis Machado <luisgpm@br.ibm.com>
63534
63535 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63538 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63539 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63540 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63541 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63542 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63544 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63545 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63546 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63547 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63548 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63549
b9b42ee0
AB
635502010-07-26 Anton Blanchard <anton@samba.org>
63551
63552 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63553 * malloc/arena.c (heap_trim): Likewise.
63554
1c06ba31
UD
635552010-08-16 Ulrich Drepper <drepper@redhat.com>
63556
63557 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63558 here. Not...
63559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63560 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63561
f8392f40
L
635622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
63563
63564 * sysdeps/i386/elf/Makefile: New file.
63565
3162f12e
AS
635662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63567
63568 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63569 from fanotify_init.
63570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63572
28c90b2c
UD
635732010-08-15 Ulrich Drepper <drepper@redhat.com>
63574
63575 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63576 of strncasecmp_l.
1feccb6c 63577 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 63578
ca6bb004
UD
635792010-08-14 Ulrich Drepper <drepper@redhat.com>
63580
e9f82e0d
UD
63581 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63582 strncase_l-nonascii.
63583 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63584 Add strncase_l-ssse3.
63585 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63586 * sysdeps/x86_64/strcmp.S: Likewise.
63587 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63588 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63589 * sysdeps/x86_64/strncase.S: New file.
63590 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63591 * sysdeps/x86_64/strncase_l.S: New file.
63592 * string/Makefile (strop-tests): Add strncasecmp.
63593 * string/test-strncasecmp.c: New file.
63594
63595 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63596 warning.
63597
ca6bb004
UD
63598 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63599 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63600
052fa7b3
AS
636012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63602
63603 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63604
962dba78
UD
636052010-08-12 Ulrich Drepper <drepper@redhat.com>
63606
63607 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63609 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63610
bebff237
AM
636112010-05-01 Alan Modra <amodra@gmail.com>
63612
63613 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63614 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63615 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63616 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63617 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63618 tidying. Don't tail-call __sigjmp_save for static lib.
63619 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63620 save location.
63621 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63622 (CALL_MCOUNT): Add eh info, and nop after bl.
63623 (TAIL_CALL_SYSCALL_ERROR): New macro.
63624 (PSEUDO_RET): Use it.
63625 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63626 Correct save location of integer regs and cr.
63627 (_dl_profile_resolve): Correct cr save location. Delete nops
63628 after bl when SHARED. Reduce cfi size a little by better
63629 placement of cfi directives.
63630 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63631 make a stack frame. Instead use parm save area as a temp.
63632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63633 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
63634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63635 Don't make a stack frame for parent, use parm save area.
63636 Increase child stack frame to 112 bytes. Don't save unused reg,
63637 and adjust reg usage. Set up cfi on error recovery and
63638 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63640 (__makecontext): Add dummy nop after jump to exit.
63641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63642 Use correct parm save area and cr save, reduce stack frame.
63643 Correct cfi for possible PSEUDO_RET frame setup.
63644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63645 Branch to local label emitted by PSEUDO_RET rather than
63646 __syscall_error.
63647
02637374
AS
636482010-08-12 Andreas Schwab <schwab@redhat.com>
63649
63650 [BZ #11904]
63651 * locale/programs/locale.c (print_assignment): New function.
63652 (show_locale_vars): Use it.
63653
c3e2f19b
UD
636542010-08-11 Ulrich Drepper <drepper@redhat.com>
63655
3cdaa6ad
UD
63656 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63657 field.
63658 (struct statfs64): Likewise.
63659 (_STATFS_F_FLAGS): Define.
63660 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63662 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63663 (ST_VALID): Define locally.
63664 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63665 __statvfs_getflags, use the provided value.
63666 * sysdeps/unix/sysv/linux/kernel-features.h: Define
63667 __ASSUME_STATFS_F_FLAGS.
63668
754f7da3
UD
63669 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63670
10b3bedc
UD
63671 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63672 Add sys/fanotify.h.
63673 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63674 fanotify_mask for GLIBC_2.13.
63675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63676 fanotify_init and fanotify_mark.
63677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63678 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63679
c08fb0d7
UD
63680 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63681 Add prlimit.
63682 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63683 prlimit64 for GLIBC_2.13.
63684 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63685 prlimit64.
63686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63687 syscall.
63688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63689 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63690 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63691 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
63693 add prlimit alias.
63694 * sysdeps/unix/sysv/linux/prlimit.c: New file.
63695
15bac72b
UD
63696 [BZ #11903]
63697 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63698 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63699
c3e2f19b
UD
63700 * nss/Makefile: Add rules to build and run tst-nss-test1.
63701 * shlib-versions: Add entry for libnss_test1.
63702 * nss/nss_test1.c: New file.
63703 * nss/tst-nss-test1.c: New file.
63704
63705 * nss/nsswitch.c (__nss_database_custom): Define new variable.
63706 (__nss_configure_lookup): Set appropriate entry in
63707 __nss_configure_lookup to true.
63708 * nss/nsswitch.h: Define enum with indeces of databases in
63709 databases and __nss_database_custom arrays. Declare
63710 __nss_database_custom.
63711 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63712 to avoid using nscd when custom rules are installed.
63713 * nss/getXXbyYY_r.c: Likewise.
63714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63715
63716 * nss/nss_files/files-parse.c: Whitespace fixes.
63717
f15ce4d8
UD
637182010-08-09 Ulrich Drepper <drepper@redhat.com>
63719
63720 [BZ #11883]
63721 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63722 * posix/fnmatch_loop.c: Likewise.
63723
d22e4cc9
AK
637242010-07-17 Andi Kleen <ak@linux.intel.com>
63725
63726 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63727 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63728 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63729 * Versions.def [GLIBC_2.13]: Add.
63730
805bc17d
UD
637312010-08-06 Ulrich Drepper <drepper@redhat.com>
63732
63733 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63734 Also fail if tpwd after pwuid call is NULL.
63735
5a42321d
ST
637362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
63737
63738 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63739 when converting to ms.
63740
fd3ebeda
ST
637412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
63742
63743 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63744 EOPNOTSUPP errors with ENOTTY.
63745 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63746 EOPNOTSUPP errors with ENOTTY.
63747
73507d3a
UD
637482010-07-31 Ulrich Drepper <drepper@redhat.com>
63749
63750 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63751 Add strcasecmp_l-ssse3.
63752 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63753 strcasecmp.
63754 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63755 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63757
fe36dd02
UD
637582010-07-30 Ulrich Drepper <drepper@redhat.com>
63759
66f6765a
UD
63760 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63761
42e08a54
UD
63762 * string/Makefile (strop-tests): Add strcasecmp.
63763 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63764 strcasecmp_l-nonascii.
63765 (gen-as-const-headers): Add locale-defines.sym.
63766 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63767 * sysdeps/x86_64/strcasecmp.S: New file.
63768 * sysdeps/x86_64/strcasecmp_l.S: New file.
63769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63770 * sysdeps/x86_64/locale-defines.sym: New file.
63771 * string/test-strcasecmp.c: New file.
63772
fe36dd02
UD
63773 * string/test-strcasestr.c: Test both ends of the range of characters.
63774 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63775
48cbc0d6
RM
637762010-07-29 Roland McGrath <roland@redhat.com>
63777
76e6d6bc 63778 [BZ #11856]
48cbc0d6
RM
63779 * manual/locale.texi (Yes-or-No Questions): Fix example code.
63780
880113d9
UD
637812010-07-27 Ulrich Drepper <drepper@redhat.com>
63782
63783 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63784 for ld.so.
63785
deb9cabb
AS
637862010-07-27 Andreas Schwab <schwab@redhat.com>
63787
63788 * manual/memory.texi (Malloc Tunable Parameters): Document
63789 M_PERTURB.
63790
1c7570ff
RM
637912010-07-26 Roland McGrath <roland@redhat.com>
63792
63793 [BZ #11840]
63794 * configure.in (-fgnu89-inline check): Set and substitute
63795 gnu89_inline, not libc_cv_gnu89_inline.
63796 * configure: Regenerated.
63797 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63798
24fb0f88
UD
637992010-07-26 Ulrich Drepper <drepper@redhat.com>
63800
63801 * string/test-strnlen.c: New file.
63802 * string/Makefile (strop-tests): Add strnlen.
63803 * string/tester.c (test_strnlen): Add a few more test cases.
63804 * string/tst-strlen.c: Better error reporting.
63805
63806 * sysdeps/x86_64/strnlen.S: New file.
63807
8e96b93a
UD
638082010-07-24 Ulrich Drepper <drepper@redhat.com>
63809
63810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63811 lower-latency instructions.
63812
dbc676d4
UD
638132010-07-23 Ulrich Drepper <drepper@redhat.com>
63814
63815 * string/test-strcasestr.c: New file.
63816 * string/test-strstr.c: New file.
63817 * string/Makefile (strop-tests): Add strstr and strcasestr.
63818 * string/str-two-way.h: Don't undefine MAX.
63819 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63820
f6a31e0e
AS
638212010-07-21 Andreas Schwab <schwab@redhat.com>
63822
63823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63824 strcasestr-nonascii.
63825 (CFLAGS-strcasestr-nonascii.c): Define.
63826 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63828 Remove unused attribute.
63829
5dbc3b6c
RM
638302010-07-20 Roland McGrath <roland@redhat.com>
63831
63832 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63833 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
63834 ld.so.cache was broken. With it, there is no way to disable dsocaps
63835 like LD_HWCAP_MASK can disable hwcaps.
63836
23d101d8
EPM
638372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
63838
63839 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63840
cc9f2e47
UD
638412010-07-16 Ulrich Drepper <drepper@redhat.com>
63842
63843 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63844 call in strcasestr.
63845 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63846 __strcasestr_sse42_nonascii.
63847 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63848 strcasestr-nonascii.c.
63849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63850
77c1b069
LM
638512010-06-15 Luis Machado <luisgpm@br.ibm.com>
63852
63853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63856 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63857
440566c3
UD
638582010-07-09 Ulrich Drepper <drepper@redhat.com>
63859
63860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63861 fcntl.
63862
5be9d05d
AS
638632010-07-06 Andreas Schwab <schwab@redhat.com>
63864
c30b7ee2 63865 [BZ #11577]
5be9d05d
AS
63866 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63867 dl_signal_cerror.
63868
8a492a67
UD
638692010-07-06 Ulrich Drepper <drepper@redhat.com>
63870
63871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63872 _PC_PIPE_BUF using F_GETPIPE_SZ.
63873
713df3d5
RM
638742010-07-05 Roland McGrath <roland@redhat.com>
63875
63876 * manual/arith.texi (Rounding Functions): Fix rint description
63877 implicit in round description.
63878
702e8f14
UD
638792010-07-02 Ulrich Drepper <drepper@redhat.com>
63880
63881 * elf/Makefile: Fix linking for a few tests to make recent linker
63882 happy.
63883
52ed8be9
AS
638842010-06-30 Andreas Schwab <schwab@redhat.com>
63885
63886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63887 $(common-objpfx)libc_nonshared.a.
63888
f47c9a11
LM
638892010-06-21 Luis Machado <luisgpm@br.ibm.com>
63890
63891 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63892 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63893 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63894 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63895 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63896 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63897 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63898 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63913 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63914 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63915 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63916 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63917 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63918 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63919 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63920 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63921 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63922 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63923 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63924 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63939
6fb8cbcb
L
639402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
63941
63942 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63943 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
63944 * string/memmove.c (memmove): Renamed to ...
63945 (MEMMOVE): ...this. Default to memmove.
63946 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63947 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63948 (END_CHK): Define.
63949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63950 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63951 mempcpy-ssse3-back memmove-ssse3-back.
63952 * sysdeps/x86_64/multiarch/bcopy.S: New file .
63953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63955 * sysdeps/x86_64/multiarch/memcpy.S: New file.
63956 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63957 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63958 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63959 * sysdeps/x86_64/multiarch/memmove.c: New file.
63960 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63961 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63962 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63963 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63964 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63965 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63966 Define.
63967 (index_Fast_Copy_Backward): Define.
63968 (HAS_ARCH_FEATURE): Define.
63969 (HAS_FAST_REP_STRING): Define.
63970 (HAS_FAST_COPY_BACKWARD): Define.
63971
4e733bac 639722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
63973
63974 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63975 Restore proper fallback handling.
63976
63c4ed22
UD
639772010-06-19 Ulrich Drepper <drepper@redhat.com>
63978
ac2b484c
UD
63979 [BZ #11701]
63980 * posix/group_member.c (__group_member): Correct checking loop.
63981
63c4ed22
UD
63982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63983 OOM in getpwuid_r correctly. Return error number when the caller
63984 should return, otherwise -1.
63985 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63986 call returning > 0 value.
63987 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63988
765ade4b
AS
639892010-06-07 Andreas Schwab <schwab@redhat.com>
63990
63991 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63992 libc_nonshared.a from targets in modules-names.
63993
80da2e09
KS
639942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
63995
63996 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63997 requires it.
63998
158db122
LM
639992010-06-10 Luis Machado <luisgpm@br.ibm.com>
64000
64001 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64002 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64005
caa78cf8
AS
640062010-06-02 Andreas Schwab <schwab@redhat.com>
64007
64008 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64009
b2ef2c01
UD
640102010-06-14 Ulrich Drepper <drepper@redhat.com>
64011
64012 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64013 and F_GETPIPE_SZ.
64014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64018 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64019 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64020
fbd643b6
RM
640212010-06-14 Roland McGrath <roland@redhat.com>
64022
64023 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64024
f32f2869
JJ
640252010-06-07 Jakub Jelinek <jakub@redhat.com>
64026
64027 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64028 __REDIRECT followed by __THROW.
64029 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64030 * posix/getopt.h (getopt): Likewise.
64031
2a50c078
EPM
640322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64033
64034 * hurd/lookup-at.c (__file_name_lookup_at): Accept
64035 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
64036 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64037 in AT_FLAGS.
64038 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64039 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64040
eb5ad2eb
LM
640412010-05-28 Luis Machado <luisgpm@br.ibm.com>
64042
64043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64044
3c88fe1e
L
640452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
64046
64047 [BZ #11640]
64048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64049 Properly check family and model.
64050
d2f73151
TY
640512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
64052
64053 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64054
ebd2e13d
LM
640552010-05-24 Luis Machado <luisgpm@br.ibm.com>
64056
64057 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64058
b32b8b45
UD
640592010-05-21 Ulrich Drepper <drepper@redhat.com>
64060
64061 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64062 symbol reference.
64063
9acbe24d
AS
640642010-05-19 Andreas Schwab <schwab@redhat.com>
64065
64066 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64067 symbol reference.
64068
f0ccf6ea
AS
640692010-05-21 Andreas Schwab <schwab@redhat.com>
64070
3d04ff3a
AS
64071 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64072 and internal_recvmmsg.
64073 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64074 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64076 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64077
f0ccf6ea
AS
64078 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64079 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64080 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64081
5b08ac57
AS
640822010-05-20 Andreas Schwab <schwab@redhat.com>
64083
64084 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64085
4828935d
LM
640862010-05-17 Luis Machado <luisgpm@br.ibm.com>
64087
64088 POWER7 optimizations.
64089 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64090 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64091
373d545e
UD
640922010-05-19 Ulrich Drepper <drepper@redhat.com>
64093
64094 * version.h: Update for 2.13 development version.
64095
21a2b1ae
AS
640962010-05-12 Andrew Stubbs <ams@codesourcery.com>
64097
64098 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64099 exceptions. Return 0.
64100
3f7dcb2b
RM
641012010-05-07 Roland McGrath <roland@redhat.com>
64102
64103 * elf/ldconfig.c (main): Add a const.
64104
5f24d53a 641052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 64106
a160f8d8
UD
64107 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64108 (args_options): Add no-idn option.
64109 (ahosts_keys_int): Add idn_flags to ai_flags.
64110 (parse_option): Handle 'i' option to clear idn_flags.
64111
5f24d53a
UD
64112 * malloc/malloc.c (_int_free): Possible race in the most recently
64113 added check. Only act on the data if no current modification
64114 happened.
265bb1ce
UD
64115
64116See ChangeLog.17 for earlier changes.